Class: Stripe::PaymentMethodCreateParams::Custom

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/payment_method_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil) ⇒ Custom

Returns a new instance of Custom.



162
163
164
# File 'lib/stripe/params/payment_method_create_params.rb', line 162

def initialize(type: nil)
  @type = type
end

Instance Attribute Details

#typeObject

ID of the Dashboard-only CustomPaymentMethodType. This field is used by Stripe products’ internal code to support CPMs.



160
161
162
# File 'lib/stripe/params/payment_method_create_params.rb', line 160

def type
  @type
end