Type alias ServerOrderMessage

ServerOrderMessage: {
    order: {
        catalog_id: string;
        product_items: [{
            currency: string;
            item_price: string;
            product_retailer_id: string;
            quantity: string;
        }];
        text?: string;
    };
    type: "order";
}

Type declaration

  • order: {
        catalog_id: string;
        product_items: [{
            currency: string;
            item_price: string;
            product_retailer_id: string;
            quantity: string;
        }];
        text?: string;
    }
    • catalog_id: string
    • product_items: [{
          currency: string;
          item_price: string;
          product_retailer_id: string;
          quantity: string;
      }]
    • Optional text?: string
  • type: "order"

Generated using TypeDoc