Documentation
¶
Index ¶
- type MockStripeBackend
- func (m *MockStripeBackend) Call(method, path, key string, params stripe.ParamsContainer, ...) error
- func (m *MockStripeBackend) CallMultipart(method, path, key, boundary string, body *bytes.Buffer, params *stripe.Params, ...) error
- func (m *MockStripeBackend) CallRaw(method, path, key string, body []byte, params *stripe.Params, ...) error
- func (m *MockStripeBackend) CallStreaming(method, path, key string, params stripe.ParamsContainer, ...) error
- func (m *MockStripeBackend) SetMaxNetworkRetries(maxNetworkRetries int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStripeBackend ¶
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
Click to show internal directories.
Click to hide internal directories.