Class: Lithic::Models::ExternalPayment::Event

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/external_payment.rb,
sig/lithic/models/external_payment.rbs

Defined Under Namespace

Modules: DetailedResult, Result, Type

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 ⇒ Object



180
# File 'sig/lithic/models/external_payment.rbs', line 180

def initialize: (

Instance Attribute Details

#amount ⇒ Integer

Parameters:

  • value (Integer)

Returns:

  • (Integer)


153
# File 'lib/lithic/models/external_payment.rb', line 153

required :amount, Integer

#created ⇒ Time

Parameters:

  • value (Time)

Returns:

  • (Time)


158
# File 'lib/lithic/models/external_payment.rb', line 158

required :created, Time

#detailed_results ⇒ Array<Symbol, Lithic::Models::ExternalPayment::Event::DetailedResult>

Parameters:

  • value (::Array[Lithic::Models::ExternalPayment::Event::detailed_result])

Returns:



163
164
# File 'lib/lithic/models/external_payment.rb', line 163

required :detailed_results,
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::ExternalPayment::Event::DetailedResult] }

#effective_date ⇒ Date

Parameters:

  • value (Date)

Returns:

  • (Date)


169
# File 'lib/lithic/models/external_payment.rb', line 169

required :effective_date, Date

#memo ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


174
# File 'lib/lithic/models/external_payment.rb', line 174

required :memo, String

#result ⇒ Symbol, Lithic::Models::ExternalPayment::Event::Result

Parameters:

  • value (Lithic::Models::ExternalPayment::Event::result)

Returns:



179
# File 'lib/lithic/models/external_payment.rb', line 179

required :result, enum: -> { Lithic::ExternalPayment::Event::Result }

#token ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


148
# File 'lib/lithic/models/external_payment.rb', line 148

required :token, String

#type ⇒ Symbol, Lithic::Models::ExternalPayment::Event::Type

Parameters:

  • value (Lithic::Models::ExternalPayment::Event::type_)

Returns:



184
# File 'lib/lithic/models/external_payment.rb', line 184

required :type, enum: -> { Lithic::ExternalPayment::Event::Type }

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/external_payment.rb', line 202


Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


191
# File 'sig/lithic/models/external_payment.rbs', line 191

def to_hash: -> {