Class: Stripe::TestHelpers::Issuing::AuthorizationService::CreateParams::Fleet::ReportedBreakdown
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::AuthorizationService::CreateParams::Fleet::ReportedBreakdown
- Defined in:
- lib/stripe/services/test_helpers/issuing/authorization_service.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#fuel ⇒ Object
Breakdown of fuel portion of the purchase.
-
#non_fuel ⇒ Object
Breakdown of non-fuel portion of the purchase.
-
#tax ⇒ Object
Information about tax included in this transaction.
Instance Method Summary collapse
-
#initialize(fuel: nil, non_fuel: nil, tax: nil) ⇒ ReportedBreakdown
constructor
A new instance of ReportedBreakdown.
Methods inherited from RequestParams
Constructor Details
#initialize(fuel: nil, non_fuel: nil, tax: nil) ⇒ ReportedBreakdown
Returns a new instance of ReportedBreakdown.
94 95 96 97 98 |
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 94 def initialize(fuel: nil, non_fuel: nil, tax: nil) @fuel = fuel @non_fuel = non_fuel @tax = tax end |
Instance Attribute Details
#fuel ⇒ Object
Breakdown of fuel portion of the purchase.
86 87 88 |
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 86 def fuel @fuel end |
#non_fuel ⇒ Object
Breakdown of non-fuel portion of the purchase.
89 90 91 |
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 89 def non_fuel @non_fuel end |
#tax ⇒ Object
Information about tax included in this transaction.
92 93 94 |
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 92 def tax @tax end |