Home > @poq/sdk-sfcc > ShippingItem
Document representing a shipping item.
Signature:
export declare class ShippingItem extends BaseModel<ShippingItem>
Extends: BaseModel<ShippingItem
Constructor | Modifiers | Description |
---|---|---|
(constructor)(params) | Constructs a new instance of the ShippingItem class |
Property | Modifiers | Type | Description |
---|---|---|---|
adjustedTax? | number | (Optional) The tax of the product item after adjustments applying. | |
basePrice? | number | (Optional) The base price for the line item, which is the price of the unit before applying adjustments, in the purchase currency. The base price may be net or gross of tax depending on the configured taxation policy. | |
itemId? | string | (Optional) The item identifier. Use this to identify an item when updating the item quantity or creating a custom price adjustment for an item. | |
itemText? | string | (Optional) The text describing the item in more detail. | |
price? | number | (Optional) The price of the line item before applying any adjustments. If the line item is based on net pricing then the net price is returned. If the line item is based on gross pricing then the gross price is returned. | |
priceAdjustments? | Array<PriceAdjustment> | (Optional) Array of price adjustments. Can be empty. | |
priceAfterItemDiscount? | number | (Optional) The price of the product line item after applying all product-level adjustments. For net pricing the adjusted net price is returned. For gross pricing, the adjusted gross price is returned. | |
shipmentId? | string | (Optional) The identifier of the shipment to which this item belongs. | |
tax? | number | (Optional) The tax of the product item before adjustments applying. | |
taxBasis? | number | (Optional) The price used to calculate the tax for this product item. | |
taxClassId? | string | (Optional) The tax class ID for the product item or null if no tax class ID is associated with the product item. | |
taxRate? | number | (Optional) The tax rate, which is the decimal tax rate to be applied to the product represented by this item. |