From 96a12064d739dc0f596b2d4f4f31c601ab61c737 Mon Sep 17 00:00:00 2001 From: sanjid133 Date: Mon, 17 Feb 2020 14:30:34 +0600 Subject: [PATCH] remove latest response --- appstore/model.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/appstore/model.go b/appstore/model.go index b76c838..79cf2bb 100644 --- a/appstore/model.go +++ b/appstore/model.go @@ -150,19 +150,6 @@ type ( IsRetryable bool `json:"is-retryable,omitempty"` } - // The IAPLatestResponse type has the response properties - // If you use latest_receipt as token to verify, response should be like following struct - IAPLatestResponse struct { - Status int `json:"status,omitempty"` - Receipt InApp `json:"receipt"` - LatestReceiptInfo InApp `json:"latest_receipt_info,omitempty"` - LatestExpiredReceiptInfo InApp `json:"latest_expired_receipt_info,omitempty"` - LatestReceipt string `json:"latest_receipt,omitempty"` - SubscriptionAutoRenewStatus interface{} `json:"auto_renew_status,omitempty"` - SubscriptionAutoRenewProductID string `json:"auto_renew_product_id,omitempty"` - SubscriptionRetryFlag string `json:"is_in_billing_retry_period,omitempty"` - } - // The HttpStatusResponse struct contains the status code returned by the store // Used as a workaround to detect when to hit the production appstore or sandbox appstore regardless of receipt type StatusResponse struct {