mocks

package
v1.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/awa/go-iap/appstore (interfaces: IAPClient)

Generated by this command:

mockgen -destination=mocks/appstore.go -package=mocks github.com/awa/go-iap/appstore IAPClient

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: github.com/awa/go-iap/appstore/api (interfaces: StoreAPIClient)

Generated by this command:

mockgen -destination=../mocks/store.go -package=mocks github.com/awa/go-iap/appstore/api StoreAPIClient

Package mocks is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIAPClient) ParseNotificationV2 added in v1.8.1

func (m *MockIAPClient) ParseNotificationV2(arg0 string, arg1 *jwt.Token) error

ParseNotificationV2 mocks base method.

func (*MockIAPClient) ParseNotificationV2WithClaim added in v1.23.0

func (m *MockIAPClient) ParseNotificationV2WithClaim(arg0 string, arg1 jwt.Claims) error

ParseNotificationV2WithClaim mocks base method.

func (*MockIAPClient) Verify

func (m *MockIAPClient) Verify(arg0 context.Context, arg1 appstore.IAPRequest, arg2 any) error

Verify mocks base method.

func (*MockIAPClient) VerifyWithStatus added in v1.8.1

func (m *MockIAPClient) VerifyWithStatus(arg0 context.Context, arg1 appstore.IAPRequest, arg2 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(arg0, arg1 any) *gomock.Call

ParseNotificationV2 indicates an expected call of ParseNotificationV2.

func (*MockIAPClientMockRecorder) ParseNotificationV2WithClaim added in v1.23.0

func (mr *MockIAPClientMockRecorder) ParseNotificationV2WithClaim(arg0, arg1 any) *gomock.Call

ParseNotificationV2WithClaim indicates an expected call of ParseNotificationV2WithClaim.

func (*MockIAPClientMockRecorder) Verify

func (mr *MockIAPClientMockRecorder) Verify(arg0, arg1, arg2 any) *gomock.Call

Verify indicates an expected call of Verify.

func (*MockIAPClientMockRecorder) VerifyWithStatus added in v1.8.1

func (mr *MockIAPClientMockRecorder) VerifyWithStatus(arg0, arg1, arg2 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(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (int, []byte, error)

Do mocks base method.

func (*MockStoreAPIClient) EXPECT added in v1.22.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStoreAPIClient) ExtendSubscriptionRenewalDate added in v1.22.0

func (m *MockStoreAPIClient) ExtendSubscriptionRenewalDate(arg0 context.Context, arg1 string, arg2 api.ExtendRenewalDateRequest) (int, error)

ExtendSubscriptionRenewalDate mocks base method.

func (*MockStoreAPIClient) ExtendSubscriptionRenewalDateForAll added in v1.22.0

func (m *MockStoreAPIClient) ExtendSubscriptionRenewalDateForAll(arg0 context.Context, arg1 api.MassExtendRenewalDateRequest) (int, error)

ExtendSubscriptionRenewalDateForAll mocks base method.

func (*MockStoreAPIClient) GetALLSubscriptionStatuses added in v1.22.0

func (m *MockStoreAPIClient) GetALLSubscriptionStatuses(arg0 context.Context, arg1 string, arg2 *url.Values) (*api.StatusResponse, error)

GetALLSubscriptionStatuses mocks base method.

func (*MockStoreAPIClient) GetAllNotificationHistory added in v1.22.0

GetAllNotificationHistory mocks base method.

func (*MockStoreAPIClient) GetNotificationHistory added in v1.22.0

GetNotificationHistory mocks base method.

func (*MockStoreAPIClient) GetRefundHistory added in v1.22.0

func (m *MockStoreAPIClient) GetRefundHistory(arg0 context.Context, arg1 string) ([]*api.RefundLookupResponse, error)

GetRefundHistory mocks base method.

func (*MockStoreAPIClient) GetSubscriptionRenewalDataStatus added in v1.22.0

func (m *MockStoreAPIClient) GetSubscriptionRenewalDataStatus(arg0 context.Context, arg1, arg2 string) (int, *api.MassExtendRenewalDateStatusResponse, error)

GetSubscriptionRenewalDataStatus mocks base method.

func (*MockStoreAPIClient) GetTestNotificationStatus added in v1.22.0

func (m *MockStoreAPIClient) GetTestNotificationStatus(arg0 context.Context, arg1 string) (int, []byte, error)

GetTestNotificationStatus mocks base method.

func (*MockStoreAPIClient) GetTransactionHistory added in v1.22.0

func (m *MockStoreAPIClient) GetTransactionHistory(arg0 context.Context, arg1 string, arg2 *url.Values) ([]*api.HistoryResponse, error)

GetTransactionHistory mocks base method.

func (*MockStoreAPIClient) GetTransactionInfo added in v1.22.0

func (m *MockStoreAPIClient) GetTransactionInfo(arg0 context.Context, arg1 string) (*api.TransactionInfoResponse, error)

GetTransactionInfo mocks base method.

func (*MockStoreAPIClient) LookupOrderID added in v1.22.0

func (m *MockStoreAPIClient) LookupOrderID(arg0 context.Context, arg1 string) (*api.OrderLookupResponse, error)

LookupOrderID mocks base method.

func (*MockStoreAPIClient) ParseJWSEncodeString added in v1.22.0

func (m *MockStoreAPIClient) ParseJWSEncodeString(arg0 string) (any, error)

ParseJWSEncodeString mocks base method.

func (*MockStoreAPIClient) ParseSignedTransaction added in v1.22.0

func (m *MockStoreAPIClient) ParseSignedTransaction(arg0 string) (*api.JWSTransaction, error)

ParseSignedTransaction mocks base method.

func (*MockStoreAPIClient) ParseSignedTransactions added in v1.22.0

func (m *MockStoreAPIClient) ParseSignedTransactions(arg0 []string) ([]*api.JWSTransaction, error)

ParseSignedTransactions mocks base method.

func (*MockStoreAPIClient) SendConsumptionInfo added in v1.22.0

func (m *MockStoreAPIClient) SendConsumptionInfo(arg0 context.Context, arg1 string, arg2 api.ConsumptionRequestBody) (int, error)

SendConsumptionInfo mocks base method.

func (*MockStoreAPIClient) SendRequestTestNotification added in v1.22.0

func (m *MockStoreAPIClient) SendRequestTestNotification(arg0 context.Context) (int, []byte, error)

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(arg0, arg1, arg2, arg3 any) *gomock.Call

Do indicates an expected call of Do.

func (*MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDate added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDate(arg0, arg1, arg2 any) *gomock.Call

ExtendSubscriptionRenewalDate indicates an expected call of ExtendSubscriptionRenewalDate.

func (*MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDateForAll added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDateForAll(arg0, arg1 any) *gomock.Call

ExtendSubscriptionRenewalDateForAll indicates an expected call of ExtendSubscriptionRenewalDateForAll.

func (*MockStoreAPIClientMockRecorder) GetALLSubscriptionStatuses added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) GetALLSubscriptionStatuses(arg0, arg1, arg2 any) *gomock.Call

GetALLSubscriptionStatuses indicates an expected call of GetALLSubscriptionStatuses.

func (*MockStoreAPIClientMockRecorder) GetAllNotificationHistory added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) GetAllNotificationHistory(arg0, arg1, arg2 any) *gomock.Call

GetAllNotificationHistory indicates an expected call of GetAllNotificationHistory.

func (*MockStoreAPIClientMockRecorder) GetNotificationHistory added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) GetNotificationHistory(arg0, arg1, arg2 any) *gomock.Call

GetNotificationHistory indicates an expected call of GetNotificationHistory.

func (*MockStoreAPIClientMockRecorder) GetRefundHistory added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) GetRefundHistory(arg0, arg1 any) *gomock.Call

