Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FleetDatum

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_capture_params.rb

Defined Under Namespace

Classes: PrimaryFuelFields, Station, Vat

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



1028
1029
1030
1031
1032
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1028

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_fieldsObject

Primary fuel fields for the transaction.



1022
1023
1024
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1022

def primary_fuel_fields
  @primary_fuel_fields
end

#stationObject

Station and acceptor location details.



1024
1025
1026
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1024

def station
  @station
end

#vatObject

VAT and Invoice on Behalf (IOB) details.



1026
1027
1028
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1026

def vat
  @vat
end