Added missing RVS Response Fields

This commit is contained in:
jordanco
2019-05-21 10:24:53 +02:00
parent 3c17d9a759
commit ab2fbeeea5
2 changed files with 39 additions and 1 deletions

View File

@@ -31,8 +31,14 @@ type IAPResponse struct {
ProductType string `json:"productType"`
ProductID string `json:"productId"`
PurchaseDate int64 `json:"purchaseDate"`
RenewalDate int64 `json:"renewalDate"`
CancelDate int64 `json:"cancelDate"`
TestTransaction bool `json:"testTransaction"`
BetaProduct bool `json:"betaProduct"`
ParentProductID string `json:"parentProductId"`
Quantity int64 `json:"quantity"`
Term string `json:"term"`
TermSku string `json:"termSku"`
}
// The IAPResponseError typs has error message and status.