Purchase

購買訊息,記錄購買的方案,包括交易詳細資料。

JSON 表示法
{
  "planId": string,
  "transactionId": string,
  "transactionMessage": string,
  "confirmationCode": string,
  "planActivationTime": string
}
欄位
planId

string

購買的方案 ID。

transactionId

string

購買要求中的交易 ID。

transactionMessage

string

交易完成後向使用者顯示的訊息。

confirmationCode

string

DPA 會在交易成功後產生確認碼。整合 Google 助理時必須使用。

planActivationTime

string (Timestamp format)

方案啟用時間。如果缺少 planActivationTime,GTAF 應假設方案已啟用。

RFC3339 世界標準時間「Zulu」格式的時間戳記,精確度達奈秒單位,最多九個小數位數。例如:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"