class

Stripe::TreasurySharedResourceInitiatingPaymentMethodDetailsInitiatingPaymentMethodDetails

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

Constants

ERROR_MESSAGE_FOR__TYPE = "invalid value for \"_type\", must be one of [balance, financial_account, issuing_card, stripe, us_bank_account]."
ERROR_MESSAGE_FOR_BALANCE = "invalid value for \"balance\", must be one of [payments]."
MAX_LENGTH_FOR_ISSUING_CARD = 5000
VALID_VALUES_FOR__TYPE = String.static_array("balance", "financial_account", "issuing_card", "stripe", "us_bank_account")
VALID_VALUES_FOR_BALANCE = String.static_array("payments")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, billing_details : Stripe::TreasurySharedResourceBillingDetails | Nil = nil, _type : String | Nil = nil, balance : String | Nil = nil, financial_account : Stripe::ReceivedPaymentMethodDetailsFinancialAccount | Nil = nil, issuing_card : String | Nil = nil, us_bank_account : Stripe::TreasurySharedResourceInitiatingPaymentMethodDetailsUsBankAccount | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

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

Polymorphic type matching the originating money movement's source. This can be an external account, a Stripe balance, or a FinancialAccount.

Source
_type=(new_value : String | Nil)

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

Source
balance

Set when type is balance.

Source
balance=(new_value : String | Nil)

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

Source
billing_details
Source
billing_details=(new_value : Stripe::TreasurySharedResourceBillingDetails | Nil)

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

Source
financial_account
Source
financial_account=(new_value : Stripe::ReceivedPaymentMethodDetailsFinancialAccount | Nil)

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

issuing_card

Set when type is issuing_card. This is an Issuing Card ID.

Source
issuing_card=(new_value : String | Nil)

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

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