Class: Stripe::ChargeUpdateParams::PaymentDetails::FleetDatum
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeUpdateParams::PaymentDetails::FleetDatum
- Defined in:
- lib/stripe/params/charge_update_params.rb
Defined Under Namespace
Classes: PrimaryFuelFields, Station, Vat
Instance Attribute Summary collapse
-
#primary_fuel_fields ⇒ Object
Primary fuel fields for the transaction.
-
#station ⇒ Object
Station and acceptor location details.
-
#vat ⇒ Object
VAT and Invoice on Behalf (IOB) details.
Instance Method Summary collapse
-
#initialize(primary_fuel_fields: nil, station: nil, vat: nil) ⇒ FleetDatum
constructor
A new instance of FleetDatum.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(primary_fuel_fields: nil, station: nil, vat: nil) ⇒ FleetDatum
Returns a new instance of FleetDatum.
794 795 796 797 798 |
# File 'lib/stripe/params/charge_update_params.rb', line 794 def initialize(primary_fuel_fields: nil, station: nil, vat: nil) @primary_fuel_fields = primary_fuel_fields @station = station @vat = vat end |
Instance Attribute Details
#primary_fuel_fields ⇒ Object
Primary fuel fields for the transaction.
788 789 790 |
# File 'lib/stripe/params/charge_update_params.rb', line 788 def primary_fuel_fields @primary_fuel_fields end |
#station ⇒ Object
Station and acceptor location details.
790 791 792 |
# File 'lib/stripe/params/charge_update_params.rb', line 790 def station @station end |
#vat ⇒ Object
VAT and Invoice on Behalf (IOB) details.
792 793 794 |
# File 'lib/stripe/params/charge_update_params.rb', line 792 def vat @vat end |