mocks

package
v0.0.0-...-bb92df6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: OSL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebCartPaymentGateway

type WebCartPaymentGateway struct {
	mock.Mock
}

WebCartPaymentGateway is an autogenerated mock type for the WebCartPaymentGateway type

func (*WebCartPaymentGateway) CancelOrderPayment

func (_m *WebCartPaymentGateway) CancelOrderPayment(ctx context.Context, cartPayment *placeorder.Payment) error

CancelOrderPayment provides a mock function with given fields: ctx, cartPayment

func (*WebCartPaymentGateway) ConfirmResult

func (_m *WebCartPaymentGateway) ConfirmResult(ctx context.Context, _a1 *cart.Cart, cartPayment *placeorder.Payment) error

ConfirmResult provides a mock function with given fields: ctx, _a1, cartPayment

func (*WebCartPaymentGateway) FlowStatus

func (_m *WebCartPaymentGateway) FlowStatus(ctx context.Context, _a1 *cart.Cart, correlationID string) (*domain.FlowStatus, error)

FlowStatus provides a mock function with given fields: ctx, _a1, correlationID

func (*WebCartPaymentGateway) Methods

func (_m *WebCartPaymentGateway) Methods() []domain.Method

Methods provides a mock function with given fields:

func (*WebCartPaymentGateway) OrderPaymentFromFlow

func (_m *WebCartPaymentGateway) OrderPaymentFromFlow(ctx context.Context, _a1 *cart.Cart, correlationID string) (*placeorder.Payment, error)

OrderPaymentFromFlow provides a mock function with given fields: ctx, _a1, correlationID

func (*WebCartPaymentGateway) StartFlow

func (_m *WebCartPaymentGateway) StartFlow(ctx context.Context, _a1 *cart.Cart, correlationID string, returnURL *url.URL) (*domain.FlowResult, error)

StartFlow provides a mock function with given fields: ctx, _a1, correlationID, returnURL

Jump to

Keyboard shortcuts

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