Class: Stripe::PaymentMethodConfigurationUpdateParams::Swish::DisplayPreference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(preference: nil) ⇒ DisplayPreference

Returns a new instance of DisplayPreference.



980
981
982
# File 'lib/stripe/params/payment_method_configuration_update_params.rb', line 980

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

Instance Attribute Details

#preferenceObject

The account’s preference for whether or not to display this payment method.



978
979
980
# File 'lib/stripe/params/payment_method_configuration_update_params.rb', line 978

def preference
  @preference
end