wallee
Version:
TypeScript/JavaScript client for wallee
34 lines (33 loc) • 1.51 kB
TypeScript
/**
*
* @export
* @interface LineItemReductionCreate
*/
export interface LineItemReductionCreate {
/**
* 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 LineItemReductionCreate
*/
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 LineItemReductionCreate
*/
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 LineItemReductionCreate
*/
lineItemUniqueId: string;
}
/**
* Check if a given object implements the LineItemReductionCreate interface.
*/
export declare function instanceOfLineItemReductionCreate(value: object): value is LineItemReductionCreate;
export declare function LineItemReductionCreateFromJSON(json: any): LineItemReductionCreate;
export declare function LineItemReductionCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): LineItemReductionCreate;
export declare function LineItemReductionCreateToJSON(json: any): LineItemReductionCreate;
export declare function LineItemReductionCreateToJSONTyped(value?: LineItemReductionCreate | null, ignoreDiscriminator?: boolean): any;