Class: Afterpay::Components::Payment
- Defined in:
- lib/afterpay/components/payment.rb
Instance Attribute Summary collapse
-
#amount ⇒ Afterpay::Components::Money
The refund amount.
-
#merchant_reference ⇒ String
The merchant’s order id / reference that this payment corresponds to.
-
#token ⇒ String
The token returned in the order creation request.
Method Summary
Methods included from Initializable
Methods included from Representable
Instance Attribute Details
#amount ⇒ Afterpay::Components::Money
The refund amount.
19 20 21 |
# File 'lib/afterpay/components/payment.rb', line 19 def amount @amount end |
#merchant_reference ⇒ String
The merchant’s order id / reference that this payment corresponds to
14 15 16 |
# File 'lib/afterpay/components/payment.rb', line 14 def merchant_reference @merchant_reference end |
#token ⇒ String
The token returned in the order creation request.
9 10 11 |
# File 'lib/afterpay/components/payment.rb', line 9 def token @token end |