Class: Stripe::TestHelpers::Issuing::AuthorizationIncrementParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::AuthorizationIncrementParams
- Defined in:
- lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#increment_amount ⇒ Object
The amount to increment the authorization by.
-
#is_amount_controllable ⇒ Object
If set ‘true`, you may provide [amount](stripe.com/docs/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.
Instance Method Summary collapse
-
#initialize(expand: nil, increment_amount: nil, is_amount_controllable: nil) ⇒ AuthorizationIncrementParams
constructor
A new instance of AuthorizationIncrementParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, increment_amount: nil, is_amount_controllable: nil) ⇒ AuthorizationIncrementParams
Returns a new instance of AuthorizationIncrementParams.
15 16 17 18 19 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb', line 15 def initialize(expand: nil, increment_amount: nil, is_amount_controllable: nil) @expand = @increment_amount = increment_amount @is_amount_controllable = is_amount_controllable 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_increment_params.rb', line 9 def @expand end |
#increment_amount ⇒ Object
The amount to increment the authorization by. 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_increment_params.rb', line 11 def increment_amount @increment_amount end |
#is_amount_controllable ⇒ Object
If set ‘true`, you may provide [amount](stripe.com/docs/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.
13 14 15 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb', line 13 def is_amount_controllable @is_amount_controllable end |