Class: MetronomeSDK::Models::V1::Customers::Invoice::Payer
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::Invoice::Payer
- Defined in:
- lib/metronome_sdk/models/v1/customers/invoice.rb,
sig/metronome_sdk/models/v1/customers/invoice.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Payer
constructor
A new instance of Payer.
- #to_hash ⇒ { contract_id: String, customer_id: String }
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 ⇒ Payer
Returns a new instance of Payer.
1280 |
# File 'sig/metronome_sdk/models/v1/customers/invoice.rbs', line 1280
def initialize: (contract_id: String, customer_id: String) -> void
|
Instance Attribute Details
#contract_id ⇒ String
1296 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1296 required :contract_id, String |
#customer_id ⇒ String
1301 |
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1301 required :customer_id, String |
Instance Method Details
#to_hash ⇒ { contract_id: String, customer_id: String }
1282 |
# File 'sig/metronome_sdk/models/v1/customers/invoice.rbs', line 1282
def to_hash: -> { contract_id: String, customer_id: String }
|