Stripe::FeaturesParam
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Constants
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
A list of allow_redisplay values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an allow_redisplay value that is present in this list. If not specified, defaults to ["always"]. In order to display all saved payment methods, specify ["always", "limited", "unspecified"].
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_allow_redisplay_filters Object to be assigned
Controls whether or not the Payment Element shows saved payment methods. This parameter defaults to disabled.
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_redisplay Object to be assigned
Determines the max number of saved payment methods for the Payment Element to display. This parameter defaults to 3.
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_redisplay_limit Object to be assigned
Controls whether the Payment Element displays the option to remove a saved payment method. This parameter defaults to disabled. Allowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the customer object from that PaymentMethod.
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_remove Object to be assigned
Controls whether the Payment Element displays a checkbox offering to save a new payment method. This parameter defaults to disabled. If a customer checks the box, the allow_redisplay value on the PaymentMethod is set to 'always' at confirmation time. For PaymentIntents, the setup_future_usage value is also set to the value defined in payment_method_save_usage.
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_save Object to be assigned
When using PaymentIntents and the customer checks the save checkbox, this field determines the setup_future_usage value used to confirm the PaymentIntent. When using SetupIntents, directly configure the usage value on SetupIntent creation.
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_save_usage Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid