class Dhl::Bcs::V2::BankData

Constants

PROPERTIES

Public Instance Methods

to_soap_hash() click to toggle source
# File lib/dhl/bcs/v2/bank_data.rb, line 9
def to_soap_hash
  {
    'cis:accountOwner' => account_owner,
    'cis:bank_name' => bank_name,
    'cis:iban' => iban
  }.tap do |h|
    h['cis:note1'] = note1 if note1
    h['cis:note2'] = note2 if note2
    h['cis:bic'] = bic if bic
    h['cis:accountreference'] = accountreference if accountreference
  end
end