class Stripe::CheckoutSessionPaymentMethodOptions
- Stripe::CheckoutSessionPaymentMethodOptions
- Reference
- Object
Overview
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/checkout_session_payment_method_options.crConstructors
- .new(pull : JSON::PullParser)
-
.new(*, acss_debit : Stripe::CheckoutAcssDebitPaymentMethodOptions | Nil = nil, affirm : Stripe::CheckoutAffirmPaymentMethodOptions | Nil = nil, afterpay_clearpay : Stripe::CheckoutAfterpayClearpayPaymentMethodOptions | Nil = nil, alipay : Stripe::CheckoutAlipayPaymentMethodOptions | Nil = nil, amazon_pay : Stripe::CheckoutAmazonPayPaymentMethodOptions | Nil = nil, au_becs_debit : Stripe::CheckoutAuBecsDebitPaymentMethodOptions | Nil = nil, bacs_debit : Stripe::CheckoutBacsDebitPaymentMethodOptions | Nil = nil, bancontact : Stripe::CheckoutBancontactPaymentMethodOptions | Nil = nil, boleto : Stripe::CheckoutBoletoPaymentMethodOptions | Nil = nil, card : Stripe::CheckoutCardPaymentMethodOptions | Nil = nil, cashapp : Stripe::CheckoutCashappPaymentMethodOptions | Nil = nil, customer_balance : Stripe::CheckoutCustomerBalancePaymentMethodOptions | Nil = nil, eps : Stripe::CheckoutEpsPaymentMethodOptions | Nil = nil, fpx : Stripe::CheckoutFpxPaymentMethodOptions | Nil = nil, giropay : Stripe::CheckoutGiropayPaymentMethodOptions | Nil = nil, grabpay : Stripe::CheckoutGrabPayPaymentMethodOptions | Nil = nil, ideal : Stripe::CheckoutIdealPaymentMethodOptions | Nil = nil, klarna : Stripe::CheckoutKlarnaPaymentMethodOptions | Nil = nil, konbini : Stripe::CheckoutKonbiniPaymentMethodOptions | Nil = nil, link : Stripe::CheckoutLinkPaymentMethodOptions | Nil = nil, mobilepay : Stripe::CheckoutMobilepayPaymentMethodOptions | Nil = nil, multibanco : Stripe::CheckoutMultibancoPaymentMethodOptions | Nil = nil, oxxo : Stripe::CheckoutOxxoPaymentMethodOptions | Nil = nil, p24 : Stripe::CheckoutP24PaymentMethodOptions | Nil = nil, paynow : Stripe::CheckoutPaynowPaymentMethodOptions | Nil = nil, paypal : Stripe::CheckoutPaypalPaymentMethodOptions | Nil = nil, pix : Stripe::CheckoutPixPaymentMethodOptions | Nil = nil, revolut_pay : Stripe::CheckoutRevolutPayPaymentMethodOptions | Nil = nil, sepa_debit : Stripe::CheckoutSepaDebitPaymentMethodOptions | Nil = nil, sofort : Stripe::CheckoutSofortPaymentMethodOptions | Nil = nil, swish : Stripe::CheckoutSwishPaymentMethodOptions | Nil = nil, us_bank_account : Stripe::CheckoutUsBankAccountPaymentMethodOptions | Nil = nil)
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Summary
-
#==(other : self)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #acss_debit : Stripe::CheckoutAcssDebitPaymentMethodOptions | Nil
-
#acss_debit=(new_value : Stripe::CheckoutAcssDebitPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #affirm : Stripe::CheckoutAffirmPaymentMethodOptions | Nil
-
#affirm=(new_value : Stripe::CheckoutAffirmPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #afterpay_clearpay : Stripe::CheckoutAfterpayClearpayPaymentMethodOptions | Nil
-
#afterpay_clearpay=(new_value : Stripe::CheckoutAfterpayClearpayPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #alipay : Stripe::CheckoutAlipayPaymentMethodOptions | Nil
-
#alipay=(new_value : Stripe::CheckoutAlipayPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #amazon_pay : Stripe::CheckoutAmazonPayPaymentMethodOptions | Nil
-
#amazon_pay=(new_value : Stripe::CheckoutAmazonPayPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #au_becs_debit : Stripe::CheckoutAuBecsDebitPaymentMethodOptions | Nil
-
#au_becs_debit=(new_value : Stripe::CheckoutAuBecsDebitPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #bacs_debit : Stripe::CheckoutBacsDebitPaymentMethodOptions | Nil
-
#bacs_debit=(new_value : Stripe::CheckoutBacsDebitPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #bancontact : Stripe::CheckoutBancontactPaymentMethodOptions | Nil
-
#bancontact=(new_value : Stripe::CheckoutBancontactPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #boleto : Stripe::CheckoutBoletoPaymentMethodOptions | Nil
-
#boleto=(new_value : Stripe::CheckoutBoletoPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #card : Stripe::CheckoutCardPaymentMethodOptions | Nil
-
#card=(new_value : Stripe::CheckoutCardPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #cashapp : Stripe::CheckoutCashappPaymentMethodOptions | Nil
-
#cashapp=(new_value : Stripe::CheckoutCashappPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #customer_balance : Stripe::CheckoutCustomerBalancePaymentMethodOptions | Nil
-
#customer_balance=(new_value : Stripe::CheckoutCustomerBalancePaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #eps : Stripe::CheckoutEpsPaymentMethodOptions | Nil
-
#eps=(new_value : Stripe::CheckoutEpsPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #fpx : Stripe::CheckoutFpxPaymentMethodOptions | Nil
-
#fpx=(new_value : Stripe::CheckoutFpxPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #giropay : Stripe::CheckoutGiropayPaymentMethodOptions | Nil
-
#giropay=(new_value : Stripe::CheckoutGiropayPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #grabpay : Stripe::CheckoutGrabPayPaymentMethodOptions | Nil
-
#grabpay=(new_value : Stripe::CheckoutGrabPayPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #ideal : Stripe::CheckoutIdealPaymentMethodOptions | Nil
-
#ideal=(new_value : Stripe::CheckoutIdealPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #klarna : Stripe::CheckoutKlarnaPaymentMethodOptions | Nil
-
#klarna=(new_value : Stripe::CheckoutKlarnaPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #konbini : Stripe::CheckoutKonbiniPaymentMethodOptions | Nil
-
#konbini=(new_value : Stripe::CheckoutKonbiniPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #link : Stripe::CheckoutLinkPaymentMethodOptions | Nil
-
#link=(new_value : Stripe::CheckoutLinkPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #mobilepay : Stripe::CheckoutMobilepayPaymentMethodOptions | Nil
-
#mobilepay=(new_value : Stripe::CheckoutMobilepayPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #multibanco : Stripe::CheckoutMultibancoPaymentMethodOptions | Nil
-
#multibanco=(new_value : Stripe::CheckoutMultibancoPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #oxxo : Stripe::CheckoutOxxoPaymentMethodOptions | Nil
-
#oxxo=(new_value : Stripe::CheckoutOxxoPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #p24 : Stripe::CheckoutP24PaymentMethodOptions | Nil
-
#p24=(new_value : Stripe::CheckoutP24PaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #paynow : Stripe::CheckoutPaynowPaymentMethodOptions | Nil
-
#paynow=(new_value : Stripe::CheckoutPaynowPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #paypal : Stripe::CheckoutPaypalPaymentMethodOptions | Nil
-
#paypal=(new_value : Stripe::CheckoutPaypalPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #pix : Stripe::CheckoutPixPaymentMethodOptions | Nil
-
#pix=(new_value : Stripe::CheckoutPixPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #revolut_pay : Stripe::CheckoutRevolutPayPaymentMethodOptions | Nil
-
#revolut_pay=(new_value : Stripe::CheckoutRevolutPayPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #sepa_debit : Stripe::CheckoutSepaDebitPaymentMethodOptions | Nil
-
#sepa_debit=(new_value : Stripe::CheckoutSepaDebitPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #sofort : Stripe::CheckoutSofortPaymentMethodOptions | Nil
-
#sofort=(new_value : Stripe::CheckoutSofortPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #swish : Stripe::CheckoutSwishPaymentMethodOptions | Nil
-
#swish=(new_value : Stripe::CheckoutSwishPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
- #us_bank_account : Stripe::CheckoutUsBankAccountPaymentMethodOptions | Nil
-
#us_bank_account=(new_value : Stripe::CheckoutUsBankAccountPaymentMethodOptions | Nil)
Custom attribute writer method checking allowed values (enum).
-
#valid? : Bool
Check to see if the all the properties in the model are valid @return true if the model is valid
Instance methods inherited from module OpenApi::Json
after_initialize
after_initialize,
clone
clone,
eql?(o : self)
eql?,
to_hash : Hash(String, JSON::Any)
to_hash,
to_json_any : JSON::Any
to_json_any
Class methods inherited from module OpenApi::Json
build_from_hash(hash : Hash)
build_from_hash,
build_from_json_any(json_any : JSON::Any)
build_from_json_any
Instance methods inherited from module OpenApi::Validatable
list_invalid_properties : Array(String)
list_invalid_properties,
list_invalid_properties_for(key : String) : Array(String)
list_invalid_properties_for,
valid? : Bool
valid?,
validate : Nil
validate
Constructor Detail
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] acss_debit Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] affirm Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] afterpay_clearpay Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] alipay Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] amazon_pay Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] au_becs_debit Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] bacs_debit Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] bancontact Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] boleto Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] card Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cashapp Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] customer_balance Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] eps Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] fpx Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] giropay Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] grabpay Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] ideal Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] klarna Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] konbini Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] link Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] mobilepay Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] multibanco Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] oxxo Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] p24 Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] paynow Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] paypal Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pix Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] revolut_pay Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] sepa_debit Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] sofort Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] swish Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] us_bank_account Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid