mocks

package
v3.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CartCache added in v3.8.0

type CartCache struct {
	mock.Mock
}

CartCache is an autogenerated mock type for the CartCache type

func NewCartCache added in v3.8.0

func NewCartCache(t interface {
	mock.TestingT
	Cleanup(func())
}) *CartCache

NewCartCache creates a new instance of CartCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CartCache) BuildIdentifier added in v3.8.0

func (_m *CartCache) BuildIdentifier(_a0 context.Context, _a1 *web.Session) (application.CartCacheIdentifier, error)

BuildIdentifier provides a mock function with given fields: _a0, _a1

func (*CartCache) CacheCart added in v3.8.0

func (_m *CartCache) CacheCart(_a0 context.Context, _a1 *web.Session, _a2 application.CartCacheIdentifier, _a3 *cart.Cart) error

CacheCart provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*CartCache) Delete added in v3.8.0

Delete provides a mock function with given fields: _a0, _a1, _a2

func (*CartCache) DeleteAll added in v3.8.0

func (_m *CartCache) DeleteAll(_a0 context.Context, _a1 *web.Session) error

DeleteAll provides a mock function with given fields: _a0, _a1

func (*CartCache) EXPECT added in v3.8.0

func (_m *CartCache) EXPECT() *CartCache_Expecter

func (*CartCache) GetCart added in v3.8.0

GetCart provides a mock function with given fields: _a0, _a1, _a2

func (*CartCache) Invalidate added in v3.8.0

func (_m *CartCache) Invalidate(_a0 context.Context, _a1 *web.Session, _a2 application.CartCacheIdentifier) error

Invalidate provides a mock function with given fields: _a0, _a1, _a2

type CartCache_BuildIdentifier_Call added in v3.8.0

type CartCache_BuildIdentifier_Call struct {
	*mock.Call
}

CartCache_BuildIdentifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildIdentifier'

func (*CartCache_BuildIdentifier_Call) Return added in v3.8.0

func (*CartCache_BuildIdentifier_Call) Run added in v3.8.0

func (*CartCache_BuildIdentifier_Call) RunAndReturn added in v3.8.0

type CartCache_CacheCart_Call added in v3.8.0

type CartCache_CacheCart_Call struct {
	*mock.Call
}

CartCache_CacheCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheCart'

func (*CartCache_CacheCart_Call) Return added in v3.8.0

func (*CartCache_CacheCart_Call) Run added in v3.8.0

func (*CartCache_CacheCart_Call) RunAndReturn added in v3.8.0

type CartCache_DeleteAll_Call added in v3.8.0

type CartCache_DeleteAll_Call struct {
	*mock.Call
}

CartCache_DeleteAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAll'

func (*CartCache_DeleteAll_Call) Return added in v3.8.0

func (*CartCache_DeleteAll_Call) Run added in v3.8.0

func (*CartCache_DeleteAll_Call) RunAndReturn added in v3.8.0

type CartCache_Delete_Call added in v3.8.0

type CartCache_Delete_Call struct {
	*mock.Call
}

CartCache_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*CartCache_Delete_Call) Return added in v3.8.0

func (*CartCache_Delete_Call) Run added in v3.8.0

func (*CartCache_Delete_Call) RunAndReturn added in v3.8.0

type CartCache_Expecter added in v3.8.0

type CartCache_Expecter struct {
	// contains filtered or unexported fields
}

func (*CartCache_Expecter) BuildIdentifier added in v3.8.0

func (_e *CartCache_Expecter) BuildIdentifier(_a0 interface{}, _a1 interface{}) *CartCache_BuildIdentifier_Call

BuildIdentifier is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *web.Session

func (*CartCache_Expecter) CacheCart added in v3.8.0

func (_e *CartCache_Expecter) CacheCart(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}) *CartCache_CacheCart_Call

CacheCart is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *web.Session
  • _a2 application.CartCacheIdentifier
  • _a3 *cart.Cart

func (*CartCache_Expecter) Delete added in v3.8.0

func (_e *CartCache_Expecter) Delete(_a0 interface{}, _a1 interface{}, _a2 interface{}) *CartCache_Delete_Call

Delete is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *web.Session
  • _a2 application.CartCacheIdentifier

func (*CartCache_Expecter) DeleteAll added in v3.8.0

func (_e *CartCache_Expecter) DeleteAll(_a0 interface{}, _a1 interface{}) *CartCache_DeleteAll_Call

DeleteAll is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *web.Session

func (*CartCache_Expecter) GetCart added in v3.8.0

func (_e *CartCache_Expecter) GetCart(_a0 interface{}, _a1 interface{}, _a2 interface{}) *CartCache_GetCart_Call

GetCart is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *web.Session
  • _a2 application.CartCacheIdentifier

func (*CartCache_Expecter) Invalidate added in v3.8.0

func (_e *CartCache_Expecter) Invalidate(_a0 interface{}, _a1 interface{}, _a2 interface{}) *CartCache_Invalidate_Call

Invalidate is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *web.Session
  • _a2 application.CartCacheIdentifier

type CartCache_GetCart_Call added in v3.8.0

type CartCache_GetCart_Call struct {
	*mock.Call
}

CartCache_GetCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCart'

func (*CartCache_GetCart_Call) Return added in v3.8.0

func (*CartCache_GetCart_Call) Run added in v3.8.0

func (*CartCache_GetCart_Call) RunAndReturn added in v3.8.0

type CartCache_Invalidate_Call added in v3.8.0

type CartCache_Invalidate_Call struct {
	*mock.Call
}

CartCache_Invalidate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Invalidate'

func (*CartCache_Invalidate_Call) Return added in v3.8.0

func (*CartCache_Invalidate_Call) Run added in v3.8.0

func (*CartCache_Invalidate_Call) RunAndReturn added in v3.8.0

type CartMerger added in v3.8.0

type CartMerger struct {
	mock.Mock
}

CartMerger is an autogenerated mock type for the CartMerger type

func NewCartMerger added in v3.8.0

func NewCartMerger(t interface {
	mock.TestingT
	Cleanup(func())
}) *CartMerger

NewCartMerger creates a new instance of CartMerger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CartMerger) EXPECT added in v3.8.0

func (_m *CartMerger) EXPECT() *CartMerger_Expecter

func (*CartMerger) Merge added in v3.8.0

func (_m *CartMerger) Merge(ctx context.Context, session *web.Session, guestCart cart.Cart, customerCart cart.Cart)

Merge provides a mock function with given fields: ctx, session, guestCart, customerCart

type CartMerger_Expecter added in v3.8.0

type CartMerger_Expecter struct {
	// contains filtered or unexported fields
}

func (*CartMerger_Expecter) Merge added in v3.8.0

func (_e *CartMerger_Expecter) Merge(ctx interface{}, session interface{}, guestCart interface{}, customerCart interface{}) *CartMerger_Merge_Call

Merge is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • guestCart cart.Cart
  • customerCart cart.Cart

type CartMerger_Merge_Call added in v3.8.0

type CartMerger_Merge_Call struct {
	*mock.Call
}

CartMerger_Merge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Merge'

func (*CartMerger_Merge_Call) Return added in v3.8.0

func (*CartMerger_Merge_Call) Run added in v3.8.0

func (_c *CartMerger_Merge_Call) Run(run func(ctx context.Context, session *web.Session, guestCart cart.Cart, customerCart cart.Cart)) *CartMerger_Merge_Call

func (*CartMerger_Merge_Call) RunAndReturn added in v3.8.0

type CartReceiver added in v3.6.0

type CartReceiver struct {
	mock.Mock
}

CartReceiver is an autogenerated mock type for the Receiver type

func NewCartReceiver added in v3.6.0

func NewCartReceiver(t interface {
	mock.TestingT
	Cleanup(func())
}) *CartReceiver

NewCartReceiver creates a new instance of CartReceiver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CartReceiver) EXPECT added in v3.7.0

func (_m *CartReceiver) EXPECT() *CartReceiver_Expecter

func (*CartReceiver) GetCart added in v3.6.0

func (_m *CartReceiver) GetCart(ctx context.Context, session *web.Session) (*cart.Cart, cart.ModifyBehaviour, error)

GetCart provides a mock function with given fields: ctx, session

func (*CartReceiver) GetCartWithoutCache added in v3.6.0

func (_m *CartReceiver) GetCartWithoutCache(ctx context.Context, session *web.Session) (*cart.Cart, error)

GetCartWithoutCache provides a mock function with given fields: ctx, session

func (*CartReceiver) ModifyBehaviour added in v3.6.0

func (_m *CartReceiver) ModifyBehaviour(ctx context.Context) (cart.ModifyBehaviour, error)

ModifyBehaviour provides a mock function with given fields: ctx

func (*CartReceiver) ShouldHaveCart added in v3.6.0

func (_m *CartReceiver) ShouldHaveCart(ctx context.Context, session *web.Session) bool

ShouldHaveCart provides a mock function with given fields: ctx, session

func (*CartReceiver) ShouldHaveGuestCart added in v3.6.0

func (_m *CartReceiver) ShouldHaveGuestCart(session *web.Session) bool

ShouldHaveGuestCart provides a mock function with given fields: session

func (*CartReceiver) ViewCart added in v3.6.0

func (_m *CartReceiver) ViewCart(ctx context.Context, session *web.Session) (*cart.Cart, error)

ViewCart provides a mock function with given fields: ctx, session

func (*CartReceiver) ViewGuestCart added in v3.6.0

func (_m *CartReceiver) ViewGuestCart(ctx context.Context, session *web.Session) (*cart.Cart, error)

ViewGuestCart provides a mock function with given fields: ctx, session

type CartReceiver_Expecter added in v3.7.0

type CartReceiver_Expecter struct {
	// contains filtered or unexported fields
}

func (*CartReceiver_Expecter) GetCart added in v3.7.0

func (_e *CartReceiver_Expecter) GetCart(ctx interface{}, session interface{}) *CartReceiver_GetCart_Call

GetCart is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartReceiver_Expecter) GetCartWithoutCache added in v3.7.0

func (_e *CartReceiver_Expecter) GetCartWithoutCache(ctx interface{}, session interface{}) *CartReceiver_GetCartWithoutCache_Call

GetCartWithoutCache is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartReceiver_Expecter) ModifyBehaviour added in v3.7.0

func (_e *CartReceiver_Expecter) ModifyBehaviour(ctx interface{}) *CartReceiver_ModifyBehaviour_Call

ModifyBehaviour is a helper method to define mock.On call

  • ctx context.Context

func (*CartReceiver_Expecter) ShouldHaveCart added in v3.7.0

func (_e *CartReceiver_Expecter) ShouldHaveCart(ctx interface{}, session interface{}) *CartReceiver_ShouldHaveCart_Call

ShouldHaveCart is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartReceiver_Expecter) ShouldHaveGuestCart added in v3.7.0

func (_e *CartReceiver_Expecter) ShouldHaveGuestCart(session interface{}) *CartReceiver_ShouldHaveGuestCart_Call

ShouldHaveGuestCart is a helper method to define mock.On call

  • session *web.Session

func (*CartReceiver_Expecter) ViewCart added in v3.7.0

func (_e *CartReceiver_Expecter) ViewCart(ctx interface{}, session interface{}) *CartReceiver_ViewCart_Call

ViewCart is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartReceiver_Expecter) ViewGuestCart added in v3.7.0

func (_e *CartReceiver_Expecter) ViewGuestCart(ctx interface{}, session interface{}) *CartReceiver_ViewGuestCart_Call

ViewGuestCart is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

type CartReceiver_GetCartWithoutCache_Call added in v3.7.0

type CartReceiver_GetCartWithoutCache_Call struct {
	*mock.Call
}

CartReceiver_GetCartWithoutCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCartWithoutCache'

func (*CartReceiver_GetCartWithoutCache_Call) Return added in v3.7.0

func (*CartReceiver_GetCartWithoutCache_Call) Run added in v3.7.0

func (*CartReceiver_GetCartWithoutCache_Call) RunAndReturn added in v3.7.0

type CartReceiver_GetCart_Call added in v3.7.0

type CartReceiver_GetCart_Call struct {
	*mock.Call
}

CartReceiver_GetCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCart'

func (*CartReceiver_GetCart_Call) Return added in v3.7.0

func (*CartReceiver_GetCart_Call) Run added in v3.7.0

func (*CartReceiver_GetCart_Call) RunAndReturn added in v3.7.0

type CartReceiver_ModifyBehaviour_Call added in v3.7.0

type CartReceiver_ModifyBehaviour_Call struct {
	*mock.Call
}

CartReceiver_ModifyBehaviour_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ModifyBehaviour'

func (*CartReceiver_ModifyBehaviour_Call) Return added in v3.7.0

func (*CartReceiver_ModifyBehaviour_Call) Run added in v3.7.0

func (*CartReceiver_ModifyBehaviour_Call) RunAndReturn added in v3.7.0

type CartReceiver_ShouldHaveCart_Call added in v3.7.0

type CartReceiver_ShouldHaveCart_Call struct {
	*mock.Call
}

CartReceiver_ShouldHaveCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShouldHaveCart'

func (*CartReceiver_ShouldHaveCart_Call) Return added in v3.7.0

func (*CartReceiver_ShouldHaveCart_Call) Run added in v3.7.0

func (*CartReceiver_ShouldHaveCart_Call) RunAndReturn added in v3.7.0

type CartReceiver_ShouldHaveGuestCart_Call added in v3.7.0

type CartReceiver_ShouldHaveGuestCart_Call struct {
	*mock.Call
}

CartReceiver_ShouldHaveGuestCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShouldHaveGuestCart'

