PricePlanCustomItemDto
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
A charge on a price plan that is not metered from usage, such as a monthly platform fee.
Values
Fields
| Field | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
id
required |
string (uuid) | The item's identifier within the plan. Leave it out on a new item.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||
name
required |
string | The name printed on the merchant's invoice line.
nullablemax length 128
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||
description
required |
string | An optional description of the charge.
Conditional: When Description is not empty. Max length: 500.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||
chargeType
required |
CustomChargeType CustomChargeType | How often the charge recurs.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||
buyAmount
required |
number (double) | The amount the reseller pays upstream for this item each time it is charged, in the plan's currency.
Conditional: When BuyAmount is not null. Must be >= 0.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||
sellAmount
required |
number (double) | The amount the merchant is charged for this item each time it is charged, in the plan's currency.
Conditional: When SellAmount is not null. Must be >= 0.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||
dependencySkuCode
required |
string | A SKU code the merchant must have used in the billing period for this item to be charged, or
null to charge it unconditionally.
Conditional: When DependencySkuCode is not empty. Max length: 64.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||
dependencyMinQuantity
required |
integer (int64) | The least number of units of `dependencySkuCode` the merchant must have used in the billing
period for this item to be charged. Null means one.
Conditional: When DependencyMinQuantity is not null. Must be >= 0.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
|
This model has no documented fields.