command

package
v0.0.0-...-4ebf5ff Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCancelOrder

func NewCancelOrder(id types.Guid) command.Command

func NewCancelOrder1

func NewCancelOrder1(id types.Guid, orderId types.Guid) command.Command

func NewConfirmOrder

func NewConfirmOrder(id types.Guid) command.Command

func NewConfirmOrder1

func NewConfirmOrder1(id types.Guid, orderId types.Guid, paymentId types.Guid) command.Command

func NewCreateOrder

func NewCreateOrder(id types.Guid) command.Command

func NewCreateOrder1

func NewCreateOrder1(id types.Guid, orderId types.Guid) command.Command

func NewReserveOrder

func NewReserveOrder(id types.Guid) command.Command

func NewReserveOrder1

func NewReserveOrder1(id types.Guid, orderId types.Guid) command.Command

Types

type CancelOrder

type CancelOrder struct {
	OrderId types.Guid `json:"order_id"`
	// contains filtered or unexported fields
}

func (*CancelOrder) Id

func (co *CancelOrder) Id() types.Guid

type ConfirmOrder

type ConfirmOrder struct {
	OrderId   types.Guid `json:"order_id"`
	PaymentId types.Guid `json:"payment_id"`
	// contains filtered or unexported fields
}

func (*ConfirmOrder) Id

func (co *ConfirmOrder) Id() types.Guid

type CreateOrder

type CreateOrder struct {
	OrderId types.Guid `json:"order_id"`
	// contains filtered or unexported fields
}

func (*CreateOrder) Id

func (co *CreateOrder) Id() types.Guid

type ReserveOrder

type ReserveOrder struct {
	OrderId types.Guid `json:"order_id"`
	// contains filtered or unexported fields
}

func (*ReserveOrder) Id

func (co *ReserveOrder) Id() types.Guid

Jump to

Keyboard shortcuts

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