Class: Stripe::Issuing::AuthorizationIncrementParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::AuthorizationIncrementParams
- Defined in:
- lib/stripe/params/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.
14 15 16 17 18 |
# File 'lib/stripe/params/issuing/authorization_increment_params.rb', line 14 def initialize(expand: nil, increment_amount: nil, is_amount_controllable: nil) = @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.
8 9 10 |
# File 'lib/stripe/params/issuing/authorization_increment_params.rb', line 8 def 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).
10 11 12 |
# File 'lib/stripe/params/issuing/authorization_increment_params.rb', line 10 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.
12 13 14 |
# File 'lib/stripe/params/issuing/authorization_increment_params.rb', line 12 def is_amount_controllable @is_amount_controllable end |