Class: MetronomeSDK::Models::V1::CustomerCreateParams::CustomerBillingProviderConfiguration
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::CustomerCreateParams::CustomerBillingProviderConfiguration
- Defined in:
- lib/metronome_sdk/models/v1/customer_create_params.rb
Defined Under Namespace
Modules: BillingProvider, DeliveryMethod, TaxProvider
Instance Attribute Summary collapse
-
#billing_provider ⇒ Symbol, MetronomeSDK::Models::V1::CustomerCreateParams::CustomerBillingProviderConfiguration::BillingProvider
The billing provider set for this configuration.
-
#configuration ⇒ Hash{Symbol=>Object}?
Configuration for the billing provider.
-
#delivery_method ⇒ Symbol, ...
The method to use for delivering invoices to this customer.
-
#delivery_method_id ⇒ String?
ID of the delivery method to use for this customer.
-
#tax_provider ⇒ Symbol, ...
Specifies which tax provider Metronome should use for tax calculation when billing through Stripe.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(billing_provider: , configuration: nil, delivery_method: nil, delivery_method_id: nil, tax_provider: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see CustomerBillingProviderConfiguration for more details.
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: nil, delivery_method: nil, delivery_method_id: nil, tax_provider: nil) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::CustomerCreateParams::CustomerBillingProviderConfiguration for more details.
|
|
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 229
|
Instance Attribute Details
#billing_provider ⇒ Symbol, MetronomeSDK::Models::V1::CustomerCreateParams::CustomerBillingProviderConfiguration::BillingProvider
The billing provider set for this configuration.
192 193 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 192 required :billing_provider, enum: -> { MetronomeSDK::V1::CustomerCreateParams::CustomerBillingProviderConfiguration::BillingProvider } |
#configuration ⇒ Hash{Symbol=>Object}?
Configuration for the billing provider. The structure of this object is specific to the billing provider and delivery provider combination. Defaults to an empty object, however, for most billing provider + delivery method combinations, it will not be a valid configuration.
202 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 202 optional :configuration, MetronomeSDK::Internal::Type::HashOf[MetronomeSDK::Internal::Type::Unknown] |
#delivery_method ⇒ Symbol, ...
The method to use for delivering invoices to this customer. If not provided, the ‘delivery_method_id` must be provided.
209 210 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 209 optional :delivery_method, enum: -> { MetronomeSDK::V1::CustomerCreateParams::CustomerBillingProviderConfiguration::DeliveryMethod } |
#delivery_method_id ⇒ String?
ID of the delivery method to use for this customer. If not provided, the ‘delivery_method` must be provided.
217 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 217 optional :delivery_method_id, String |
#tax_provider ⇒ Symbol, ...
Specifies which tax provider Metronome should use for tax calculation when billing through Stripe. This is only supported for Stripe billing provider configurations with auto_charge_payment_intent or manual_charge_payment_intent collection methods.
226 227 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 226 optional :tax_provider, enum: -> { MetronomeSDK::V1::CustomerCreateParams::CustomerBillingProviderConfiguration::TaxProvider } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 256
|