Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/awa/go-iap/playstore (interfaces: IABProduct,IABSubscription,IABMonetization)
Generated by this command:
mockgen -destination=mocks/playstore.go -package=mocks github.com/awa/go-iap/playstore IABProduct,IABSubscription,IABMonetization
Package mocks is a generated GoMock package.
Index ¶
- type MockIABMonetization
- 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) 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) 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
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) 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 ¶
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) 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) 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.