Skip to content

Commit 9fb6c82

Browse files
authored
Merge pull request #150 from BB-5XGames/master
add PreorderDate type
2 parents ee76a3e + 2f1110d commit 9fb6c82

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

appstore/model.go

+8
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ type (
6060
OriginalPurchaseDatePST string `json:"original_purchase_date_pst"`
6161
}
6262

63+
// The PreorderDate type indicates the date and time that the pre-order
64+
PreorderDate struct {
65+
PreorderDate string `json:"preorder_date"`
66+
PreorderDateMS string `json:"preorder_date_ms"`
67+
PreorderDatePST string `json:"preorder_date_pst"`
68+
}
69+
6370
// The ExpiresDate type indicates the expiration date for the subscription
6471
ExpiresDate struct {
6572
ExpiresDate string `json:"expires_date,omitempty"`
@@ -128,6 +135,7 @@ type (
128135
ReceiptCreationDate
129136
RequestDate
130137
OriginalPurchaseDate
138+
PreorderDate
131139
}
132140

133141
// A pending renewal may refer to a renewal that is scheduled in the future or a renewal that failed in the past for some reason.

0 commit comments

Comments
 (0)