Class: Increase::Models::WireTransfer::Remittance

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

Overview

See Also:

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.rb', line 553

Instance Attribute Details

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

The type of remittance information being passed.



537
# File 'lib/increase/models/wire_transfer.rb', line 537

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

#taxIncrease::Models::WireTransfer::Remittance::Tax?

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



544
# File 'lib/increase/models/wire_transfer.rb', line 544

required :tax, -> { Increase::WireTransfer::Remittance::Tax }, nil?: true

#unstructuredIncrease::Models::WireTransfer::Remittance::Unstructured?

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



551
# File 'lib/increase/models/wire_transfer.rb', line 551

required :unstructured, -> { Increase::WireTransfer::Remittance::Unstructured }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/wire_transfer.rb', line 577