Class: Stripe::Issuing::Authorization::FinalizeAmountParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::Authorization::FinalizeAmountParams
- Defined in:
- lib/stripe/resources/issuing/authorization.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#final_amount ⇒ Object
The final authorization amount that will be captured by the merchant.
-
#fleet ⇒ Object
Fleet-specific information for authorizations using Fleet cards.
-
#fuel ⇒ Object
Information about fuel that was purchased with this transaction.
Instance Method Summary collapse
-
#initialize(expand: nil, final_amount: nil, fleet: nil, fuel: nil) ⇒ FinalizeAmountParams
constructor
A new instance of FinalizeAmountParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, final_amount: nil, fleet: nil, fuel: nil) ⇒ FinalizeAmountParams
Returns a new instance of FinalizeAmountParams.
1020 1021 1022 1023 1024 1025 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 1020 def initialize(expand: nil, final_amount: nil, fleet: nil, fuel: nil) @expand = @final_amount = final_amount @fleet = fleet @fuel = fuel end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
1012 1013 1014 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 1012 def @expand end |
#final_amount ⇒ Object
The final authorization amount that will be captured by the merchant. This amount is in the authorization currency and in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal).
1014 1015 1016 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 1014 def final_amount @final_amount end |
#fleet ⇒ Object
Fleet-specific information for authorizations using Fleet cards.
1016 1017 1018 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 1016 def fleet @fleet end |
#fuel ⇒ Object
Information about fuel that was purchased with this transaction.
1018 1019 1020 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 1018 def fuel @fuel end |