class Stripe::PaymentMethodDetails
- Stripe::PaymentMethodDetails
- Reference
- Object
Overview
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/payment_method_details.crConstant Summary
-
MAX_LENGTH_FOR__TYPE =
5000
Constructors
- .new(pull : JSON::PullParser)
-
.new(*, _type : String | Nil = nil, ach_credit_transfer : Stripe::PaymentMethodDetailsAchCreditTransfer | Nil = nil, ach_debit : Stripe::PaymentMethodDetailsAchDebit | Nil = nil, acss_debit : Stripe::PaymentMethodDetailsAcssDebit | Nil = nil, affirm : Stripe::PaymentMethodDetailsAffirm | Nil = nil, afterpay_clearpay : Stripe::PaymentMethodDetailsAfterpayClearpay | Nil = nil, alipay : Stripe::PaymentFlowsPrivatePaymentMethodsAlipayDetails | Nil = nil, amazon_pay : JSON::Any | Nil = nil, au_becs_debit : Stripe::PaymentMethodDetailsAuBecsDebit | Nil = nil, bacs_debit : Stripe::PaymentMethodDetailsBacsDebit | Nil = nil, bancontact : Stripe::PaymentMethodDetailsBancontact | Nil = nil, blik : Stripe::PaymentMethodDetailsBlik | Nil = nil, boleto : Stripe::PaymentMethodDetailsBoleto | Nil = nil, card : Stripe::PaymentMethodDetailsCard | Nil = nil, card_present2 : Stripe::PaymentMethodDetailsCardPresent | Nil = nil, cashapp : Stripe::PaymentMethodDetailsCashapp | Nil = nil, customer_balance : JSON::Any | Nil = nil, eps : Stripe::PaymentMethodDetailsEps | Nil = nil, fpx : Stripe::PaymentMethodDetailsFpx | Nil = nil, giropay : Stripe::PaymentMethodDetailsGiropay | Nil = nil, grabpay : Stripe::PaymentMethodDetailsGrabpay | Nil = nil, ideal : Stripe::PaymentMethodDetailsIdeal | Nil = nil, interac_present : Stripe::PaymentMethodDetailsInteracPresent | Nil = nil, klarna : Stripe::PaymentMethodDetailsKlarna | Nil = nil, konbini : Stripe::PaymentMethodDetailsKonbini | Nil = nil, link : Stripe::PaymentMethodDetailsLink | Nil = nil, mobilepay : Stripe::PaymentMethodDetailsMobilepay | Nil = nil, multibanco : Stripe::PaymentMethodDetailsMultibanco | Nil = nil, oxxo : Stripe::PaymentMethodDetailsOxxo | Nil = nil, p24 : Stripe::PaymentMethodDetailsP24 | Nil = nil, paynow : Stripe::PaymentMethodDetailsPaynow | Nil = nil, paypal : Stripe::PaymentMethodDetailsPaypal | Nil = nil, pix : Stripe::PaymentMethodDetailsPix | Nil = nil, promptpay : Stripe::PaymentMethodDetailsPromptpay | Nil = nil, revolut_pay : JSON::Any | Nil = nil, sepa_credit_transfer : Stripe::PaymentMethodDetailsSepaCreditTransfer | Nil = nil, sepa_debit : Stripe::PaymentMethodDetailsSepaDebit | Nil = nil, sofort : Stripe::PaymentMethodDetailsSofort | Nil = nil, stripe_account : JSON::Any | Nil = nil, swish : Stripe::PaymentMethodDetailsSwish | Nil = nil, twint : JSON::Any | Nil = nil, us_bank_account : Stripe::PaymentMethodDetailsUsBankAccount | Nil = nil, wechat : JSON::Any | Nil = nil, wechat_pay : Stripe::PaymentMethodDetailsWechatPay | Nil = nil, zip : JSON::Any | 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.
- #_type : String | Nil
-
#_type=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #ach_credit_transfer : Stripe::PaymentMethodDetailsAchCreditTransfer | Nil
-
#ach_credit_transfer=(new_value : Stripe::PaymentMethodDetailsAchCreditTransfer | Nil)
Custom attribute writer method checking allowed values (enum).
- #ach_debit : Stripe::PaymentMethodDetailsAchDebit | Nil
-
#ach_debit=(new_value : Stripe::PaymentMethodDetailsAchDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #acss_debit : Stripe::PaymentMethodDetailsAcssDebit | Nil
-
#acss_debit=(new_value : Stripe::PaymentMethodDetailsAcssDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #affirm : Stripe::PaymentMethodDetailsAffirm | Nil
-
#affirm=(new_value : Stripe::PaymentMethodDetailsAffirm | Nil)
Custom attribute writer method checking allowed values (enum).
- #afterpay_clearpay : Stripe::PaymentMethodDetailsAfterpayClearpay | Nil
-
#afterpay_clearpay=(new_value : Stripe::PaymentMethodDetailsAfterpayClearpay | Nil)
Custom attribute writer method checking allowed values (enum).
- #alipay : Stripe::PaymentFlowsPrivatePaymentMethodsAlipayDetails | Nil
-
#alipay=(new_value : Stripe::PaymentFlowsPrivatePaymentMethodsAlipayDetails | Nil)
Custom attribute writer method checking allowed values (enum).
- #amazon_pay : JSON::Any | Nil
-
#amazon_pay=(new_value : JSON::Any | Nil)
Custom attribute writer method checking allowed values (enum).
- #au_becs_debit : Stripe::PaymentMethodDetailsAuBecsDebit | Nil
-
#au_becs_debit=(new_value : Stripe::PaymentMethodDetailsAuBecsDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #bacs_debit : Stripe::PaymentMethodDetailsBacsDebit | Nil
-
#bacs_debit=(new_value : Stripe::PaymentMethodDetailsBacsDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #bancontact : Stripe::PaymentMethodDetailsBancontact | Nil
-
#bancontact=(new_value : Stripe::PaymentMethodDetailsBancontact | Nil)
Custom attribute writer method checking allowed values (enum).
- #blik : Stripe::PaymentMethodDetailsBlik | Nil
-
#blik=(new_value : Stripe::PaymentMethodDetailsBlik | Nil)
Custom attribute writer method checking allowed values (enum).
- #boleto : Stripe::PaymentMethodDetailsBoleto | Nil
-
#boleto=(new_value : Stripe::PaymentMethodDetailsBoleto | Nil)
Custom attribute writer method checking allowed values (enum).
- #card : Stripe::PaymentMethodDetailsCard | Nil
-
#card=(new_value : Stripe::PaymentMethodDetailsCard | Nil)
Custom attribute writer method checking allowed values (enum).
- #card_present : Stripe::PaymentMethodDetailsCardPresent | Nil
-
#card_present=(new_value : Stripe::PaymentMethodDetailsCardPresent | Nil)
Custom attribute writer method checking allowed values (enum).
- #cashapp : Stripe::PaymentMethodDetailsCashapp | Nil
-
#cashapp=(new_value : Stripe::PaymentMethodDetailsCashapp | Nil)
Custom attribute writer method checking allowed values (enum).
- #customer_balance : JSON::Any | Nil
-
#customer_balance=(new_value : JSON::Any | Nil)
Custom attribute writer method checking allowed values (enum).
- #eps : Stripe::PaymentMethodDetailsEps | Nil
-
#eps=(new_value : Stripe::PaymentMethodDetailsEps | Nil)
Custom attribute writer method checking allowed values (enum).
- #fpx : Stripe::PaymentMethodDetailsFpx | Nil
-
#fpx=(new_value : Stripe::PaymentMethodDetailsFpx | Nil)
Custom attribute writer method checking allowed values (enum).
- #giropay : Stripe::PaymentMethodDetailsGiropay | Nil
-
#giropay=(new_value : Stripe::PaymentMethodDetailsGiropay | Nil)
Custom attribute writer method checking allowed values (enum).
- #grabpay : Stripe::PaymentMethodDetailsGrabpay | Nil
-
#grabpay=(new_value : Stripe::PaymentMethodDetailsGrabpay | 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::PaymentMethodDetailsIdeal | Nil
-
#ideal=(new_value : Stripe::PaymentMethodDetailsIdeal | Nil)
Custom attribute writer method checking allowed values (enum).
- #interac_present : Stripe::PaymentMethodDetailsInteracPresent | Nil
-
#interac_present=(new_value : Stripe::PaymentMethodDetailsInteracPresent | Nil)
Custom attribute writer method checking allowed values (enum).
- #klarna : Stripe::PaymentMethodDetailsKlarna | Nil
-
#klarna=(new_value : Stripe::PaymentMethodDetailsKlarna | Nil)
Custom attribute writer method checking allowed values (enum).
- #konbini : Stripe::PaymentMethodDetailsKonbini | Nil
-
#konbini=(new_value : Stripe::PaymentMethodDetailsKonbini | Nil)
Custom attribute writer method checking allowed values (enum).
- #link : Stripe::PaymentMethodDetailsLink | Nil
-
#link=(new_value : Stripe::PaymentMethodDetailsLink | Nil)
Custom attribute writer method checking allowed values (enum).
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #mobilepay : Stripe::PaymentMethodDetailsMobilepay | Nil
-
#mobilepay=(new_value : Stripe::PaymentMethodDetailsMobilepay | Nil)
Custom attribute writer method checking allowed values (enum).
- #multibanco : Stripe::PaymentMethodDetailsMultibanco | Nil
-
#multibanco=(new_value : Stripe::PaymentMethodDetailsMultibanco | Nil)
Custom attribute writer method checking allowed values (enum).
- #oxxo : Stripe::PaymentMethodDetailsOxxo | Nil
-
#oxxo=(new_value : Stripe::PaymentMethodDetailsOxxo | Nil)
Custom attribute writer method checking allowed values (enum).
- #p24 : Stripe::PaymentMethodDetailsP24 | Nil
-
#p24=(new_value : Stripe::PaymentMethodDetailsP24 | Nil)
Custom attribute writer method checking allowed values (enum).
- #paynow : Stripe::PaymentMethodDetailsPaynow | Nil
-
#paynow=(new_value : Stripe::PaymentMethodDetailsPaynow | Nil)
Custom attribute writer method checking allowed values (enum).
- #paypal : Stripe::PaymentMethodDetailsPaypal | Nil
-
#paypal=(new_value : Stripe::PaymentMethodDetailsPaypal | Nil)
Custom attribute writer method checking allowed values (enum).
- #pix : Stripe::PaymentMethodDetailsPix | Nil
-
#pix=(new_value : Stripe::PaymentMethodDetailsPix | Nil)
Custom attribute writer method checking allowed values (enum).
- #promptpay : Stripe::PaymentMethodDetailsPromptpay | Nil
-
#promptpay=(new_value : Stripe::PaymentMethodDetailsPromptpay | Nil)
Custom attribute writer method checking allowed values (enum).
- #revolut_pay : JSON::Any | Nil
-
#revolut_pay=(new_value : JSON::Any | Nil)
Custom attribute writer method checking allowed values (enum).
- #sepa_credit_transfer : Stripe::PaymentMethodDetailsSepaCreditTransfer | Nil
-
#sepa_credit_transfer=(new_value : Stripe::PaymentMethodDetailsSepaCreditTransfer | Nil)
Custom attribute writer method checking allowed values (enum).
- #sepa_debit : Stripe::PaymentMethodDetailsSepaDebit | Nil
-
#sepa_debit=(new_value : Stripe::PaymentMethodDetailsSepaDebit | Nil)
Custom attribute writer method checking allowed values (enum).
- #sofort : Stripe::PaymentMethodDetailsSofort | Nil
-
#sofort=(new_value : Stripe::PaymentMethodDetailsSofort | Nil)
Custom attribute writer method checking allowed values (enum).
- #stripe_account : JSON::Any | Nil
-
#stripe_account=(new_value : JSON::Any | Nil)
Custom attribute writer method checking allowed values (enum).
- #swish : Stripe::PaymentMethodDetailsSwish | Nil
-
#swish=(new_value : Stripe::PaymentMethodDetailsSwish | Nil)
Custom attribute writer method checking allowed values (enum).
- #twint : JSON::Any | Nil
-
#twint=(new_value : JSON::Any | Nil)
Custom attribute writer method checking allowed values (enum).
- #us_bank_account : Stripe::PaymentMethodDetailsUsBankAccount | Nil
-
#us_bank_account=(new_value : Stripe::PaymentMethodDetailsUsBankAccount | 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 : JSON::Any | Nil
-
#wechat=(new_value : JSON::Any | Nil)
Custom attribute writer method checking allowed values (enum).
- #wechat_pay : Stripe::PaymentMethodDetailsWechatPay | Nil
-
#wechat_pay=(new_value : Stripe::PaymentMethodDetailsWechatPay | Nil)
Custom attribute writer method checking allowed values (enum).
- #zip : JSON::Any | Nil
-
#zip=(new_value : JSON::Any | 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] _type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ach_credit_transfer Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ach_debit Object to be assigned
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_credit_transfer 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] stripe_account 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 Object to be assigned
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