Class: Stripe::PaymentIntentService::CaptureParams::AmountDetails::LineItem::PaymentMethodOptions::Card

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) ⇒ Card

Returns a new instance of Card.



7586
7587
7588
# File 'lib/stripe/services/payment_intent_service.rb', line 7586

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.



7584
7585
7586
# File 'lib/stripe/services/payment_intent_service.rb', line 7584

def commodity_code
  @commodity_code
end