class Ingenico::Connect::SDK::Domain::Refund::BankAccountBbanRefund
@attr [String] bank_city
@attr [String] patronymic_name
@attr [String] swift_code
Attributes
bank_city[RW]
patronymic_name[RW]
swift_code[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Connect::SDK::Domain::Definitions::BankAccountBban#from_hash
# File lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb, line 31 def from_hash(hash) super if hash.has_key? 'bankCity' @bank_city = hash['bankCity'] end if hash.has_key? 'patronymicName' @patronymic_name = hash['patronymicName'] end if hash.has_key? 'swiftCode' @swift_code = hash['swiftCode'] end end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Connect::SDK::Domain::Definitions::BankAccountBban#to_h
# File lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb, line 23 def to_h hash = super hash['bankCity'] = @bank_city unless @bank_city.nil? hash['patronymicName'] = @patronymic_name unless @patronymic_name.nil? hash['swiftCode'] = @swift_code unless @swift_code.nil? hash end