Skip to main content

ContractDiscountPlanFields

idinteger

Unique numeric identifier.

resource_idinteger

Identifier of the resource the entry refers to.

resource_namestring

Name of the resource the entry refers to.

resource_countinteger

The number of resources that the discount is applied to.

discount_typestring

The type of discount applied to the resource can be represented as either flat or percent. For flat discount type, the actual price of the discounted resource is specified, while for percent discount type, a percentage discount is applied to the market rate for the resource.

discount_codestring

The discount code applied to the resource, if applicable.

discount_percentnumber

If the discount_type used is percent, this specifies the percentage discount to be applied to the market rate for a given resource.

discount_amountnumber

Amount discounted from the non-discounted bill.

discount_statusstring

The status of the discount (e.g., "active").

remaining_countinteger
ContractDiscountPlanFields
{
"id": 0,
"resource_id": 0,
"resource_name": "string",
"resource_count": 0,
"discount_type": "string",
"discount_code": "string",
"discount_percent": 0,
"discount_amount": 0,
"discount_status": "string",
"remaining_count": 0
}