Skip to main content

SurchargeType

Classification of surcharge calculation methods that determine how additional fees are calculated when associated products are added to order items

enum SurchargeType {
FlatFee
Percentage
}

Values​

SurchargeType.FlatFee​

Fixed amount surcharge applied per order item. When a product with this surcharge type is ordered, the fixed amount is added to the order total for each applicable item.

SurchargeType.Percentage​

Percentage-based surcharge calculated on the order item value. When a product with this surcharge type is ordered, the percentage is applied to that item's subtotal and added to the order.

Member Of​

CreateSurchargeInput input ● Surcharge object ● SurchargeSearchInput input ● UpdateSurchargeInput input