class Stripe::PayoutDestination
- Stripe::PayoutDestination
- Reference
- Object
Overview
ID of the bank account or card the payout is sent to.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/payout_destination.crConstant Summary
-
ERROR_MESSAGE_FOR_AVAILABLE_PAYOUT_METHODS =
"invalid value for \"available_payout_methods\", must be one of [instant, standard]."
-
ERROR_MESSAGE_FOR_OBJECT =
"invalid value for \"object\", must be one of [card]."
-
MAX_LENGTH_FOR_ACCOUNT_HOLDER_NAME =
5000
-
MAX_LENGTH_FOR_ACCOUNT_HOLDER_TYPE =
5000
-
MAX_LENGTH_FOR_ACCOUNT_TYPE =
5000
-
MAX_LENGTH_FOR_ADDRESS_CITY =
5000
-
MAX_LENGTH_FOR_ADDRESS_COUNTRY =
5000
-
MAX_LENGTH_FOR_ADDRESS_LINE1 =
5000
-
MAX_LENGTH_FOR_ADDRESS_LINE1_CHECK =
5000
-
MAX_LENGTH_FOR_ADDRESS_LINE2 =
5000
-
MAX_LENGTH_FOR_ADDRESS_STATE =
5000
-
MAX_LENGTH_FOR_ADDRESS_ZIP =
5000
-
MAX_LENGTH_FOR_ADDRESS_ZIP_CHECK =
5000
-
MAX_LENGTH_FOR_BANK_NAME =
5000
-
MAX_LENGTH_FOR_BRAND =
5000
-
MAX_LENGTH_FOR_COUNTRY =
5000
-
MAX_LENGTH_FOR_CVC_CHECK =
5000
-
MAX_LENGTH_FOR_DESCRIPTION =
5000
-
MAX_LENGTH_FOR_DYNAMIC_LAST4 =
5000
-
MAX_LENGTH_FOR_FINGERPRINT =
5000
-
MAX_LENGTH_FOR_FUNDING =
5000
-
MAX_LENGTH_FOR_ID =
5000
-
MAX_LENGTH_FOR_IIN =
5000
-
MAX_LENGTH_FOR_ISSUER =
5000
-
MAX_LENGTH_FOR_LAST4 =
5000
-
MAX_LENGTH_FOR_NAME =
5000
-
MAX_LENGTH_FOR_ROUTING_NUMBER =
5000
-
MAX_LENGTH_FOR_STATUS =
5000
-
MAX_LENGTH_FOR_TOKENIZATION_METHOD =
5000
-
VALID_VALUES_FOR_AVAILABLE_PAYOUT_METHODS =
String.static_array("instant", "standard")
-
VALID_VALUES_FOR_OBJECT =
String.static_array("card")
Constructors
- .new(pull : JSON::PullParser)
-
.new(*, currency : String | Nil = nil, deleted : Bool | Nil = nil, id : String | Nil = nil, object : String | Nil = nil, account_holder_name : String | Nil = nil, account_holder_type : String | Nil = nil, account_type : String | Nil = nil, bank_name : String | Nil = nil, country : String | Nil = nil, fingerprint : String | Nil = nil, last4 : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, routing_number : String | Nil = nil, status : String | Nil = nil, address_city : String | Nil = nil, address_country : String | Nil = nil, address_line1 : String | Nil = nil, address_line1_check : String | Nil = nil, address_line2 : String | Nil = nil, address_state : String | Nil = nil, address_zip : String | Nil = nil, address_zip_check : String | Nil = nil, brand : String | Nil = nil, cvc_check : String | Nil = nil, dynamic_last4 : String | Nil = nil, exp_month : Int64 | Nil = nil, exp_year : Int64 | Nil = nil, funding : String | Nil = nil, name : String | Nil = nil, tokenization_method : String | Nil = nil, account : Stripe::CardAccount | Nil = nil, available_payout_methods : Array(String) | Nil = nil, customer : Stripe::CardCustomer | Nil = nil, default_for_currency : Bool | Nil = nil, future_requirements : Stripe::ExternalAccountRequirements | Nil = nil, requirements : Stripe::ExternalAccountRequirements | Nil = nil, description : String | Nil = nil, iin : String | Nil = nil, issuer : String | Nil = nil, networks : Stripe::TokenCardNetworks | Nil = nil)
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Class Method Summary
-
.openapi_any_of
List of class defined in anyOf (OpenAPI v3)
Instance Method Summary
-
#==(other : self)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #account : Stripe::CardAccount | Nil
- #account=(account : Stripe::CardAccount | Nil)
- #account_holder_name : String | Nil
- #account_holder_name=(account_holder_name : String | Nil)
- #account_holder_type : String | Nil
- #account_holder_type=(account_holder_type : String | Nil)
- #account_present=(account_present : Bool)
- #account_present? : Bool
- #account_type : String | Nil
- #account_type=(account_type : String | Nil)
- #address_city : String | Nil
- #address_city=(address_city : String | Nil)
- #address_country : String | Nil
- #address_country=(address_country : String | Nil)
- #address_line1 : String | Nil
- #address_line1=(address_line1 : String | Nil)
- #address_line1_check : String | Nil
- #address_line1_check=(address_line1_check : String | Nil)
- #address_line2 : String | Nil
- #address_line2=(address_line2 : String | Nil)
- #address_state : String | Nil
- #address_state=(address_state : String | Nil)
- #address_zip : String | Nil
- #address_zip=(address_zip : String | Nil)
- #address_zip_check : String | Nil
- #address_zip_check=(address_zip_check : String | Nil)
- #available_payout_methods : Array(String) | Nil
- #available_payout_methods=(available_payout_methods : Array(String) | Nil)
- #available_payout_methods_present=(available_payout_methods_present : Bool)
- #available_payout_methods_present? : Bool
- #bank_name : String | Nil
- #bank_name=(bank_name : String | Nil)
- #brand : String | Nil
- #brand=(brand : String | Nil)
- #country : String | Nil
- #country=(country : String | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #customer : Stripe::CardCustomer | Nil
- #customer=(customer : Stripe::CardCustomer | Nil)
- #customer_present=(customer_present : Bool)
- #customer_present? : Bool
- #cvc_check : String | Nil
- #cvc_check=(cvc_check : String | Nil)
- #default_for_currency : Bool | Nil
- #default_for_currency=(default_for_currency : Bool | Nil)
- #default_for_currency_present=(default_for_currency_present : Bool)
- #default_for_currency_present? : Bool
- #deleted : Bool | Nil
- #deleted=(deleted : Bool | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #dynamic_last4 : String | Nil
- #dynamic_last4=(dynamic_last4 : String | Nil)
- #exp_month : Int64 | Nil
- #exp_month=(exp_month : Int64 | Nil)
- #exp_year : Int64 | Nil
- #exp_year=(exp_year : Int64 | Nil)
- #fingerprint : String | Nil
- #fingerprint=(fingerprint : String | Nil)
- #funding : String | Nil
- #funding=(funding : String | Nil)
- #future_requirements : Stripe::ExternalAccountRequirements | Nil
- #future_requirements=(future_requirements : Stripe::ExternalAccountRequirements | Nil)
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #id : String | Nil
- #id=(id : String | Nil)
- #iin : String | Nil
- #iin=(iin : String | Nil)
- #issuer : String | Nil
- #issuer=(issuer : String | Nil)
- #last4 : String | Nil
- #last4=(last4 : String | Nil)
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #metadata : Hash(String, String) | Nil
- #metadata=(metadata : Hash(String, String) | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #networks : Stripe::TokenCardNetworks | Nil
- #networks=(networks : Stripe::TokenCardNetworks | Nil)
- #object : String | Nil
- #object=(object : String | Nil)
- #requirements : Stripe::ExternalAccountRequirements | Nil
- #requirements=(requirements : Stripe::ExternalAccountRequirements | Nil)
- #routing_number : String | Nil
- #routing_number=(routing_number : String | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #tokenization_method : String | Nil
- #tokenization_method=(tokenization_method : String | Nil)
-
#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,
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
Class Method Detail
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
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Check to see if the all the properties in the model are valid @return true if the model is valid