v1transactions

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 7 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 struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts ...option.RequestOption) *Client

func (*Client) V1ListOrders

func (c *Client) V1ListOrders(
	ctx context.Context,
	request *squaregosdk.V1ListOrdersRequest,
	opts ...option.RequestOption,
) ([]*squaregosdk.V1Order, error)

Provides summary information for a merchant's online store orders.

func (*Client) V1RetrieveOrder

func (c *Client) V1RetrieveOrder(
	ctx context.Context,
	request *squaregosdk.V1RetrieveOrderRequest,
	opts ...option.RequestOption,
) (*squaregosdk.V1Order, error)

Provides comprehensive information for a single online store order, including the order's history.

func (*Client) V1UpdateOrder

func (c *Client) V1UpdateOrder(
	ctx context.Context,
	request *squaregosdk.V1UpdateOrderRequest,
	opts ...option.RequestOption,
) (*squaregosdk.V1Order, error)

Updates the details of an online store order. Every update you perform on an order corresponds to one of three actions:

Jump to

Keyboard shortcuts

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