| amount |
Double |
Positive value used to calculate the fee amount, as described
by the amountType. |
Required |
57.0 |
| amountType |
String |
Describes how the fee amount is calculated. Valid values
are:
-
AmountWithTax—Value of amount is the fee amount, including tax.
-
AmountWithoutTax—Value of
amount is the fee amount, not
including tax. Tax is calculated on the value and added.
-
Percentage—Value of amount is a percentage. To determine the fee
amount, amount is divided by 100, and
then multiplied by the TotalPrice and TotalTaxAmount of the associated
OrderItemSummary, prorated for the quantity being returned.
-
PercentageGross—Value of
amount is a percentage. To determine
the fee amount, amount is divided by
100, and then multiplied by the TotalLineAmountWithTax of the associated
OrderItemSummary, prorated for the quantity being returned.
|
Required |
57.0 |
| description |
String |
Description of the fee. |
Optional |
57.0 |
| priceBookEntryId |
String |
ID of the price book entry associated with the fee
product. |
Required unless price books are optional in the org |
57.0 |
| product2Id |
String |
ID of the product representing the fee. |
Required |
57.0 |
| reason |
String |
Reason for the fee. The value must match an entry in the
OrderProductSummaryChange object’s Reason picklist. |
Required |
57.0 |