Class: Dhl::Bcs::V2::BankData
- Inherits:
-
Object
- Object
- Dhl::Bcs::V2::BankData
- Includes:
- Buildable
- Defined in:
- lib/dhl/bcs/v2/bank_data.rb
Constant Summary collapse
- PROPERTIES =
i(account_owner bank_name iban note1 note2 bic accountreference).freeze
Instance Method Summary collapse
Methods included from Buildable
Instance Method Details
#to_soap_hash ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# 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 |