Class: Stripe::PaymentIntent::CaptureParams::AmountDetails::LineItem::PaymentMethodOptions::CardPresent

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(commodity_code: nil) ⇒ CardPresent

Returns a new instance of CardPresent.



11071
11072
11073
# File 'lib/stripe/resources/payment_intent.rb', line 11071

def initialize(commodity_code: nil)
  @commodity_code = commodity_code
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, etc.



11069
11070
11071
# File 'lib/stripe/resources/payment_intent.rb', line 11069

def commodity_code
  @commodity_code
end