func (*CartReceiver_ShouldHaveGuestCart_Call) Return added in v3.7.0

func (*CartReceiver_ShouldHaveGuestCart_Call) Run added in v3.7.0

func (*CartReceiver_ShouldHaveGuestCart_Call) RunAndReturn added in v3.7.0

type CartReceiver_ViewCart_Call added in v3.7.0

type CartReceiver_ViewCart_Call struct {
	*mock.Call
}

CartReceiver_ViewCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ViewCart'

func (*CartReceiver_ViewCart_Call) Return added in v3.7.0

func (*CartReceiver_ViewCart_Call) Run added in v3.7.0

func (*CartReceiver_ViewCart_Call) RunAndReturn added in v3.7.0

type CartReceiver_ViewGuestCart_Call added in v3.7.0

type CartReceiver_ViewGuestCart_Call struct {
	*mock.Call
}

CartReceiver_ViewGuestCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ViewGuestCart'

func (*CartReceiver_ViewGuestCart_Call) Return added in v3.7.0

func (*CartReceiver_ViewGuestCart_Call) Run added in v3.7.0

func (*CartReceiver_ViewGuestCart_Call) RunAndReturn added in v3.7.0

type CartService

type CartService struct {
	mock.Mock
}

CartService is an autogenerated mock type for the Service type

func NewCartService added in v3.6.0

func NewCartService(t interface {
	mock.TestingT
	Cleanup(func())
}) *CartService

NewCartService creates a new instance of CartService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CartService) AddProduct

func (_m *CartService) AddProduct(ctx context.Context, session *web.Session, deliveryCode string, addRequest cart.AddRequest) (domain.BasicProduct, error)

AddProduct provides a mock function with given fields: ctx, session, deliveryCode, addRequest

func (*CartService) AdjustItemsToRestrictedQty

func (_m *CartService) AdjustItemsToRestrictedQty(ctx context.Context, session *web.Session) (application.QtyAdjustmentResults, error)

AdjustItemsToRestrictedQty provides a mock function with given fields: ctx, session

func (*CartService) ApplyAny

func (_m *CartService) ApplyAny(ctx context.Context, session *web.Session, anyCode string) (*cart.Cart, error)

ApplyAny provides a mock function with given fields: ctx, session, anyCode

func (*CartService) ApplyGiftCard

func (_m *CartService) ApplyGiftCard(ctx context.Context, session *web.Session, couponCode string) (*cart.Cart, error)

ApplyGiftCard provides a mock function with given fields: ctx, session, couponCode

func (*CartService) ApplyVoucher

func (_m *CartService) ApplyVoucher(ctx context.Context, session *web.Session, couponCode string) (*cart.Cart, error)

ApplyVoucher provides a mock function with given fields: ctx, session, couponCode

func (*CartService) BuildAddRequest

func (_m *CartService) BuildAddRequest(ctx context.Context, marketplaceCode string, variantMarketplaceCode string, qty int, additionalData map[string]string) cart.AddRequest

BuildAddRequest provides a mock function with given fields: ctx, marketplaceCode, variantMarketplaceCode, qty, additionalData

func (*CartService) CancelOrder

func (_m *CartService) CancelOrder(ctx context.Context, session *web.Session, orderInfos placeorder.PlacedOrderInfos, _a3 cart.Cart) (*cart.Cart, error)

CancelOrder provides a mock function with given fields: ctx, session, orderInfos, _a3

func (*CartService) CancelOrderWithoutRestore

func (_m *CartService) CancelOrderWithoutRestore(ctx context.Context, session *web.Session, orderInfos placeorder.PlacedOrderInfos) error

CancelOrderWithoutRestore provides a mock function with given fields: ctx, session, orderInfos

func (*CartService) Clean

func (_m *CartService) Clean(ctx context.Context, session *web.Session) error

Clean provides a mock function with given fields: ctx, session

func (*CartService) CompleteCurrentCart

func (_m *CartService) CompleteCurrentCart(ctx context.Context) (*cart.Cart, error)

CompleteCurrentCart provides a mock function with given fields: ctx

func (*CartService) CreateInitialDeliveryIfNotPresent

func (_m *CartService) CreateInitialDeliveryIfNotPresent(ctx context.Context, session *web.Session, deliveryCode string) (*cart.Cart, error)

CreateInitialDeliveryIfNotPresent provides a mock function with given fields: ctx, session, deliveryCode

func (*CartService) DeleteAllItems

func (_m *CartService) DeleteAllItems(ctx context.Context, session *web.Session) error

DeleteAllItems provides a mock function with given fields: ctx, session

func (*CartService) DeleteCartInCache

func (_m *CartService) DeleteCartInCache(ctx context.Context, session *web.Session, _a2 *cart.Cart)

DeleteCartInCache provides a mock function with given fields: ctx, session, _a2

func (*CartService) DeleteDelivery

func (_m *CartService) DeleteDelivery(ctx context.Context, session *web.Session, deliveryCode string) (*cart.Cart, error)

DeleteDelivery provides a mock function with given fields: ctx, session, deliveryCode

func (*CartService) DeleteItem

func (_m *CartService) DeleteItem(ctx context.Context, session *web.Session, itemID string, deliveryCode string) error

DeleteItem provides a mock function with given fields: ctx, session, itemID, deliveryCode

func (*CartService) EXPECT added in v3.7.0

func (_m *CartService) EXPECT() *CartService_Expecter

func (*CartService) ForceReserveOrderIDAndSave

func (_m *CartService) ForceReserveOrderIDAndSave(ctx context.Context, session *web.Session) (*cart.Cart, error)

ForceReserveOrderIDAndSave provides a mock function with given fields: ctx, session

func (*CartService) GetCartReceiverService

func (_m *CartService) GetCartReceiverService() *application.CartReceiverService

GetCartReceiverService provides a mock function with given fields:

func (*CartService) GetDefaultDeliveryCode

func (_m *CartService) GetDefaultDeliveryCode() string

GetDefaultDeliveryCode provides a mock function with given fields:

func (*CartService) GetInitialDelivery

func (_m *CartService) GetInitialDelivery(deliveryCode string) (*cart.DeliveryInfo, error)

GetInitialDelivery provides a mock function with given fields: deliveryCode

func (*CartService) PlaceOrder

func (_m *CartService) PlaceOrder(ctx context.Context, session *web.Session, payment *placeorder.Payment) (placeorder.PlacedOrderInfos, error)

PlaceOrder provides a mock function with given fields: ctx, session, payment

func (*CartService) PlaceOrderWithCart

func (_m *CartService) PlaceOrderWithCart(ctx context.Context, session *web.Session, _a2 *cart.Cart, payment *placeorder.Payment) (placeorder.PlacedOrderInfos, error)

PlaceOrderWithCart provides a mock function with given fields: ctx, session, _a2, payment

func (*CartService) RemoveGiftCard

func (_m *CartService) RemoveGiftCard(ctx context.Context, session *web.Session, couponCode string) (*cart.Cart, error)

