Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockIAPClient
- func (m *MockIAPClient) EXPECT() *MockIAPClientMockRecorder
- func (m *MockIAPClient) ParseNotificationV2(tokenStr string, result *jwt.Token) error
- func (m *MockIAPClient) ParseNotificationV2WithClaim(tokenStr string, result jwt.Claims) error
- func (m *MockIAPClient) Verify(ctx context.Context, reqBody appstore.IAPRequest, resp any) error
- func (m *MockIAPClient) VerifyWithStatus(ctx context.Context, reqBody appstore.IAPRequest, resp any) (int, error)
- type MockIAPClientMockRecorder
- func (mr *MockIAPClientMockRecorder) ParseNotificationV2(tokenStr, result any) *gomock.Call
- func (mr *MockIAPClientMockRecorder) ParseNotificationV2WithClaim(tokenStr, result any) *gomock.Call
- func (mr *MockIAPClientMockRecorder) Verify(ctx, reqBody, resp any) *gomock.Call
- func (mr *MockIAPClientMockRecorder) VerifyWithStatus(ctx, reqBody, resp any) *gomock.Call
- type MockStoreAPIClient
- func (m *MockStoreAPIClient) Do(ctx context.Context, method, url string, body io.Reader) (int, []byte, error)
- func (m *MockStoreAPIClient) EXPECT() *MockStoreAPIClientMockRecorder
- func (m *MockStoreAPIClient) ExtendSubscriptionRenewalDate(ctx context.Context, originalTransactionId string, ...) (int, error)
- func (m *MockStoreAPIClient) ExtendSubscriptionRenewalDateForAll(ctx context.Context, body api.MassExtendRenewalDateRequest) (int, error)
- func (m *MockStoreAPIClient) GetALLSubscriptionStatuses(ctx context.Context, originalTransactionId string, query *url.Values) (*api.StatusResponse, error)
- func (m *MockStoreAPIClient) GetAllNotificationHistory(ctx context.Context, body api.NotificationHistoryRequest, ...) ([]api.NotificationHistoryResponseItem, error)
- func (m *MockStoreAPIClient) GetNotificationHistory(ctx context.Context, body api.NotificationHistoryRequest, ...) (*api.NotificationHistoryResponses, error)
- func (m *MockStoreAPIClient) GetRefundHistory(ctx context.Context, originalTransactionId string) ([]*api.RefundLookupResponse, error)
- func (m *MockStoreAPIClient) GetSubscriptionRenewalDataStatus(ctx context.Context, productId, requestIdentifier string) (int, *api.MassExtendRenewalDateStatusResponse, error)
- func (m *MockStoreAPIClient) GetTestNotificationStatus(ctx context.Context, testNotificationToken string) (int, []byte, error)
- func (m *MockStoreAPIClient) GetTransactionHistory(ctx context.Context, originalTransactionId string, query *url.Values) ([]*api.HistoryResponse, error)
- func (m *MockStoreAPIClient) GetTransactionInfo(ctx context.Context, transactionId string) (*api.TransactionInfoResponse, error)
- func (m *MockStoreAPIClient) LookupOrderID(ctx context.Context, orderId string) (*api.OrderLookupResponse, error)
- func (m *MockStoreAPIClient) ParseJWSEncodeString(jwsEncode string) (any, error)
- func (m *MockStoreAPIClient) ParseSignedTransaction(transaction string) (*api.JWSTransaction, error)
- func (m *MockStoreAPIClient) ParseSignedTransactions(transactions []string) ([]*api.JWSTransaction, error)
- func (m *MockStoreAPIClient) SendConsumptionInfo(ctx context.Context, originalTransactionId string, ...) (int, error)
- func (m *MockStoreAPIClient) SendRequestTestNotification(ctx context.Context) (int, []byte, error)
- type MockStoreAPIClientMockRecorder
- func (mr *MockStoreAPIClientMockRecorder) Do(ctx, method, url, body any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDate(ctx, originalTransactionId, body any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDateForAll(ctx, body any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) GetALLSubscriptionStatuses(ctx, originalTransactionId, query any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) GetAllNotificationHistory(ctx, body, duration any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) GetNotificationHistory(ctx, body, paginationToken any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) GetRefundHistory(ctx, originalTransactionId any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) GetSubscriptionRenewalDataStatus(ctx, productId, requestIdentifier any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) GetTestNotificationStatus(ctx, testNotificationToken any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) GetTransactionHistory(ctx, originalTransactionId, query any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) GetTransactionInfo(ctx, transactionId any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) LookupOrderID(ctx, orderId any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) ParseJWSEncodeString(jwsEncode any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) ParseSignedTransaction(transaction any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) ParseSignedTransactions(transactions any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) SendConsumptionInfo(ctx, originalTransactionId, body any) *gomock.Call
- func (mr *MockStoreAPIClientMockRecorder) SendRequestTestNotification(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIAPClient ¶
type MockIAPClient struct {
// contains filtered or unexported fields
}
MockIAPClient is a mock of IAPClient interface.
func NewMockIAPClient ¶
func NewMockIAPClient(ctrl *gomock.Controller) *MockIAPClient
NewMockIAPClient creates a new mock instance.
func (*MockIAPClient) EXPECT ¶
func (m *MockIAPClient) EXPECT() *MockIAPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIAPClient) ParseNotificationV2 ¶ added in v1.8.1
func (m *MockIAPClient) ParseNotificationV2(tokenStr string, result *jwt.Token) error
ParseNotificationV2 mocks base method.
func (*MockIAPClient) ParseNotificationV2WithClaim ¶ added in v1.23.0
func (m *MockIAPClient) ParseNotificationV2WithClaim(tokenStr string, result jwt.Claims) error
ParseNotificationV2WithClaim mocks base method.
func (*MockIAPClient) Verify ¶
func (m *MockIAPClient) Verify(ctx context.Context, reqBody appstore.IAPRequest, resp any) error
Verify mocks base method.
func (*MockIAPClient) VerifyWithStatus ¶ added in v1.8.1
func (m *MockIAPClient) VerifyWithStatus(ctx context.Context, reqBody appstore.IAPRequest, resp any) (int, error)
VerifyWithStatus mocks base method.
type MockIAPClientMockRecorder ¶
type MockIAPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIAPClientMockRecorder is the mock recorder for MockIAPClient.
func (*MockIAPClientMockRecorder) ParseNotificationV2 ¶ added in v1.8.1
func (mr *MockIAPClientMockRecorder) ParseNotificationV2(tokenStr, result any) *gomock.Call
ParseNotificationV2 indicates an expected call of ParseNotificationV2.
func (*MockIAPClientMockRecorder) ParseNotificationV2WithClaim ¶ added in v1.23.0
func (mr *MockIAPClientMockRecorder) ParseNotificationV2WithClaim(tokenStr, result any) *gomock.Call
ParseNotificationV2WithClaim indicates an expected call of ParseNotificationV2WithClaim.
func (*MockIAPClientMockRecorder) Verify ¶
func (mr *MockIAPClientMockRecorder) Verify(ctx, reqBody, resp any) *gomock.Call
Verify indicates an expected call of Verify.
func (*MockIAPClientMockRecorder) VerifyWithStatus ¶ added in v1.8.1
func (mr *MockIAPClientMockRecorder) VerifyWithStatus(ctx, reqBody, resp any) *gomock.Call
VerifyWithStatus indicates an expected call of VerifyWithStatus.
type MockStoreAPIClient ¶ added in v1.22.0
type MockStoreAPIClient struct {
// contains filtered or unexported fields
}
MockStoreAPIClient is a mock of StoreAPIClient interface.
func NewMockStoreAPIClient ¶ added in v1.22.0
func NewMockStoreAPIClient(ctrl *gomock.Controller) *MockStoreAPIClient
NewMockStoreAPIClient creates a new mock instance.
func (*MockStoreAPIClient) Do ¶ added in v1.22.0
func (m *MockStoreAPIClient) Do(ctx context.Context, method, url string, body io.Reader) (int, []byte, error)
Do mocks base method.
func (*MockStoreAPIClient) EXPECT ¶ added in v1.22.0
func (m *MockStoreAPIClient) EXPECT() *MockStoreAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStoreAPIClient) ExtendSubscriptionRenewalDate ¶ added in v1.22.0
func (m *MockStoreAPIClient) ExtendSubscriptionRenewalDate(ctx context.Context, originalTransactionId string, body api.ExtendRenewalDateRequest) (int, error)
ExtendSubscriptionRenewalDate mocks base method.
func (*MockStoreAPIClient) ExtendSubscriptionRenewalDateForAll ¶ added in v1.22.0
func (m *MockStoreAPIClient) ExtendSubscriptionRenewalDateForAll(ctx context.Context, body api.MassExtendRenewalDateRequest) (int, error)
ExtendSubscriptionRenewalDateForAll mocks base method.
func (*MockStoreAPIClient) GetALLSubscriptionStatuses ¶ added in v1.22.0
func (m *MockStoreAPIClient) GetALLSubscriptionStatuses(ctx context.Context, originalTransactionId string, query *url.Values) (*api.StatusResponse, error)
GetALLSubscriptionStatuses mocks base method.
func (*MockStoreAPIClient) GetAllNotificationHistory ¶ added in v1.22.0
func (m *MockStoreAPIClient) GetAllNotificationHistory(ctx context.Context, body api.NotificationHistoryRequest, duration time.Duration) ([]api.NotificationHistoryResponseItem, error)
GetAllNotificationHistory mocks base method.
func (*MockStoreAPIClient) GetNotificationHistory ¶ added in v1.22.0
func (m *MockStoreAPIClient) GetNotificationHistory(ctx context.Context, body api.NotificationHistoryRequest, paginationToken string) (*api.NotificationHistoryResponses, error)
GetNotificationHistory mocks base method.
func (*MockStoreAPIClient) GetRefundHistory ¶ added in v1.22.0
func (m *MockStoreAPIClient) GetRefundHistory(ctx context.Context, originalTransactionId string) ([]*api.RefundLookupResponse, error)
GetRefundHistory mocks base method.
func (*MockStoreAPIClient) GetSubscriptionRenewalDataStatus ¶ added in v1.22.0
func (m *MockStoreAPIClient) GetSubscriptionRenewalDataStatus(ctx context.Context, productId, requestIdentifier string) (int, *api.MassExtendRenewalDateStatusResponse, error)
GetSubscriptionRenewalDataStatus mocks base method.
func (*MockStoreAPIClient) GetTestNotificationStatus ¶ added in v1.22.0
func (m *MockStoreAPIClient) GetTestNotificationStatus(ctx context.Context, testNotificationToken string) (int, []byte, error)
GetTestNotificationStatus mocks base method.
func (*MockStoreAPIClient) GetTransactionHistory ¶ added in v1.22.0
func (m *MockStoreAPIClient) GetTransactionHistory(ctx context.Context, originalTransactionId string, query *url.Values) ([]*api.HistoryResponse, error)
GetTransactionHistory mocks base method.
func (*MockStoreAPIClient) GetTransactionInfo ¶ added in v1.22.0
func (m *MockStoreAPIClient) GetTransactionInfo(ctx context.Context, transactionId string) (*api.TransactionInfoResponse, error)
GetTransactionInfo mocks base method.
func (*MockStoreAPIClient) LookupOrderID ¶ added in v1.22.0
func (m *MockStoreAPIClient) LookupOrderID(ctx context.Context, orderId string) (*api.OrderLookupResponse, error)
LookupOrderID mocks base method.
func (*MockStoreAPIClient) ParseJWSEncodeString ¶ added in v1.22.0
func (m *MockStoreAPIClient) ParseJWSEncodeString(jwsEncode string) (any, error)
ParseJWSEncodeString mocks base method.
func (*MockStoreAPIClient) ParseSignedTransaction ¶ added in v1.22.0
func (m *MockStoreAPIClient) ParseSignedTransaction(transaction string) (*api.JWSTransaction, error)
ParseSignedTransaction mocks base method.
func (*MockStoreAPIClient) ParseSignedTransactions ¶ added in v1.22.0
func (m *MockStoreAPIClient) ParseSignedTransactions(transactions []string) ([]*api.JWSTransaction, error)
ParseSignedTransactions mocks base method.
func (*MockStoreAPIClient) SendConsumptionInfo ¶ added in v1.22.0
func (m *MockStoreAPIClient) SendConsumptionInfo(ctx context.Context, originalTransactionId string, body api.ConsumptionRequestBody) (int, error)
SendConsumptionInfo mocks base method.
func (*MockStoreAPIClient) SendRequestTestNotification ¶ added in v1.22.0
SendRequestTestNotification mocks base method.
type MockStoreAPIClientMockRecorder ¶ added in v1.22.0
type MockStoreAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreAPIClientMockRecorder is the mock recorder for MockStoreAPIClient.
func (*MockStoreAPIClientMockRecorder) Do ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) Do(ctx, method, url, body any) *gomock.Call
Do indicates an expected call of Do.
func (*MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDate ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDate(ctx, originalTransactionId, body any) *gomock.Call
ExtendSubscriptionRenewalDate indicates an expected call of ExtendSubscriptionRenewalDate.
func (*MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDateForAll ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDateForAll(ctx, body any) *gomock.Call
ExtendSubscriptionRenewalDateForAll indicates an expected call of ExtendSubscriptionRenewalDateForAll.
func (*MockStoreAPIClientMockRecorder) GetALLSubscriptionStatuses ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) GetALLSubscriptionStatuses(ctx, originalTransactionId, query any) *gomock.Call
GetALLSubscriptionStatuses indicates an expected call of GetALLSubscriptionStatuses.
func (*MockStoreAPIClientMockRecorder) GetAllNotificationHistory ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) GetAllNotificationHistory(ctx, body, duration any) *gomock.Call
GetAllNotificationHistory indicates an expected call of GetAllNotificationHistory.
func (*MockStoreAPIClientMockRecorder) GetNotificationHistory ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) GetNotificationHistory(ctx, body, paginationToken any) *gomock.Call
GetNotificationHistory indicates an expected call of GetNotificationHistory.
func (*MockStoreAPIClientMockRecorder) GetRefundHistory ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) GetRefundHistory(ctx, originalTransactionId any) *gomock.Call
GetRefundHistory indicates an expected call of GetRefundHistory.
func (*MockStoreAPIClientMockRecorder) GetSubscriptionRenewalDataStatus ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) GetSubscriptionRenewalDataStatus(ctx, productId, requestIdentifier any) *gomock.Call
GetSubscriptionRenewalDataStatus indicates an expected call of GetSubscriptionRenewalDataStatus.
func (*MockStoreAPIClientMockRecorder) GetTestNotificationStatus ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) GetTestNotificationStatus(ctx, testNotificationToken any) *gomock.Call
GetTestNotificationStatus indicates an expected call of GetTestNotificationStatus.
func (*MockStoreAPIClientMockRecorder) GetTransactionHistory ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) GetTransactionHistory(ctx, originalTransactionId, query any) *gomock.Call
GetTransactionHistory indicates an expected call of GetTransactionHistory.
func (*MockStoreAPIClientMockRecorder) GetTransactionInfo ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) GetTransactionInfo(ctx, transactionId any) *gomock.Call
GetTransactionInfo indicates an expected call of GetTransactionInfo.
func (*MockStoreAPIClientMockRecorder) LookupOrderID ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) LookupOrderID(ctx, orderId any) *gomock.Call
LookupOrderID indicates an expected call of LookupOrderID.
func (*MockStoreAPIClientMockRecorder) ParseJWSEncodeString ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) ParseJWSEncodeString(jwsEncode any) *gomock.Call
ParseJWSEncodeString indicates an expected call of ParseJWSEncodeString.
func (*MockStoreAPIClientMockRecorder) ParseSignedTransaction ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) ParseSignedTransaction(transaction any) *gomock.Call
ParseSignedTransaction indicates an expected call of ParseSignedTransaction.
func (*MockStoreAPIClientMockRecorder) ParseSignedTransactions ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) ParseSignedTransactions(transactions any) *gomock.Call
ParseSignedTransactions indicates an expected call of ParseSignedTransactions.
func (*MockStoreAPIClientMockRecorder) SendConsumptionInfo ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) SendConsumptionInfo(ctx, originalTransactionId, body any) *gomock.Call
SendConsumptionInfo indicates an expected call of SendConsumptionInfo.
func (*MockStoreAPIClientMockRecorder) SendRequestTestNotification ¶ added in v1.22.0
func (mr *MockStoreAPIClientMockRecorder) SendRequestTestNotification(ctx any) *gomock.Call
SendRequestTestNotification indicates an expected call of SendRequestTestNotification.