@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
27 lines • 914 B
TypeScript
import { OrderDetailTypeEnum } from './OrderDetailTypeEnum';
import { Price } from './Price';
import { Reduction } from './Reduction';
/** Detail of an order */
export interface OrderDetail {
/** Cart Item ID the details is related to */
cartItemID?: number;
/** Description of the detail */
description: string;
/** Type of detail */
detailType?: OrderDetailTypeEnum;
/** Service name */
domain: string;
/** Original price of the detail before reduction application */
originalTotalPrice: Price;
/** Quantity of the service */
quantity: number;
/** Total price of the reduction */
reductionTotalPrice: Price;
/** List of reductions applied to the detail */
reductions: Reduction[];
/** Price total of the services */
totalPrice: Price;
/** Unitary price of the service */
unitPrice: Price;
}
//# sourceMappingURL=OrderDetail.d.ts.map