Documentation ¶
Index ¶
- func Execute(osArgs []string)
- func InitCmd()
- type ProductOrder
- func (o *ProductOrder) CheckOrderStatus() error
- func (o *ProductOrder) CreateChangeOrder() error
- func (o *ProductOrder) CreateNewOrder() error
- func (o *ProductOrder) CreateQuote(action string) error
- func (o *ProductOrder) CreateTerminateOrder() error
- func (o *ProductOrder) GetOrderInfo() error
- func (o *ProductOrder) GetOrderInfoByInternalId(internalId string) (*models.ProtoOrderInfo, error)
- func (o *ProductOrder) GetOrderInfoBySellerAndOrderId(seller string, orderId string) (*models.ProtoOrderInfo, error)
- func (o *ProductOrder) Init() error
- type ProductParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProductOrder ¶
type ProductOrder struct { Param *ProductParam Client *client.TypesProto QuoteID string QuoteItemID string QuoteCurrency string QuotePrice float64 InternalID string QuoteReq *models.ProtoOrchestraCommonRequest QuoteRsp *models.ProtoOrchestraCommonResponse CreateOrderReq *models.ProtoCreateOrderParam ChangeOrderReq *models.ProtoChangeOrderParam TerminateOrderReq *models.ProtoTerminateOrderParam CommonOrderRsp *models.ProtoOrderID OrderInfoRsp *models.ProtoOrderInfo }
func (*ProductOrder) CheckOrderStatus ¶
func (o *ProductOrder) CheckOrderStatus() error
func (*ProductOrder) CreateChangeOrder ¶
func (o *ProductOrder) CreateChangeOrder() error
func (*ProductOrder) CreateNewOrder ¶
func (o *ProductOrder) CreateNewOrder() error
func (*ProductOrder) CreateQuote ¶
func (o *ProductOrder) CreateQuote(action string) error
func (*ProductOrder) CreateTerminateOrder ¶
func (o *ProductOrder) CreateTerminateOrder() error
func (*ProductOrder) GetOrderInfo ¶
func (o *ProductOrder) GetOrderInfo() error
func (*ProductOrder) GetOrderInfoByInternalId ¶
func (o *ProductOrder) GetOrderInfoByInternalId(internalId string) (*models.ProtoOrderInfo, error)
func (*ProductOrder) GetOrderInfoBySellerAndOrderId ¶
func (o *ProductOrder) GetOrderInfoBySellerAndOrderId(seller string, orderId string) (*models.ProtoOrderInfo, error)
func (*ProductOrder) Init ¶
func (o *ProductOrder) Init() error
Click to show internal directories.
Click to hide internal directories.