templatefunctions

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCart

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

GetCart is exported as a template function

func (*GetCart) Func

func (tf *GetCart) Func(ctx context.Context) interface{}

Func defines the GetCart template function

func (*GetCart) Inject

func (tf *GetCart) Inject(
	applicationCartReceiverService *application.CartReceiverService,
	logger flamingo.Logger,

)

Inject dependencies

type GetDecoratedCart

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

GetDecoratedCart is exported as a template function

func (*GetDecoratedCart) Func

func (tf *GetDecoratedCart) Func(ctx context.Context) interface{}

Func defines the GetDecoratedCart template function

func (*GetDecoratedCart) Inject

func (tf *GetDecoratedCart) Inject(
	cartReceiverService *application.CartReceiverService,
	logger flamingo.Logger,
)

Inject dependencies

type GetQuantityAdjustmentCouponCodesRemoved added in v3.0.1

type GetQuantityAdjustmentCouponCodesRemoved struct{}

GetQuantityAdjustmentCouponCodesRemoved is exported as a template function

func (*GetQuantityAdjustmentCouponCodesRemoved) Func added in v3.0.1

func (gcd *GetQuantityAdjustmentCouponCodesRemoved) Func(ctx context.Context) interface{}

Func defines the GetQuantityAdjustmentCouponCodesRemoved template function

type GetQuantityAdjustmentDeletedItemsMessages

type GetQuantityAdjustmentDeletedItemsMessages struct{}

GetQuantityAdjustmentDeletedItemsMessages is exported as a template function

func (*GetQuantityAdjustmentDeletedItemsMessages) Func

func (gdm *GetQuantityAdjustmentDeletedItemsMessages) Func(ctx context.Context) interface{}

Func defines the GetQuantityAdjustmentDeletedItemsMessages template function

type GetQuantityAdjustmentUpdatedItemsMessage

type GetQuantityAdjustmentUpdatedItemsMessage struct{}

GetQuantityAdjustmentUpdatedItemsMessage is exported as a template function

func (*GetQuantityAdjustmentUpdatedItemsMessage) Func

func (gum *GetQuantityAdjustmentUpdatedItemsMessage) Func(ctx context.Context) interface{}

Func defines the GetQuantityAdjustmentUpdatedItemsMessage template function

type QuantityAdjustment

type QuantityAdjustment struct {
	Item         cart.Item
	DeliveryCode string
	PrevQty      int
	CurrQty      int
	Reason       string
}

QuantityAdjustment is returned by the template function

type RemoveQuantityAdjustmentMessages

type RemoveQuantityAdjustmentMessages struct{}

RemoveQuantityAdjustmentMessages is exported as a template function

func (*RemoveQuantityAdjustmentMessages) Func

func (rm *RemoveQuantityAdjustmentMessages) Func(ctx context.Context) interface{}

Func defines the RemoveQuantityAdjustmentMessages template function

Jump to

Keyboard shortcuts

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