mocks

package
v1.33.2 Latest Latest
Warning

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

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

Documentation

Overview

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

Generated by this command:

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

Package mocks is a generated GoMock package.

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

Generated by this command:

mockgen -destination=../mocks/store.go -package=mocks github.com/mihalydanis/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

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

ParseNotificationV2 mocks base method.

func (*MockIAPClient) ParseNotificationV2WithClaim

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

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

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

ParseNotificationV2 indicates an expected call of ParseNotificationV2.

func (*MockIAPClientMockRecorder) ParseNotificationV2WithClaim

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

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

VerifyWithStatus indicates an expected call of VerifyWithStatus.

type MockStoreAPIClient

type MockStoreAPIClient struct {
	// contains filtered or unexported fields
}

MockStoreAPIClient is a mock of StoreAPIClient interface.

func NewMockStoreAPIClient

func NewMockStoreAPIClient(ctrl *gomock.Controller) *MockStoreAPIClient

NewMockStoreAPIClient creates a new mock instance.

func (*MockStoreAPIClient) Do

func (m *MockStoreAPIClient) Do(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (int, []byte, error)

Do mocks base method.

func (*MockStoreAPIClient) EXPECT

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

func (*MockStoreAPIClient) ExtendSubscriptionRenewalDate

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

ExtendSubscriptionRenewalDate mocks base method.

func (*MockStoreAPIClient) ExtendSubscriptionRenewalDateForAll

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

ExtendSubscriptionRenewalDateForAll mocks base method.

func (*MockStoreAPIClient) GetALLSubscriptionStatuses

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

GetALLSubscriptionStatuses mocks base method.

func (*MockStoreAPIClient) GetAllNotificationHistory

GetAllNotificationHistory mocks base method.

func (*MockStoreAPIClient) GetNotificationHistory

GetNotificationHistory mocks base method.

func (*MockStoreAPIClient) GetRefundHistory

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

GetRefundHistory mocks base method.

func (*MockStoreAPIClient) GetSubscriptionRenewalDataStatus

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

GetSubscriptionRenewalDataStatus mocks base method.

func (*MockStoreAPIClient) GetTestNotificationStatus

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

GetTestNotificationStatus mocks base method.

func (*MockStoreAPIClient) GetTransactionHistory

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

GetTransactionHistory mocks base method.

func (*MockStoreAPIClient) GetTransactionInfo

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

GetTransactionInfo mocks base method.

func (*MockStoreAPIClient) LookupOrderID

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

LookupOrderID mocks base method.

func (*MockStoreAPIClient) ParseJWSEncodeString

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

ParseJWSEncodeString mocks base method.

func (*MockStoreAPIClient) ParseSignedTransaction

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

ParseSignedTransaction mocks base method.

func (*MockStoreAPIClient) ParseSignedTransactions

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

ParseSignedTransactions mocks base method.

func (*MockStoreAPIClient) SendConsumptionInfo

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

SendConsumptionInfo mocks base method.

func (*MockStoreAPIClient) SendRequestTestNotification

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

SendRequestTestNotification mocks base method.

type MockStoreAPIClientMockRecorder

type MockStoreAPIClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreAPIClientMockRecorder is the mock recorder for MockStoreAPIClient.

func (*MockStoreAPIClientMockRecorder) Do

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

Do indicates an expected call of Do.

func (*MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDate

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

ExtendSubscriptionRenewalDate indicates an expected call of ExtendSubscriptionRenewalDate.

func (*MockStoreAPIClientMockRecorder) ExtendSubscriptionRenewalDateForAll

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

ExtendSubscriptionRenewalDateForAll indicates an expected call of ExtendSubscriptionRenewalDateForAll.

func (*MockStoreAPIClientMockRecorder) GetALLSubscriptionStatuses

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

GetALLSubscriptionStatuses indicates an expected call of GetALLSubscriptionStatuses.

func (*MockStoreAPIClientMockRecorder) GetAllNotificationHistory

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

GetAllNotificationHistory indicates an expected call of GetAllNotificationHistory.

func (*MockStoreAPIClientMockRecorder) GetNotificationHistory

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

GetNotificationHistory indicates an expected call of GetNotificationHistory.

func (*MockStoreAPIClientMockRecorder) GetRefundHistory

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

GetRefundHistory indicates an expected call of GetRefundHistory.

func (*MockStoreAPIClientMockRecorder) GetSubscriptionRenewalDataStatus

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

GetSubscriptionRenewalDataStatus indicates an expected call of GetSubscriptionRenewalDataStatus.

func (*MockStoreAPIClientMockRecorder) GetTestNotificationStatus

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

GetTestNotificationStatus indicates an expected call of GetTestNotificationStatus.

func (*MockStoreAPIClientMockRecorder) GetTransactionHistory

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

GetTransactionHistory indicates an expected call of GetTransactionHistory.

func (*MockStoreAPIClientMockRecorder) GetTransactionInfo

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

GetTransactionInfo indicates an expected call of GetTransactionInfo.

func (*MockStoreAPIClientMockRecorder) LookupOrderID

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

LookupOrderID indicates an expected call of LookupOrderID.

func (*MockStoreAPIClientMockRecorder) ParseJWSEncodeString

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

ParseJWSEncodeString indicates an expected call of ParseJWSEncodeString.

func (*MockStoreAPIClientMockRecorder) ParseSignedTransaction

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

ParseSignedTransaction indicates an expected call of ParseSignedTransaction.

func (*MockStoreAPIClientMockRecorder) ParseSignedTransactions

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

ParseSignedTransactions indicates an expected call of ParseSignedTransactions.

func (*MockStoreAPIClientMockRecorder) SendConsumptionInfo

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

SendConsumptionInfo indicates an expected call of SendConsumptionInfo.

func (*MockStoreAPIClientMockRecorder) SendRequestTestNotification

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