Class: Stripe::PaymentMethodConfigurationUpdateParams::Card

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_method_configuration_update_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) ⇒ Card

Returns a new instance of Card.



256
257
258
# File 'lib/stripe/params/payment_method_configuration_update_params.rb', line 256

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

Instance Attribute Details

#display_preferenceObject

Whether or not the payment method should be displayed.



254
255
256
# File 'lib/stripe/params/payment_method_configuration_update_params.rb', line 254

def display_preference
  @display_preference
end