Class: Increase::Models::WireTransferCreateParams::Remittance

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/wire_transfer_create_params.rb

Defined Under Namespace

Modules: Category Classes: Tax, Unstructured

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(date: , identification_number: , type_code: ) ⇒ Object

Some parameter documentations has been truncated, see Tax for more details.

Internal Revenue Service (IRS) tax repayment information. Required if ‘category` is equal to `tax`.

Parameters:

  • date (Date) (defaults to: )

    The month and year the tax payment is for, in YYYY-MM-DD format. The day is igno

  • identification_number (String) (defaults to: )

    The 9-digit Tax Identification Number (TIN) or Employer Identification Number (E

  • type_code (String) (defaults to: )

    The 5-character tax type code.



# File 'lib/increase/models/wire_transfer_create_params.rb', line 195

Instance Attribute Details

#categorySymbol, Increase::Models::WireTransferCreateParams::Remittance::Category

The type of remittance information being passed.



179
# File 'lib/increase/models/wire_transfer_create_params.rb', line 179

required :category, enum: -> { Increase::WireTransferCreateParams::Remittance::Category }

#taxIncrease::Models::WireTransferCreateParams::Remittance::Tax?

Internal Revenue Service (IRS) tax repayment information. Required if ‘category` is equal to `tax`.



186
# File 'lib/increase/models/wire_transfer_create_params.rb', line 186

optional :tax, -> { Increase::WireTransferCreateParams::Remittance::Tax }

#unstructuredIncrease::Models::WireTransferCreateParams::Remittance::Unstructured?

Unstructured remittance information. Required if ‘category` is equal to `unstructured`.



193
# File 'lib/increase/models/wire_transfer_create_params.rb', line 193

optional :unstructured, -> { Increase::WireTransferCreateParams::Remittance::Unstructured }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/wire_transfer_create_params.rb', line 219