Class: MetronomeSDK::Models::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice
- Defined in:
- lib/metronome_sdk/models/v1/customers/invoice.rb
Overview
Defined Under Namespace
Modules: BillingProviderType, ExternalStatus Classes: Tax
Instance Attribute Summary collapse
-
#billing_provider_error ⇒ String?
Error message from the billing provider, if available.
- #billing_provider_type ⇒ Symbol, MetronomeSDK::Models::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice::BillingProviderType
- #external_status ⇒ Symbol, ...
- #invoice_id ⇒ String?
-
#invoiced_sub_total ⇒ Float?
The subtotal amount invoiced, if available from the billing provider.
-
#invoiced_total ⇒ Float?
The total amount invoiced, if available from the billing provider.
- #issued_at_timestamp ⇒ Time?
-
#pdf_url ⇒ String?
A URL to the PDF of the invoice, if available from the billing provider.
-
#tax ⇒ MetronomeSDK::Models::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice::Tax?
Tax details for the invoice, if available from the billing provider.
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(billing_provider_type: , billing_provider_error: nil, external_status: nil, invoice_id: nil, invoiced_sub_total: nil, invoiced_total: nil, issued_at_timestamp: nil, pdf_url: nil, tax: nil) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 976
|
Instance Attribute Details
#billing_provider_error ⇒ String?
Error message from the billing provider, if available.
933 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 933 optional :billing_provider_error, String |
#billing_provider_type ⇒ Symbol, MetronomeSDK::Models::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice::BillingProviderType
926 927 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 926 required :billing_provider_type, enum: -> { MetronomeSDK::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice::BillingProviderType } |
#external_status ⇒ Symbol, ...
938 939 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 938 optional :external_status, enum: -> { MetronomeSDK::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice::ExternalStatus } |
#invoice_id ⇒ String?
944 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 944 optional :invoice_id, String |
#invoiced_sub_total ⇒ Float?
The subtotal amount invoiced, if available from the billing provider.
950 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 950 optional :invoiced_sub_total, Float |
#invoiced_total ⇒ Float?
The total amount invoiced, if available from the billing provider.
956 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 956 optional :invoiced_total, Float |
#issued_at_timestamp ⇒ Time?
961 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 961 optional :issued_at_timestamp, Time |
#pdf_url ⇒ String?
A URL to the PDF of the invoice, if available from the billing provider.
967 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 967 optional :pdf_url, String |
#tax ⇒ MetronomeSDK::Models::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice::Tax?
Tax details for the invoice, if available from the billing provider.
973 974 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 973 optional :tax, -> { MetronomeSDK::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice::Tax } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1009
|