Class: MetronomeSDK::Models::Contract::CustomerBillingProviderConfiguration

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/contract.rb

Overview

Defined Under Namespace

Modules: BillingProvider, DeliveryMethod

Instance Attribute Summary collapse

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(archived_at: , billing_provider: , delivery_method: , id: nil, configuration: nil) ⇒ Object

Some parameter documentations has been truncated, see MetronomeSDK::Models::Contract::CustomerBillingProviderConfiguration for more details.

The billing provider configuration associated with a contract.

Parameters:



# File 'lib/metronome_sdk/models/contract.rb', line 339


Instance Attribute Details

#archived_atTime?

Returns:

  • (Time, nil)


313
# File 'lib/metronome_sdk/models/contract.rb', line 313

required :archived_at, Time, nil?: true

#billing_providerSymbol, MetronomeSDK::Models::Contract::CustomerBillingProviderConfiguration::BillingProvider



318
319
# File 'lib/metronome_sdk/models/contract.rb', line 318

required :billing_provider,
enum: -> { MetronomeSDK::Contract::CustomerBillingProviderConfiguration::BillingProvider }

#configurationHash{Symbol=>Object}?

Configuration for the billing provider. The structure of this object is specific to the billing provider.

Returns:

  • (Hash{Symbol=>Object}, nil)


337
# File 'lib/metronome_sdk/models/contract.rb', line 337

optional :configuration, MetronomeSDK::Internal::Type::HashOf[MetronomeSDK::Internal::Type::Unknown]

#delivery_methodSymbol, MetronomeSDK::Models::Contract::CustomerBillingProviderConfiguration::DeliveryMethod



324
325
# File 'lib/metronome_sdk/models/contract.rb', line 324

required :delivery_method,
enum: -> { MetronomeSDK::Contract::CustomerBillingProviderConfiguration::DeliveryMethod }

#idString?

Returns:

  • (String, nil)


330
# File 'lib/metronome_sdk/models/contract.rb', line 330

optional :id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/contract.rb', line 370