Home > @poq/sdk-sfcc > ShippingItem > (constructor)
Constructs a new instance of the ShippingItem class
Signature:
constructor(params?: {
adjustedTax?: number;
basePrice?: number;
itemId?: string;
itemText?: string;
price?: number;
priceAdjustments?: Array<PriceAdjustment>;
priceAfterItemDiscount?: number;
shipmentId?: string;
tax?: number;
taxBasis?: number;
taxClassId?: string;
taxRate?: number;
});
| Parameter | Type | Description |
|---|---|---|
| params | { adjustedTax?: number; basePrice?: number; itemId?: string; itemText?: string; price?: number; priceAdjustments?: Array<PriceAdjustment>; priceAfterItemDiscount?: number; shipmentId?: string; tax?: number; taxBasis?: number; taxClassId?: string; taxRate?: number; } | (Optional) |