Class: Lithic::Models::ExternalPayment
Overview
Defined Under Namespace
Modules: Category, Family, PaymentType, Result, Status
Classes: Event
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
-
#initialize(token:, created:, status:, updated:, category: nil, currency: nil, events: nil, family: nil, financial_account_token: nil, payment_type: nil, pending_amount: nil, result: nil, settled_amount: nil, user_defined_id: nil) ⇒ Object
constructor
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(token:, created:, status:, updated:, category: nil, currency: nil, events: nil, family: nil, financial_account_token: nil, payment_type: nil, pending_amount: nil, result: nil, settled_amount: nil, user_defined_id: nil) ⇒ Object
|
# File 'lib/lithic/models/external_payment.rb', line 82
|
Instance Attribute Details
#category ⇒ Symbol, ...
34
|
# File 'lib/lithic/models/external_payment.rb', line 34
optional :category, enum: -> { Lithic::ExternalPayment::Category }
|
#created ⇒ Time
ISO 8601 timestamp of when the transaction was created
17
|
# File 'lib/lithic/models/external_payment.rb', line 17
required :created, Time
|
#currency ⇒ String?
39
|
# File 'lib/lithic/models/external_payment.rb', line 39
optional :currency, String
|
44
|
# File 'lib/lithic/models/external_payment.rb', line 44
optional :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::ExternalPayment::Event] }
|
#family ⇒ Symbol, ...
EXTERNAL_PAYMENT - External Payment Response
50
|
# File 'lib/lithic/models/external_payment.rb', line 50
optional :family, enum: -> { Lithic::ExternalPayment::Family }
|
#financial_account_token ⇒ String?
55
|
# File 'lib/lithic/models/external_payment.rb', line 55
optional :financial_account_token, String
|
#payment_type ⇒ Symbol, ...
60
|
# File 'lib/lithic/models/external_payment.rb', line 60
optional :payment_type, enum: -> { Lithic::ExternalPayment::PaymentType }
|
#pending_amount ⇒ Integer?
65
|
# File 'lib/lithic/models/external_payment.rb', line 65
optional :pending_amount, Integer
|
#result ⇒ Symbol, ...
70
|
# File 'lib/lithic/models/external_payment.rb', line 70
optional :result, enum: -> { Lithic::ExternalPayment::Result }
|
#settled_amount ⇒ Integer?
75
|
# File 'lib/lithic/models/external_payment.rb', line 75
optional :settled_amount, Integer
|
The status of the transaction
23
|
# File 'lib/lithic/models/external_payment.rb', line 23
required :status, enum: -> { Lithic::ExternalPayment::Status }
|
#token ⇒ String
Unique identifier for the transaction
11
|
# File 'lib/lithic/models/external_payment.rb', line 11
required :token, String
|
#updated ⇒ Time
ISO 8601 timestamp of when the transaction was last updated
29
|
# File 'lib/lithic/models/external_payment.rb', line 29
required :updated, Time
|
#user_defined_id ⇒ String?
80
|
# File 'lib/lithic/models/external_payment.rb', line 80
optional :user_defined_id, String, nil?: true
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/lithic/models/external_payment.rb', line 124
|