class Ingenico::Connect::SDK::Domain::Definitions::BankAccount

@attr [String] account_holder_name

Attributes

account_holder_name[RW]

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/connect/sdk/domain/definitions/bank_account.rb, line 23
def from_hash(hash)
  super
  if hash.has_key? 'accountHolderName'
    @account_holder_name = hash['accountHolderName']
  end
end
to_h() click to toggle source

@return (Hash)

Calls superclass method Ingenico::Connect::SDK::DataObject#to_h
# File lib/ingenico/connect/sdk/domain/definitions/bank_account.rb, line 17
def to_h
  hash = super
  hash['accountHolderName'] = @account_holder_name unless @account_holder_name.nil?
  hash
end