Class: MetronomeSDK::Models::V1::CustomerCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::CustomerCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/metronome_sdk/models/v1/customer_create_params.rb
Overview
Defined Under Namespace
Classes: BillingConfig, CustomerBillingProviderConfiguration
Instance Attribute Summary collapse
- #billing_config ⇒ MetronomeSDK::Models::V1::CustomerCreateParams::BillingConfig?
-
#custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg.
- #customer_billing_provider_configurations ⇒ Array<MetronomeSDK::Models::V1::CustomerCreateParams::CustomerBillingProviderConfiguration>?
-
#external_id ⇒ String?
(deprecated, use ingest_aliases instead) an alias that can be used to refer to this customer in usage events.
-
#ingest_aliases ⇒ Array<String>?
Aliases that can be used to refer to this customer in usage events.
-
#name ⇒ String
This will be truncated to 160 characters if the provided name is longer.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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
#billing_config ⇒ MetronomeSDK::Models::V1::CustomerCreateParams::BillingConfig?
20 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 20 optional :billing_config, -> { MetronomeSDK::V1::CustomerCreateParams::BillingConfig } |
#custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg. { “key1”: “value1”, “key2”: “value2” }
26 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 26 optional :custom_fields, MetronomeSDK::Internal::Type::HashOf[String] |
#customer_billing_provider_configurations ⇒ Array<MetronomeSDK::Models::V1::CustomerCreateParams::CustomerBillingProviderConfiguration>?
31 32 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 31 optional :customer_billing_provider_configurations, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::CustomerCreateParams::CustomerBillingProviderConfiguration] } |
#external_id ⇒ String?
(deprecated, use ingest_aliases instead) an alias that can be used to refer to this customer in usage events
39 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 39 optional :external_id, String |
#ingest_aliases ⇒ Array<String>?
Aliases that can be used to refer to this customer in usage events
45 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 45 optional :ingest_aliases, MetronomeSDK::Internal::Type::ArrayOf[String] |
#name ⇒ String
This will be truncated to 160 characters if the provided name is longer.
15 |
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 15 required :name, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/v1/customer_create_params.rb', line 182
|