wallee
Version:
TypeScript/JavaScript client for wallee
60 lines (59 loc) • 1.54 kB
TypeScript
import { LineItemAttributeCreate } from "./LineItemAttributeCreate";
import { LineItemType } from "./LineItemType";
import { TaxCreate } from "./TaxCreate";
declare class LineItemCreate {
/**
* The line item price with discounts applied, including taxes.
*/
'amountIncludingTax': number;
/**
* A map of custom information for the item.
*/
'attributes'?: {
[]: LineItemAttributeCreate;
};
/**
* The discount allocated to the item, including taxes.
*/
'discountIncludingTax'?: number;
/**
* The name of the product, ideally in the customer's language.
*/
'name': string;
/**
* The number of items that were purchased.
*/
'quantity': number;
/**
* Whether the item required shipping.
*/
'shippingRequired'?: boolean;
/**
* The SKU (stock-keeping unit) of the product.
*/
'sku'?: string;
/**
* A set of tax lines, each of which specifies a tax applied to the item.
*/
'taxes'?: Array<TaxCreate>;
/**
* The type of the line item.
*/
'type': LineItemType;
/**
* The unique identifier of the line item within the set of line items.
*/
'uniqueId': string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export { LineItemCreate };