RemoveGiftCard provides a mock function with given fields: ctx, session, couponCode

func (*CartService) RemoveVoucher

func (_m *CartService) RemoveVoucher(ctx context.Context, session *web.Session, couponCode string) (*cart.Cart, error)

RemoveVoucher provides a mock function with given fields: ctx, session, couponCode

func (*CartService) ReserveOrderIDAndSave

func (_m *CartService) ReserveOrderIDAndSave(ctx context.Context, session *web.Session) (*cart.Cart, error)

ReserveOrderIDAndSave provides a mock function with given fields: ctx, session

func (*CartService) RestoreCart

func (_m *CartService) RestoreCart(ctx context.Context, _a1 *cart.Cart) (*cart.Cart, error)

RestoreCart provides a mock function with given fields: ctx, _a1

func (*CartService) UpdateAdditionalData

func (_m *CartService) UpdateAdditionalData(ctx context.Context, session *web.Session, additionalData map[string]string) (*cart.Cart, error)

UpdateAdditionalData provides a mock function with given fields: ctx, session, additionalData

func (*CartService) UpdateBillingAddress

func (_m *CartService) UpdateBillingAddress(ctx context.Context, session *web.Session, billingAddress *cart.Address) error

UpdateBillingAddress provides a mock function with given fields: ctx, session, billingAddress

func (*CartService) UpdateDeliveryAdditionalData

func (_m *CartService) UpdateDeliveryAdditionalData(ctx context.Context, session *web.Session, deliveryCode string, additionalData map[string]string) (*cart.Cart, error)

UpdateDeliveryAdditionalData provides a mock function with given fields: ctx, session, deliveryCode, additionalData

func (*CartService) UpdateDeliveryInfo

func (_m *CartService) UpdateDeliveryInfo(ctx context.Context, session *web.Session, deliveryCode string, deliveryInfo cart.DeliveryInfoUpdateCommand) error

UpdateDeliveryInfo provides a mock function with given fields: ctx, session, deliveryCode, deliveryInfo

func (*CartService) UpdateItemBundleConfig added in v3.9.0

func (_m *CartService) UpdateItemBundleConfig(ctx context.Context, session *web.Session, updateCommand cart.ItemUpdateCommand) error

UpdateItemBundleConfig provides a mock function with given fields: ctx, session, updateCommand

func (*CartService) UpdateItemQty

func (_m *CartService) UpdateItemQty(ctx context.Context, session *web.Session, itemID string, deliveryCode string, qty int) error

UpdateItemQty provides a mock function with given fields: ctx, session, itemID, deliveryCode, qty

func (*CartService) UpdateItemSourceID

func (_m *CartService) UpdateItemSourceID(ctx context.Context, session *web.Session, itemID string, sourceID string) error

UpdateItemSourceID provides a mock function with given fields: ctx, session, itemID, sourceID

func (*CartService) UpdateItems

func (_m *CartService) UpdateItems(ctx context.Context, session *web.Session, updateCommands []cart.ItemUpdateCommand) error

UpdateItems provides a mock function with given fields: ctx, session, updateCommands

func (*CartService) UpdatePaymentSelection

func (_m *CartService) UpdatePaymentSelection(ctx context.Context, session *web.Session, paymentSelection cart.PaymentSelection) error

UpdatePaymentSelection provides a mock function with given fields: ctx, session, paymentSelection

func (*CartService) UpdatePurchaser

func (_m *CartService) UpdatePurchaser(ctx context.Context, session *web.Session, purchaser *cart.Person, additionalData *cart.AdditionalData) error

UpdatePurchaser provides a mock function with given fields: ctx, session, purchaser, additionalData

func (*CartService) ValidateCart

func (_m *CartService) ValidateCart(ctx context.Context, session *web.Session, decoratedCart *decorator.DecoratedCart) validation.Result

ValidateCart provides a mock function with given fields: ctx, session, decoratedCart

func (*CartService) ValidateCurrentCart

func (_m *CartService) ValidateCurrentCart(ctx context.Context, session *web.Session) (validation.Result, error)

ValidateCurrentCart provides a mock function with given fields: ctx, session

type CartService_AddProduct_Call added in v3.7.0

type CartService_AddProduct_Call struct {
	*mock.Call
}

CartService_AddProduct_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddProduct'

func (*CartService_AddProduct_Call) Return added in v3.7.0

func (*CartService_AddProduct_Call) Run added in v3.7.0

func (_c *CartService_AddProduct_Call) Run(run func(ctx context.Context, session *web.Session, deliveryCode string, addRequest cart.AddRequest)) *CartService_AddProduct_Call

func (*CartService_AddProduct_Call) RunAndReturn added in v3.7.0

type CartService_AdjustItemsToRestrictedQty_Call added in v3.7.0

type CartService_AdjustItemsToRestrictedQty_Call struct {
	*mock.Call
}

CartService_AdjustItemsToRestrictedQty_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdjustItemsToRestrictedQty'

func (*CartService_AdjustItemsToRestrictedQty_Call) Return added in v3.7.0

func (*CartService_AdjustItemsToRestrictedQty_Call) Run added in v3.7.0

func (*CartService_AdjustItemsToRestrictedQty_Call) RunAndReturn added in v3.7.0

type CartService_ApplyAny_Call added in v3.7.0

type CartService_ApplyAny_Call struct {
	*mock.Call
}

CartService_ApplyAny_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyAny'

func (*CartService_ApplyAny_Call) Return added in v3.7.0

func (*CartService_ApplyAny_Call) Run added in v3.7.0

func (_c *CartService_ApplyAny_Call) Run(run func(ctx context.Context, session *web.Session, anyCode string)) *CartService_ApplyAny_Call

func (*CartService_ApplyAny_Call) RunAndReturn added in v3.7.0

type CartService_ApplyGiftCard_Call added in v3.7.0

type CartService_ApplyGiftCard_Call struct {
	*mock.Call
}

CartService_ApplyGiftCard_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyGiftCard'

func (*CartService_ApplyGiftCard_Call) Return added in v3.7.0

func (*CartService_ApplyGiftCard_Call) Run added in v3.7.0

func (_c *CartService_ApplyGiftCard_Call) Run(run func(ctx context.Context, session *web.Session, couponCode string)) *CartService_ApplyGiftCard_Call

func (*CartService_ApplyGiftCard_Call) RunAndReturn added in v3.7.0

type CartService_ApplyVoucher_Call added in v3.7.0

type CartService_ApplyVoucher_Call struct {
	*mock.Call
}

CartService_ApplyVoucher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyVoucher'

func (*CartService_ApplyVoucher_Call) Return added in v3.7.0

func (*CartService_ApplyVoucher_Call) Run added in v3.7.0

func (_c *CartService_ApplyVoucher_Call) Run(run func(ctx context.Context, session *web.Session, couponCode string)) *CartService_ApplyVoucher_Call

