class

Stripe::MandatePaymentMethodDetails

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

This mandate corresponds with a specific payment method type. The payment_method_details includes an additional hash with the same name and contains mandate information that's specific to that payment method.

Source
_type=(new_value : String | Nil)

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

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

Custom attribute writer method checking allowed values (enum). @param [Object] acss_debit 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::MandateAuBecsDebit | 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::MandateBacsDebit | Nil)

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

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

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

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

Custom attribute writer method checking allowed values (enum). @param [Object] cashapp 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

list_invalid_properties

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

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

Custom attribute writer method checking allowed values (enum). @param [Object] paypal 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_debit
Source
sepa_debit=(new_value : Stripe::MandateSepaDebit | Nil)

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

Source
us_bank_account
Source
us_bank_account=(new_value : Stripe::MandateUsBankAccount | 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