Class: Stripe::TestHelpers::Issuing::TransactionService::RefundParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::TransactionService::RefundParams
- Defined in:
- lib/stripe/services/test_helpers/issuing/transaction_service.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) ⇒ RefundParams
constructor
A new instance of RefundParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, refund_amount: nil) ⇒ RefundParams
Returns a new instance of RefundParams.
14 15 16 17 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 14 def initialize(expand: nil, refund_amount: nil) = @refund_amount = refund_amount end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
10 11 12 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 10 def 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).
12 13 14 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 12 def refund_amount @refund_amount end |