DiscountTypeCustomPrice Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Discount type properties including product family name, product id, sku, and custom price properties. Allows a single entry in marketSetPrices.
public class DiscountTypeCustomPrice : Azure.ResourceManager.BillingBenefits.Models.DiscountTypeProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.BillingBenefits.Models.DiscountTypeCustomPrice>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.BillingBenefits.Models.DiscountTypeCustomPrice>
type DiscountTypeCustomPrice = class
inherit DiscountTypeProperties
interface IJsonModel<DiscountTypeCustomPrice>
interface IPersistableModel<DiscountTypeCustomPrice>
Public Class DiscountTypeCustomPrice
Inherits DiscountTypeProperties
Implements IJsonModel(Of DiscountTypeCustomPrice), IPersistableModel(Of DiscountTypeCustomPrice)
- Inheritance
- Derived
- Implements
Constructors
| Name | Description |
|---|---|
| DiscountTypeCustomPrice(ApplyDiscountOn) |
Initializes a new instance of DiscountTypeCustomPrice. |
Properties
| Name | Description |
|---|---|
| ApplyDiscountOn |
The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values. (Inherited from DiscountTypeProperties) |
| Conditions |
Array of conditions for the discount. Validation: Optional. Maximum length is 1000. (Inherited from DiscountTypeProperties) |
| CustomPriceProperties |
Custom price properties for a given discount. |
| DiscountCombinationRule |
The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf. (Inherited from DiscountTypeProperties) |
| DiscountPercentage |
Discount percentage provided for the customer. Validation: Required unless this is a price rule. (Inherited from DiscountTypeProperties) |
| PriceGuaranteeProperties |
Set only in price guarantee scenario. (Inherited from DiscountTypeProperties) |
| ProductFamilyName |
Product family for which the discount is given. Validation: Optional. |
| ProductId |
Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F. |
| SkuId |
ResourceSku for the given discount. Validation: Optional. |