跳转至

事务对象

  • transactionIdentifier string - 一个用于唯一标识成功支付交易的字符串。
  • transactionDate string - 交易被添加到 App Store 支付队列的日期。
  • originalTransactionIdentifier string - 由 App Store 还原的交易标识符。
  • transactionState string - 交易状态,可以是 purchasing、purchased、failed、restored 或 deferred。
  • errorCode Integer - 处理交易时发生错误时的错误代码。
  • errorMessage string - 处理交易时发生错误时的错误消息。
  • payment Object
  • productIdentifier string - 所购产品的标识符。
  • quantity Integer - 购买数量。
  • applicationUsername string - 用于在你的系统上标识用户账户的不透明标识符。
  • paymentDiscount PaymentDiscount(可选)- 要应用于支付的折扣优惠详情。

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 el/electron