PricePlanRateEntryDto
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
DTO for a rate entry within a price plan. Targets either a single SKU (`skuCode`) or a catch-all billing group (`skuGroupCode`); exactly one is set.
Values
Fields
| Field | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
id
required |
string (uuid) | The entry's identifier within the plan. Leave it out on a new entry.
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.
| ||||||||
skuCode
required |
string | Registered SKU code this entry prices. Null when `skuGroupCode` is set.
Conditional: When SkuCode 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.
| ||||||||
skuGroupCode
required |
string | Registered billing-group code this catch-all entry prices. Null when
`skuCode` is set.
Conditional: When SkuGroupCode 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.
| ||||||||
displayNameOverride
required |
string | An optional name for the invoice line in place of the SKU's own display name.
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.
| ||||||||
pricingStrategy
required |
MerchantBillingPricingStrategy MerchantBillingPricingStrategy | How the entry's charge is calculated.
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.
| ||||||||
buyRate
required |
number (double) | The amount the reseller pays upstream, in the plan's currency: per unit for a per-unit entry,
per billing period for a fixed entry.
Conditional: When BuyRate 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.
| ||||||||
sellRate
required |
number (double) | The amount the merchant is charged, in the plan's currency: per unit for a per-unit entry, per
billing period for a fixed entry.
Conditional: When SellRate 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.
| ||||||||
tiers
required |
array of PricingTierDto array of PricingTierDto | The quantity brackets of a tiered entry.
Conditional: When Tiers is not null and Tiers.Count > 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.
| ||||||||
Fields of each PricingTierDto: This body has no documented fields. | ||||||||||
fixedComponent
required |
number (double) | The fixed base amount of a fixed-plus-percentage entry, per billing period, in the plan's currency.
Conditional: When FixedComponent 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.
| ||||||||
percentageComponent
required |
number (double) | The percentage of a fixed-plus-percentage entry, as a whole percent (2.5 means 2.5%), applied
to the base `percentageBase` names.
Conditional: When PercentageComponent 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.
| ||||||||
percentageBase
required |
PercentagePricingBase PercentagePricingBase | What the percentage of a fixed-plus-percentage entry is applied to.
Conditional: When PercentageBase is not null.
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.
| ||||||||
includedQuantity
required |
integer (int64) | The number of units each billing period that are free before the entry charges.
Conditional: When IncludedQuantity 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.
| ||||||||
minimumCharge
required |
number (double) | The least the entry charges the merchant in a billing period, in the plan's currency.
Conditional: When MinimumCharge 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.
| ||||||||
maximumCharge
required |
number (double) | The most the entry charges the merchant in a billing period, in the plan's currency.
Conditional: When MaximumCharge is not null. Must be >= 0.
Conditional: When MinimumCharge is not null and MaximumCharge is not null.
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.
| ||||||||
sortOrder
required |
integer (int32) | The position of the entry's line on the invoice, lowest first.
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.
| ||||||||
isEnabled
required |
boolean | Whether the entry charges. A disabled entry stays on the plan and charges nothing.
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.