Class: WireClient::CreditTransferTransaction

Inherits:
Transaction
  • Object
show all
Defined in:
lib/wire_client/transaction/credit_transfer_transaction.rb

Instance Attribute Summary collapse

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

Methods inherited from Transaction

#error_messages, #schema_compatible?

Methods included from Converter

#convert

Methods included from AccountTransactionHelpers

#country_subdivision_abbr, #country_subdivision_name

Constructor Details

#initialize(attributes = {}) ⇒ CreditTransferTransaction

Returns a new instance of CreditTransferTransaction.



14
15
16
17
18
# File 'lib/wire_client/transaction/credit_transfer_transaction.rb', line 14

def initialize(attributes = {})
  super
  @service_priority ||= 'NORM'
  @service_level ||= 'URGP'
end

Instance Attribute Details

#service_levelObject

Returns the value of attribute service_level.



5
6
7
# File 'lib/wire_client/transaction/credit_transfer_transaction.rb', line 5

def service_level
  @service_level
end

#service_priorityObject

Returns the value of attribute service_priority.



5
6
7
# File 'lib/wire_client/transaction/credit_transfer_transaction.rb', line 5

def service_priority
  @service_priority
end