Class: Stripe::PaymentIntentService::UpdateParams::AmountDetails::LineItem::PaymentMethodOptions::CardPresent

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_intent_service.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.



3868
3869
3870
# File 'lib/stripe/services/payment_intent_service.rb', line 3868

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.



3866
3867
3868
# File 'lib/stripe/services/payment_intent_service.rb', line 3866

def commodity_code
  @commodity_code
end