mocks

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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

Generated by this command:

mockgen -destination=mocks/playstore.go -package=mocks github.com/awa/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 added in v1.21.5

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

MockIABMonetization is a mock of IABMonetization interface.

func NewMockIABMonetization added in v1.21.5

func NewMockIABMonetization(ctrl *gomock.Controller) *MockIABMonetization

NewMockIABMonetization creates a new mock instance.

func (*MockIABMonetization) EXPECT added in v1.21.5

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

func (*MockIABMonetization) GetSubscriptionOffer added in v1.21.5

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

GetSubscriptionOffer mocks base method.

type MockIABMonetizationMockRecorder added in v1.21.5

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

MockIABMonetizationMockRecorder is the mock recorder for MockIABMonetization.

func (*MockIABMonetizationMockRecorder) GetSubscriptionOffer added in v1.21.5

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 added in v1.6.2

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) 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 added in v1.6.2

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

ConsumeProduct indicates an expected call of ConsumeProduct.

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 added in v1.26.3

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 added in v1.26.3

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 added in v1.26.5

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

MockIABSubscriptionV2 is a mock of IABSubscriptionV2 interface.

func NewMockIABSubscriptionV2 added in v1.26.5

func NewMockIABSubscriptionV2(ctrl *gomock.Controller) *MockIABSubscriptionV2

NewMockIABSubscriptionV2 creates a new mock instance.

func (*MockIABSubscriptionV2) EXPECT added in v1.26.5

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

func (*MockIABSubscriptionV2) RevokeSubscriptionV2 added in v1.26.5

RevokeSubscriptionV2 mocks base method.

func (*MockIABSubscriptionV2) VerifySubscriptionV2 added in v1.26.5

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

VerifySubscriptionV2 mocks base method.

type MockIABSubscriptionV2MockRecorder added in v1.26.5

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

MockIABSubscriptionV2MockRecorder is the mock recorder for MockIABSubscriptionV2.

func (*MockIABSubscriptionV2MockRecorder) RevokeSubscriptionV2 added in v1.26.5

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

RevokeSubscriptionV2 indicates an expected call of RevokeSubscriptionV2.

func (*MockIABSubscriptionV2MockRecorder) VerifySubscriptionV2 added in v1.26.5

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