wallee
Version:
TypeScript/JavaScript client for wallee
34 lines (33 loc) • 1.51 kB
TypeScript
/**
*
* @export
* @interface LineItemReduction
*/
export interface LineItemReduction {
/**
* The quantity removed or reduced from the line item. This value reflects the decrease in the item count due to the reduction.
* @type {number}
* @memberof LineItemReduction
*/
readonly quantityReduction?: number;
/**
* The monetary amount by which the line item's unit price is discounted. This reduction adjusts the price without altering the quantity.
* @type {number}
* @memberof LineItemReduction
*/
readonly unitPriceReduction?: number;
/**
* The unique identifier of the line item to which the reduction is applied. This ID ensures the reduction is accurately associated with the correct item.
* @type {string}
* @memberof LineItemReduction
*/
readonly lineItemUniqueId?: string;
}
/**
* Check if a given object implements the LineItemReduction interface.
*/
export declare function instanceOfLineItemReduction(value: object): value is LineItemReduction;
export declare function LineItemReductionFromJSON(json: any): LineItemReduction;
export declare function LineItemReductionFromJSONTyped(json: any, ignoreDiscriminator: boolean): LineItemReduction;
export declare function LineItemReductionToJSON(json: any): LineItemReduction;
export declare function LineItemReductionToJSONTyped(value?: Omit<LineItemReduction, 'quantityReduction' | 'unitPriceReduction' | 'lineItemUniqueId'> | null, ignoreDiscriminator?: boolean): any;