BillingRunLineItemDto
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
Output DTO for a single billing line item charge.
Values
Fields
| Field | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
id
required |
string (uuid) |
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.
| ||||||||
skuCode
required |
string |
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.
| ||||||||
displayName
required |
string |
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 |
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.
| ||||||||
rawQuantity
required |
integer (int64) |
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.
| ||||||||
billableQuantity
required |
integer (int64) |
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.
| ||||||||
percentageAmountBase
required |
number (double) | For a fixed plus percentage line, the amount the percentage was taken of: the SKU's or billing
group's total recorded amount for the period, or, on a net volume entry, that total less
refunds and reversals, never below zero. A decimal amount in the major unit of the currency
the merchant was rated in (dollars for USD, not cents), summed from the period's recorded
usage. The billing run does not round it. The line's amount is
`fixedComponent + percentageAmountBase * percentageComponent / 100`, taking both rates
from the price plan's rate entry (`percentageComponent` is a whole percent), rounded half
away from zero to the currency's minor unit. That rounding of the computed amount is the only
rounding step. A minimum or maximum charge then applies to the sell amount, as
`minimumChargeApplied` and `maximumChargeApplied` report. Null for every other
pricing strategy, and on a line priced before it was recorded.
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.
| ||||||||
percentageGrossAmountBase
required |
number (double) | For a fixed plus percentage line, the total amount its usage recorded for the period before
refunds and reversals were netted out. A decimal amount in the major unit of the currency the
merchant was rated in (dollars for USD, not cents), as `percentageAmountBase` is, and
likewise not rounded. Equal to `percentageAmountBase` except on a net volume entry. The
percentage is always taken of `percentageAmountBase`, so reconstruct a billed percentage
from that field; this one tells a line netted to zero apart from one whose usage recorded no
amount. Null for every other pricing strategy, and on a line priced before it was recorded.
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.
| ||||||||
unitBuyRate
required |
number (double) |
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.
| ||||||||
unitSellRate
required |
number (double) |
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) |
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) |
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.
| ||||||||
minimumChargeApplied
required |
boolean |
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.
| ||||||||
maximumChargeApplied
required |
boolean |
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.
| ||||||||
isCustomItem
required |
boolean |
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.
| ||||||||
customChargeType
required |
CustomChargeType CustomChargeType |
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) |
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.