Class: Stripe::PaymentIntentCaptureParams::AmountDetails::LineItem::PaymentMethodOptions::Card

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



13
14
15
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 13

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.



11
12
13
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 11

def commodity_code
  @commodity_code
end