Class: Stripe::PaymentIntentCreateParams::AmountDetails::LineItem::PaymentMethodOptions::Card

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

Defined Under Namespace

Classes: FleetData

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(commodity_code: nil, fleet_data: nil) ⇒ Card

Returns a new instance of Card.



35
36
37
38
# File 'lib/stripe/params/payment_intent_create_params.rb', line 35

def initialize(commodity_code: nil, fleet_data: nil)
  @commodity_code = commodity_code
  @fleet_data = fleet_data
end

Instance Attribute Details

#commodity_codeObject

Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.



31
32
33
# File 'lib/stripe/params/payment_intent_create_params.rb', line 31

def commodity_code
  @commodity_code
end

#fleet_dataObject

Fleet data for this line item.



33
34
35
# File 'lib/stripe/params/payment_intent_create_params.rb', line 33

def fleet_data
  @fleet_data
end