Class: Increase::Models::ACHTransfer::Addenda

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

Overview

See Also:

Defined Under Namespace

Modules: Category Classes: Freeform, PaymentOrderRemittanceAdvice

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(payment_related_information: ) ⇒ Object

Parameters:

  • payment_related_information (String) (defaults to: )

    The payment related information passed in the addendum.



# File 'lib/increase/models/ach_transfer.rb', line 373


Instance Attribute Details

#categorySymbol, Increase::Models::ACHTransfer::Addenda::Category

The type of the resource. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.



356
# File 'lib/increase/models/ach_transfer.rb', line 356

required :category, enum: -> { Increase::ACHTransfer::Addenda::Category }

#freeformIncrease::Models::ACHTransfer::Addenda::Freeform?

Unstructured ‘payment_related_information` passed through with the transfer.



362
# File 'lib/increase/models/ach_transfer.rb', line 362

required :freeform, -> { Increase::ACHTransfer::Addenda::Freeform }, nil?: true

#payment_order_remittance_adviceIncrease::Models::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice?

Structured ASC X12 820 remittance advice records. Please reach out to [[email protected]]([email protected]) for more information.



369
370
371
# File 'lib/increase/models/ach_transfer.rb', line 369

required :payment_order_remittance_advice,
-> { Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice },
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/ach_transfer.rb', line 401