DiscountProperties interface

Properties belonging to discounts.

Properties

appliedScopeType

List of applied scopes supported for discounts.

benefitResourceId

Fully-qualified identifier of the benefit under applicable benefit list.

billingAccountResourceId

Billing account resource id where the discount metadata is present.

billingProfileResourceId

Billing profile resource id where the discount is scoped to.

customerResourceId

Customer resource id where the discount is scoped to.

displayName

This defines a user friendly display name for the discount.

entityType

The discriminator possible values: Affiliate, Primary

productCode

This is the catalog UPN for the product.

provisioningState

The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.

startAt

Start date of the discount. Value is the date the discount started or will start in the future.

status

Represents the current status of the discount.

systemId

This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.

Property Details

appliedScopeType

List of applied scopes supported for discounts.

appliedScopeType?: string

Property Value

string

benefitResourceId

Fully-qualified identifier of the benefit under applicable benefit list.

benefitResourceId?: string

Property Value

string

billingAccountResourceId

Billing account resource id where the discount metadata is present.

billingAccountResourceId?: string

Property Value

string

billingProfileResourceId

Billing profile resource id where the discount is scoped to.

billingProfileResourceId?: string

Property Value

string

customerResourceId

Customer resource id where the discount is scoped to.

customerResourceId?: string

Property Value

string

displayName

This defines a user friendly display name for the discount.

displayName?: string

Property Value

string

entityType

The discriminator possible values: Affiliate, Primary

entityType: string

Property Value

string

productCode

This is the catalog UPN for the product.

productCode: string

Property Value

string

provisioningState

The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.

provisioningState?: string

Property Value

string

startAt

Start date of the discount. Value is the date the discount started or will start in the future.

startAt: Date

Property Value

Date

status

Represents the current status of the discount.

status?: string

Property Value

string

systemId

This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.

systemId?: string

Property Value

string