interface ItemShippingDetails {
    targets: ItemShippingTarget[];
    valid: boolean;
}

Properties

Properties

valid: boolean

true if the quantity of the (custom) line item is equal to the sum of the sub-quantities in targets, false otherwise. A cart cannot be ordered when the value is false. The error InvalidItemShippingDetails will be triggered.