cancels

package
v0.0.0-...-30c84b1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ALLPATH = "/v1/me/cancelallchildorders"
View Source
const BYIDPATH = "/v1/me/cancelchildorder"
View Source
const PARENTPATH = "/v1/me/cancelparentorder"

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestByID

type RequestByID struct {
	ProductCode            types.ProductCode `json:"product_code"`
	ChildOrderAcceptanceID string            `json:"child_order_acceptance_id"`
}

func NewByID

func NewByID(product types.ProductCode, id string) *RequestByID

func (*RequestByID) Method

func (p *RequestByID) Method() string

func (*RequestByID) Path

func (p *RequestByID) Path() string

func (*RequestByID) Payload

func (p *RequestByID) Payload() []byte

func (*RequestByID) Query

func (p *RequestByID) Query() string

type RequestByIDForParentCancel

type RequestByIDForParentCancel struct {
	ProductCode             types.ProductCode `json:"product_code"`
	ParentOrderAcceptanceID string            `json:"parent_order_acceptance_id"`
}

func NewByIDForParent

func NewByIDForParent(product types.ProductCode, id string) *RequestByIDForParentCancel

func (*RequestByIDForParentCancel) Method

func (p *RequestByIDForParentCancel) Method() string

func (*RequestByIDForParentCancel) Path

func (*RequestByIDForParentCancel) Payload

func (p *RequestByIDForParentCancel) Payload() []byte

func (*RequestByIDForParentCancel) Query

type RequestForAllCancel

type RequestForAllCancel struct {
	ProductCode types.ProductCode `json:"product_code"`
}

func New

func (*RequestForAllCancel) Method

func (p *RequestForAllCancel) Method() string

func (*RequestForAllCancel) Path

func (p *RequestForAllCancel) Path() string

func (*RequestForAllCancel) Payload

func (p *RequestForAllCancel) Payload() []byte

func (*RequestForAllCancel) Query

func (p *RequestForAllCancel) Query() string

type Response

type Response struct {
}

Jump to

Keyboard shortcuts

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