class

Stripe::PaymentMethodDetails

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

Constants

MAX_LENGTH_FOR__TYPE = 5000

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

_type

The type of transaction-specific details of the payment method used in the payment, one of ach_credit_transfer, ach_debit, acss_debit, alipay, au_becs_debit, bancontact, card, card_present, eps, giropay, ideal, klarna, multibanco, p24, sepa_debit, sofort, stripe_account, or wechat. An additional hash is included on payment_method_details with a name matching this value. It contains information specific to the payment method.

Source
_type=(new_value : String | Nil)

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

Source
ach_credit_transfer
Source
ach_credit_transfer=(new_value : Stripe::PaymentMethodDetailsAchCreditTransfer | Nil)

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

Source
ach_debit
Source
ach_debit=(new_value : Stripe::PaymentMethodDetailsAchDebit | Nil)

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

Source
acss_debit
Source
acss_debit=(new_value : Stripe::PaymentMethodDetailsAcssDebit | Nil)

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

Source
affirm
Source
affirm=(new_value : Stripe::PaymentMethodDetailsAffirm | Nil)

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

Source
afterpay_clearpay
Source
afterpay_clearpay=(new_value : Stripe::PaymentMethodDetailsAfterpayClearpay | Nil)

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
amazon_pay=(new_value : JSON::Any | Nil)

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

Source
au_becs_debit
Source
au_becs_debit=(new_value : Stripe::PaymentMethodDetailsAuBecsDebit | Nil)

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

Source
bacs_debit
Source
bacs_debit=(new_value : Stripe::PaymentMethodDetailsBacsDebit | Nil)

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

Source
bancontact
Source
bancontact=(new_value : Stripe::PaymentMethodDetailsBancontact | Nil)

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

Source
blik
Source
blik=(new_value : Stripe::PaymentMethodDetailsBlik | Nil)

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

Source
boleto
Source
boleto=(new_value : Stripe::PaymentMethodDetailsBoleto | Nil)

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

Source
card
Source
card=(new_value : Stripe::PaymentMethodDetailsCard | Nil)

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

Source
card_present
Source
card_present=(new_value : Stripe::PaymentMethodDetailsCardPresent | Nil)

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

Source
cashapp
Source
cashapp=(new_value : Stripe::PaymentMethodDetailsCashapp | Nil)

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

Source
customer_balance
Source
customer_balance=(new_value : JSON::Any | Nil)

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

Source
eps=(new_value : Stripe::PaymentMethodDetailsEps | Nil)

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

Source
fpx=(new_value : Stripe::PaymentMethodDetailsFpx | Nil)

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

Source
giropay
Source
giropay=(new_value : Stripe::PaymentMethodDetailsGiropay | Nil)

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

Source
grabpay
Source
grabpay=(new_value : Stripe::PaymentMethodDetailsGrabpay | Nil)

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

ideal
Source
ideal=(new_value : Stripe::PaymentMethodDetailsIdeal | Nil)

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

Source
interac_present
Source
interac_present=(new_value : Stripe::PaymentMethodDetailsInteracPresent | Nil)

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

Source
klarna
Source
klarna=(new_value : Stripe::PaymentMethodDetailsKlarna | Nil)

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

Source
konbini
Source
konbini=(new_value : Stripe::PaymentMethodDetailsKonbini | Nil)

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
mobilepay
Source
mobilepay=(new_value : Stripe::PaymentMethodDetailsMobilepay | Nil)

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

Source
multibanco
Source
multibanco=(new_value : Stripe::PaymentMethodDetailsMultibanco | Nil)

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

Source
oxxo
Source
oxxo=(new_value : Stripe::PaymentMethodDetailsOxxo | Nil)

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

Source
p24=(new_value : Stripe::PaymentMethodDetailsP24 | Nil)

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

Source
paynow
Source
paynow=(new_value : Stripe::PaymentMethodDetailsPaynow | Nil)

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

Source
paypal
Source
paypal=(new_value : Stripe::PaymentMethodDetailsPaypal | Nil)

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

Source
pix=(new_value : Stripe::PaymentMethodDetailsPix | Nil)

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

Source
promptpay
Source
promptpay=(new_value : Stripe::PaymentMethodDetailsPromptpay | Nil)

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

Source
revolut_pay
Source
revolut_pay=(new_value : JSON::Any | Nil)

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

Source
sepa_credit_transfer
Source
sepa_credit_transfer=(new_value : Stripe::PaymentMethodDetailsSepaCreditTransfer | Nil)

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

Source
sepa_debit
Source
sepa_debit=(new_value : Stripe::PaymentMethodDetailsSepaDebit | Nil)

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

Source
sofort
Source
sofort=(new_value : Stripe::PaymentMethodDetailsSofort | Nil)

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

Source
stripe_account
Source
stripe_account=(new_value : JSON::Any | Nil)

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

Source
swish
Source
swish=(new_value : Stripe::PaymentMethodDetailsSwish | Nil)

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

Source
twint
Source
twint=(new_value : JSON::Any | Nil)

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

Source
us_bank_account
Source
us_bank_account=(new_value : Stripe::PaymentMethodDetailsUsBankAccount | Nil)

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
Source
wechat=(new_value : JSON::Any | Nil)

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

Source
wechat_pay
Source
wechat_pay=(new_value : Stripe::PaymentMethodDetailsWechatPay | Nil)

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

Source
zip=(new_value : JSON::Any | Nil)

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

Source