📜  条带化多个行项目 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:16.478000             🧑  作者: Mango

代码示例1
line_items: [
  // ONE ITEM

  // {
  //   name: product.name,
  //   description: product.description,
  //   images: [product.image],
  //   amount: product.amount,
  //   currency: product.currency,
  //   quantity: validatedQuantity,
  // },

  // MULTIPLE ITEMS
  {
    name: 'F02',
    images: [
      '',
    ],
    amount: '74900',
    currency: 'sek',
    quantity: 2,
  },
  {
    name: 'F01',
    images: [
      '',
    ],
    amount: '74900',
    currency: 'sek',
    quantity: 1,
  },
],