Class: OutgoingPayment
- Inherits:
-
OutgoingTransaction
- Object
- K2Transaction
- CommonPayment
- OutgoingTransaction
- OutgoingPayment
- Defined in:
- lib/k2-connect-ruby/k2_services/payloads/transactions/outgoing_payment.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
readonly
Returns the value of attribute destination.
-
#transaction_reference ⇒ Object
readonly
Returns the value of attribute transaction_reference.
Attributes inherited from OutgoingTransaction
#created_at, #total_value, #transfer_batches
Attributes inherited from CommonPayment
Attributes inherited from K2Transaction
#callback_url, #id, #links_self, #metadata, #type
Instance Method Summary collapse
-
#initialize(payload) ⇒ OutgoingPayment
constructor
A new instance of OutgoingPayment.
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
#destination ⇒ Object (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_reference ⇒ Object (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 |