Fields
code
StringCode defined for charge. For example, `code` can be set to 'sample_code'.
name
StringDisplay name for charge (charge is unique by the name). For example, `name` can be set to 'Sample Name'.
type
StringType defined for charge. For example, `type` can be set to 'shipping'.
amount
ChargeAmountCharges amount. For example, `amount` can be set to a ChargeAmount object.
distribution_logic
ChargeDistributionLogicContains distribution logic for price adjustment. For example, `distribution_logic` can be set to a ChargeDistributionLogic object.
Was this section helpful?