Class: MetronomeSDK::Models::V1::Settings::BillingProviderCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/metronome_sdk/models/v1/settings/billing_provider_create_params.rb

Overview

Defined Under Namespace

Modules: BillingProvider, DeliveryMethod

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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: , configuration: , delivery_method: , request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::Settings::BillingProviderCreateParams for more details.

Parameters:



# File 'lib/metronome_sdk/models/v1/settings/billing_provider_create_params.rb', line 34

Instance Attribute Details

#billing_providerSymbol, MetronomeSDK::Models::V1::Settings::BillingProviderCreateParams::BillingProvider

The billing provider set for this configuration.



16
17
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_create_params.rb', line 16

required :billing_provider,
enum: -> { MetronomeSDK::V1::Settings::BillingProviderCreateParams::BillingProvider }

#configurationHash{Symbol=>Object}

Account-level configuration for the billing provider. The structure of this object is specific to the billing provider and delivery provider combination. See examples below.

Returns:

  • (Hash{Symbol=>Object})


25
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_create_params.rb', line 25

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

#delivery_methodSymbol, MetronomeSDK::Models::V1::Settings::BillingProviderCreateParams::DeliveryMethod

The method to use for delivering invoices for this configuration.



31
32
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_create_params.rb', line 31

required :delivery_method,
enum: -> { MetronomeSDK::V1::Settings::BillingProviderCreateParams::DeliveryMethod }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v1/settings/billing_provider_create_params.rb', line 54