class

Stripe::PaymentMethodConfiguration

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

PaymentMethodConfigurations control which payment methods are displayed to your customers when you don't explicitly specify payment method types. You can have multiple configurations with different sets of payment methods for different scenarios. There are two types of PaymentMethodConfigurations. Which is used depends on the charge type: Direct configurations apply to payments created on your account, including Connect destination charges, Connect separate charges and transfers, and payments not involving Connect. Child configurations apply to payments created on your connected accounts using direct charges, and charges with the on_behalf_of parameter. Child configurations have a parent that sets default values and controls which settings connected accounts may override. You can specify a parent ID at payment time, and Stripe will automatically resolve the connected account’s associated child configuration. Parent configurations are managed in the dashboard and are not available in this API. Related guides: - Payment Method Configurations API - Multiple configurations on dynamic payment methods - Multiple configurations for your Connect accounts

Constants

ERROR_MESSAGE_FOR_OBJECT = "invalid value for \"object\", must be one of [payment_method_configuration]."
MAX_LENGTH_FOR_APPLICATION = 5000
MAX_LENGTH_FOR_ID = 5000
MAX_LENGTH_FOR_NAME = 5000
MAX_LENGTH_FOR_PARENT = 5000
VALID_VALUES_FOR_OBJECT = String.static_array("payment_method_configuration")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

acss_debit
Source

Custom attribute writer method checking allowed values (enum). @param [Object] acss_debit Object to be assigned

Source
active

Whether the configuration can be used for new payments.

Source
active=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] active Object to be assigned

Source
affirm
Source

Custom attribute writer method checking allowed values (enum). @param [Object] affirm Object to be assigned

Source
afterpay_clearpay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] afterpay_clearpay Object to be assigned

Source
alipay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] alipay Object to be assigned

Source
amazon_pay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] amazon_pay Object to be assigned

Source
apple_pay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] apple_pay Object to be assigned

Source
application

For child configs, the Connect application associated with the configuration.

Source
application=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] application Object to be assigned

Source
au_becs_debit
Source

Custom attribute writer method checking allowed values (enum). @param [Object] au_becs_debit Object to be assigned

Source
bacs_debit
Source

Custom attribute writer method checking allowed values (enum). @param [Object] bacs_debit Object to be assigned

Source
bancontact
Source

Custom attribute writer method checking allowed values (enum). @param [Object] bancontact Object to be assigned

Source
blik
Source

Custom attribute writer method checking allowed values (enum). @param [Object] blik Object to be assigned

Source
boleto
Source

Custom attribute writer method checking allowed values (enum). @param [Object] boleto Object to be assigned

Source
card
Source

Custom attribute writer method checking allowed values (enum). @param [Object] card Object to be assigned

Source
cartes_bancaires
Source

Custom attribute writer method checking allowed values (enum). @param [Object] cartes_bancaires Object to be assigned

Source
cashapp
Source

Custom attribute writer method checking allowed values (enum). @param [Object] cashapp Object to be assigned

Source
customer_balance
Source

Custom attribute writer method checking allowed values (enum). @param [Object] customer_balance Object to be assigned

Source

Custom attribute writer method checking allowed values (enum). @param [Object] eps Object to be assigned

Source

Custom attribute writer method checking allowed values (enum). @param [Object] fpx Object to be assigned

Source
giropay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] giropay Object to be assigned

Source
google_pay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] google_pay Object to be assigned

Source
grabpay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] grabpay Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

id

Unique identifier for the object.

Source
id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned

Source
ideal
Source

Custom attribute writer method checking allowed values (enum). @param [Object] ideal Object to be assigned

Source
is_default

The default configuration is used whenever a payment method configuration is not specified.

Source
is_default=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] is_default Object to be assigned

Source

Custom attribute writer method checking allowed values (enum). @param [Object] jcb Object to be assigned

Source
klarna
Source

Custom attribute writer method checking allowed values (enum). @param [Object] klarna Object to be assigned

Source
konbini
Source

Custom attribute writer method checking allowed values (enum). @param [Object] konbini Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
livemode

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

Source
livemode=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] livemode Object to be assigned

Source
mobilepay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] mobilepay Object to be assigned

Source
multibanco
Source

Custom attribute writer method checking allowed values (enum). @param [Object] multibanco Object to be assigned

Source
name

The configuration's name.

Source
name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] name Object to be assigned

Source
object

String representing the object's type. Objects of the same type share the same value.

Source
object=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] object Object to be assigned

Source
oxxo
Source

Custom attribute writer method checking allowed values (enum). @param [Object] oxxo Object to be assigned

Source

Custom attribute writer method checking allowed values (enum). @param [Object] p24 Object to be assigned

Source
parent

For child configs, the configuration's parent configuration.

Source
parent=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] parent Object to be assigned

Source
paynow
Source

Custom attribute writer method checking allowed values (enum). @param [Object] paynow Object to be assigned

Source
paypal
Source

Custom attribute writer method checking allowed values (enum). @param [Object] paypal Object to be assigned

Source
promptpay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] promptpay Object to be assigned

Source
revolut_pay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] revolut_pay Object to be assigned

Source
sepa_debit
Source

Custom attribute writer method checking allowed values (enum). @param [Object] sepa_debit Object to be assigned

Source
sofort
Source

Custom attribute writer method checking allowed values (enum). @param [Object] sofort Object to be assigned

Source
swish
Source

Custom attribute writer method checking allowed values (enum). @param [Object] swish Object to be assigned

Source
twint
Source

Custom attribute writer method checking allowed values (enum). @param [Object] twint Object to be assigned

Source
us_bank_account
Source

Custom attribute writer method checking allowed values (enum). @param [Object] us_bank_account Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
wechat_pay
Source

Custom attribute writer method checking allowed values (enum). @param [Object] wechat_pay Object to be assigned

Source

Custom attribute writer method checking allowed values (enum). @param [Object] zip Object to be assigned

Source