# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMockSubsBuilder creates a new instance.
No description provided by the author
NewSubscription builds a subscription for a user based on the receipt information available.
No description provided by the author
No description provided by the author
ParseEnvironment turns a string to an Environment instance.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
Indicates that either Apple customer support canceled the subscription or the user upgraded their subscription.
DID_CHANGE_RENEWAL_PREF.
Indicates a change in the subscription renewal status.
Indicates a subscription that failed to renew due to a billing issue.
Indicates successful automatic renewal of an expired subscription that failed to renew in the past.
Occurs at the initial purchase of the subscription.
Indicates the customer renewed a subscription interactively, either by using your app’s interface, or on the App Store in the account's Subscriptions settings.
Indicates successful automatic renewal of an expired subscription that failed to renew in the past.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StmtInsertTransaction is SQL fro TransactionSchema that saves an item in UnifiedReceipt.LatestReceiptInfo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StmtSaveDecodedReceipt saves the decoded receipt.
StmtSavePendingRenewal is SQL for PendingRenewalSchema that is used to save the items in UnifiedReceipt.PendingRenewalInfo.
Save the receipt as a token for status polling.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
This error might be caused by one ftc account linking to multiple IAP.
Ftc account has a non-expired membership that comes from other payment method, thus we cannot override it.
No description provided by the author
This error is a possible cheating.
# Structs
BaseSchema contains the shared fields of all schema.
No description provided by the author
No description provided by the author
ClientReceipt is the receipt data from device.
No description provided by the author
LinkInput defines the request body to link IAP to ftc account.
No description provided by the author
No description provided by the author
No description provided by the author
PendingRenewal contains auto-renewable subscription renewals that are open or failed in the past.
No description provided by the author
No description provided by the author
No description provided by the author
ReceiptSchema is a row to save the receipt data from a request so that later we can re-validate this receipt.
Subscription contains a user's subscription data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Transaction is the action performed during subscription.
TransactionSchema represents the db schema to select/insert a row of receipt.
UnifiedReceipt contains the common fields apple send in a notification, or the response of receipt verification.
No description provided by the author
VerificationPayload contains the the JSON contents you submit with the request to the App Store when verifying receipt.
VerificationResp is the response body return to verification request.
VerifiedReceiptSchema is the SQL version of ClientReceipt.
WebHook contains the JSON data sent in the server notification from the App Store.
WebHookSchema saves the value of WebHook root fields.
# Type aliases
No description provided by the author
No description provided by the author
ReceiptType is present in the meta data of decoded receipts.