Documentation ¶
Overview ¶
Package order provides the /orders APIs
Index ¶
- func Get(id string, params *stripe.OrderParams) (*stripe.Order, error)
- func New(params *stripe.OrderParams) (*stripe.Order, error)
- func Pay(id string, params *stripe.OrderPayParams) (*stripe.Order, error)
- func Return(id string, params *stripe.OrderReturnParams) (*stripe.OrderReturn, error)
- func Update(id string, params *stripe.OrderUpdateParams) (*stripe.Order, error)
- type Client
- func (c Client) Get(id string, params *stripe.OrderParams) (*stripe.Order, error)
- func (c Client) List(listParams *stripe.OrderListParams) *Iter
- func (c Client) New(params *stripe.OrderParams) (*stripe.Order, error)
- func (c Client) Pay(id string, params *stripe.OrderPayParams) (*stripe.Order, error)
- func (c Client) Return(id string, params *stripe.OrderReturnParams) (*stripe.OrderReturn, error)
- func (c Client) Update(id string, params *stripe.OrderUpdateParams) (*stripe.Order, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Return ¶
func Return(id string, params *stripe.OrderReturnParams) (*stripe.OrderReturn, error)
Return is the method for the `POST /v1/orders/{id}/returns` API.
Types ¶
type Client ¶
Client is used to invoke /orders APIs.
func (Client) List ¶
func (c Client) List(listParams *stripe.OrderListParams) *Iter
List returns a list of orders.
func (Client) Return ¶
func (c Client) Return(id string, params *stripe.OrderReturnParams) (*stripe.OrderReturn, error)
Return is the method for the `POST /v1/orders/{id}/returns` API.
Click to show internal directories.
Click to hide internal directories.