class Ingenico::Connect::SDK::Domain::Definitions::BankAccountIban
@attr [String] iban
Attributes
iban[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Connect::SDK::Domain::Definitions::BankAccount#from_hash
# File lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb, line 23 def from_hash(hash) super if hash.has_key? 'iban' @iban = hash['iban'] end end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Connect::SDK::Domain::Definitions::BankAccount#to_h
# File lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb, line 17 def to_h hash = super hash['iban'] = @iban unless @iban.nil? hash end