Versions in this module Expand all Collapse all v0 v0.3.0 Aug 16, 2022 v0.2.0 Jul 28, 2022 Changes in this version + type FakeBillingService struct + ChargeCardStub func(context.Context, *billing.ChargeCardRequest, ...client.CallOption) (*billing.ChargeCardResponse, error) + CreateCheckoutSessionStub func(context.Context, *billing.CreateCheckoutSessionRequest, ...client.CallOption) (*billing.CreateCheckoutSessionResponse, error) + DeleteCardStub func(context.Context, *billing.DeleteCardRequest, ...client.CallOption) (*billing.DeleteCardResponse, error) + GetPaymentStub func(context.Context, *billing.GetPaymentRequest, ...client.CallOption) (*billing.GetPaymentResponse, error) + ListCardsStub func(context.Context, *billing.ListCardsRequest, ...client.CallOption) (*billing.ListCardsResponse, error) + ListPaymentsStub func(context.Context, *billing.ListPaymentsRequest, ...client.CallOption) (*billing.ListPaymentsResponse, error) + ReadAccountStub func(context.Context, *billing.ReadAccountRequest, ...client.CallOption) (*billing.ReadAccountResponse, error) + SetupCardStub func(context.Context, *billing.SetupCardRequest, ...client.CallOption) (*billing.SetupCardResponse, error) + SubscribeTierStub func(context.Context, *billing.SubscribeTierRequest, ...client.CallOption) (*billing.SubscribeTierResponse, error) + func (fake *FakeBillingService) ChargeCard(arg1 context.Context, arg2 *billing.ChargeCardRequest, ...) (*billing.ChargeCardResponse, error) + func (fake *FakeBillingService) ChargeCardArgsForCall(i int) (context.Context, *billing.ChargeCardRequest, []client.CallOption) + func (fake *FakeBillingService) ChargeCardCallCount() int + func (fake *FakeBillingService) ChargeCardCalls(...) + func (fake *FakeBillingService) ChargeCardReturns(result1 *billing.ChargeCardResponse, result2 error) + func (fake *FakeBillingService) ChargeCardReturnsOnCall(i int, result1 *billing.ChargeCardResponse, result2 error) + func (fake *FakeBillingService) CreateCheckoutSession(arg1 context.Context, arg2 *billing.CreateCheckoutSessionRequest, ...) (*billing.CreateCheckoutSessionResponse, error) + func (fake *FakeBillingService) CreateCheckoutSessionArgsForCall(i int) (context.Context, *billing.CreateCheckoutSessionRequest, []client.CallOption) + func (fake *FakeBillingService) CreateCheckoutSessionCallCount() int + func (fake *FakeBillingService) CreateCheckoutSessionCalls(...) + func (fake *FakeBillingService) CreateCheckoutSessionReturns(result1 *billing.CreateCheckoutSessionResponse, result2 error) + func (fake *FakeBillingService) CreateCheckoutSessionReturnsOnCall(i int, result1 *billing.CreateCheckoutSessionResponse, result2 error) + func (fake *FakeBillingService) DeleteCard(arg1 context.Context, arg2 *billing.DeleteCardRequest, ...) (*billing.DeleteCardResponse, error) + func (fake *FakeBillingService) DeleteCardArgsForCall(i int) (context.Context, *billing.DeleteCardRequest, []client.CallOption) + func (fake *FakeBillingService) DeleteCardCallCount() int + func (fake *FakeBillingService) DeleteCardCalls(...) + func (fake *FakeBillingService) DeleteCardReturns(result1 *billing.DeleteCardResponse, result2 error) + func (fake *FakeBillingService) DeleteCardReturnsOnCall(i int, result1 *billing.DeleteCardResponse, result2 error) + func (fake *FakeBillingService) GetPayment(arg1 context.Context, arg2 *billing.GetPaymentRequest, ...) (*billing.GetPaymentResponse, error) + func (fake *FakeBillingService) GetPaymentArgsForCall(i int) (context.Context, *billing.GetPaymentRequest, []client.CallOption) + func (fake *FakeBillingService) GetPaymentCallCount() int + func (fake *FakeBillingService) GetPaymentCalls(...) + func (fake *FakeBillingService) GetPaymentReturns(result1 *billing.GetPaymentResponse, result2 error) + func (fake *FakeBillingService) GetPaymentReturnsOnCall(i int, result1 *billing.GetPaymentResponse, result2 error) + func (fake *FakeBillingService) Invocations() map[string][][]interface{} + func (fake *FakeBillingService) ListCards(arg1 context.Context, arg2 *billing.ListCardsRequest, ...) (*billing.ListCardsResponse, error) + func (fake *FakeBillingService) ListCardsArgsForCall(i int) (context.Context, *billing.ListCardsRequest, []client.CallOption) + func (fake *FakeBillingService) ListCardsCallCount() int + func (fake *FakeBillingService) ListCardsCalls(...) + func (fake *FakeBillingService) ListCardsReturns(result1 *billing.ListCardsResponse, result2 error) + func (fake *FakeBillingService) ListCardsReturnsOnCall(i int, result1 *billing.ListCardsResponse, result2 error) + func (fake *FakeBillingService) ListPayments(arg1 context.Context, arg2 *billing.ListPaymentsRequest, ...) (*billing.ListPaymentsResponse, error) + func (fake *FakeBillingService) ListPaymentsArgsForCall(i int) (context.Context, *billing.ListPaymentsRequest, []client.CallOption) + func (fake *FakeBillingService) ListPaymentsCallCount() int + func (fake *FakeBillingService) ListPaymentsCalls(...) + func (fake *FakeBillingService) ListPaymentsReturns(result1 *billing.ListPaymentsResponse, result2 error) + func (fake *FakeBillingService) ListPaymentsReturnsOnCall(i int, result1 *billing.ListPaymentsResponse, result2 error) + func (fake *FakeBillingService) ReadAccount(arg1 context.Context, arg2 *billing.ReadAccountRequest, ...) (*billing.ReadAccountResponse, error) + func (fake *FakeBillingService) ReadAccountArgsForCall(i int) (context.Context, *billing.ReadAccountRequest, []client.CallOption) + func (fake *FakeBillingService) ReadAccountCallCount() int + func (fake *FakeBillingService) ReadAccountCalls(...) + func (fake *FakeBillingService) ReadAccountReturns(result1 *billing.ReadAccountResponse, result2 error) + func (fake *FakeBillingService) ReadAccountReturnsOnCall(i int, result1 *billing.ReadAccountResponse, result2 error) + func (fake *FakeBillingService) SetupCard(arg1 context.Context, arg2 *billing.SetupCardRequest, ...) (*billing.SetupCardResponse, error) + func (fake *FakeBillingService) SetupCardArgsForCall(i int) (context.Context, *billing.SetupCardRequest, []client.CallOption) + func (fake *FakeBillingService) SetupCardCallCount() int + func (fake *FakeBillingService) SetupCardCalls(...) + func (fake *FakeBillingService) SetupCardReturns(result1 *billing.SetupCardResponse, result2 error) + func (fake *FakeBillingService) SetupCardReturnsOnCall(i int, result1 *billing.SetupCardResponse, result2 error) + func (fake *FakeBillingService) SubscribeTier(arg1 context.Context, arg2 *billing.SubscribeTierRequest, ...) (*billing.SubscribeTierResponse, error) + func (fake *FakeBillingService) SubscribeTierArgsForCall(i int) (context.Context, *billing.SubscribeTierRequest, []client.CallOption) + func (fake *FakeBillingService) SubscribeTierCallCount() int + func (fake *FakeBillingService) SubscribeTierCalls(...) + func (fake *FakeBillingService) SubscribeTierReturns(result1 *billing.SubscribeTierResponse, result2 error) + func (fake *FakeBillingService) SubscribeTierReturnsOnCall(i int, result1 *billing.SubscribeTierResponse, result2 error)