Class: MetronomeSDK::Models::V1::Customers::BillingConfigCreateParams

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

Overview

Defined Under Namespace

Modules: AwsRegion, BillingProviderType, StripeCollectionMethod

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class 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, #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

#aws_product_codeString?

Returns:

  • (String, nil)


33
# File 'lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb', line 33

optional :aws_product_code, String

#aws_regionSymbol, ...



38
# File 'lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb', line 38

optional :aws_region, enum: -> { MetronomeSDK::V1::Customers::BillingConfigCreateParams::AwsRegion }

#billing_provider_customer_idString

The customer ID in the billing provider’s system. For Azure, this is the subscription ID.

Returns:

  • (String)


28
# File 'lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb', line 28

required :billing_provider_customer_id, String

#billing_provider_typeSymbol, MetronomeSDK::Models::V1::Customers::BillingConfigCreateParams::BillingProviderType



20
21
# File 'lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb', line 20

required :billing_provider_type,
enum: -> { MetronomeSDK::V1::Customers::BillingConfigCreateParams::BillingProviderType }

#customer_idString

Returns:

  • (String)


15
# File 'lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb', line 15

required :customer_id, String

#stripe_collection_methodSymbol, ...

The collection method for the customer’s invoices. NOTE: ‘auto_charge_payment_intent` and `manually_charge_payment_intent` are in beta.



45
46
# File 'lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb', line 45

optional :stripe_collection_method,
enum: -> { MetronomeSDK::V1::Customers::BillingConfigCreateParams::StripeCollectionMethod }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb', line 80