Class: OutgoingPayment

Inherits:
OutgoingTransaction show all
Defined in:
lib/k2-connect-ruby/k2_services/payloads/transactions/outgoing_payment.rb

Instance Attribute Summary collapse

Attributes inherited from OutgoingTransaction

#created_at, #total_value, #transfer_batches

Attributes inherited from CommonPayment

#initiation_time, #status

Attributes inherited from K2Transaction

#callback_url, #id, #links_self, #metadata, #type

Instance Method Summary collapse

Constructor Details

#initialize(payload) ⇒ OutgoingPayment

Returns a new instance of OutgoingPayment.



5
6
7
# File 'lib/k2-connect-ruby/k2_services/payloads/transactions/outgoing_payment.rb', line 5

def initialize(payload)
  super
end

Instance Attribute Details

#destinationObject (readonly)

Returns the value of attribute destination.



2
3
4
# File 'lib/k2-connect-ruby/k2_services/payloads/transactions/outgoing_payment.rb', line 2

def destination
  @destination
end

#transaction_referenceObject (readonly)

Returns the value of attribute transaction_reference.



2
3
4
# File 'lib/k2-connect-ruby/k2_services/payloads/transactions/outgoing_payment.rb', line 2

def transaction_reference
  @transaction_reference
end