func (*CartService_ApplyVoucher_Call) RunAndReturn added in v3.7.0

type CartService_BuildAddRequest_Call added in v3.7.0

type CartService_BuildAddRequest_Call struct {
	*mock.Call
}

CartService_BuildAddRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildAddRequest'

func (*CartService_BuildAddRequest_Call) Return added in v3.7.0

func (*CartService_BuildAddRequest_Call) Run added in v3.7.0

func (_c *CartService_BuildAddRequest_Call) Run(run func(ctx context.Context, marketplaceCode string, variantMarketplaceCode string, qty int, additionalData map[string]string)) *CartService_BuildAddRequest_Call

func (*CartService_BuildAddRequest_Call) RunAndReturn added in v3.7.0

type CartService_CancelOrderWithoutRestore_Call added in v3.7.0

type CartService_CancelOrderWithoutRestore_Call struct {
	*mock.Call
}

CartService_CancelOrderWithoutRestore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelOrderWithoutRestore'

func (*CartService_CancelOrderWithoutRestore_Call) Return added in v3.7.0

func (*CartService_CancelOrderWithoutRestore_Call) Run added in v3.7.0

func (*CartService_CancelOrderWithoutRestore_Call) RunAndReturn added in v3.7.0

type CartService_CancelOrder_Call added in v3.7.0

type CartService_CancelOrder_Call struct {
	*mock.Call
}

CartService_CancelOrder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelOrder'

func (*CartService_CancelOrder_Call) Return added in v3.7.0

func (*CartService_CancelOrder_Call) Run added in v3.7.0

func (*CartService_CancelOrder_Call) RunAndReturn added in v3.7.0

type CartService_Clean_Call added in v3.7.0

type CartService_Clean_Call struct {
	*mock.Call
}

CartService_Clean_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clean'

func (*CartService_Clean_Call) Return added in v3.7.0

func (*CartService_Clean_Call) Run added in v3.7.0

func (_c *CartService_Clean_Call) Run(run func(ctx context.Context, session *web.Session)) *CartService_Clean_Call

func (*CartService_Clean_Call) RunAndReturn added in v3.7.0

type CartService_CompleteCurrentCart_Call added in v3.7.0

type CartService_CompleteCurrentCart_Call struct {
	*mock.Call
}

CartService_CompleteCurrentCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompleteCurrentCart'

func (*CartService_CompleteCurrentCart_Call) Return added in v3.7.0

func (*CartService_CompleteCurrentCart_Call) Run added in v3.7.0

func (*CartService_CompleteCurrentCart_Call) RunAndReturn added in v3.7.0

type CartService_CreateInitialDeliveryIfNotPresent_Call added in v3.7.0

type CartService_CreateInitialDeliveryIfNotPresent_Call struct {
	*mock.Call
}

CartService_CreateInitialDeliveryIfNotPresent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateInitialDeliveryIfNotPresent'

func (*CartService_CreateInitialDeliveryIfNotPresent_Call) Return added in v3.7.0

func (*CartService_CreateInitialDeliveryIfNotPresent_Call) Run added in v3.7.0

func (*CartService_CreateInitialDeliveryIfNotPresent_Call) RunAndReturn added in v3.7.0

type CartService_DeleteAllItems_Call added in v3.7.0

type CartService_DeleteAllItems_Call struct {
	*mock.Call
}

CartService_DeleteAllItems_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllItems'

func (*CartService_DeleteAllItems_Call) Return added in v3.7.0

func (*CartService_DeleteAllItems_Call) Run added in v3.7.0

func (*CartService_DeleteAllItems_Call) RunAndReturn added in v3.7.0

type CartService_DeleteCartInCache_Call added in v3.7.0

type CartService_DeleteCartInCache_Call struct {
	*mock.Call
}

CartService_DeleteCartInCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCartInCache'

func (*CartService_DeleteCartInCache_Call) Return added in v3.7.0

func (*CartService_DeleteCartInCache_Call) Run added in v3.7.0

func (*CartService_DeleteCartInCache_Call) RunAndReturn added in v3.7.0

type CartService_DeleteDelivery_Call added in v3.7.0

type CartService_DeleteDelivery_Call struct {
	*mock.Call
}

CartService_DeleteDelivery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDelivery'

func (*CartService_DeleteDelivery_Call) Return added in v3.7.0

func (*CartService_DeleteDelivery_Call) Run added in v3.7.0

func (_c *CartService_DeleteDelivery_Call) Run(run func(ctx context.Context, session *web.Session, deliveryCode string)) *CartService_DeleteDelivery_Call

func (*CartService_DeleteDelivery_Call) RunAndReturn added in v3.7.0

type CartService_DeleteItem_Call added in v3.7.0

type CartService_DeleteItem_Call struct {
	*mock.Call
}

CartService_DeleteItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteItem'

func (*CartService_DeleteItem_Call) Return added in v3.7.0

func (*CartService_DeleteItem_Call) Run added in v3.7.0

func (_c *CartService_DeleteItem_Call) Run(run func(ctx context.Context, session *web.Session, itemID string, deliveryCode string)) *CartService_DeleteItem_Call

func (*CartService_DeleteItem_Call) RunAndReturn added in v3.7.0

type CartService_Expecter added in v3.7.0

type CartService_Expecter struct {
	// contains filtered or unexported fields
}

func (*CartService_Expecter) AddProduct added in v3.7.0

func (_e *CartService_Expecter) AddProduct(ctx interface{}, session interface{}, deliveryCode interface{}, addRequest interface{}) *CartService_AddProduct_Call

AddProduct is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • deliveryCode string
  • addRequest cart.AddRequest

func (*CartService_Expecter) AdjustItemsToRestrictedQty added in v3.7.0

func (_e *CartService_Expecter) AdjustItemsToRestrictedQty(ctx interface{}, session interface{}) *CartService_AdjustItemsToRestrictedQty_Call

AdjustItemsToRestrictedQty is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartService_Expecter) ApplyAny added in v3.7.0

func (_e *CartService_Expecter) ApplyAny(ctx interface{}, session interface{}, anyCode interface{}) *CartService_ApplyAny_Call

ApplyAny is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • anyCode string

func (*CartService_Expecter) ApplyGiftCard added in v3.7.0

func (_e *CartService_Expecter) ApplyGiftCard(ctx interface{}, session interface{}, couponCode interface{}) *CartService_ApplyGiftCard_Call

ApplyGiftCard is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • couponCode string

func (*CartService_Expecter) ApplyVoucher added in v3.7.0

func (_e *CartService_Expecter) ApplyVoucher(ctx interface{}, session interface{}, couponCode interface{}) *CartService_ApplyVoucher_Call

ApplyVoucher is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • couponCode string

func (*CartService_Expecter) BuildAddRequest added in v3.7.0

func (_e *CartService_Expecter) BuildAddRequest(ctx interface{}, marketplaceCode interface{}, variantMarketplaceCode interface{}, qty interface{}, additionalData interface{}) *CartService_BuildAddRequest_Call

