Class: MetronomeSDK::Models::V1::Customers::BillingConfigRetrieveResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::BillingConfigRetrieveResponse::Data
- Defined in:
- lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb
Overview
Defined Under Namespace
Modules: AwsRegion, AzureSubscriptionStatus, StripeCollectionMethod
Instance Attribute Summary collapse
-
#aws_expiration_date ⇒ Time?
Contract expiration date for the customer.
-
#aws_is_subscription_product ⇒ Boolean?
True if the aws_product_code is a SAAS subscription product, false otherwise.
- #aws_product_code ⇒ String?
- #aws_region ⇒ Symbol, ...
-
#azure_expiration_date ⇒ Time?
Subscription term start/end date for the customer.
- #azure_plan_id ⇒ String?
-
#azure_start_date ⇒ Time?
Subscription term start/end date for the customer.
- #azure_subscription_status ⇒ Symbol, ...
- #billing_provider_customer_id ⇒ String?
-
#stripe_collection_method ⇒ Symbol, ...
The collection method for the customer’s invoices.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_expiration_date: nil, aws_is_subscription_product: nil, aws_product_code: nil, aws_region: nil, azure_expiration_date: nil, azure_plan_id: nil, azure_start_date: nil, azure_subscription_status: nil, billing_provider_customer_id: nil, stripe_collection_method: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Data 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(aws_expiration_date: nil, aws_is_subscription_product: nil, aws_product_code: nil, aws_region: nil, azure_expiration_date: nil, azure_plan_id: nil, azure_start_date: nil, azure_subscription_status: nil, billing_provider_customer_id: nil, stripe_collection_method: nil) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::Customers::BillingConfigRetrieveResponse::Data for more details.
|
|
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 84
|
Instance Attribute Details
#aws_expiration_date ⇒ Time?
Contract expiration date for the customer. The expected format is RFC 3339 and can be retrieved from [AWS’s GetEntitlements API](docs.aws.amazon.com/marketplaceentitlement/latest/APIReference/API_GetEntitlements.html).
25 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 25 optional :aws_expiration_date, Time |
#aws_is_subscription_product ⇒ Boolean?
True if the aws_product_code is a SAAS subscription product, false otherwise.
31 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 31 optional :aws_is_subscription_product, MetronomeSDK::Internal::Type::Boolean |
#aws_product_code ⇒ String?
36 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 36 optional :aws_product_code, String |
#aws_region ⇒ Symbol, ...
41 42 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 41 optional :aws_region, enum: -> { MetronomeSDK::Models::V1::Customers::BillingConfigRetrieveResponse::Data::AwsRegion } |
#azure_expiration_date ⇒ Time?
Subscription term start/end date for the customer. The expected format is RFC 3339 and can be retrieved from [Azure’s Get Subscription API](learn.microsoft.com/en-us/partner-center/marketplace/partner-center-portal/pc-saas-fulfillment-subscription-api#get-subscription).
50 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 50 optional :azure_expiration_date, Time |
#azure_plan_id ⇒ String?
55 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 55 optional :azure_plan_id, String |
#azure_start_date ⇒ Time?
Subscription term start/end date for the customer. The expected format is RFC 3339 and can be retrieved from [Azure’s Get Subscription API](learn.microsoft.com/en-us/partner-center/marketplace/partner-center-portal/pc-saas-fulfillment-subscription-api#get-subscription).
63 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 63 optional :azure_start_date, Time |
#azure_subscription_status ⇒ Symbol, ...
68 69 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 68 optional :azure_subscription_status, enum: -> { MetronomeSDK::Models::V1::Customers::BillingConfigRetrieveResponse::Data::AzureSubscriptionStatus } |
#billing_provider_customer_id ⇒ String?
74 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 74 optional :billing_provider_customer_id, String |
#stripe_collection_method ⇒ Symbol, ...
The collection method for the customer’s invoices. NOTE: ‘auto_charge_payment_intent` and `manually_charge_payment_intent` are in beta.
81 82 |
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 81 optional :stripe_collection_method, enum: -> { MetronomeSDK::Models::V1::Customers::BillingConfigRetrieveResponse::Data::StripeCollectionMethod } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 139
|