Class: Lithic::Models::PaymentCreateParams::MethodAttributes

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/payment_create_params.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) ⇒ Object

Parameters:



# File 'lib/lithic/models/payment_create_params.rb', line 108


Instance Attribute Details

#ach_hold_periodInteger?

Number of days to hold the ACH payment

Returns:

  • (Integer, nil)


101
# File 'lib/lithic/models/payment_create_params.rb', line 101

optional :ach_hold_period, Integer, api_name: :ach_hold__period

#addendaString?

Returns:

  • (String, nil)


106
# File 'lib/lithic/models/payment_create_params.rb', line 106

optional :addenda, String, nil?: true

#sec_codeSymbol, Lithic::Models::PaymentCreateParams::MethodAttributes::SecCode



95
# File 'lib/lithic/models/payment_create_params.rb', line 95

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