BuildAddRequest is a helper method to define mock.On call

  • ctx context.Context
  • marketplaceCode string
  • variantMarketplaceCode string
  • qty int
  • additionalData map[string]string

func (*CartService_Expecter) CancelOrder added in v3.7.0

func (_e *CartService_Expecter) CancelOrder(ctx interface{}, session interface{}, orderInfos interface{}, _a3 interface{}) *CartService_CancelOrder_Call

CancelOrder is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • orderInfos placeorder.PlacedOrderInfos
  • _a3 cart.Cart

func (*CartService_Expecter) CancelOrderWithoutRestore added in v3.7.0

func (_e *CartService_Expecter) CancelOrderWithoutRestore(ctx interface{}, session interface{}, orderInfos interface{}) *CartService_CancelOrderWithoutRestore_Call

CancelOrderWithoutRestore is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • orderInfos placeorder.PlacedOrderInfos

func (*CartService_Expecter) Clean added in v3.7.0

func (_e *CartService_Expecter) Clean(ctx interface{}, session interface{}) *CartService_Clean_Call

Clean is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartService_Expecter) CompleteCurrentCart added in v3.7.0

func (_e *CartService_Expecter) CompleteCurrentCart(ctx interface{}) *CartService_CompleteCurrentCart_Call

CompleteCurrentCart is a helper method to define mock.On call

  • ctx context.Context

func (*CartService_Expecter) CreateInitialDeliveryIfNotPresent added in v3.7.0

func (_e *CartService_Expecter) CreateInitialDeliveryIfNotPresent(ctx interface{}, session interface{}, deliveryCode interface{}) *CartService_CreateInitialDeliveryIfNotPresent_Call

CreateInitialDeliveryIfNotPresent is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • deliveryCode string

func (*CartService_Expecter) DeleteAllItems added in v3.7.0

func (_e *CartService_Expecter) DeleteAllItems(ctx interface{}, session interface{}) *CartService_DeleteAllItems_Call

DeleteAllItems is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartService_Expecter) DeleteCartInCache added in v3.7.0

func (_e *CartService_Expecter) DeleteCartInCache(ctx interface{}, session interface{}, _a2 interface{}) *CartService_DeleteCartInCache_Call

DeleteCartInCache is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • _a2 *cart.Cart

func (*CartService_Expecter) DeleteDelivery added in v3.7.0

func (_e *CartService_Expecter) DeleteDelivery(ctx interface{}, session interface{}, deliveryCode interface{}) *CartService_DeleteDelivery_Call

DeleteDelivery is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • deliveryCode string

func (*CartService_Expecter) DeleteItem added in v3.7.0

func (_e *CartService_Expecter) DeleteItem(ctx interface{}, session interface{}, itemID interface{}, deliveryCode interface{}) *CartService_DeleteItem_Call

DeleteItem is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • itemID string
  • deliveryCode string

func (*CartService_Expecter) ForceReserveOrderIDAndSave added in v3.7.0

func (_e *CartService_Expecter) ForceReserveOrderIDAndSave(ctx interface{}, session interface{}) *CartService_ForceReserveOrderIDAndSave_Call

ForceReserveOrderIDAndSave is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartService_Expecter) GetCartReceiverService added in v3.7.0

func (_e *CartService_Expecter) GetCartReceiverService() *CartService_GetCartReceiverService_Call

GetCartReceiverService is a helper method to define mock.On call

func (*CartService_Expecter) GetDefaultDeliveryCode added in v3.7.0

func (_e *CartService_Expecter) GetDefaultDeliveryCode() *CartService_GetDefaultDeliveryCode_Call

GetDefaultDeliveryCode is a helper method to define mock.On call

func (*CartService_Expecter) GetInitialDelivery added in v3.7.0

func (_e *CartService_Expecter) GetInitialDelivery(deliveryCode interface{}) *CartService_GetInitialDelivery_Call

GetInitialDelivery is a helper method to define mock.On call

  • deliveryCode string

func (*CartService_Expecter) PlaceOrder added in v3.7.0

func (_e *CartService_Expecter) PlaceOrder(ctx interface{}, session interface{}, payment interface{}) *CartService_PlaceOrder_Call

PlaceOrder is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • payment *placeorder.Payment

func (*CartService_Expecter) PlaceOrderWithCart added in v3.7.0

func (_e *CartService_Expecter) PlaceOrderWithCart(ctx interface{}, session interface{}, _a2 interface{}, payment interface{}) *CartService_PlaceOrderWithCart_Call

PlaceOrderWithCart is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • _a2 *cart.Cart
  • payment *placeorder.Payment

func (*CartService_Expecter) RemoveGiftCard added in v3.7.0

func (_e *CartService_Expecter) RemoveGiftCard(ctx interface{}, session interface{}, couponCode interface{}) *CartService_RemoveGiftCard_Call

RemoveGiftCard is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • couponCode string

func (*CartService_Expecter) RemoveVoucher added in v3.7.0

func (_e *CartService_Expecter) RemoveVoucher(ctx interface{}, session interface{}, couponCode interface{}) *CartService_RemoveVoucher_Call

RemoveVoucher is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • couponCode string

func (*CartService_Expecter) ReserveOrderIDAndSave added in v3.7.0

func (_e *CartService_Expecter) ReserveOrderIDAndSave(ctx interface{}, session interface{}) *CartService_ReserveOrderIDAndSave_Call

ReserveOrderIDAndSave is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

func (*CartService_Expecter) RestoreCart added in v3.7.0

func (_e *CartService_Expecter) RestoreCart(ctx interface{}, _a1 interface{}) *CartService_RestoreCart_Call

RestoreCart is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *cart.Cart

func (*CartService_Expecter) UpdateAdditionalData added in v3.7.0

func (_e *CartService_Expecter) UpdateAdditionalData(ctx interface{}, session interface{}, additionalData interface{}) *CartService_UpdateAdditionalData_Call

UpdateAdditionalData is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • additionalData map[string]string

func (*CartService_Expecter) UpdateBillingAddress added in v3.7.0

func (_e *CartService_Expecter) UpdateBillingAddress(ctx interface{}, session interface{}, billingAddress interface{}) *CartService_UpdateBillingAddress_Call

UpdateBillingAddress is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • billingAddress *cart.Address

func (*CartService_Expecter) UpdateDeliveryAdditionalData added in v3.7.0

func (_e *CartService_Expecter) UpdateDeliveryAdditionalData(ctx interface{}, session interface{}, deliveryCode interface{}, additionalData interface{}) *CartService_UpdateDeliveryAdditionalData_Call

UpdateDeliveryAdditionalData is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • deliveryCode string
  • additionalData map[string]string

func (*CartService_Expecter) UpdateDeliveryInfo added in v3.7.0

