ProductRatePlanChargeTier
A product rate plan charge tier holds the prices for a product rate plan charge. Each product rate plan charge has at least one tier associated with it. Use the ProductRatePlanChargeTier object to represent a tier of charges in a ProductRatePlanCharge object.
Don't confuse a product rate plan charge tier with tiered pricing. Tiered pricing is a charge model in which you create different charges or tiers for different quantites of an item. The tiers of usage fees in the Product: Family Plan example diagram represented tiered pricing. Each product rate plan charge in the diagram has at least one tier.
Supported calls
You can use this object with the following calls:
Limitations
You can't create a ProductRatePlanChargeTier object independently of an associated ProductRatePlanCharge object.
You can use only one of the following fields in an API query of the ProductRatePlanChargeTier object:
- Price
- DiscountAmount
- DiscountPercentage
The following is a query that will result in an error:
select id, discountPercentage, price from ProductRatePlanChargeTier where ProductRatePlanChargeId = '402892a338501b82013850ca211f002c'
The following INVALID_VALUE
error message:
Can only use Price or DiscountAmount or DiscountPercentage in one ProductRatePlanChargeTier query.
Walkthroughs and use cases
Here are some common ways to use this object:
- Set up a tiered pricing charge model
- Create a charge
- Update a product rate plan charge tier
Field Descriptions
All field names are case sensitive. Check enumerated values in descriptions to confirm capitalization and spacing. See Field Types for additional information.
Name | Required to Create? | Allowed Operations | Description |
---|---|---|---|
Active | required* | Create | Determines whether the tier is active. This field is deprecated as of release R163 / WSDL 46.0 (April 2013). Type: boolean |
CreatedById | optional | Query | The ID of the Zuora user who created the ProductRatePlanChargeTier object. Type: zns:ID |
CreatedDate | optional | Query | The date when the ProductRatePlanChargeTier object was created. Type: dateTime |
Currency | required | Query | The code corresponding to the currency for the tier's price. Type: string |
DiscountAmount | optional | Create Query Update Filter | The specific amount for a fixed discount. This field is required if the value for ProductRatePlanCharge.ChargeModel is Discount-Fixed Amount . Type: decimal |
DiscountPercentage | optional | Create Query Update Filter | The percentage of discount for a percentage discount. This field is required if the value for ProductRatePlanCharge.ChargeModel is Discount-Percentage . Type: decimal |
EndingUnit | optional | Query | The end number of a range of units for the tier. Type: decimal |
Id | optional | Query Filter | The ID of this object. Upon creation, the ID of this object is Type: zns:ID |
IsOveragePrice | optional | Query | Indicates if the price is an overage price, which is the price when usage surpasses the last defined tier. Type: boolean |
Price | required | Query | The price of the tier if the charge is a flat fee, or the price of each unit in the tier if the charge model is tiered pricing. Type: decimal (currency) |
PriceFormat | optional | Create | Indicates if pricing is a flat fee or is per unit. This field is for tiered and volume pricing models only. Type: string (enum) Note: The values |
ProductRatePlanChargeId | required | Create | The ID of the product rate plan charge associated with this tier. You can't create an unassociated tier. Type: zns:ID |
StartingUnit | optional | Query | The starting number of a range of units for the tier. Type: decimal |
Tier | optional | Query | A unique number that identifies the tier that the price applies to. Type: bigint |
UpdatedById | optional | Query | The ID of the user who last updated the product rate plan charge tier. Type: zns:ID |
UpdatedDate | optional | Query | The date when the product rate plan charge tier was last updated. Type: dateTime |
Additional Field Detail
EndingUnit
The end number of a range of units for the tier. For example, if the tier stipulates 101 - 200 minutes, then the value for the EndingUnit
field is 200
.
This field is required if ProductRatePlanCharge.ChargeModel
is Tiered Pricing
or Tiered with Overage Pricing
.
Id
The ID of this object. Every object has a unique identifier that Zuora automatically assigns upon creation. You use this ID later when you work with the object. For example, if you send an amend()
call to modify an existing subscription, then you need to include the specific Subscription
object's ID with the call.
The ID for the InvoiceItem
object is InvoiceItemId
.
StartingUnit
The starting number of a range of units for the tier. For example, if the tier stipulates 101 - 200 minutes, then the value for the StartingUnit
field is 101
.
This field is required if ProductRatePlanCharge.ChargeModel
is Tiered Pricing
or Tiered with Overage Pricing
.