Class UsageBasedPricingPlan
Usage-based SaaS pricing plan where all billing is driven by dimensions.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class UsageBasedPricingPlan : PricingPlan
Properties
BillingFrequency
Declaration
[Required(ErrorMessage = "BillingFrequency is required.")]
[JsonProperty(PropertyName = "billingFrequency")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UsageBasedPricingPlan.BillingFrequencyEnum? BillingFrequency { get; set; }
Property Value
| Type | Description |
|---|---|
| UsageBasedPricingPlan.BillingFrequencyEnum? | The plan billing frequency. |
Remarks
Required
Dimensions
Declaration
[Required(ErrorMessage = "Dimensions is required.")]
[JsonProperty(PropertyName = "dimensions")]
public List<UsageDimension> Dimensions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<UsageDimension> | The usage dimensions that define billable usage for this plan. |
Remarks
Required
ExtendedMetadata
Declaration
[JsonProperty(PropertyName = "extendedMetadata")]
public Dictionary<string, string> ExtendedMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Additional metadata key/value pairs for the usage-based pricing. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The plan name. |
Remarks
Required
PlanDescription
Declaration
[Required(ErrorMessage = "PlanDescription is required.")]
[JsonProperty(PropertyName = "planDescription")]
public string PlanDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The plan description. |
Remarks
Required
PlanDuration
Declaration
[JsonProperty(PropertyName = "planDuration")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UsageBasedPricingPlan.PlanDurationEnum? PlanDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| UsageBasedPricingPlan.PlanDurationEnum? | The plan duration. |
PricingPlanKey
Declaration
[JsonProperty(PropertyName = "pricingPlanKey")]
public string PricingPlanKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Unique identifier of the pricing plan. |