func (_e *CartService_Expecter) UpdateDeliveryInfo(ctx interface{}, session interface{}, deliveryCode interface{}, deliveryInfo interface{}) *CartService_UpdateDeliveryInfo_Call

UpdateDeliveryInfo is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • deliveryCode string
  • deliveryInfo cart.DeliveryInfoUpdateCommand

func (*CartService_Expecter) UpdateItemBundleConfig added in v3.9.0

func (_e *CartService_Expecter) UpdateItemBundleConfig(ctx interface{}, session interface{}, updateCommand interface{}) *CartService_UpdateItemBundleConfig_Call

UpdateItemBundleConfig is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • updateCommand cart.ItemUpdateCommand

func (*CartService_Expecter) UpdateItemQty added in v3.7.0

func (_e *CartService_Expecter) UpdateItemQty(ctx interface{}, session interface{}, itemID interface{}, deliveryCode interface{}, qty interface{}) *CartService_UpdateItemQty_Call

UpdateItemQty is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • itemID string
  • deliveryCode string
  • qty int

func (*CartService_Expecter) UpdateItemSourceID added in v3.7.0

func (_e *CartService_Expecter) UpdateItemSourceID(ctx interface{}, session interface{}, itemID interface{}, sourceID interface{}) *CartService_UpdateItemSourceID_Call

UpdateItemSourceID is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • itemID string
  • sourceID string

func (*CartService_Expecter) UpdateItems added in v3.7.0

func (_e *CartService_Expecter) UpdateItems(ctx interface{}, session interface{}, updateCommands interface{}) *CartService_UpdateItems_Call

UpdateItems is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • updateCommands []cart.ItemUpdateCommand

func (*CartService_Expecter) UpdatePaymentSelection added in v3.7.0

func (_e *CartService_Expecter) UpdatePaymentSelection(ctx interface{}, session interface{}, paymentSelection interface{}) *CartService_UpdatePaymentSelection_Call

UpdatePaymentSelection is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • paymentSelection cart.PaymentSelection

func (*CartService_Expecter) UpdatePurchaser added in v3.7.0

func (_e *CartService_Expecter) UpdatePurchaser(ctx interface{}, session interface{}, purchaser interface{}, additionalData interface{}) *CartService_UpdatePurchaser_Call

UpdatePurchaser is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • purchaser *cart.Person
  • additionalData *cart.AdditionalData

func (*CartService_Expecter) ValidateCart added in v3.7.0

func (_e *CartService_Expecter) ValidateCart(ctx interface{}, session interface{}, decoratedCart interface{}) *CartService_ValidateCart_Call

ValidateCart is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session
  • decoratedCart *decorator.DecoratedCart

func (*CartService_Expecter) ValidateCurrentCart added in v3.7.0

func (_e *CartService_Expecter) ValidateCurrentCart(ctx interface{}, session interface{}) *CartService_ValidateCurrentCart_Call

ValidateCurrentCart is a helper method to define mock.On call

  • ctx context.Context
  • session *web.Session

type CartService_ForceReserveOrderIDAndSave_Call added in v3.7.0

type CartService_ForceReserveOrderIDAndSave_Call struct {
	*mock.Call
}

CartService_ForceReserveOrderIDAndSave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceReserveOrderIDAndSave'

func (*CartService_ForceReserveOrderIDAndSave_Call) Return added in v3.7.0

func (*CartService_ForceReserveOrderIDAndSave_Call) Run added in v3.7.0

func (*CartService_ForceReserveOrderIDAndSave_Call) RunAndReturn added in v3.7.0

type CartService_GetCartReceiverService_Call added in v3.7.0

type CartService_GetCartReceiverService_Call struct {
	*mock.Call
}

CartService_GetCartReceiverService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCartReceiverService'

func (*CartService_GetCartReceiverService_Call) Return added in v3.7.0

func (*CartService_GetCartReceiverService_Call) Run added in v3.7.0

func (*CartService_GetCartReceiverService_Call) RunAndReturn added in v3.7.0

type CartService_GetDefaultDeliveryCode_Call added in v3.7.0

type CartService_GetDefaultDeliveryCode_Call struct {
	*mock.Call
}

CartService_GetDefaultDeliveryCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDefaultDeliveryCode'

func (*CartService_GetDefaultDeliveryCode_Call) Return added in v3.7.0

func (*CartService_GetDefaultDeliveryCode_Call) Run added in v3.7.0

func (*CartService_GetDefaultDeliveryCode_Call) RunAndReturn added in v3.7.0

type CartService_GetInitialDelivery_Call added in v3.7.0

type CartService_GetInitialDelivery_Call struct {
	*mock.Call
}

CartService_GetInitialDelivery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInitialDelivery'

func (*CartService_GetInitialDelivery_Call) Return added in v3.7.0

func (*CartService_GetInitialDelivery_Call) Run added in v3.7.0

func (*CartService_GetInitialDelivery_Call) RunAndReturn added in v3.7.0

type CartService_PlaceOrderWithCart_Call added in v3.7.0

type CartService_PlaceOrderWithCart_Call struct {
	*mock.Call
}

CartService_PlaceOrderWithCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PlaceOrderWithCart'

func (*CartService_PlaceOrderWithCart_Call) Return added in v3.7.0

func (*CartService_PlaceOrderWithCart_Call) Run added in v3.7.0

func (*CartService_PlaceOrderWithCart_Call) RunAndReturn added in v3.7.0

type CartService_PlaceOrder_Call added in v3.7.0

type CartService_PlaceOrder_Call struct {
	*mock.Call
}

CartService_PlaceOrder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PlaceOrder'

func (*CartService_PlaceOrder_Call) Return added in v3.7.0

func (*CartService_PlaceOrder_Call) Run added in v3.7.0

func (*CartService_PlaceOrder_Call) RunAndReturn added in v3.7.0

type CartService_RemoveGiftCard_Call added in v3.7.0

type CartService_RemoveGiftCard_Call struct {
	*mock.Call
}

CartService_RemoveGiftCard_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveGiftCard'

func (*CartService_RemoveGiftCard_Call) Return added in v3.7.0

func (*CartService_RemoveGiftCard_Call) Run added in v3.7.0

func (*CartService_RemoveGiftCard_Call) RunAndReturn added in v3.7.0

type CartService_RemoveVoucher_Call added in v3.7.0

type CartService_RemoveVoucher_Call struct {
	*mock.Call
}

CartService_RemoveVoucher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveVoucher'

func (*CartService_RemoveVoucher_Call) Return added in v3.7.0

func (*CartService_RemoveVoucher_Call) Run added in v3.7.0

func (_c *CartService_RemoveVoucher_Call) Run(run func(ctx context.Context, session *web.Session, couponCode string)) *CartService_RemoveVoucher_Call

func (*CartService_RemoveVoucher_Call) RunAndReturn added in v3.7.0

type CartService_ReserveOrderIDAndSave_Call added in v3.7.0

type CartService_ReserveOrderIDAndSave_Call struct {
	*mock.Call
}