GetRefundHistory indicates an expected call of GetRefundHistory.

func (*MockStoreAPIClientMockRecorder) GetSubscriptionRenewalDataStatus added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) GetSubscriptionRenewalDataStatus(arg0, arg1, arg2 any) *gomock.Call

GetSubscriptionRenewalDataStatus indicates an expected call of GetSubscriptionRenewalDataStatus.

func (*MockStoreAPIClientMockRecorder) GetTestNotificationStatus added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) GetTestNotificationStatus(arg0, arg1 any) *gomock.Call

GetTestNotificationStatus indicates an expected call of GetTestNotificationStatus.

func (*MockStoreAPIClientMockRecorder) GetTransactionHistory added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) GetTransactionHistory(arg0, arg1, arg2 any) *gomock.Call

GetTransactionHistory indicates an expected call of GetTransactionHistory.

func (*MockStoreAPIClientMockRecorder) GetTransactionInfo added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) GetTransactionInfo(arg0, arg1 any) *gomock.Call

GetTransactionInfo indicates an expected call of GetTransactionInfo.

func (*MockStoreAPIClientMockRecorder) LookupOrderID added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) LookupOrderID(arg0, arg1 any) *gomock.Call

LookupOrderID indicates an expected call of LookupOrderID.

func (*MockStoreAPIClientMockRecorder) ParseJWSEncodeString added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) ParseJWSEncodeString(arg0 any) *gomock.Call

ParseJWSEncodeString indicates an expected call of ParseJWSEncodeString.

func (*MockStoreAPIClientMockRecorder) ParseSignedTransaction added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) ParseSignedTransaction(arg0 any) *gomock.Call

ParseSignedTransaction indicates an expected call of ParseSignedTransaction.

func (*MockStoreAPIClientMockRecorder) ParseSignedTransactions added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) ParseSignedTransactions(arg0 any) *gomock.Call

ParseSignedTransactions indicates an expected call of ParseSignedTransactions.

func (*MockStoreAPIClientMockRecorder) SendConsumptionInfo added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) SendConsumptionInfo(arg0, arg1, arg2 any) *gomock.Call

SendConsumptionInfo indicates an expected call of SendConsumptionInfo.

func (*MockStoreAPIClientMockRecorder) SendRequestTestNotification added in v1.22.0

func (mr *MockStoreAPIClientMockRecorder) SendRequestTestNotification(arg0 any) *gomock.Call

SendRequestTestNotification indicates an expected call of SendRequestTestNotification.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL