cmds

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewShopperApprovedLayer

func NewShopperApprovedLayer() (layers.ParameterLayer, error)

Types

type GetAllProductReviewsCommand

type GetAllProductReviewsCommand struct {
	*cmds.CommandDescription
}

func NewGetAllProductReviewsCommand

func NewGetAllProductReviewsCommand() (*GetAllProductReviewsCommand, error)

func (*GetAllProductReviewsCommand) RunIntoGlazeProcessor

func (c *GetAllProductReviewsCommand) RunIntoGlazeProcessor(
	ctx context.Context,
	parsedLayers *layers.ParsedLayers,
	gp middlewares.Processor,
) error

type GetProductReviewsCommand

type GetProductReviewsCommand struct {
	*cmds.CommandDescription
}

func NewGetProductReviewsCommand

func NewGetProductReviewsCommand() (*GetProductReviewsCommand, error)

func (*GetProductReviewsCommand) RunIntoGlazeProcessor

func (c *GetProductReviewsCommand) RunIntoGlazeProcessor(
	ctx context.Context,
	parsedLayers *layers.ParsedLayers,
	gp middlewares.Processor,
) error

type GetProductReviewsSettings

type GetProductReviewsSettings struct {
	ProductID string     `glazed.parameter:"product-id"`
	Limit     *int       `glazed.parameter:"limit"`
	Page      *int       `glazed.parameter:"page"`
	From      *time.Time `glazed.parameter:"from"`
	To        *time.Time `glazed.parameter:"to"`
	Sort      *string    `glazed.parameter:"sort"`
	Removed   *int       `glazed.parameter:"removed"`
}

type ShopperApprovedSettings

type ShopperApprovedSettings struct {
	SiteID      *int    `glazed.parameter:"site-id"`
	AccessToken *string `glazed.parameter:"access-token"`
}

Jump to

Keyboard shortcuts

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