Class: WireClient::DirectDebitTransaction
- Inherits:
-
Transaction
- Object
- Transaction
- WireClient::DirectDebitTransaction
- Defined in:
- lib/wire_client/transaction/direct_debit_transaction.rb
Instance Attribute Summary collapse
-
#creditor_account ⇒ Object
Returns the value of attribute creditor_account.
-
#local_instrument ⇒ Object
Returns the value of attribute local_instrument.
-
#mandate_date_of_signature ⇒ Object
Returns the value of attribute mandate_date_of_signature.
-
#mandate_id ⇒ Object
Returns the value of attribute mandate_id.
-
#original_debtor_account ⇒ Object
Returns the value of attribute original_debtor_account.
-
#same_mandate_new_debtor_agent ⇒ Object
Returns the value of attribute same_mandate_new_debtor_agent.
-
#sequence_type ⇒ Object
Returns the value of attribute sequence_type.
-
#service_level ⇒ Object
Returns the value of attribute service_level.
-
#service_priority ⇒ Object
Returns the value of attribute service_priority.
Attributes inherited from Transaction
#account_number, #address_line, #agent_name, #amount, #batch_booking, #bic, #city, #clear_system_code, #country, #country_subdivision, #currency, #iban, #instruction, #name, #postal_code, #reference, #remittance_information, #requested_date, #wire_routing_number
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ DirectDebitTransaction
constructor
A new instance of DirectDebitTransaction.
Methods inherited from Transaction
#error_messages, #schema_compatible?
Methods included from Converter
Methods included from AccountTransactionHelpers
#country_subdivision_abbr, #country_subdivision_name
Constructor Details
#initialize(attributes = {}) ⇒ DirectDebitTransaction
Returns a new instance of DirectDebitTransaction.
43 44 45 46 47 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 43 def initialize(attributes = {}) super @local_instrument ||= 'B2B' @sequence_type ||= 'OOFF' end |
Instance Attribute Details
#creditor_account ⇒ Object
Returns the value of attribute creditor_account.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def creditor_account @creditor_account end |
#local_instrument ⇒ Object
Returns the value of attribute local_instrument.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def local_instrument @local_instrument end |
#mandate_date_of_signature ⇒ Object
Returns the value of attribute mandate_date_of_signature.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def mandate_date_of_signature @mandate_date_of_signature end |
#mandate_id ⇒ Object
Returns the value of attribute mandate_id.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def mandate_id @mandate_id end |
#original_debtor_account ⇒ Object
Returns the value of attribute original_debtor_account.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def original_debtor_account @original_debtor_account end |
#same_mandate_new_debtor_agent ⇒ Object
Returns the value of attribute same_mandate_new_debtor_agent.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def same_mandate_new_debtor_agent @same_mandate_new_debtor_agent end |
#sequence_type ⇒ Object
Returns the value of attribute sequence_type.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def sequence_type @sequence_type end |
#service_level ⇒ Object
Returns the value of attribute service_level.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def service_level @service_level end |
#service_priority ⇒ Object
Returns the value of attribute service_priority.
6 7 8 |
# File 'lib/wire_client/transaction/direct_debit_transaction.rb', line 6 def service_priority @service_priority end |