mocks

package
v2.15.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStripeBackend

type MockStripeBackend struct {
	mock.Mock
}

MockStripeBackend mock for Stripe Backend interface

func (*MockStripeBackend) Call

func (m *MockStripeBackend) Call(method, path, key string, params stripe.ParamsContainer, v stripe.LastResponseSetter) error

Call mock for Call method in Stripe Backend interface

func (*MockStripeBackend) CallMultipart

func (m *MockStripeBackend) CallMultipart(method, path, key, boundary string, body *bytes.Buffer, params *stripe.Params, v stripe.LastResponseSetter) error

CallMultipart mock for Call method in Stripe Backend interface

func (*MockStripeBackend) CallRaw

func (m *MockStripeBackend) CallRaw(method, path, key string, body []byte, params *stripe.Params, v stripe.LastResponseSetter) error

CallRaw mock for Call method in Stripe Backend interface v82 introduced breaking changes and modified the behavior of CallRaw https://github.com/stripe/stripe-go/releases/tag/v82.0.0

func (*MockStripeBackend) CallStreaming

func (m *MockStripeBackend) CallStreaming(method, path, key string, params stripe.ParamsContainer, v stripe.StreamingLastResponseSetter) error

CallStreaming mock for Call method in Stripe Backend interface

func (*MockStripeBackend) SetMaxNetworkRetries

func (m *MockStripeBackend) SetMaxNetworkRetries(maxNetworkRetries int64)

CallMultipart mock for Call method in Stripe Backend interface

Jump to

Keyboard shortcuts

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