mocks

package
v1.33.3 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/pooky-labs/go-iap/playstore (interfaces: IABProduct,IABSubscription,IABSubscriptionV2,IABMonetization)

Generated by this command:

mockgen -destination=mocks/playstore.go -package=mocks github.com/pooky-labs/go-iap/playstore IABProduct,IABSubscription,IABSubscriptionV2,IABMonetization

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 MockIABMonetization

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

MockIABMonetization is a mock of IABMonetization interface.

func NewMockIABMonetization

func NewMockIABMonetization(ctrl *gomock.Controller) *MockIABMonetization

NewMockIABMonetization creates a new mock instance.

func (*MockIABMonetization) EXPECT

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

func (*MockIABMonetization) GetSubscriptionOffer

func (m *MockIABMonetization) GetSubscriptionOffer(arg0 context.Context, arg1, arg2, arg3, arg4 string) (*androidpublisher.SubscriptionOffer, error)

GetSubscriptionOffer mocks base method.

type MockIABMonetizationMockRecorder

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

MockIABMonetizationMockRecorder is the mock recorder for MockIABMonetization.

func (*MockIABMonetizationMockRecorder) GetSubscriptionOffer

func (mr *MockIABMonetizationMockRecorder) GetSubscriptionOffer(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

GetSubscriptionOffer indicates an expected call of GetSubscriptionOffer.

type MockIABProduct

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

MockIABProduct is a mock of IABProduct interface.

func NewMockIABProduct

func NewMockIABProduct(ctrl *gomock.Controller) *MockIABProduct

NewMockIABProduct creates a new mock instance.

func (*MockIABProduct) AcknowledgeProduct

func (m *MockIABProduct) AcknowledgeProduct(arg0 context.Context, arg1, arg2, arg3, arg4 string) error

AcknowledgeProduct mocks base method.

func (*MockIABProduct) ConsumeProduct

func (m *MockIABProduct) ConsumeProduct(arg0 context.Context, arg1, arg2, arg3 string) error

ConsumeProduct mocks base method.

func (*MockIABProduct) EXPECT

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

func (*MockIABProduct) GetProduct

func (m *MockIABProduct) GetProduct(arg0 context.Context, arg1, arg2 string) (*androidpublisher.InAppProduct, error)

GetProduct mocks base method.

func (*MockIABProduct) VerifyProduct

func (m *MockIABProduct) VerifyProduct(arg0 context.Context, arg1, arg2, arg3 string) (*androidpublisher.ProductPurchase, error)

VerifyProduct mocks base method.

type MockIABProductMockRecorder

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

MockIABProductMockRecorder is the mock recorder for MockIABProduct.

func (*MockIABProductMockRecorder) AcknowledgeProduct

func (mr *MockIABProductMockRecorder) AcknowledgeProduct(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

AcknowledgeProduct indicates an expected call of AcknowledgeProduct.

func (*MockIABProductMockRecorder) ConsumeProduct

func (mr *MockIABProductMockRecorder) ConsumeProduct(arg0, arg1, arg2, arg3 any) *gomock.Call

ConsumeProduct indicates an expected call of ConsumeProduct.

func (*MockIABProductMockRecorder) GetProduct

func (mr *MockIABProductMockRecorder) GetProduct(arg0, arg1, arg2 any) *gomock.Call

GetProduct indicates an expected call of GetProduct.

func (*MockIABProductMockRecorder) VerifyProduct

func (mr *MockIABProductMockRecorder) VerifyProduct(arg0, arg1, arg2, arg3 any) *gomock.Call

VerifyProduct indicates an expected call of VerifyProduct.

type MockIABSubscription

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

MockIABSubscription is a mock of IABSubscription interface.

func NewMockIABSubscription

func NewMockIABSubscription(ctrl *gomock.Controller) *MockIABSubscription

NewMockIABSubscription creates a new mock instance.

func (*MockIABSubscription) AcknowledgeSubscription

func (m *MockIABSubscription) AcknowledgeSubscription(arg0 context.Context, arg1, arg2, arg3 string, arg4 *androidpublisher.SubscriptionPurchasesAcknowledgeRequest) error

AcknowledgeSubscription mocks base method.

func (*MockIABSubscription) CancelSubscription

func (m *MockIABSubscription) CancelSubscription(arg0 context.Context, arg1, arg2, arg3 string) error

CancelSubscription mocks base method.

func (*MockIABSubscription) DeferSubscription

DeferSubscription mocks base method.

func (*MockIABSubscription) EXPECT

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

func (*MockIABSubscription) RefundSubscription

func (m *MockIABSubscription) RefundSubscription(arg0 context.Context, arg1, arg2, arg3 string) error

RefundSubscription mocks base method.

func (*MockIABSubscription) RevokeSubscription

func (m *MockIABSubscription) RevokeSubscription(arg0 context.Context, arg1, arg2, arg3 string) error

RevokeSubscription mocks base method.

func (*MockIABSubscription) VerifySubscription

func (m *MockIABSubscription) VerifySubscription(arg0 context.Context, arg1, arg2, arg3 string) (*androidpublisher.SubscriptionPurchase, error)

VerifySubscription mocks base method.

type MockIABSubscriptionMockRecorder

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

MockIABSubscriptionMockRecorder is the mock recorder for MockIABSubscription.

func (*MockIABSubscriptionMockRecorder) AcknowledgeSubscription

func (mr *MockIABSubscriptionMockRecorder) AcknowledgeSubscription(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

AcknowledgeSubscription indicates an expected call of AcknowledgeSubscription.

func (*MockIABSubscriptionMockRecorder) CancelSubscription

func (mr *MockIABSubscriptionMockRecorder) CancelSubscription(arg0, arg1, arg2, arg3 any) *gomock.Call

CancelSubscription indicates an expected call of CancelSubscription.

func (*MockIABSubscriptionMockRecorder) DeferSubscription

func (mr *MockIABSubscriptionMockRecorder) DeferSubscription(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

DeferSubscription indicates an expected call of DeferSubscription.

func (*MockIABSubscriptionMockRecorder) RefundSubscription

func (mr *MockIABSubscriptionMockRecorder) RefundSubscription(arg0, arg1, arg2, arg3 any) *gomock.Call

RefundSubscription indicates an expected call of RefundSubscription.

func (*MockIABSubscriptionMockRecorder) RevokeSubscription

func (mr *MockIABSubscriptionMockRecorder) RevokeSubscription(arg0, arg1, arg2, arg3 any) *gomock.Call

RevokeSubscription indicates an expected call of RevokeSubscription.

func (*MockIABSubscriptionMockRecorder) VerifySubscription

func (mr *MockIABSubscriptionMockRecorder) VerifySubscription(arg0, arg1, arg2, arg3 any) *gomock.Call

VerifySubscription indicates an expected call of VerifySubscription.

type MockIABSubscriptionV2

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

MockIABSubscriptionV2 is a mock of IABSubscriptionV2 interface.

func NewMockIABSubscriptionV2

func NewMockIABSubscriptionV2(ctrl *gomock.Controller) *MockIABSubscriptionV2

NewMockIABSubscriptionV2 creates a new mock instance.

func (*MockIABSubscriptionV2) EXPECT

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

func (*MockIABSubscriptionV2) RevokeSubscriptionV2

RevokeSubscriptionV2 mocks base method.

func (*MockIABSubscriptionV2) VerifySubscriptionV2

func (m *MockIABSubscriptionV2) VerifySubscriptionV2(arg0 context.Context, arg1, arg2, arg3 string) (*androidpublisher.SubscriptionPurchaseV2, error)

VerifySubscriptionV2 mocks base method.

type MockIABSubscriptionV2MockRecorder

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

MockIABSubscriptionV2MockRecorder is the mock recorder for MockIABSubscriptionV2.

func (*MockIABSubscriptionV2MockRecorder) RevokeSubscriptionV2

func (mr *MockIABSubscriptionV2MockRecorder) RevokeSubscriptionV2(arg0, arg1, arg2, arg3 any) *gomock.Call

RevokeSubscriptionV2 indicates an expected call of RevokeSubscriptionV2.

func (*MockIABSubscriptionV2MockRecorder) VerifySubscriptionV2

func (mr *MockIABSubscriptionV2MockRecorder) VerifySubscriptionV2(arg0, arg1, arg2, arg3 any) *gomock.Call

VerifySubscriptionV2 indicates an expected call of VerifySubscriptionV2.

Jump to

Keyboard shortcuts

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