CartService_ReserveOrderIDAndSave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReserveOrderIDAndSave'

func (*CartService_ReserveOrderIDAndSave_Call) Return added in v3.7.0

func (*CartService_ReserveOrderIDAndSave_Call) Run added in v3.7.0

func (*CartService_ReserveOrderIDAndSave_Call) RunAndReturn added in v3.7.0

type CartService_RestoreCart_Call added in v3.7.0

type CartService_RestoreCart_Call struct {
	*mock.Call
}

CartService_RestoreCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestoreCart'

func (*CartService_RestoreCart_Call) Return added in v3.7.0

func (*CartService_RestoreCart_Call) Run added in v3.7.0

func (*CartService_RestoreCart_Call) RunAndReturn added in v3.7.0

type CartService_UpdateAdditionalData_Call added in v3.7.0

type CartService_UpdateAdditionalData_Call struct {
	*mock.Call
}

CartService_UpdateAdditionalData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAdditionalData'

func (*CartService_UpdateAdditionalData_Call) Return added in v3.7.0

func (*CartService_UpdateAdditionalData_Call) Run added in v3.7.0

func (*CartService_UpdateAdditionalData_Call) RunAndReturn added in v3.7.0

type CartService_UpdateBillingAddress_Call added in v3.7.0

type CartService_UpdateBillingAddress_Call struct {
	*mock.Call
}

CartService_UpdateBillingAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateBillingAddress'

func (*CartService_UpdateBillingAddress_Call) Return added in v3.7.0

func (*CartService_UpdateBillingAddress_Call) Run added in v3.7.0

func (*CartService_UpdateBillingAddress_Call) RunAndReturn added in v3.7.0

type CartService_UpdateDeliveryAdditionalData_Call added in v3.7.0

type CartService_UpdateDeliveryAdditionalData_Call struct {
	*mock.Call
}

CartService_UpdateDeliveryAdditionalData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDeliveryAdditionalData'

func (*CartService_UpdateDeliveryAdditionalData_Call) Return added in v3.7.0

func (*CartService_UpdateDeliveryAdditionalData_Call) Run added in v3.7.0

func (*CartService_UpdateDeliveryAdditionalData_Call) RunAndReturn added in v3.7.0

type CartService_UpdateDeliveryInfo_Call added in v3.7.0

type CartService_UpdateDeliveryInfo_Call struct {
	*mock.Call
}

CartService_UpdateDeliveryInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDeliveryInfo'

func (*CartService_UpdateDeliveryInfo_Call) Return added in v3.7.0

func (*CartService_UpdateDeliveryInfo_Call) Run added in v3.7.0

func (*CartService_UpdateDeliveryInfo_Call) RunAndReturn added in v3.7.0

type CartService_UpdateItemBundleConfig_Call added in v3.9.0

type CartService_UpdateItemBundleConfig_Call struct {
	*mock.Call
}

CartService_UpdateItemBundleConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateItemBundleConfig'

func (*CartService_UpdateItemBundleConfig_Call) Return added in v3.9.0

func (*CartService_UpdateItemBundleConfig_Call) Run added in v3.9.0

func (*CartService_UpdateItemBundleConfig_Call) RunAndReturn added in v3.9.0

type CartService_UpdateItemQty_Call added in v3.7.0

type CartService_UpdateItemQty_Call struct {
	*mock.Call
}

CartService_UpdateItemQty_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateItemQty'

func (*CartService_UpdateItemQty_Call) Return added in v3.7.0

func (*CartService_UpdateItemQty_Call) Run added in v3.7.0

func (_c *CartService_UpdateItemQty_Call) Run(run func(ctx context.Context, session *web.Session, itemID string, deliveryCode string, qty int)) *CartService_UpdateItemQty_Call

func (*CartService_UpdateItemQty_Call) RunAndReturn added in v3.7.0

type CartService_UpdateItemSourceID_Call added in v3.7.0

type CartService_UpdateItemSourceID_Call struct {
	*mock.Call
}

CartService_UpdateItemSourceID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateItemSourceID'

func (*CartService_UpdateItemSourceID_Call) Return added in v3.7.0

func (*CartService_UpdateItemSourceID_Call) Run added in v3.7.0

func (*CartService_UpdateItemSourceID_Call) RunAndReturn added in v3.7.0

type CartService_UpdateItems_Call added in v3.7.0

type CartService_UpdateItems_Call struct {
	*mock.Call
}

CartService_UpdateItems_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateItems'

func (*CartService_UpdateItems_Call) Return added in v3.7.0

func (*CartService_UpdateItems_Call) Run added in v3.7.0

func (_c *CartService_UpdateItems_Call) Run(run func(ctx context.Context, session *web.Session, updateCommands []cart.ItemUpdateCommand)) *CartService_UpdateItems_Call

func (*CartService_UpdateItems_Call) RunAndReturn added in v3.7.0

type CartService_UpdatePaymentSelection_Call added in v3.7.0

type CartService_UpdatePaymentSelection_Call struct {
	*mock.Call
}

CartService_UpdatePaymentSelection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePaymentSelection'

func (*CartService_UpdatePaymentSelection_Call) Return added in v3.7.0

func (*CartService_UpdatePaymentSelection_Call) Run added in v3.7.0

func (*CartService_UpdatePaymentSelection_Call) RunAndReturn added in v3.7.0

type CartService_UpdatePurchaser_Call added in v3.7.0

type CartService_UpdatePurchaser_Call struct {
	*mock.Call
}

CartService_UpdatePurchaser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePurchaser'

func (*CartService_UpdatePurchaser_Call) Return added in v3.7.0

func (*CartService_UpdatePurchaser_Call) Run added in v3.7.0

func (_c *CartService_UpdatePurchaser_Call) Run(run func(ctx context.Context, session *web.Session, purchaser *cart.Person, additionalData *cart.AdditionalData)) *CartService_UpdatePurchaser_Call

func (*CartService_UpdatePurchaser_Call) RunAndReturn added in v3.7.0

type CartService_ValidateCart_Call added in v3.7.0

type CartService_ValidateCart_Call struct {
	*mock.Call
}

CartService_ValidateCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateCart'

func (*CartService_ValidateCart_Call) Return added in v3.7.0

func (*CartService_ValidateCart_Call) Run added in v3.7.0

func (*CartService_ValidateCart_Call) RunAndReturn added in v3.7.0

type CartService_ValidateCurrentCart_Call added in v3.7.0

type CartService_ValidateCurrentCart_Call struct {
	*mock.Call
}

CartService_ValidateCurrentCart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateCurrentCart'

func (*CartService_ValidateCurrentCart_Call) Return added in v3.7.0

func (*CartService_ValidateCurrentCart_Call) Run added in v3.7.0

func (*CartService_ValidateCurrentCart_Call) RunAndReturn added in v3.7.0

Jump to

Keyboard shortcuts

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