class Stripe::PaymentIntentPaymentMethodOptions
- Stripe::PaymentIntentPaymentMethodOptions
- Reference
- Object
Overview
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/payment_intent_payment_method_options.crConstructors
- .new(pull : JSON::PullParser)
-
.new(*, acss_debit : Stripe::PaymentIntentPaymentMethodOptionsAcssDebit | Nil = nil, affirm : Stripe::PaymentMethodOptionsAffirm | Nil = nil, afterpay_clearpay : Stripe::PaymentMethodOptionsAfterpayClearpay | Nil = nil, alipay : Stripe::PaymentMethodOptionsAlipay | Nil = nil, amazon_pay : Stripe::PaymentMethodOptionsAmazonPay | Nil = nil, au_becs_debit : Stripe::PaymentIntentPaymentMethodOptionsAuBecsDebit | Nil = nil, bacs_debit : Stripe::PaymentIntentPaymentMethodOptionsBacsDebit | Nil = nil, bancontact : Stripe::PaymentMethodOptionsBancontact | Nil = nil, blik : Stripe::PaymentIntentPaymentMethodOptionsBlik | Nil = nil, boleto : Stripe::PaymentMethodOptionsBoleto | Nil = nil, card : Stripe::PaymentIntentPaymentMethodOptionsCard | Nil = nil, card_present2 : Stripe::PaymentMethodOptionsCardPresent | Nil = nil, cashapp : Stripe::PaymentMethodOptionsCashapp | Nil = nil, customer_balance : Stripe::PaymentMethodOptionsCustomerBalance | Nil = nil, eps : Stripe::PaymentIntentPaymentMethodOptionsEps | Nil = nil, fpx : Stripe::PaymentMethodOptionsFpx | Nil = nil, giropay : Stripe::PaymentMethodOptionsGiropay | Nil = nil, grabpay : Stripe::PaymentMethodOptionsGrabpay | Nil = nil, ideal : Stripe::PaymentMethodOptionsIdeal | Nil = nil, interac_present : JSON::Any | Nil = nil, klarna : Stripe::PaymentMethodOptionsKlarna | Nil = nil, konbini : Stripe::PaymentMethodOptionsKonbini | Nil = nil, link : Stripe::PaymentIntentPaymentMethodOptionsLink | Nil = nil, mobilepay : Stripe::PaymentIntentPaymentMethodOptionsMobilepay | Nil = nil, multibanco : Stripe::PaymentMethodOptionsMultibanco | Nil = nil, oxxo : Stripe::PaymentMethodOptionsOxxo | Nil = nil, p24 : Stripe::PaymentMethodOptionsP24 | Nil = nil, paynow : Stripe::PaymentMethodOptionsPaynow | Nil = nil, paypal : Stripe::PaymentMethodOptionsPaypal | Nil = nil, pix : Stripe::PaymentMethodOptionsPix | Nil = nil, promptpay : Stripe::PaymentMethodOptionsPromptpay | Nil = nil, revolut_pay : Stripe::PaymentMethodOptionsRevolutPay | Nil = nil, sepa_debit : Stripe::PaymentIntentPaymentMethodOptionsSepaDebit | Nil = nil, sofort : Stripe::PaymentMethodOptionsSofort | Nil = nil, swish : Stripe::PaymentIntentPaymentMethodOptionsSwish | Nil = nil, twint : Stripe::PaymentMethodOptionsTwint | Nil = nil, us_bank_account : Stripe::PaymentIntentPaymentMethodOptionsUsBankAccount | Nil = nil, wechat_pay : Stripe::PaymentMethodOptionsWechatPay | Nil = nil, zip : Stripe::PaymentMethodOptionsZip | 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::PaymentIntentPaymentMethodOptionsAcssDebit | Nil
-
#acss_debit=(new_value : Stripe::PaymentIntentPaymentMethodOptionsAcssDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #affirm : Stripe::PaymentMethodOptionsAffirm | Nil
-
#affirm=(new_value : Stripe::PaymentMethodOptionsAffirm | Nil)
Custom attribute writer method checking allowed values (enum).
- #afterpay_clearpay : Stripe::PaymentMethodOptionsAfterpayClearpay | Nil
-
#afterpay_clearpay=(new_value : Stripe::PaymentMethodOptionsAfterpayClearpay | Nil)
Custom attribute writer method checking allowed values (enum).
- #alipay : Stripe::PaymentMethodOptionsAlipay | Nil
-
#alipay=(new_value : Stripe::PaymentMethodOptionsAlipay | Nil)
Custom attribute writer method checking allowed values (enum).
- #amazon_pay : Stripe::PaymentMethodOptionsAmazonPay | Nil
-
#amazon_pay=(new_value : Stripe::PaymentMethodOptionsAmazonPay | Nil)
Custom attribute writer method checking allowed values (enum).
- #au_becs_debit : Stripe::PaymentIntentPaymentMethodOptionsAuBecsDebit | Nil
-
#au_becs_debit=(new_value : Stripe::PaymentIntentPaymentMethodOptionsAuBecsDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #bacs_debit : Stripe::PaymentIntentPaymentMethodOptionsBacsDebit | Nil
-
#bacs_debit=(new_value : Stripe::PaymentIntentPaymentMethodOptionsBacsDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #bancontact : Stripe::PaymentMethodOptionsBancontact | Nil
-
#bancontact=(new_value : Stripe::PaymentMethodOptionsBancontact | Nil)
Custom attribute writer method checking allowed values (enum).
- #blik : Stripe::PaymentIntentPaymentMethodOptionsBlik | Nil
-
#blik=(new_value : Stripe::PaymentIntentPaymentMethodOptionsBlik | Nil)
Custom attribute writer method checking allowed values (enum).
- #boleto : Stripe::PaymentMethodOptionsBoleto | Nil
-
#boleto=(new_value : Stripe::PaymentMethodOptionsBoleto | Nil)
Custom attribute writer method checking allowed values (enum).
- #card : Stripe::PaymentIntentPaymentMethodOptionsCard | Nil
-
#card=(new_value : Stripe::PaymentIntentPaymentMethodOptionsCard | Nil)
Custom attribute writer method checking allowed values (enum).
- #card_present : Stripe::PaymentMethodOptionsCardPresent | Nil
-
#card_present=(new_value : Stripe::PaymentMethodOptionsCardPresent | Nil)
Custom attribute writer method checking allowed values (enum).
- #cashapp : Stripe::PaymentMethodOptionsCashapp | Nil
-
#cashapp=(new_value : Stripe::PaymentMethodOptionsCashapp | Nil)
Custom attribute writer method checking allowed values (enum).
- #customer_balance : Stripe::PaymentMethodOptionsCustomerBalance | Nil
-
#customer_balance=(new_value : Stripe::PaymentMethodOptionsCustomerBalance | Nil)
Custom attribute writer method checking allowed values (enum).
- #eps : Stripe::PaymentIntentPaymentMethodOptionsEps | Nil
-
#eps=(new_value : Stripe::PaymentIntentPaymentMethodOptionsEps | Nil)
Custom attribute writer method checking allowed values (enum).
- #fpx : Stripe::PaymentMethodOptionsFpx | Nil
-
#fpx=(new_value : Stripe::PaymentMethodOptionsFpx | Nil)
Custom attribute writer method checking allowed values (enum).
- #giropay : Stripe::PaymentMethodOptionsGiropay | Nil
-
#giropay=(new_value : Stripe::PaymentMethodOptionsGiropay | Nil)
Custom attribute writer method checking allowed values (enum).
- #grabpay : Stripe::PaymentMethodOptionsGrabpay | Nil
-
#grabpay=(new_value : Stripe::PaymentMethodOptionsGrabpay | 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::PaymentMethodOptionsIdeal | Nil
-
#ideal=(new_value : Stripe::PaymentMethodOptionsIdeal | Nil)
Custom attribute writer method checking allowed values (enum).
- #interac_present : JSON::Any | Nil
-
#interac_present=(new_value : JSON::Any | Nil)
Custom attribute writer method checking allowed values (enum).
- #klarna : Stripe::PaymentMethodOptionsKlarna | Nil
-
#klarna=(new_value : Stripe::PaymentMethodOptionsKlarna | Nil)
Custom attribute writer method checking allowed values (enum).
- #konbini : Stripe::PaymentMethodOptionsKonbini | Nil
-
#konbini=(new_value : Stripe::PaymentMethodOptionsKonbini | Nil)
Custom attribute writer method checking allowed values (enum).
- #link : Stripe::PaymentIntentPaymentMethodOptionsLink | Nil
-
#link=(new_value : Stripe::PaymentIntentPaymentMethodOptionsLink | Nil)
Custom attribute writer method checking allowed values (enum).
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #mobilepay : Stripe::PaymentIntentPaymentMethodOptionsMobilepay | Nil
-
#mobilepay=(new_value : Stripe::PaymentIntentPaymentMethodOptionsMobilepay | Nil)
Custom attribute writer method checking allowed values (enum).
- #multibanco : Stripe::PaymentMethodOptionsMultibanco | Nil
-
#multibanco=(new_value : Stripe::PaymentMethodOptionsMultibanco | Nil)
Custom attribute writer method checking allowed values (enum).
- #oxxo : Stripe::PaymentMethodOptionsOxxo | Nil
-
#oxxo=(new_value : Stripe::PaymentMethodOptionsOxxo | Nil)
Custom attribute writer method checking allowed values (enum).
- #p24 : Stripe::PaymentMethodOptionsP24 | Nil
-
#p24=(new_value : Stripe::PaymentMethodOptionsP24 | Nil)
Custom attribute writer method checking allowed values (enum).
- #paynow : Stripe::PaymentMethodOptionsPaynow | Nil
-
#paynow=(new_value : Stripe::PaymentMethodOptionsPaynow | Nil)
Custom attribute writer method checking allowed values (enum).
- #paypal : Stripe::PaymentMethodOptionsPaypal | Nil
-
#paypal=(new_value : Stripe::PaymentMethodOptionsPaypal | Nil)
Custom attribute writer method checking allowed values (enum).
- #pix : Stripe::PaymentMethodOptionsPix | Nil
-
#pix=(new_value : Stripe::PaymentMethodOptionsPix | Nil)
Custom attribute writer method checking allowed values (enum).
- #promptpay : Stripe::PaymentMethodOptionsPromptpay | Nil
-
#promptpay=(new_value : Stripe::PaymentMethodOptionsPromptpay | Nil)
Custom attribute writer method checking allowed values (enum).
- #revolut_pay : Stripe::PaymentMethodOptionsRevolutPay | Nil
-
#revolut_pay=(new_value : Stripe::PaymentMethodOptionsRevolutPay | Nil)
Custom attribute writer method checking allowed values (enum).
- #sepa_debit : Stripe::PaymentIntentPaymentMethodOptionsSepaDebit | Nil
-
#sepa_debit=(new_value : Stripe::PaymentIntentPaymentMethodOptionsSepaDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #sofort : Stripe::PaymentMethodOptionsSofort | Nil
-
#sofort=(new_value : Stripe::PaymentMethodOptionsSofort | Nil)
Custom attribute writer method checking allowed values (enum).
- #swish : Stripe::PaymentIntentPaymentMethodOptionsSwish | Nil
-
#swish=(new_value : Stripe::PaymentIntentPaymentMethodOptionsSwish | Nil)
Custom attribute writer method checking allowed values (enum).
- #twint : Stripe::PaymentMethodOptionsTwint | Nil
-
#twint=(new_value : Stripe::PaymentMethodOptionsTwint | Nil)
Custom attribute writer method checking allowed values (enum).
- #us_bank_account : Stripe::PaymentIntentPaymentMethodOptionsUsBankAccount | Nil
-
#us_bank_account=(new_value : Stripe::PaymentIntentPaymentMethodOptionsUsBankAccount | 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
- #wechat_pay : Stripe::PaymentMethodOptionsWechatPay | Nil
-
#wechat_pay=(new_value : Stripe::PaymentMethodOptionsWechatPay | Nil)
Custom attribute writer method checking allowed values (enum).
- #zip : Stripe::PaymentMethodOptionsZip | Nil
-
#zip=(new_value : Stripe::PaymentMethodOptionsZip | Nil)
Custom attribute writer method checking allowed values (enum).
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] blik 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] card_present 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] interac_present 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] promptpay 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] twint 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
Custom attribute writer method checking allowed values (enum). @param [Object] wechat_pay Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] zip Object to be assigned