Class: Stripe::PaymentMethodConfigurationCreateParams::Jcb

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_method_configuration_create_params.rb

Defined Under Namespace

Classes: DisplayPreference

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(display_preference: nil) ⇒ Jcb

Returns a new instance of Jcb.



443
444
445
# File 'lib/stripe/params/payment_method_configuration_create_params.rb', line 443

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

Instance Attribute Details

#display_preferenceObject

Whether or not the payment method should be displayed.



441
442
443
# File 'lib/stripe/params/payment_method_configuration_create_params.rb', line 441

def display_preference
  @display_preference
end