# Packages
Package mocks is a generated GoMock package.
# Functions
HandleError returns error message by status code.
New creates a client object.
NewWithClient creates a client with a custom http client.
# Constants
ContentType is the request content-type for apple store.
list of NotificationEnvironment.
list of NotificationEnvironment.
Subscription was canceled by Apple customer support.
Indicates that the customer initiated a refund request for a consumable in-app purchase, and the App Store is requesting that you provide consumption data.
Customer changed the plan that takes affect at the next subscription renewal.
Customer changed the subscription renewal status.
Subscription failed to renew due to a billing issue.
Expired subscription recovered through a billing retry.
Customer’s subscription has successfully auto-renewed for a new transaction period.
Customer's in-app purchase through Family Sharing is no longer available through sharing.
Initial purchase of the subscription.
Customer renewed a subscription interactively after it lapsed.
App Store has started asking the customer to consent to your app’s subscription price increase.
AppleCare successfully refunded the transaction for a consumable, non-consumable, or a non-renewing subscription.
Automatic renewal was successful for an expired subscription.
No description provided by the author
ProductionURL is the endpoint for production environment.
No description provided by the author
SandboxURL is the endpoint for sandbox environment.
# Variables
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
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
Client implements IAPClient.
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
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
SubscriptionNotification is struct for https://developer.apple.com/documentation/appstoreservernotifications/responsebody.
# Interfaces
IAPClient is an interface to call validation API in App Store.
# Type aliases
No description provided by the author
NotificationEnvironment is type.
NotificationType is type https://developer.apple.com/documentation/appstoreservernotifications/notification_type https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html#//apple_ref/doc/uid/TP40008267-CH7-SW16.