Class: MetronomeSDK::Models::V1::Payment
Overview
Defined Under Namespace
Classes: PaymentGateway
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id: , amount: nil, amount_paid: nil, contract_id: nil, created_at: nil, customer_id: nil, error_message: nil, fiat_credit_type: nil, invoice_id: nil, payment_gateway: nil, status: nil, updated_at: 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(id: , amount: nil, amount_paid: nil, contract_id: nil, created_at: nil, customer_id: nil, error_message: nil, fiat_credit_type: nil, invoice_id: nil, payment_gateway: nil, status: nil, updated_at: nil) ⇒ Object
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 68
|
Instance Attribute Details
#amount ⇒ Float?
16
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 16
optional :amount, Float
|
#amount_paid ⇒ Float?
21
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 21
optional :amount_paid, Float
|
#contract_id ⇒ String?
26
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 26
optional :contract_id, String
|
#created_at ⇒ Time?
31
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 31
optional :created_at, Time
|
#customer_id ⇒ String?
36
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 36
optional :customer_id, String
|
#error_message ⇒ String?
41
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 41
optional :error_message, String
|
46
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 46
optional :fiat_credit_type, -> { MetronomeSDK::CreditTypeData }
|
#id ⇒ String
11
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 11
required :id, String
|
#invoice_id ⇒ String?
51
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 51
optional :invoice_id, String
|
56
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 56
optional :payment_gateway, -> { MetronomeSDK::V1::Payment::PaymentGateway }
|
#status ⇒ Symbol, ...
61
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 61
optional :status, enum: -> { MetronomeSDK::V1::PaymentStatus }
|
#updated_at ⇒ Time?
66
|
# File 'lib/metronome_sdk/models/v1/payment.rb', line 66
optional :updated_at, Time
|