Class: MetronomeSDK::Models::V1::Customers::Invoice::InvoiceAdjustment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::Invoice::InvoiceAdjustment
- Defined in:
- lib/metronome_sdk/models/v1/customers/invoice.rb
Instance Attribute Summary collapse
-
#credit_grant_custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg.
- #credit_grant_id ⇒ String?
- #credit_type ⇒ MetronomeSDK::Models::CreditTypeData
- #name ⇒ String
- #total ⇒ Float
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from MetronomeSDK::Internal::Type::BaseModel
Instance Attribute Details
#credit_grant_custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg. { “key1”: “value1”, “key2”: “value2” }
1227 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1227 optional :credit_grant_custom_fields, MetronomeSDK::Internal::Type::HashOf[String] |
#credit_grant_id ⇒ String?
1232 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1232 optional :credit_grant_id, String |
#credit_type ⇒ MetronomeSDK::Models::CreditTypeData
1211 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1211 required :credit_type, -> { MetronomeSDK::CreditTypeData } |
#name ⇒ String
1216 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1216 required :name, String |
#total ⇒ Float
1221 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1221 required :total, Float |