Class: Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/payment.rb

Defined Under Namespace

Modules: SecCode

Instance Attribute 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(sec_code:, ach_hold_period: nil, addenda: nil, company_id: nil, receipt_routing_number: nil, retries: nil, return_reason_code: nil, trace_numbers: nil) ⇒ Object

Parameters:

  • sec_code (Symbol, Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes::SecCode)

    SEC code for ACH transaction

  • ach_hold_period (Integer, nil) (defaults to: nil)

    Number of days the ACH transaction is on hold

  • addenda (String, nil) (defaults to: nil)

    Addenda information

  • company_id (String, nil) (defaults to: nil)

    Company ID for the ACH transaction

  • receipt_routing_number (String, nil) (defaults to: nil)

    Receipt routing number

  • retries (Integer, nil) (defaults to: nil)

    Number of retries attempted

  • return_reason_code (String, nil) (defaults to: nil)

    Return reason code if the transaction was returned

  • trace_numbers (Array<String>) (defaults to: nil)

    Trace numbers for the ACH transaction



# File 'lib/lithic/models/payment.rb', line 461


Instance Attribute Details

#ach_hold_periodInteger?

Number of days the ACH transaction is on hold

Returns:

  • (Integer, nil)


423
# File 'lib/lithic/models/payment.rb', line 423

optional :ach_hold_period, Integer, nil?: true

#addendaString?

Addenda information

Returns:

  • (String, nil)


429
# File 'lib/lithic/models/payment.rb', line 429

optional :addenda, String, nil?: true

#company_idString?

Company ID for the ACH transaction

Returns:

  • (String, nil)


435
# File 'lib/lithic/models/payment.rb', line 435

optional :company_id, String, nil?: true

#receipt_routing_numberString?

Receipt routing number

Returns:

  • (String, nil)


441
# File 'lib/lithic/models/payment.rb', line 441

optional :receipt_routing_number, String, nil?: true

#retriesInteger?

Number of retries attempted

Returns:

  • (Integer, nil)


447
# File 'lib/lithic/models/payment.rb', line 447

optional :retries, Integer, nil?: true

#return_reason_codeString?

Return reason code if the transaction was returned

Returns:

  • (String, nil)


453
# File 'lib/lithic/models/payment.rb', line 453

optional :return_reason_code, String, nil?: true

#sec_codeSymbol, Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes::SecCode

SEC code for ACH transaction



417
# File 'lib/lithic/models/payment.rb', line 417

required :sec_code, enum: -> { Lithic::Payment::MethodAttributes::ACHMethodAttributes::SecCode }

#trace_numbersArray<String>?

Trace numbers for the ACH transaction

Returns:

  • (Array<String>, nil)


459
# File 'lib/lithic/models/payment.rb', line 459

optional :trace_numbers, Lithic::Internal::Type::ArrayOf[String]