Skip to main content

Transaction 对象

🌐 Transaction Object

  • transactionIdentifier string - 唯一标识一次成功支付交易的字符串。
  • transactionDate string - 交易被添加到 App Store 支付队列的日期。
  • originalTransactionIdentifier string - App Store 恢复的交易的标识符。
  • transactionState string - 交易状态可以是 purchasingpurchasedfailedrestoreddeferred
  • errorCode Integer - 如果在处理交易时发生错误,将显示错误代码。
  • errorMessage string - 如果在处理交易时发生错误,将显示错误消息。
  • payment 对象
    • productIdentifier string - 所购买产品的标识符。
    • quantity Integer - 购买的数量。
    • applicationUsername string - 你系统中用户账户的一个不透明标识符。
    • paymentDiscount PaymentDiscount(optional)- 适用于支付的折扣优惠详情。