Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockIABMonetization
- func (m *MockIABMonetization) EXPECT() *MockIABMonetizationMockRecorder
- func (m *MockIABMonetization) GetSubscription(ctx context.Context, packageName, productID string) (*androidpublisher.Subscription, error)
- func (m *MockIABMonetization) GetSubscriptionOffer(arg0 context.Context, arg1, arg2, arg3, arg4 string) (*androidpublisher.SubscriptionOffer, error)
- type MockIABMonetizationMockRecorder
- type MockIABProduct
- func (m *MockIABProduct) AcknowledgeProduct(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockIABProduct) ConsumeProduct(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockIABProduct) EXPECT() *MockIABProductMockRecorder
- func (m *MockIABProduct) VerifyProduct(arg0 context.Context, arg1, arg2, arg3 string) (*androidpublisher.ProductPurchase, error)
- type MockIABProductMockRecorder
- type MockIABSubscription
- func (m *MockIABSubscription) AcknowledgeSubscription(arg0 context.Context, arg1, arg2, arg3 string, ...) error
- func (m *MockIABSubscription) CancelSubscription(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockIABSubscription) DeferSubscription(arg0 context.Context, arg1, arg2, arg3 string, ...) (*androidpublisher.SubscriptionPurchasesDeferResponse, error)
- func (m *MockIABSubscription) EXPECT() *MockIABSubscriptionMockRecorder
- func (m *MockIABSubscription) RefundSubscription(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockIABSubscription) RevokeSubscription(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockIABSubscription) VerifySubscription(arg0 context.Context, arg1, arg2, arg3 string) (*androidpublisher.SubscriptionPurchase, error)
- type MockIABSubscriptionMockRecorder
- func (mr *MockIABSubscriptionMockRecorder) AcknowledgeSubscription(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockIABSubscriptionMockRecorder) CancelSubscription(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockIABSubscriptionMockRecorder) DeferSubscription(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockIABSubscriptionMockRecorder) RefundSubscription(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockIABSubscriptionMockRecorder) RevokeSubscription(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockIABSubscriptionMockRecorder) VerifySubscription(arg0, arg1, arg2, arg3 any) *gomock.Call
- type MockIABSubscriptionV2
- func (m *MockIABSubscriptionV2) EXPECT() *MockIABSubscriptionV2MockRecorder
- func (m *MockIABSubscriptionV2) RevokeSubscriptionV2(arg0 context.Context, arg1, arg2 string, ...) (*androidpublisher.RevokeSubscriptionPurchaseResponse, error)
- func (m *MockIABSubscriptionV2) VerifySubscriptionV2(arg0 context.Context, arg1, arg2 string) (*androidpublisher.SubscriptionPurchaseV2, error)
- type MockIABSubscriptionV2MockRecorder
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
func (m *MockIABMonetization) EXPECT() *MockIABMonetizationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIABMonetization) GetSubscription ¶ added in v1.36.0
func (m *MockIABMonetization) GetSubscription(ctx context.Context, packageName, productID string) (*androidpublisher.Subscription, error)
GetSubscription mocks base method.
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) GetSubscription ¶ added in v1.36.0
func (mr *MockIABMonetizationMockRecorder) GetSubscription(ctx, packageName, productID any) *gomock.Call
GetSubscription indicates an expected call of GetSubscription.
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 ¶
func (m *MockIABProduct) EXPECT() *MockIABProductMockRecorder
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
func (m *MockIABSubscription) DeferSubscription(arg0 context.Context, arg1, arg2, arg3 string, arg4 *androidpublisher.SubscriptionPurchasesDeferRequest) (*androidpublisher.SubscriptionPurchasesDeferResponse, error)
DeferSubscription mocks base method.
func (*MockIABSubscription) EXPECT ¶
func (m *MockIABSubscription) EXPECT() *MockIABSubscriptionMockRecorder
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
func (m *MockIABSubscriptionV2) EXPECT() *MockIABSubscriptionV2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIABSubscriptionV2) RevokeSubscriptionV2 ¶ added in v1.26.5
func (m *MockIABSubscriptionV2) RevokeSubscriptionV2(arg0 context.Context, arg1, arg2 string, arg3 *androidpublisher.RevokeSubscriptionPurchaseRequest) (*androidpublisher.RevokeSubscriptionPurchaseResponse, error)
RevokeSubscriptionV2 mocks base method.
func (*MockIABSubscriptionV2) VerifySubscriptionV2 ¶ added in v1.26.5
func (m *MockIABSubscriptionV2) VerifySubscriptionV2(arg0 context.Context, arg1, arg2 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 any) *gomock.Call
VerifySubscriptionV2 indicates an expected call of VerifySubscriptionV2.