Interface OrderLine

The order line object

interface OrderLine {
    metadata?: {
        image?: string;
        [key: string]: any;
    };
    price: number;
    productId: number;
    quantity: number;
}

Properties

metadata?: {
    image?: string;
    [key: string]: any;
}

any additional metadata attributes required by the order.

Type declaration

  • [key: string]: any

    And additional attributes, passthrough.

  • Optional image?: string

    IPFS hash key of image

price: number

price used just for information

productId: number

bambu meta product identifier.

quantity: number

quantity of the order line