Class: Stripe::PaymentMethodConfigurationUpdateParams::Upi

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

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

Constructor Details

#initialize(display_preference: nil) ⇒ Upi

Returns a new instance of Upi.



1021
1022
1023
# File 'lib/stripe/params/payment_method_configuration_update_params.rb', line 1021

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

Instance Attribute Details

#display_preferenceObject

Whether or not the payment method should be displayed.



1019
1020
1021
# File 'lib/stripe/params/payment_method_configuration_update_params.rb', line 1019

def display_preference
  @display_preference
end