Documentation
¶
Index ¶
- type Client
- func (c *Client) V1ListOrders(ctx context.Context, request *squaregosdk.V1ListOrdersRequest, ...) ([]*squaregosdk.V1Order, error)
- func (c *Client) V1RetrieveOrder(ctx context.Context, request *squaregosdk.V1RetrieveOrderRequest, ...) (*squaregosdk.V1Order, error)
- func (c *Client) V1UpdateOrder(ctx context.Context, request *squaregosdk.V1UpdateOrderRequest, ...) (*squaregosdk.V1Order, error)
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:
Click to show internal directories.
Click to hide internal directories.