Home > @poq/sdk-sfcc > PriceAdjustment > (constructor)
Constructs a new instance of the PriceAdjustment
class
Signature:
constructor(params?: {
appliedDiscount?: Discount;
couponCode?: string;
createdBy?: string;
creationDate?: string;
custom?: boolean;
itemText?: string;
lastModified?: string;
manual?: boolean;
price?: number;
priceAdjustmentId?: string;
promotionId?: string;
promotionLink?: string;
reasonCode?: PriceAdjustmentReasonCodeEnum;
});
Parameter | Type | Description |
---|---|---|
params | { appliedDiscount?: Discount; couponCode?: string; createdBy?: string; creationDate?: string; custom?: boolean; itemText?: string; lastModified?: string; manual?: boolean; price?: number; priceAdjustmentId?: string; promotionId?: string; promotionLink?: string; reasonCode?: PriceAdjustmentReasonCodeEnum; } | (Optional) |