fulfill

package
v0.1.1221 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	contract.FulfillOperator
}

func NewClient

func NewClient(d Dependencies) (Client, error)

type DefaultTool

type DefaultTool struct {
	T *contract.Tool[Client]
}

func NewTool

func NewTool(c Client, opts contract.ToolOptions[Client]) *DefaultTool

func (*DefaultTool) CanShip

func (d *DefaultTool) CanShip(ctx context.Context, opts contract.CanShipOptions) (bool, error)

CanShip checks if a fulfillment order can be shipped.

func (*DefaultTool) CreateAndConfirm

CreateAndConfirm creates and confirms a fulfillment order.

func (*DefaultTool) ShipmentStatus

ShipmentStatus retrieves fulfillment shipment status.

type Dependencies

type Dependencies struct {
	C contract.PrintfulOperator
}

type Tool

type Tool interface {
	Client
}

Jump to

Keyboard shortcuts

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