Show / Hide Table of Contents

Class PricingModel

The model for pricing.

Inheritance
object
PricingModel
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MarketplaceService.Models
Assembly: OCI.DotNetSDK.Marketplace.dll
Syntax
public class PricingModel

Properties

Currency

Declaration
[JsonProperty(PropertyName = "currency")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PricingCurrencyEnum? Currency { get; set; }
Property Value
Type Description
PricingCurrencyEnum?

The currency of the pricing model.

InternationalMarketPrice

Declaration
[JsonProperty(PropertyName = "internationalMarketPrice")]
public InternationalMarketPrice InternationalMarketPrice { get; set; }
Property Value
Type Description
InternationalMarketPrice

PayGoStrategy

Declaration
[JsonProperty(PropertyName = "payGoStrategy")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PricingStrategyEnum? PayGoStrategy { get; set; }
Property Value
Type Description
PricingStrategyEnum?

The type of pricing for a PAYGO model, eg PER_OCPU_LINEAR, PER_OCPU_MIN_BILLING, PER_INSTANCE. Null if type is not PAYGO.

Rate

Declaration
[JsonProperty(PropertyName = "rate")]
public decimal? Rate { get; set; }
Property Value
Type Description
decimal?

The pricing rate.

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PricingTypeEnum? Type { get; set; }
Property Value
Type Description
PricingTypeEnum?

The type of the pricing model.

Remarks

Required

In this article
Back to top