Class: MetronomeSDK::Models::V1::Customers::BillingConfigRetrieveResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb

Overview

See Also:

Defined Under Namespace

Modules: AwsRegion, AzureSubscriptionStatus, StripeCollectionMethod

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:



# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 84


Instance Attribute Details

#aws_expiration_dateTime?

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).

Returns:

  • (Time, nil)


25
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 25

optional :aws_expiration_date, Time

#aws_is_subscription_productBoolean?

True if the aws_product_code is a SAAS subscription product, false otherwise.

Returns:

  • (Boolean, nil)


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_codeString?

Returns:

  • (String, nil)


36
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 36

optional :aws_product_code, String

#aws_regionSymbol, ...



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_dateTime?

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).

Returns:

  • (Time, nil)


50
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 50

optional :azure_expiration_date, Time

#azure_plan_idString?

Returns:

  • (String, nil)


55
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 55

optional :azure_plan_id, String

#azure_start_dateTime?

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).

Returns:

  • (Time, nil)


63
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 63

optional :azure_start_date, Time

#azure_subscription_statusSymbol, ...



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_idString?

Returns:

  • (String, nil)


74
# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 74

optional :billing_provider_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.



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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb', line 139