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, override_company_name: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::PaymentCreateParams::MethodAttributes for more details.

Parameters:

  • sec_code (Symbol, Lithic::Models::PaymentCreateParams::MethodAttributes::SecCode)
  • ach_hold_period (Integer) (defaults to: nil)

    Number of days to hold the ACH payment

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

    Value to override the configured company name with. Can only be used if allowed



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

Instance Attribute Details

#ach_hold_periodInteger?

Number of days to hold the ACH payment

Returns:

  • (Integer, nil)


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

optional :ach_hold_period, Integer

#addendaString?

Returns:

  • (String, nil)


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

optional :addenda, String, nil?: true

#override_company_nameString?

Value to override the configured company name with. Can only be used if allowed to override

Returns:

  • (String, nil)


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

optional :override_company_name, String, nil?: true

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



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

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