Class: Stripe::Issuing::AuthorizationReverseParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::AuthorizationReverseParams
- Defined in:
- lib/stripe/params/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.
12 13 14 15 |
# File 'lib/stripe/params/issuing/authorization_reverse_params.rb', line 12 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.
8 9 10 |
# File 'lib/stripe/params/issuing/authorization_reverse_params.rb', line 8 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).
10 11 12 |
# File 'lib/stripe/params/issuing/authorization_reverse_params.rb', line 10 def reverse_amount @reverse_amount end |