Class: Stripe::TestHelpers::Issuing::AuthorizationReverseParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::AuthorizationReverseParams
- Defined in:
- lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#reverse_amount ⇒ Object
The amount to reverse from the authorization.
Instance Method Summary collapse
-
#initialize(expand: nil, reverse_amount: nil) ⇒ AuthorizationReverseParams
constructor
A new instance of AuthorizationReverseParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, reverse_amount: nil) ⇒ AuthorizationReverseParams
Returns a new instance of AuthorizationReverseParams.
13 14 15 16 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb', line 13 def initialize(expand: nil, reverse_amount: nil) @expand = @reverse_amount = reverse_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/authorization_reverse_params.rb', line 9 def @expand end |
#reverse_amount ⇒ Object
The amount to reverse from the authorization. If not provided, the full amount of the authorization will be reversed. This amount is in the authorization currency and in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal).
11 12 13 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb', line 11 def reverse_amount @reverse_amount end |