order

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

func Cancel(orderID string) (*conekta.Order, error)

Cancel cancels only a oxxo Order

func Capture

func Capture(id string) (*conekta.Order, error)

Capture deletes a Order

func Create

func Create(p *conekta.OrderParams, customHeaders ...interface{}) (*conekta.Order, error)

Create creates a new order

func Find

func Find(id string) (*conekta.Order, error)

Find gets a order by id

func Refund

func Refund(orderID string, params *conekta.OrderRefundParams) (*conekta.Order, error)

Refund refund an order

func Update

func Update(id string, p *conekta.OrderParams) (*conekta.Order, error)

Update updates a Order For details see https://developers.conekta.com/api#update-Order

func Void

func Void(orderID string) (*conekta.Order, error)

Void voids an order

func Where

func Where(params interface{}) (*conekta.OrderList, error)

Where gets a order by querying parameter

Types

This section is empty.

Jump to

Keyboard shortcuts

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