class Plaid::DepositSwitchGetResponse
- Plaid::DepositSwitchGetResponse
- Reference
- Object
Overview
DepositSwitchGetResponse defines the response schema for /deposit_switch/get
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
plaid/models/deposit_switch_get_response.crConstant Summary
-
ERROR_MESSAGE_FOR_STATE =
"invalid value for \"state\", must be one of [initialized, processing, completed, error]."
-
ERROR_MESSAGE_FOR_SWITCH_METHOD =
"invalid value for \"switch_method\", must be one of [instant, mail, pdf, null]."
-
VALID_VALUES_FOR_STATE =
String.static_array("initialized", "processing", "completed", "error")
-
VALID_VALUES_FOR_SWITCH_METHOD =
String.static_array("instant", "mail", "pdf", "null")
Constructors
- .new(pull : JSON::PullParser)
-
.new(*, deposit_switch_id : String | Nil = nil, target_account_id : String | Nil = nil, target_item_id : String | Nil = nil, state : String | Nil = nil, account_has_multiple_allocations : Bool | Nil = nil, is_allocated_remainder : Bool | Nil = nil, percent_allocated : Float64 | Nil = nil, amount_allocated : Float64 | Nil = nil, date_created : Time | Nil = nil, date_completed : Time | Nil = nil, request_id : String | Nil = nil, switch_method : String | Nil = nil, employer_name : String | Nil = nil, employer_id : String | Nil = nil, institution_name : String | Nil = nil, institution_id : String | 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.
- #account_has_multiple_allocations : Bool | Nil
-
#account_has_multiple_allocations=(new_value : Bool | Nil)
Custom attribute writer method checking allowed values (enum).
- #amount_allocated : Float64 | Nil
-
#amount_allocated=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #date_completed : Time | Nil
-
#date_completed=(new_value : Time | Nil)
Custom attribute writer method checking allowed values (enum).
- #date_created : Time | Nil
-
#date_created=(new_value : Time | Nil)
Custom attribute writer method checking allowed values (enum).
- #deposit_switch_id : String | Nil
-
#deposit_switch_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #employer_id : String | Nil
-
#employer_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #employer_id_present=(employer_id_present : Bool)
- #employer_id_present? : Bool
- #employer_name : String | Nil
-
#employer_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #employer_name_present=(employer_name_present : Bool)
- #employer_name_present? : Bool
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #institution_id : String | Nil
-
#institution_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #institution_id_present=(institution_id_present : Bool)
- #institution_id_present? : Bool
- #institution_name : String | Nil
-
#institution_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #institution_name_present=(institution_name_present : Bool)
- #institution_name_present? : Bool
- #is_allocated_remainder : Bool | Nil
-
#is_allocated_remainder=(new_value : Bool | Nil)
Custom attribute writer method checking allowed values (enum).
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #percent_allocated : Float64 | Nil
-
#percent_allocated=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #request_id : String | Nil
-
#request_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #state : String | Nil
-
#state=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #switch_method : String | Nil
-
#switch_method=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #switch_method_present=(switch_method_present : Bool)
- #switch_method_present? : Bool
- #target_account_id : String | Nil
-
#target_account_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #target_item_id : String | Nil
-
#target_item_id=(new_value : String | 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
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
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] account_has_multiple_allocations Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] amount_allocated Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] date_completed Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] date_created Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] deposit_switch_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] employer_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] employer_name 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] institution_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] institution_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] is_allocated_remainder 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] percent_allocated Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] request_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] state Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] switch_method Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] target_account_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] target_item_id Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid