A charge object describes an itemized charge or credit for a shipment or sales order. For example, when getting rates for a shipment, the charge object is used to itemize the costs associated with each rate.
This table lists the properties of a charge object and identifies those properties that are required. The
column indicates which properties may be null when the object is provided as an argument to one of your methods, and the
column indicates which properties are required when the object is returned from one of your methods.
The user-friendly name of the charge (e.g. "Fuel Charge", "Oversize Package Fee"). This string must not contain newline characters.
The type of the charge.
The amount of the charge (negative amount for a credit).
The value of the amount.
The currency that the value represents.