Class: CheckoutSdk::RefundPayment
- Inherits:
-
Object
- Object
- CheckoutSdk::RefundPayment
- Defined in:
- lib/checkout_sdk/data/refund_payment.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#id ⇒ Object
Returns the value of attribute id.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#reference ⇒ Object
Returns the value of attribute reference.
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
2 3 4 |
# File 'lib/checkout_sdk/data/refund_payment.rb', line 2 def amount @amount end |
#id ⇒ Object
Returns the value of attribute id.
2 3 4 |
# File 'lib/checkout_sdk/data/refund_payment.rb', line 2 def id @id end |
#metadata ⇒ Object
Returns the value of attribute metadata.
2 3 4 |
# File 'lib/checkout_sdk/data/refund_payment.rb', line 2 def @metadata end |
#reference ⇒ Object
Returns the value of attribute reference.
2 3 4 |
# File 'lib/checkout_sdk/data/refund_payment.rb', line 2 def reference @reference end |
Instance Method Details
#data ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/checkout_sdk/data/refund_payment.rb', line 4 def data { amount: amount, reference: reference, metadata: } end |