Class: Stripe::TestHelpers::Issuing::TransactionRefundParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::TransactionRefundParams
- Defined in:
- lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#refund_amount ⇒ Object
The total amount to attempt to refund.
Instance Method Summary collapse
-
#initialize(expand: nil, refund_amount: nil) ⇒ TransactionRefundParams
constructor
A new instance of TransactionRefundParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, refund_amount: nil) ⇒ TransactionRefundParams
Returns a new instance of TransactionRefundParams.
13 14 15 16 |
# File 'lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb', line 13 def initialize(expand: nil, refund_amount: nil) @expand = @refund_amount = refund_amount end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
9 10 11 |
# File 'lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb', line 9 def @expand end |
#refund_amount ⇒ Object
The total amount to attempt to refund. This amount is in the provided currency, or defaults to the cards currency, and in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal).
11 12 13 |
# File 'lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb', line 11 def refund_amount @refund_amount end |