Documentation ¶
Index ¶
- Constants
- type AdminCreateUserOrderBadRequest
- type AdminCreateUserOrderConflict
- type AdminCreateUserOrderCreated
- type AdminCreateUserOrderForbidden
- type AdminCreateUserOrderNotFound
- type AdminCreateUserOrderParams
- func NewAdminCreateUserOrderParams() *AdminCreateUserOrderParams
- func NewAdminCreateUserOrderParamsWithContext(ctx context.Context) *AdminCreateUserOrderParams
- func NewAdminCreateUserOrderParamsWithHTTPClient(client *http.Client) *AdminCreateUserOrderParams
- func NewAdminCreateUserOrderParamsWithTimeout(timeout time.Duration) *AdminCreateUserOrderParams
- func (o *AdminCreateUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateUserOrderParams) SetBody(body *platformclientmodels.AdminOrderCreate)
- func (o *AdminCreateUserOrderParams) SetContext(ctx context.Context)
- func (o *AdminCreateUserOrderParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateUserOrderParams) SetNamespace(namespace string)
- func (o *AdminCreateUserOrderParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateUserOrderParams) SetUserID(userID string)
- func (o *AdminCreateUserOrderParams) WithBody(body *platformclientmodels.AdminOrderCreate) *AdminCreateUserOrderParams
- func (o *AdminCreateUserOrderParams) WithContext(ctx context.Context) *AdminCreateUserOrderParams
- func (o *AdminCreateUserOrderParams) WithHTTPClient(client *http.Client) *AdminCreateUserOrderParams
- func (o *AdminCreateUserOrderParams) WithNamespace(namespace string) *AdminCreateUserOrderParams
- func (o *AdminCreateUserOrderParams) WithTimeout(timeout time.Duration) *AdminCreateUserOrderParams
- func (o *AdminCreateUserOrderParams) WithUserID(userID string) *AdminCreateUserOrderParams
- func (o *AdminCreateUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateUserOrderReader
- type AdminCreateUserOrderUnprocessableEntity
- type Client
- func (a *Client) AdminCreateUserOrder(params *AdminCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateUserOrderCreated, *AdminCreateUserOrderBadRequest, ...)
- func (a *Client) AdminCreateUserOrderShort(params *AdminCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateUserOrderCreated, error)
- func (a *Client) CountOfPurchasedItem(params *CountOfPurchasedItemParams, authInfo runtime.ClientAuthInfoWriter) (*CountOfPurchasedItemOK, error)
- func (a *Client) CountOfPurchasedItemShort(params *CountOfPurchasedItemParams, authInfo runtime.ClientAuthInfoWriter) (*CountOfPurchasedItemOK, error)
- func (a *Client) DownloadUserOrderReceipt(params *DownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadUserOrderReceiptOK, *DownloadUserOrderReceiptNotFound, ...)
- func (a *Client) DownloadUserOrderReceiptShort(params *DownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadUserOrderReceiptOK, error)
- func (a *Client) FulfillUserOrder(params *FulfillUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillUserOrderOK, *FulfillUserOrderBadRequest, *FulfillUserOrderNotFound, ...)
- func (a *Client) FulfillUserOrderShort(params *FulfillUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillUserOrderOK, error)
- func (a *Client) GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderOK, *GetOrderNotFound, error)
- func (a *Client) GetOrderShort(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderOK, error)
- func (a *Client) GetOrderStatistics(params *GetOrderStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderStatisticsOK, error)
- func (a *Client) GetOrderStatisticsShort(params *GetOrderStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderStatisticsOK, error)
- func (a *Client) GetUserOrder(params *GetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderOK, *GetUserOrderNotFound, error)
- func (a *Client) GetUserOrderGrant(params *GetUserOrderGrantParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderGrantOK, error)
- func (a *Client) GetUserOrderGrantShort(params *GetUserOrderGrantParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderGrantOK, error)
- func (a *Client) GetUserOrderHistories(params *GetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderHistoriesOK, error)
- func (a *Client) GetUserOrderHistoriesShort(params *GetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderHistoriesOK, error)
- func (a *Client) GetUserOrderShort(params *GetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderOK, error)
- func (a *Client) ProcessUserOrderNotification(params *ProcessUserOrderNotificationParams, ...) (*ProcessUserOrderNotificationNoContent, ...)
- func (a *Client) ProcessUserOrderNotificationShort(params *ProcessUserOrderNotificationParams, ...) (*ProcessUserOrderNotificationNoContent, error)
- func (a *Client) PublicCancelUserOrder(params *PublicCancelUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelUserOrderOK, *PublicCancelUserOrderNotFound, ...)
- func (a *Client) PublicCancelUserOrderShort(params *PublicCancelUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelUserOrderOK, error)
- func (a *Client) PublicCreateUserOrder(params *PublicCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserOrderCreated, *PublicCreateUserOrderBadRequest, ...)
- func (a *Client) PublicCreateUserOrderShort(params *PublicCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserOrderCreated, error)
- func (a *Client) PublicDownloadUserOrderReceipt(params *PublicDownloadUserOrderReceiptParams, ...) (*PublicDownloadUserOrderReceiptOK, *PublicDownloadUserOrderReceiptNotFound, ...)
- func (a *Client) PublicDownloadUserOrderReceiptShort(params *PublicDownloadUserOrderReceiptParams, ...) (*PublicDownloadUserOrderReceiptOK, error)
- func (a *Client) PublicGetUserOrder(params *PublicGetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderOK, *PublicGetUserOrderNotFound, error)
- func (a *Client) PublicGetUserOrderHistories(params *PublicGetUserOrderHistoriesParams, ...) (*PublicGetUserOrderHistoriesOK, error)
- func (a *Client) PublicGetUserOrderHistoriesShort(params *PublicGetUserOrderHistoriesParams, ...) (*PublicGetUserOrderHistoriesOK, error)
- func (a *Client) PublicGetUserOrderShort(params *PublicGetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderOK, error)
- func (a *Client) PublicQueryUserOrders(params *PublicQueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserOrdersOK, error)
- func (a *Client) PublicQueryUserOrdersShort(params *PublicQueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserOrdersOK, error)
- func (a *Client) QueryOrders(params *QueryOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryOrdersOK, *QueryOrdersUnprocessableEntity, error)
- func (a *Client) QueryOrdersShort(params *QueryOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryOrdersOK, error)
- func (a *Client) QueryUserOrders(params *QueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserOrdersOK, error)
- func (a *Client) QueryUserOrdersShort(params *QueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserOrdersOK, error)
- func (a *Client) RefundOrder(params *RefundOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundOrderOK, *RefundOrderNotFound, *RefundOrderConflict, ...)
- func (a *Client) RefundOrderShort(params *RefundOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundOrderOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUserOrderStatus(params *UpdateUserOrderStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserOrderStatusOK, *UpdateUserOrderStatusNotFound, ...)
- func (a *Client) UpdateUserOrderStatusShort(params *UpdateUserOrderStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserOrderStatusOK, error)
- type ClientService
- type CountOfPurchasedItemOK
- type CountOfPurchasedItemParams
- func NewCountOfPurchasedItemParams() *CountOfPurchasedItemParams
- func NewCountOfPurchasedItemParamsWithContext(ctx context.Context) *CountOfPurchasedItemParams
- func NewCountOfPurchasedItemParamsWithHTTPClient(client *http.Client) *CountOfPurchasedItemParams
- func NewCountOfPurchasedItemParamsWithTimeout(timeout time.Duration) *CountOfPurchasedItemParams
- func (o *CountOfPurchasedItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CountOfPurchasedItemParams) SetContext(ctx context.Context)
- func (o *CountOfPurchasedItemParams) SetHTTPClient(client *http.Client)
- func (o *CountOfPurchasedItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CountOfPurchasedItemParams) SetItemID(itemID string)
- func (o *CountOfPurchasedItemParams) SetNamespace(namespace string)
- func (o *CountOfPurchasedItemParams) SetTimeout(timeout time.Duration)
- func (o *CountOfPurchasedItemParams) SetUserID(userID string)
- func (o *CountOfPurchasedItemParams) WithContext(ctx context.Context) *CountOfPurchasedItemParams
- func (o *CountOfPurchasedItemParams) WithHTTPClient(client *http.Client) *CountOfPurchasedItemParams
- func (o *CountOfPurchasedItemParams) WithItemID(itemID string) *CountOfPurchasedItemParams
- func (o *CountOfPurchasedItemParams) WithNamespace(namespace string) *CountOfPurchasedItemParams
- func (o *CountOfPurchasedItemParams) WithTimeout(timeout time.Duration) *CountOfPurchasedItemParams
- func (o *CountOfPurchasedItemParams) WithUserID(userID string) *CountOfPurchasedItemParams
- func (o *CountOfPurchasedItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CountOfPurchasedItemReader
- type DownloadUserOrderReceiptConflict
- type DownloadUserOrderReceiptNotFound
- type DownloadUserOrderReceiptOK
- type DownloadUserOrderReceiptParams
- func NewDownloadUserOrderReceiptParams() *DownloadUserOrderReceiptParams
- func NewDownloadUserOrderReceiptParamsWithContext(ctx context.Context) *DownloadUserOrderReceiptParams
- func NewDownloadUserOrderReceiptParamsWithHTTPClient(client *http.Client) *DownloadUserOrderReceiptParams
- func NewDownloadUserOrderReceiptParamsWithTimeout(timeout time.Duration) *DownloadUserOrderReceiptParams
- func (o *DownloadUserOrderReceiptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DownloadUserOrderReceiptParams) SetContext(ctx context.Context)
- func (o *DownloadUserOrderReceiptParams) SetHTTPClient(client *http.Client)
- func (o *DownloadUserOrderReceiptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DownloadUserOrderReceiptParams) SetNamespace(namespace string)
- func (o *DownloadUserOrderReceiptParams) SetOrderNo(orderNo string)
- func (o *DownloadUserOrderReceiptParams) SetTimeout(timeout time.Duration)
- func (o *DownloadUserOrderReceiptParams) SetUserID(userID string)
- func (o *DownloadUserOrderReceiptParams) WithContext(ctx context.Context) *DownloadUserOrderReceiptParams
- func (o *DownloadUserOrderReceiptParams) WithHTTPClient(client *http.Client) *DownloadUserOrderReceiptParams
- func (o *DownloadUserOrderReceiptParams) WithNamespace(namespace string) *DownloadUserOrderReceiptParams
- func (o *DownloadUserOrderReceiptParams) WithOrderNo(orderNo string) *DownloadUserOrderReceiptParams
- func (o *DownloadUserOrderReceiptParams) WithTimeout(timeout time.Duration) *DownloadUserOrderReceiptParams
- func (o *DownloadUserOrderReceiptParams) WithUserID(userID string) *DownloadUserOrderReceiptParams
- func (o *DownloadUserOrderReceiptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadUserOrderReceiptReader
- type FulfillUserOrderBadRequest
- type FulfillUserOrderConflict
- type FulfillUserOrderNotFound
- type FulfillUserOrderOK
- type FulfillUserOrderParams
- func NewFulfillUserOrderParams() *FulfillUserOrderParams
- func NewFulfillUserOrderParamsWithContext(ctx context.Context) *FulfillUserOrderParams
- func NewFulfillUserOrderParamsWithHTTPClient(client *http.Client) *FulfillUserOrderParams
- func NewFulfillUserOrderParamsWithTimeout(timeout time.Duration) *FulfillUserOrderParams
- func (o *FulfillUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FulfillUserOrderParams) SetContext(ctx context.Context)
- func (o *FulfillUserOrderParams) SetHTTPClient(client *http.Client)
- func (o *FulfillUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FulfillUserOrderParams) SetNamespace(namespace string)
- func (o *FulfillUserOrderParams) SetOrderNo(orderNo string)
- func (o *FulfillUserOrderParams) SetTimeout(timeout time.Duration)
- func (o *FulfillUserOrderParams) SetUserID(userID string)
- func (o *FulfillUserOrderParams) WithContext(ctx context.Context) *FulfillUserOrderParams
- func (o *FulfillUserOrderParams) WithHTTPClient(client *http.Client) *FulfillUserOrderParams
- func (o *FulfillUserOrderParams) WithNamespace(namespace string) *FulfillUserOrderParams
- func (o *FulfillUserOrderParams) WithOrderNo(orderNo string) *FulfillUserOrderParams
- func (o *FulfillUserOrderParams) WithTimeout(timeout time.Duration) *FulfillUserOrderParams
- func (o *FulfillUserOrderParams) WithUserID(userID string) *FulfillUserOrderParams
- func (o *FulfillUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FulfillUserOrderReader
- type GetOrderNotFound
- type GetOrderOK
- type GetOrderParams
- func (o *GetOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetOrderParams) SetContext(ctx context.Context)
- func (o *GetOrderParams) SetHTTPClient(client *http.Client)
- func (o *GetOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetOrderParams) SetNamespace(namespace string)
- func (o *GetOrderParams) SetOrderNo(orderNo string)
- func (o *GetOrderParams) SetTimeout(timeout time.Duration)
- func (o *GetOrderParams) WithContext(ctx context.Context) *GetOrderParams
- func (o *GetOrderParams) WithHTTPClient(client *http.Client) *GetOrderParams
- func (o *GetOrderParams) WithNamespace(namespace string) *GetOrderParams
- func (o *GetOrderParams) WithOrderNo(orderNo string) *GetOrderParams
- func (o *GetOrderParams) WithTimeout(timeout time.Duration) *GetOrderParams
- func (o *GetOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrderReader
- type GetOrderStatisticsOK
- type GetOrderStatisticsParams
- func NewGetOrderStatisticsParams() *GetOrderStatisticsParams
- func NewGetOrderStatisticsParamsWithContext(ctx context.Context) *GetOrderStatisticsParams
- func NewGetOrderStatisticsParamsWithHTTPClient(client *http.Client) *GetOrderStatisticsParams
- func NewGetOrderStatisticsParamsWithTimeout(timeout time.Duration) *GetOrderStatisticsParams
- func (o *GetOrderStatisticsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetOrderStatisticsParams) SetContext(ctx context.Context)
- func (o *GetOrderStatisticsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrderStatisticsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetOrderStatisticsParams) SetNamespace(namespace string)
- func (o *GetOrderStatisticsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrderStatisticsParams) WithContext(ctx context.Context) *GetOrderStatisticsParams
- func (o *GetOrderStatisticsParams) WithHTTPClient(client *http.Client) *GetOrderStatisticsParams
- func (o *GetOrderStatisticsParams) WithNamespace(namespace string) *GetOrderStatisticsParams
- func (o *GetOrderStatisticsParams) WithTimeout(timeout time.Duration) *GetOrderStatisticsParams
- func (o *GetOrderStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrderStatisticsReader
- type GetUserOrderGrantOK
- type GetUserOrderGrantParams
- func NewGetUserOrderGrantParams() *GetUserOrderGrantParams
- func NewGetUserOrderGrantParamsWithContext(ctx context.Context) *GetUserOrderGrantParams
- func NewGetUserOrderGrantParamsWithHTTPClient(client *http.Client) *GetUserOrderGrantParams
- func NewGetUserOrderGrantParamsWithTimeout(timeout time.Duration) *GetUserOrderGrantParams
- func (o *GetUserOrderGrantParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserOrderGrantParams) SetContext(ctx context.Context)
- func (o *GetUserOrderGrantParams) SetHTTPClient(client *http.Client)
- func (o *GetUserOrderGrantParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserOrderGrantParams) SetNamespace(namespace string)
- func (o *GetUserOrderGrantParams) SetOrderNo(orderNo string)
- func (o *GetUserOrderGrantParams) SetTimeout(timeout time.Duration)
- func (o *GetUserOrderGrantParams) SetUserID(userID string)
- func (o *GetUserOrderGrantParams) WithContext(ctx context.Context) *GetUserOrderGrantParams
- func (o *GetUserOrderGrantParams) WithHTTPClient(client *http.Client) *GetUserOrderGrantParams
- func (o *GetUserOrderGrantParams) WithNamespace(namespace string) *GetUserOrderGrantParams
- func (o *GetUserOrderGrantParams) WithOrderNo(orderNo string) *GetUserOrderGrantParams
- func (o *GetUserOrderGrantParams) WithTimeout(timeout time.Duration) *GetUserOrderGrantParams
- func (o *GetUserOrderGrantParams) WithUserID(userID string) *GetUserOrderGrantParams
- func (o *GetUserOrderGrantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserOrderGrantReader
- type GetUserOrderHistoriesOK
- type GetUserOrderHistoriesParams
- func NewGetUserOrderHistoriesParams() *GetUserOrderHistoriesParams
- func NewGetUserOrderHistoriesParamsWithContext(ctx context.Context) *GetUserOrderHistoriesParams
- func NewGetUserOrderHistoriesParamsWithHTTPClient(client *http.Client) *GetUserOrderHistoriesParams
- func NewGetUserOrderHistoriesParamsWithTimeout(timeout time.Duration) *GetUserOrderHistoriesParams
- func (o *GetUserOrderHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserOrderHistoriesParams) SetContext(ctx context.Context)
- func (o *GetUserOrderHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserOrderHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserOrderHistoriesParams) SetNamespace(namespace string)
- func (o *GetUserOrderHistoriesParams) SetOrderNo(orderNo string)
- func (o *GetUserOrderHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserOrderHistoriesParams) SetUserID(userID string)
- func (o *GetUserOrderHistoriesParams) WithContext(ctx context.Context) *GetUserOrderHistoriesParams
- func (o *GetUserOrderHistoriesParams) WithHTTPClient(client *http.Client) *GetUserOrderHistoriesParams
- func (o *GetUserOrderHistoriesParams) WithNamespace(namespace string) *GetUserOrderHistoriesParams
- func (o *GetUserOrderHistoriesParams) WithOrderNo(orderNo string) *GetUserOrderHistoriesParams
- func (o *GetUserOrderHistoriesParams) WithTimeout(timeout time.Duration) *GetUserOrderHistoriesParams
- func (o *GetUserOrderHistoriesParams) WithUserID(userID string) *GetUserOrderHistoriesParams
- func (o *GetUserOrderHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserOrderHistoriesReader
- type GetUserOrderNotFound
- type GetUserOrderOK
- type GetUserOrderParams
- func (o *GetUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserOrderParams) SetContext(ctx context.Context)
- func (o *GetUserOrderParams) SetHTTPClient(client *http.Client)
- func (o *GetUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserOrderParams) SetNamespace(namespace string)
- func (o *GetUserOrderParams) SetOrderNo(orderNo string)
- func (o *GetUserOrderParams) SetTimeout(timeout time.Duration)
- func (o *GetUserOrderParams) SetUserID(userID string)
- func (o *GetUserOrderParams) WithContext(ctx context.Context) *GetUserOrderParams
- func (o *GetUserOrderParams) WithHTTPClient(client *http.Client) *GetUserOrderParams
- func (o *GetUserOrderParams) WithNamespace(namespace string) *GetUserOrderParams
- func (o *GetUserOrderParams) WithOrderNo(orderNo string) *GetUserOrderParams
- func (o *GetUserOrderParams) WithTimeout(timeout time.Duration) *GetUserOrderParams
- func (o *GetUserOrderParams) WithUserID(userID string) *GetUserOrderParams
- func (o *GetUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserOrderReader
- type ProcessUserOrderNotificationBadRequest
- type ProcessUserOrderNotificationNoContent
- type ProcessUserOrderNotificationParams
- func NewProcessUserOrderNotificationParams() *ProcessUserOrderNotificationParams
- func NewProcessUserOrderNotificationParamsWithContext(ctx context.Context) *ProcessUserOrderNotificationParams
- func NewProcessUserOrderNotificationParamsWithHTTPClient(client *http.Client) *ProcessUserOrderNotificationParams
- func NewProcessUserOrderNotificationParamsWithTimeout(timeout time.Duration) *ProcessUserOrderNotificationParams
- func (o *ProcessUserOrderNotificationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ProcessUserOrderNotificationParams) SetBody(body *platformclientmodels.TradeNotification)
- func (o *ProcessUserOrderNotificationParams) SetContext(ctx context.Context)
- func (o *ProcessUserOrderNotificationParams) SetHTTPClient(client *http.Client)
- func (o *ProcessUserOrderNotificationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ProcessUserOrderNotificationParams) SetNamespace(namespace string)
- func (o *ProcessUserOrderNotificationParams) SetOrderNo(orderNo string)
- func (o *ProcessUserOrderNotificationParams) SetTimeout(timeout time.Duration)
- func (o *ProcessUserOrderNotificationParams) SetUserID(userID string)
- func (o *ProcessUserOrderNotificationParams) WithBody(body *platformclientmodels.TradeNotification) *ProcessUserOrderNotificationParams
- func (o *ProcessUserOrderNotificationParams) WithContext(ctx context.Context) *ProcessUserOrderNotificationParams
- func (o *ProcessUserOrderNotificationParams) WithHTTPClient(client *http.Client) *ProcessUserOrderNotificationParams
- func (o *ProcessUserOrderNotificationParams) WithNamespace(namespace string) *ProcessUserOrderNotificationParams
- func (o *ProcessUserOrderNotificationParams) WithOrderNo(orderNo string) *ProcessUserOrderNotificationParams
- func (o *ProcessUserOrderNotificationParams) WithTimeout(timeout time.Duration) *ProcessUserOrderNotificationParams
- func (o *ProcessUserOrderNotificationParams) WithUserID(userID string) *ProcessUserOrderNotificationParams
- func (o *ProcessUserOrderNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProcessUserOrderNotificationReader
- type PublicCancelUserOrderConflict
- type PublicCancelUserOrderNotFound
- type PublicCancelUserOrderOK
- type PublicCancelUserOrderParams
- func NewPublicCancelUserOrderParams() *PublicCancelUserOrderParams
- func NewPublicCancelUserOrderParamsWithContext(ctx context.Context) *PublicCancelUserOrderParams
- func NewPublicCancelUserOrderParamsWithHTTPClient(client *http.Client) *PublicCancelUserOrderParams
- func NewPublicCancelUserOrderParamsWithTimeout(timeout time.Duration) *PublicCancelUserOrderParams
- func (o *PublicCancelUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicCancelUserOrderParams) SetContext(ctx context.Context)
- func (o *PublicCancelUserOrderParams) SetHTTPClient(client *http.Client)
- func (o *PublicCancelUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicCancelUserOrderParams) SetNamespace(namespace string)
- func (o *PublicCancelUserOrderParams) SetOrderNo(orderNo string)
- func (o *PublicCancelUserOrderParams) SetTimeout(timeout time.Duration)
- func (o *PublicCancelUserOrderParams) SetUserID(userID string)
- func (o *PublicCancelUserOrderParams) WithContext(ctx context.Context) *PublicCancelUserOrderParams
- func (o *PublicCancelUserOrderParams) WithHTTPClient(client *http.Client) *PublicCancelUserOrderParams
- func (o *PublicCancelUserOrderParams) WithNamespace(namespace string) *PublicCancelUserOrderParams
- func (o *PublicCancelUserOrderParams) WithOrderNo(orderNo string) *PublicCancelUserOrderParams
- func (o *PublicCancelUserOrderParams) WithTimeout(timeout time.Duration) *PublicCancelUserOrderParams
- func (o *PublicCancelUserOrderParams) WithUserID(userID string) *PublicCancelUserOrderParams
- func (o *PublicCancelUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCancelUserOrderReader
- type PublicCreateUserOrderBadRequest
- type PublicCreateUserOrderConflict
- type PublicCreateUserOrderCreated
- type PublicCreateUserOrderForbidden
- type PublicCreateUserOrderNotFound
- type PublicCreateUserOrderParams
- func NewPublicCreateUserOrderParams() *PublicCreateUserOrderParams
- func NewPublicCreateUserOrderParamsWithContext(ctx context.Context) *PublicCreateUserOrderParams
- func NewPublicCreateUserOrderParamsWithHTTPClient(client *http.Client) *PublicCreateUserOrderParams
- func NewPublicCreateUserOrderParamsWithTimeout(timeout time.Duration) *PublicCreateUserOrderParams
- func (o *PublicCreateUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicCreateUserOrderParams) SetBody(body *platformclientmodels.OrderCreate)
- func (o *PublicCreateUserOrderParams) SetContext(ctx context.Context)
- func (o *PublicCreateUserOrderParams) SetHTTPClient(client *http.Client)
- func (o *PublicCreateUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicCreateUserOrderParams) SetNamespace(namespace string)
- func (o *PublicCreateUserOrderParams) SetTimeout(timeout time.Duration)
- func (o *PublicCreateUserOrderParams) SetUserID(userID string)
- func (o *PublicCreateUserOrderParams) WithBody(body *platformclientmodels.OrderCreate) *PublicCreateUserOrderParams
- func (o *PublicCreateUserOrderParams) WithContext(ctx context.Context) *PublicCreateUserOrderParams
- func (o *PublicCreateUserOrderParams) WithHTTPClient(client *http.Client) *PublicCreateUserOrderParams
- func (o *PublicCreateUserOrderParams) WithNamespace(namespace string) *PublicCreateUserOrderParams
- func (o *PublicCreateUserOrderParams) WithTimeout(timeout time.Duration) *PublicCreateUserOrderParams
- func (o *PublicCreateUserOrderParams) WithUserID(userID string) *PublicCreateUserOrderParams
- func (o *PublicCreateUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCreateUserOrderReader
- type PublicCreateUserOrderUnprocessableEntity
- type PublicDownloadUserOrderReceiptConflict
- type PublicDownloadUserOrderReceiptNotFound
- type PublicDownloadUserOrderReceiptOK
- type PublicDownloadUserOrderReceiptParams
- func NewPublicDownloadUserOrderReceiptParams() *PublicDownloadUserOrderReceiptParams
- func NewPublicDownloadUserOrderReceiptParamsWithContext(ctx context.Context) *PublicDownloadUserOrderReceiptParams
- func NewPublicDownloadUserOrderReceiptParamsWithHTTPClient(client *http.Client) *PublicDownloadUserOrderReceiptParams
- func NewPublicDownloadUserOrderReceiptParamsWithTimeout(timeout time.Duration) *PublicDownloadUserOrderReceiptParams
- func (o *PublicDownloadUserOrderReceiptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDownloadUserOrderReceiptParams) SetContext(ctx context.Context)
- func (o *PublicDownloadUserOrderReceiptParams) SetHTTPClient(client *http.Client)
- func (o *PublicDownloadUserOrderReceiptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDownloadUserOrderReceiptParams) SetNamespace(namespace string)
- func (o *PublicDownloadUserOrderReceiptParams) SetOrderNo(orderNo string)
- func (o *PublicDownloadUserOrderReceiptParams) SetTimeout(timeout time.Duration)
- func (o *PublicDownloadUserOrderReceiptParams) SetUserID(userID string)
- func (o *PublicDownloadUserOrderReceiptParams) WithContext(ctx context.Context) *PublicDownloadUserOrderReceiptParams
- func (o *PublicDownloadUserOrderReceiptParams) WithHTTPClient(client *http.Client) *PublicDownloadUserOrderReceiptParams
- func (o *PublicDownloadUserOrderReceiptParams) WithNamespace(namespace string) *PublicDownloadUserOrderReceiptParams
- func (o *PublicDownloadUserOrderReceiptParams) WithOrderNo(orderNo string) *PublicDownloadUserOrderReceiptParams
- func (o *PublicDownloadUserOrderReceiptParams) WithTimeout(timeout time.Duration) *PublicDownloadUserOrderReceiptParams
- func (o *PublicDownloadUserOrderReceiptParams) WithUserID(userID string) *PublicDownloadUserOrderReceiptParams
- func (o *PublicDownloadUserOrderReceiptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDownloadUserOrderReceiptReader
- type PublicGetUserOrderHistoriesOK
- type PublicGetUserOrderHistoriesParams
- func NewPublicGetUserOrderHistoriesParams() *PublicGetUserOrderHistoriesParams
- func NewPublicGetUserOrderHistoriesParamsWithContext(ctx context.Context) *PublicGetUserOrderHistoriesParams
- func NewPublicGetUserOrderHistoriesParamsWithHTTPClient(client *http.Client) *PublicGetUserOrderHistoriesParams
- func NewPublicGetUserOrderHistoriesParamsWithTimeout(timeout time.Duration) *PublicGetUserOrderHistoriesParams
- func (o *PublicGetUserOrderHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserOrderHistoriesParams) SetContext(ctx context.Context)
- func (o *PublicGetUserOrderHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserOrderHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserOrderHistoriesParams) SetNamespace(namespace string)
- func (o *PublicGetUserOrderHistoriesParams) SetOrderNo(orderNo string)
- func (o *PublicGetUserOrderHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserOrderHistoriesParams) SetUserID(userID string)
- func (o *PublicGetUserOrderHistoriesParams) WithContext(ctx context.Context) *PublicGetUserOrderHistoriesParams
- func (o *PublicGetUserOrderHistoriesParams) WithHTTPClient(client *http.Client) *PublicGetUserOrderHistoriesParams
- func (o *PublicGetUserOrderHistoriesParams) WithNamespace(namespace string) *PublicGetUserOrderHistoriesParams
- func (o *PublicGetUserOrderHistoriesParams) WithOrderNo(orderNo string) *PublicGetUserOrderHistoriesParams
- func (o *PublicGetUserOrderHistoriesParams) WithTimeout(timeout time.Duration) *PublicGetUserOrderHistoriesParams
- func (o *PublicGetUserOrderHistoriesParams) WithUserID(userID string) *PublicGetUserOrderHistoriesParams
- func (o *PublicGetUserOrderHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserOrderHistoriesReader
- type PublicGetUserOrderNotFound
- type PublicGetUserOrderOK
- type PublicGetUserOrderParams
- func NewPublicGetUserOrderParams() *PublicGetUserOrderParams
- func NewPublicGetUserOrderParamsWithContext(ctx context.Context) *PublicGetUserOrderParams
- func NewPublicGetUserOrderParamsWithHTTPClient(client *http.Client) *PublicGetUserOrderParams
- func NewPublicGetUserOrderParamsWithTimeout(timeout time.Duration) *PublicGetUserOrderParams
- func (o *PublicGetUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserOrderParams) SetContext(ctx context.Context)
- func (o *PublicGetUserOrderParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserOrderParams) SetNamespace(namespace string)
- func (o *PublicGetUserOrderParams) SetOrderNo(orderNo string)
- func (o *PublicGetUserOrderParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserOrderParams) SetUserID(userID string)
- func (o *PublicGetUserOrderParams) WithContext(ctx context.Context) *PublicGetUserOrderParams
- func (o *PublicGetUserOrderParams) WithHTTPClient(client *http.Client) *PublicGetUserOrderParams
- func (o *PublicGetUserOrderParams) WithNamespace(namespace string) *PublicGetUserOrderParams
- func (o *PublicGetUserOrderParams) WithOrderNo(orderNo string) *PublicGetUserOrderParams
- func (o *PublicGetUserOrderParams) WithTimeout(timeout time.Duration) *PublicGetUserOrderParams
- func (o *PublicGetUserOrderParams) WithUserID(userID string) *PublicGetUserOrderParams
- func (o *PublicGetUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserOrderReader
- type PublicQueryUserOrdersOK
- type PublicQueryUserOrdersParams
- func NewPublicQueryUserOrdersParams() *PublicQueryUserOrdersParams
- func NewPublicQueryUserOrdersParamsWithContext(ctx context.Context) *PublicQueryUserOrdersParams
- func NewPublicQueryUserOrdersParamsWithHTTPClient(client *http.Client) *PublicQueryUserOrdersParams
- func NewPublicQueryUserOrdersParamsWithTimeout(timeout time.Duration) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicQueryUserOrdersParams) SetContext(ctx context.Context)
- func (o *PublicQueryUserOrdersParams) SetHTTPClient(client *http.Client)
- func (o *PublicQueryUserOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicQueryUserOrdersParams) SetItemID(itemID *string)
- func (o *PublicQueryUserOrdersParams) SetLimit(limit *int32)
- func (o *PublicQueryUserOrdersParams) SetNamespace(namespace string)
- func (o *PublicQueryUserOrdersParams) SetOffset(offset *int32)
- func (o *PublicQueryUserOrdersParams) SetStatus(status *string)
- func (o *PublicQueryUserOrdersParams) SetTimeout(timeout time.Duration)
- func (o *PublicQueryUserOrdersParams) SetUserID(userID string)
- func (o *PublicQueryUserOrdersParams) WithContext(ctx context.Context) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WithHTTPClient(client *http.Client) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WithItemID(itemID *string) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WithLimit(limit *int32) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WithNamespace(namespace string) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WithOffset(offset *int32) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WithStatus(status *string) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WithTimeout(timeout time.Duration) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WithUserID(userID string) *PublicQueryUserOrdersParams
- func (o *PublicQueryUserOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicQueryUserOrdersReader
- type QueryOrdersOK
- type QueryOrdersParams
- func (o *QueryOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryOrdersParams) SetContext(ctx context.Context)
- func (o *QueryOrdersParams) SetEndTime(endTime *string)
- func (o *QueryOrdersParams) SetHTTPClient(client *http.Client)
- func (o *QueryOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryOrdersParams) SetLimit(limit *int32)
- func (o *QueryOrdersParams) SetNamespace(namespace string)
- func (o *QueryOrdersParams) SetOffset(offset *int32)
- func (o *QueryOrdersParams) SetOrderNos(orderNos []string)
- func (o *QueryOrdersParams) SetSortBy(sortBy *string)
- func (o *QueryOrdersParams) SetStartTime(startTime *string)
- func (o *QueryOrdersParams) SetStatus(status *string)
- func (o *QueryOrdersParams) SetTimeout(timeout time.Duration)
- func (o *QueryOrdersParams) SetWithTotal(withTotal *bool)
- func (o *QueryOrdersParams) WithContext(ctx context.Context) *QueryOrdersParams
- func (o *QueryOrdersParams) WithEndTime(endTime *string) *QueryOrdersParams
- func (o *QueryOrdersParams) WithHTTPClient(client *http.Client) *QueryOrdersParams
- func (o *QueryOrdersParams) WithLimit(limit *int32) *QueryOrdersParams
- func (o *QueryOrdersParams) WithNamespace(namespace string) *QueryOrdersParams
- func (o *QueryOrdersParams) WithOffset(offset *int32) *QueryOrdersParams
- func (o *QueryOrdersParams) WithOrderNos(orderNos []string) *QueryOrdersParams
- func (o *QueryOrdersParams) WithSortBy(sortBy *string) *QueryOrdersParams
- func (o *QueryOrdersParams) WithStartTime(startTime *string) *QueryOrdersParams
- func (o *QueryOrdersParams) WithStatus(status *string) *QueryOrdersParams
- func (o *QueryOrdersParams) WithTimeout(timeout time.Duration) *QueryOrdersParams
- func (o *QueryOrdersParams) WithWithTotal(withTotal *bool) *QueryOrdersParams
- func (o *QueryOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryOrdersReader
- type QueryOrdersUnprocessableEntity
- type QueryUserOrdersOK
- type QueryUserOrdersParams
- func NewQueryUserOrdersParams() *QueryUserOrdersParams
- func NewQueryUserOrdersParamsWithContext(ctx context.Context) *QueryUserOrdersParams
- func NewQueryUserOrdersParamsWithHTTPClient(client *http.Client) *QueryUserOrdersParams
- func NewQueryUserOrdersParamsWithTimeout(timeout time.Duration) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryUserOrdersParams) SetContext(ctx context.Context)
- func (o *QueryUserOrdersParams) SetHTTPClient(client *http.Client)
- func (o *QueryUserOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryUserOrdersParams) SetItemID(itemID *string)
- func (o *QueryUserOrdersParams) SetLimit(limit *int32)
- func (o *QueryUserOrdersParams) SetNamespace(namespace string)
- func (o *QueryUserOrdersParams) SetOffset(offset *int32)
- func (o *QueryUserOrdersParams) SetStatus(status *string)
- func (o *QueryUserOrdersParams) SetTimeout(timeout time.Duration)
- func (o *QueryUserOrdersParams) SetUserID(userID string)
- func (o *QueryUserOrdersParams) WithContext(ctx context.Context) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WithHTTPClient(client *http.Client) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WithItemID(itemID *string) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WithLimit(limit *int32) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WithNamespace(namespace string) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WithOffset(offset *int32) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WithStatus(status *string) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WithTimeout(timeout time.Duration) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WithUserID(userID string) *QueryUserOrdersParams
- func (o *QueryUserOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryUserOrdersReader
- type RefundOrderConflict
- type RefundOrderNotFound
- type RefundOrderOK
- type RefundOrderParams
- func (o *RefundOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RefundOrderParams) SetBody(body *platformclientmodels.OrderRefundCreate)
- func (o *RefundOrderParams) SetContext(ctx context.Context)
- func (o *RefundOrderParams) SetHTTPClient(client *http.Client)
- func (o *RefundOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RefundOrderParams) SetNamespace(namespace string)
- func (o *RefundOrderParams) SetOrderNo(orderNo string)
- func (o *RefundOrderParams) SetTimeout(timeout time.Duration)
- func (o *RefundOrderParams) WithBody(body *platformclientmodels.OrderRefundCreate) *RefundOrderParams
- func (o *RefundOrderParams) WithContext(ctx context.Context) *RefundOrderParams
- func (o *RefundOrderParams) WithHTTPClient(client *http.Client) *RefundOrderParams
- func (o *RefundOrderParams) WithNamespace(namespace string) *RefundOrderParams
- func (o *RefundOrderParams) WithOrderNo(orderNo string) *RefundOrderParams
- func (o *RefundOrderParams) WithTimeout(timeout time.Duration) *RefundOrderParams
- func (o *RefundOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RefundOrderReader
- type RefundOrderUnprocessableEntity
- type UpdateUserOrderStatusConflict
- type UpdateUserOrderStatusNotFound
- type UpdateUserOrderStatusOK
- type UpdateUserOrderStatusParams
- func NewUpdateUserOrderStatusParams() *UpdateUserOrderStatusParams
- func NewUpdateUserOrderStatusParamsWithContext(ctx context.Context) *UpdateUserOrderStatusParams
- func NewUpdateUserOrderStatusParamsWithHTTPClient(client *http.Client) *UpdateUserOrderStatusParams
- func NewUpdateUserOrderStatusParamsWithTimeout(timeout time.Duration) *UpdateUserOrderStatusParams
- func (o *UpdateUserOrderStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateUserOrderStatusParams) SetBody(body *platformclientmodels.OrderUpdate)
- func (o *UpdateUserOrderStatusParams) SetContext(ctx context.Context)
- func (o *UpdateUserOrderStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserOrderStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateUserOrderStatusParams) SetNamespace(namespace string)
- func (o *UpdateUserOrderStatusParams) SetOrderNo(orderNo string)
- func (o *UpdateUserOrderStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserOrderStatusParams) SetUserID(userID string)
- func (o *UpdateUserOrderStatusParams) WithBody(body *platformclientmodels.OrderUpdate) *UpdateUserOrderStatusParams
- func (o *UpdateUserOrderStatusParams) WithContext(ctx context.Context) *UpdateUserOrderStatusParams
- func (o *UpdateUserOrderStatusParams) WithHTTPClient(client *http.Client) *UpdateUserOrderStatusParams
- func (o *UpdateUserOrderStatusParams) WithNamespace(namespace string) *UpdateUserOrderStatusParams
- func (o *UpdateUserOrderStatusParams) WithOrderNo(orderNo string) *UpdateUserOrderStatusParams
- func (o *UpdateUserOrderStatusParams) WithTimeout(timeout time.Duration) *UpdateUserOrderStatusParams
- func (o *UpdateUserOrderStatusParams) WithUserID(userID string) *UpdateUserOrderStatusParams
- func (o *UpdateUserOrderStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserOrderStatusReader
- type UpdateUserOrderStatusUnprocessableEntity
Constants ¶
const ( PublicQueryUserOrdersCHARGEBACKConstant = "CHARGEBACK" PublicQueryUserOrdersCHARGEBACKREVERSEDConstant = "CHARGEBACK_REVERSED" PublicQueryUserOrdersCHARGEDConstant = "CHARGED" PublicQueryUserOrdersCLOSEDConstant = "CLOSED" PublicQueryUserOrdersDELETEDConstant = "DELETED" PublicQueryUserOrdersFULFILLEDConstant = "FULFILLED" PublicQueryUserOrdersFULFILLFAILEDConstant = "FULFILL_FAILED" PublicQueryUserOrdersINITConstant = "INIT" PublicQueryUserOrdersREFUNDEDConstant = "REFUNDED" PublicQueryUserOrdersREFUNDINGConstant = "REFUNDING" PublicQueryUserOrdersREFUNDFAILEDConstant = "REFUND_FAILED" )
Get the enum in PublicQueryUserOrdersParams
const ( QueryOrdersCHARGEBACKConstant = "CHARGEBACK" QueryOrdersCHARGEBACKREVERSEDConstant = "CHARGEBACK_REVERSED" QueryOrdersCHARGEDConstant = "CHARGED" QueryOrdersCLOSEDConstant = "CLOSED" QueryOrdersDELETEDConstant = "DELETED" QueryOrdersFULFILLEDConstant = "FULFILLED" QueryOrdersFULFILLFAILEDConstant = "FULFILL_FAILED" QueryOrdersINITConstant = "INIT" QueryOrdersREFUNDEDConstant = "REFUNDED" QueryOrdersREFUNDINGConstant = "REFUNDING" QueryOrdersREFUNDFAILEDConstant = "REFUND_FAILED" )
Get the enum in QueryOrdersParams
const ( QueryUserOrdersCHARGEBACKConstant = "CHARGEBACK" QueryUserOrdersCHARGEBACKREVERSEDConstant = "CHARGEBACK_REVERSED" QueryUserOrdersCHARGEDConstant = "CHARGED" QueryUserOrdersCLOSEDConstant = "CLOSED" QueryUserOrdersDELETEDConstant = "DELETED" QueryUserOrdersFULFILLEDConstant = "FULFILLED" QueryUserOrdersFULFILLFAILEDConstant = "FULFILL_FAILED" QueryUserOrdersINITConstant = "INIT" QueryUserOrdersREFUNDEDConstant = "REFUNDED" QueryUserOrdersREFUNDINGConstant = "REFUNDING" QueryUserOrdersREFUNDFAILEDConstant = "REFUND_FAILED" )
Get the enum in QueryUserOrdersParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateUserOrderBadRequest ¶ added in v0.18.0
type AdminCreateUserOrderBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
AdminCreateUserOrderBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32121</td><td>Order price mismatch</td></tr><tr><td>32122</td><td>Item type [{itemType}] does not support</td></tr><tr><td>32123</td><td>Item is not purchasable</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>35124</td><td>Wallet [{currencyCode}] has insufficient balance</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr><tr><td>32124</td><td>Invalid currency namespace</td></tr></table>
func NewAdminCreateUserOrderBadRequest ¶ added in v0.18.0
func NewAdminCreateUserOrderBadRequest() *AdminCreateUserOrderBadRequest
NewAdminCreateUserOrderBadRequest creates a AdminCreateUserOrderBadRequest with default headers values
func (*AdminCreateUserOrderBadRequest) Error ¶ added in v0.18.0
func (o *AdminCreateUserOrderBadRequest) Error() string
func (*AdminCreateUserOrderBadRequest) GetPayload ¶ added in v0.18.0
func (o *AdminCreateUserOrderBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type AdminCreateUserOrderConflict ¶ added in v0.18.0
type AdminCreateUserOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
AdminCreateUserOrderConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32175</td><td>Exceed item [{itemId}] max count [{maxCount}] per user</td></tr><tr><td>32176</td><td>Exceed item [{itemId}] max count [{maxCount}]</td></tr><tr><td>31177</td><td>Permanent item already owned</td></tr><tr><td>49183</td><td>Pass item does not match published season pass</td></tr><tr><td>49184</td><td>Tier item does not match published season tier</td></tr><tr><td>49185</td><td>Season has not started</td></tr><tr><td>49186</td><td>Pass already owned</td></tr><tr><td>49187</td><td>Exceed max tier count</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewAdminCreateUserOrderConflict ¶ added in v0.18.0
func NewAdminCreateUserOrderConflict() *AdminCreateUserOrderConflict
NewAdminCreateUserOrderConflict creates a AdminCreateUserOrderConflict with default headers values
func (*AdminCreateUserOrderConflict) Error ¶ added in v0.18.0
func (o *AdminCreateUserOrderConflict) Error() string
func (*AdminCreateUserOrderConflict) GetPayload ¶ added in v0.18.0
func (o *AdminCreateUserOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type AdminCreateUserOrderCreated ¶ added in v0.18.0
type AdminCreateUserOrderCreated struct {
Payload *platformclientmodels.OrderInfo
}
AdminCreateUserOrderCreated handles this case with default header values.
successful operation
func NewAdminCreateUserOrderCreated ¶ added in v0.18.0
func NewAdminCreateUserOrderCreated() *AdminCreateUserOrderCreated
NewAdminCreateUserOrderCreated creates a AdminCreateUserOrderCreated with default headers values
func (*AdminCreateUserOrderCreated) Error ¶ added in v0.18.0
func (o *AdminCreateUserOrderCreated) Error() string
func (*AdminCreateUserOrderCreated) GetPayload ¶ added in v0.18.0
func (o *AdminCreateUserOrderCreated) GetPayload() *platformclientmodels.OrderInfo
type AdminCreateUserOrderForbidden ¶ added in v0.18.0
type AdminCreateUserOrderForbidden struct {
Payload *platformclientmodels.ErrorEntity
}
AdminCreateUserOrderForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20016</td><td>action is banned</td></tr></table>
func NewAdminCreateUserOrderForbidden ¶ added in v0.18.0
func NewAdminCreateUserOrderForbidden() *AdminCreateUserOrderForbidden
NewAdminCreateUserOrderForbidden creates a AdminCreateUserOrderForbidden with default headers values
func (*AdminCreateUserOrderForbidden) Error ¶ added in v0.18.0
func (o *AdminCreateUserOrderForbidden) Error() string
func (*AdminCreateUserOrderForbidden) GetPayload ¶ added in v0.18.0
func (o *AdminCreateUserOrderForbidden) GetPayload() *platformclientmodels.ErrorEntity
type AdminCreateUserOrderNotFound ¶ added in v0.18.0
type AdminCreateUserOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
AdminCreateUserOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>
func NewAdminCreateUserOrderNotFound ¶ added in v0.18.0
func NewAdminCreateUserOrderNotFound() *AdminCreateUserOrderNotFound
NewAdminCreateUserOrderNotFound creates a AdminCreateUserOrderNotFound with default headers values
func (*AdminCreateUserOrderNotFound) Error ¶ added in v0.18.0
func (o *AdminCreateUserOrderNotFound) Error() string
func (*AdminCreateUserOrderNotFound) GetPayload ¶ added in v0.18.0
func (o *AdminCreateUserOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type AdminCreateUserOrderParams ¶ added in v0.18.0
type AdminCreateUserOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.AdminOrderCreate /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminCreateUserOrderParams contains all the parameters to send to the API endpoint for the admin create user order operation typically these are written to a http.Request
func NewAdminCreateUserOrderParams ¶ added in v0.18.0
func NewAdminCreateUserOrderParams() *AdminCreateUserOrderParams
NewAdminCreateUserOrderParams creates a new AdminCreateUserOrderParams object with the default values initialized.
func NewAdminCreateUserOrderParamsWithContext ¶ added in v0.18.0
func NewAdminCreateUserOrderParamsWithContext(ctx context.Context) *AdminCreateUserOrderParams
NewAdminCreateUserOrderParamsWithContext creates a new AdminCreateUserOrderParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateUserOrderParamsWithHTTPClient ¶ added in v0.18.0
func NewAdminCreateUserOrderParamsWithHTTPClient(client *http.Client) *AdminCreateUserOrderParams
NewAdminCreateUserOrderParamsWithHTTPClient creates a new AdminCreateUserOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateUserOrderParamsWithTimeout ¶ added in v0.18.0
func NewAdminCreateUserOrderParamsWithTimeout(timeout time.Duration) *AdminCreateUserOrderParams
NewAdminCreateUserOrderParamsWithTimeout creates a new AdminCreateUserOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateUserOrderParams) SetAuthInfoWriter ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create user order params
func (*AdminCreateUserOrderParams) SetBody ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) SetBody(body *platformclientmodels.AdminOrderCreate)
SetBody adds the body to the admin create user order params
func (*AdminCreateUserOrderParams) SetContext ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create user order params
func (*AdminCreateUserOrderParams) SetHTTPClient ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create user order params
func (*AdminCreateUserOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminCreateUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin create user order params
func (*AdminCreateUserOrderParams) SetNamespace ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create user order params
func (*AdminCreateUserOrderParams) SetTimeout ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create user order params
func (*AdminCreateUserOrderParams) SetUserID ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) SetUserID(userID string)
SetUserID adds the userId to the admin create user order params
func (*AdminCreateUserOrderParams) WithBody ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) WithBody(body *platformclientmodels.AdminOrderCreate) *AdminCreateUserOrderParams
WithBody adds the body to the admin create user order params
func (*AdminCreateUserOrderParams) WithContext ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) WithContext(ctx context.Context) *AdminCreateUserOrderParams
WithContext adds the context to the admin create user order params
func (*AdminCreateUserOrderParams) WithHTTPClient ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) WithHTTPClient(client *http.Client) *AdminCreateUserOrderParams
WithHTTPClient adds the HTTPClient to the admin create user order params
func (*AdminCreateUserOrderParams) WithNamespace ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) WithNamespace(namespace string) *AdminCreateUserOrderParams
WithNamespace adds the namespace to the admin create user order params
func (*AdminCreateUserOrderParams) WithTimeout ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) WithTimeout(timeout time.Duration) *AdminCreateUserOrderParams
WithTimeout adds the timeout to the admin create user order params
func (*AdminCreateUserOrderParams) WithUserID ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) WithUserID(userID string) *AdminCreateUserOrderParams
WithUserID adds the userID to the admin create user order params
func (*AdminCreateUserOrderParams) WriteToRequest ¶ added in v0.18.0
func (o *AdminCreateUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateUserOrderReader ¶ added in v0.18.0
type AdminCreateUserOrderReader struct {
// contains filtered or unexported fields
}
AdminCreateUserOrderReader is a Reader for the AdminCreateUserOrder structure.
func (*AdminCreateUserOrderReader) ReadResponse ¶ added in v0.18.0
func (o *AdminCreateUserOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateUserOrderUnprocessableEntity ¶ added in v0.18.0
type AdminCreateUserOrderUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
AdminCreateUserOrderUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminCreateUserOrderUnprocessableEntity ¶ added in v0.18.0
func NewAdminCreateUserOrderUnprocessableEntity() *AdminCreateUserOrderUnprocessableEntity
NewAdminCreateUserOrderUnprocessableEntity creates a AdminCreateUserOrderUnprocessableEntity with default headers values
func (*AdminCreateUserOrderUnprocessableEntity) Error ¶ added in v0.18.0
func (o *AdminCreateUserOrderUnprocessableEntity) Error() string
func (*AdminCreateUserOrderUnprocessableEntity) GetPayload ¶ added in v0.18.0
func (o *AdminCreateUserOrderUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for order API
func (*Client) AdminCreateUserOrder ¶ added in v0.18.0
func (a *Client) AdminCreateUserOrder(params *AdminCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateUserOrderCreated, *AdminCreateUserOrderBadRequest, *AdminCreateUserOrderForbidden, *AdminCreateUserOrderNotFound, *AdminCreateUserOrderConflict, *AdminCreateUserOrderUnprocessableEntity, error)
AdminCreateUserOrder admins create an order
Admin Create an order. The result contains the checkout link and payment token. User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT</li><li>sandbox default value is <b>false</b></li><li>platform default value is <b>Other</b></li><li><i>Returns</i>: created order</li></ul>
func (*Client) AdminCreateUserOrderShort ¶ added in v0.18.0
func (a *Client) AdminCreateUserOrderShort(params *AdminCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateUserOrderCreated, error)
func (*Client) CountOfPurchasedItem ¶
func (a *Client) CountOfPurchasedItem(params *CountOfPurchasedItemParams, authInfo runtime.ClientAuthInfoWriter) (*CountOfPurchasedItemOK, error)
CountOfPurchasedItem gets the count of purchased item
This API is used to get the count of purchased item which is the order target.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: Item purchased count</li></ul>
func (*Client) CountOfPurchasedItemShort ¶ added in v0.8.0
func (a *Client) CountOfPurchasedItemShort(params *CountOfPurchasedItemParams, authInfo runtime.ClientAuthInfoWriter) (*CountOfPurchasedItemOK, error)
func (*Client) DownloadUserOrderReceipt ¶
func (a *Client) DownloadUserOrderReceipt(params *DownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadUserOrderReceiptOK, *DownloadUserOrderReceiptNotFound, *DownloadUserOrderReceiptConflict, error)
DownloadUserOrderReceipt downloads user order receipt
Download user order receipt by orderNo.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: order receipt pdf</li></ul>
func (*Client) DownloadUserOrderReceiptShort ¶ added in v0.8.0
func (a *Client) DownloadUserOrderReceiptShort(params *DownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadUserOrderReceiptOK, error)
func (*Client) FulfillUserOrder ¶
func (a *Client) FulfillUserOrder(params *FulfillUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillUserOrderOK, *FulfillUserOrderBadRequest, *FulfillUserOrderNotFound, *FulfillUserOrderConflict, error)
FulfillUserOrder fulfills an order
Fulfill an order if the order is charged but fulfill failed.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=4 (UPDATE)</li><li><i>Returns</i>: fulfilled order</li></ul>
func (*Client) FulfillUserOrderShort ¶ added in v0.8.0
func (a *Client) FulfillUserOrderShort(params *FulfillUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillUserOrderOK, error)
func (*Client) GetOrder ¶
func (a *Client) GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderOK, *GetOrderNotFound, error)
GetOrder gets order
Get order by orderNo.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:ORDER", action=2 (READ)</li><li><i>Returns</i>: order instance</li></ul>
func (*Client) GetOrderShort ¶ added in v0.8.0
func (a *Client) GetOrderShort(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderOK, error)
func (*Client) GetOrderStatistics ¶
func (a *Client) GetOrderStatistics(params *GetOrderStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderStatisticsOK, error)
GetOrderStatistics gets order statistics
Get Order Statistics.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:ORDER", action=2 (READ)</li><li><i>Returns</i>: order statistics</li></ul>
func (*Client) GetOrderStatisticsShort ¶ added in v0.8.0
func (a *Client) GetOrderStatisticsShort(params *GetOrderStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderStatisticsOK, error)
func (*Client) GetUserOrder ¶
func (a *Client) GetUserOrder(params *GetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderOK, *GetUserOrderNotFound, error)
GetUserOrder gets an order
Get an order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
func (*Client) GetUserOrderGrant ¶
func (a *Client) GetUserOrderGrant(params *GetUserOrderGrantParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderGrantOK, error)
GetUserOrderGrant gets user order grant
Get user order grant that fulfilled by this order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order grant</li></ul>
func (*Client) GetUserOrderGrantShort ¶ added in v0.8.0
func (a *Client) GetUserOrderGrantShort(params *GetUserOrderGrantParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderGrantOK, error)
func (*Client) GetUserOrderHistories ¶
func (a *Client) GetUserOrderHistories(params *GetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderHistoriesOK, error)
GetUserOrderHistories gets user order histories
Get user order history.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order history</li></ul>
func (*Client) GetUserOrderHistoriesShort ¶ added in v0.8.0
func (a *Client) GetUserOrderHistoriesShort(params *GetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderHistoriesOK, error)
func (*Client) GetUserOrderShort ¶ added in v0.8.0
func (a *Client) GetUserOrderShort(params *GetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderOK, error)
func (*Client) ProcessUserOrderNotification ¶
func (a *Client) ProcessUserOrderNotification(params *ProcessUserOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessUserOrderNotificationNoContent, *ProcessUserOrderNotificationBadRequest, error)
ProcessUserOrderNotification webs hook for payment notification
<b>[SERVICE COMMUNICATION ONLY]</b> This API is used as a web hook for payment notification from justice payment service.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=4 (UPDATE)</li><li><i>Returns</i>: Process result</li></ul>
func (*Client) ProcessUserOrderNotificationShort ¶ added in v0.8.0
func (a *Client) ProcessUserOrderNotificationShort(params *ProcessUserOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessUserOrderNotificationNoContent, error)
func (*Client) PublicCancelUserOrder ¶
func (a *Client) PublicCancelUserOrder(params *PublicCancelUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelUserOrderOK, *PublicCancelUserOrderNotFound, *PublicCancelUserOrderConflict, error)
PublicCancelUserOrder cancels user order
Cancel user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=4 (UPDATE)</li><li><i>Returns</i>: cancelled order</li></ul>
func (*Client) PublicCancelUserOrderShort ¶ added in v0.8.0
func (a *Client) PublicCancelUserOrderShort(params *PublicCancelUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelUserOrderOK, error)
func (*Client) PublicCreateUserOrder ¶
func (a *Client) PublicCreateUserOrder(params *PublicCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserOrderCreated, *PublicCreateUserOrderBadRequest, *PublicCreateUserOrderForbidden, *PublicCreateUserOrderNotFound, *PublicCreateUserOrderConflict, *PublicCreateUserOrderUnprocessableEntity, error)
PublicCreateUserOrder creates an order
Create an order. The result contains the checkout link and payment token. User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=1 (CREATE)</li><li><i>Optional permission(user with this permission will create sandbox order)</i>: resource="SANDBOX", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT</li><li><i>Returns</i>: created order</li></ul>
func (*Client) PublicCreateUserOrderShort ¶ added in v0.8.0
func (a *Client) PublicCreateUserOrderShort(params *PublicCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserOrderCreated, error)
func (*Client) PublicDownloadUserOrderReceipt ¶
func (a *Client) PublicDownloadUserOrderReceipt(params *PublicDownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadUserOrderReceiptOK, *PublicDownloadUserOrderReceiptNotFound, *PublicDownloadUserOrderReceiptConflict, error)
PublicDownloadUserOrderReceipt downloads user order receipt
Download user order receipt by orderNo.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: order receipt pdf</li></ul>
func (*Client) PublicDownloadUserOrderReceiptShort ¶ added in v0.8.0
func (a *Client) PublicDownloadUserOrderReceiptShort(params *PublicDownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadUserOrderReceiptOK, error)
func (*Client) PublicGetUserOrder ¶
func (a *Client) PublicGetUserOrder(params *PublicGetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderOK, *PublicGetUserOrderNotFound, error)
PublicGetUserOrder gets user order
Get user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
func (*Client) PublicGetUserOrderHistories ¶
func (a *Client) PublicGetUserOrderHistories(params *PublicGetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderHistoriesOK, error)
PublicGetUserOrderHistories gets user order histories
Get user order histories.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order history</li></ul>
func (*Client) PublicGetUserOrderHistoriesShort ¶ added in v0.8.0
func (a *Client) PublicGetUserOrderHistoriesShort(params *PublicGetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderHistoriesOK, error)
func (*Client) PublicGetUserOrderShort ¶ added in v0.8.0
func (a *Client) PublicGetUserOrderShort(params *PublicGetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderOK, error)
func (*Client) PublicQueryUserOrders ¶
func (a *Client) PublicQueryUserOrders(params *PublicQueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserOrdersOK, error)
PublicQueryUserOrders queries user orders
Query user orders.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
func (*Client) PublicQueryUserOrdersShort ¶ added in v0.8.0
func (a *Client) PublicQueryUserOrdersShort(params *PublicQueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserOrdersOK, error)
func (*Client) QueryOrders ¶
func (a *Client) QueryOrders(params *QueryOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryOrdersOK, *QueryOrdersUnprocessableEntity, error)
QueryOrders queries orders
Query orders.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:ORDER", action=2 (READ)</li><li><i>Returns</i>: query orders</li></ul>
func (*Client) QueryOrdersShort ¶ added in v0.8.0
func (a *Client) QueryOrdersShort(params *QueryOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryOrdersOK, error)
func (*Client) QueryUserOrders ¶
func (a *Client) QueryUserOrders(params *QueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserOrdersOK, error)
QueryUserOrders queries user orders
Query user orders.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
func (*Client) QueryUserOrdersShort ¶ added in v0.8.0
func (a *Client) QueryUserOrdersShort(params *QueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserOrdersOK, error)
func (*Client) RefundOrder ¶
func (a *Client) RefundOrder(params *RefundOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundOrderOK, *RefundOrderNotFound, *RefundOrderConflict, *RefundOrderUnprocessableEntity, error)
RefundOrder refunds order
Refund order by orderNo.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:ORDER", action=4 (UPDATE)</li></ul>
func (*Client) RefundOrderShort ¶ added in v0.8.0
func (a *Client) RefundOrderShort(params *RefundOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundOrderOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUserOrderStatus ¶
func (a *Client) UpdateUserOrderStatus(params *UpdateUserOrderStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserOrderStatusOK, *UpdateUserOrderStatusNotFound, *UpdateUserOrderStatusConflict, *UpdateUserOrderStatusUnprocessableEntity, error)
UpdateUserOrderStatus updates order status
Update order status.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ORDER", action=4 (UPDATE)</li><li><i>Returns</i>: updated order</li></ul>
func (*Client) UpdateUserOrderStatusShort ¶ added in v0.8.0
func (a *Client) UpdateUserOrderStatusShort(params *UpdateUserOrderStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserOrderStatusOK, error)
type ClientService ¶
type ClientService interface { AdminCreateUserOrder(params *AdminCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateUserOrderCreated, *AdminCreateUserOrderBadRequest, *AdminCreateUserOrderForbidden, *AdminCreateUserOrderNotFound, *AdminCreateUserOrderConflict, *AdminCreateUserOrderUnprocessableEntity, error) AdminCreateUserOrderShort(params *AdminCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateUserOrderCreated, error) CountOfPurchasedItem(params *CountOfPurchasedItemParams, authInfo runtime.ClientAuthInfoWriter) (*CountOfPurchasedItemOK, error) CountOfPurchasedItemShort(params *CountOfPurchasedItemParams, authInfo runtime.ClientAuthInfoWriter) (*CountOfPurchasedItemOK, error) DownloadUserOrderReceipt(params *DownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadUserOrderReceiptOK, *DownloadUserOrderReceiptNotFound, *DownloadUserOrderReceiptConflict, error) DownloadUserOrderReceiptShort(params *DownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadUserOrderReceiptOK, error) FulfillUserOrder(params *FulfillUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillUserOrderOK, *FulfillUserOrderBadRequest, *FulfillUserOrderNotFound, *FulfillUserOrderConflict, error) FulfillUserOrderShort(params *FulfillUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillUserOrderOK, error) GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderOK, *GetOrderNotFound, error) GetOrderShort(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderOK, error) GetOrderStatistics(params *GetOrderStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderStatisticsOK, error) GetOrderStatisticsShort(params *GetOrderStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrderStatisticsOK, error) GetUserOrder(params *GetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderOK, *GetUserOrderNotFound, error) GetUserOrderShort(params *GetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderOK, error) GetUserOrderGrant(params *GetUserOrderGrantParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderGrantOK, error) GetUserOrderGrantShort(params *GetUserOrderGrantParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderGrantOK, error) GetUserOrderHistories(params *GetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderHistoriesOK, error) GetUserOrderHistoriesShort(params *GetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOrderHistoriesOK, error) ProcessUserOrderNotification(params *ProcessUserOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessUserOrderNotificationNoContent, *ProcessUserOrderNotificationBadRequest, error) ProcessUserOrderNotificationShort(params *ProcessUserOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessUserOrderNotificationNoContent, error) PublicCancelUserOrder(params *PublicCancelUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelUserOrderOK, *PublicCancelUserOrderNotFound, *PublicCancelUserOrderConflict, error) PublicCancelUserOrderShort(params *PublicCancelUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelUserOrderOK, error) PublicCreateUserOrder(params *PublicCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserOrderCreated, *PublicCreateUserOrderBadRequest, *PublicCreateUserOrderForbidden, *PublicCreateUserOrderNotFound, *PublicCreateUserOrderConflict, *PublicCreateUserOrderUnprocessableEntity, error) PublicCreateUserOrderShort(params *PublicCreateUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserOrderCreated, error) PublicDownloadUserOrderReceipt(params *PublicDownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadUserOrderReceiptOK, *PublicDownloadUserOrderReceiptNotFound, *PublicDownloadUserOrderReceiptConflict, error) PublicDownloadUserOrderReceiptShort(params *PublicDownloadUserOrderReceiptParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadUserOrderReceiptOK, error) PublicGetUserOrder(params *PublicGetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderOK, *PublicGetUserOrderNotFound, error) PublicGetUserOrderShort(params *PublicGetUserOrderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderOK, error) PublicGetUserOrderHistories(params *PublicGetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderHistoriesOK, error) PublicGetUserOrderHistoriesShort(params *PublicGetUserOrderHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserOrderHistoriesOK, error) PublicQueryUserOrders(params *PublicQueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserOrdersOK, error) PublicQueryUserOrdersShort(params *PublicQueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserOrdersOK, error) QueryOrders(params *QueryOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryOrdersOK, *QueryOrdersUnprocessableEntity, error) QueryOrdersShort(params *QueryOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryOrdersOK, error) QueryUserOrders(params *QueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserOrdersOK, error) QueryUserOrdersShort(params *QueryUserOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserOrdersOK, error) RefundOrder(params *RefundOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundOrderOK, *RefundOrderNotFound, *RefundOrderConflict, *RefundOrderUnprocessableEntity, error) RefundOrderShort(params *RefundOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundOrderOK, error) UpdateUserOrderStatus(params *UpdateUserOrderStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserOrderStatusOK, *UpdateUserOrderStatusNotFound, *UpdateUserOrderStatusConflict, *UpdateUserOrderStatusUnprocessableEntity, error) UpdateUserOrderStatusShort(params *UpdateUserOrderStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserOrderStatusOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new order API client.
type CountOfPurchasedItemOK ¶
type CountOfPurchasedItemOK struct {
Payload *platformclientmodels.PurchasedItemCount
}
CountOfPurchasedItemOK handles this case with default header values.
successful operation
func NewCountOfPurchasedItemOK ¶
func NewCountOfPurchasedItemOK() *CountOfPurchasedItemOK
NewCountOfPurchasedItemOK creates a CountOfPurchasedItemOK with default headers values
func (*CountOfPurchasedItemOK) Error ¶
func (o *CountOfPurchasedItemOK) Error() string
func (*CountOfPurchasedItemOK) GetPayload ¶
func (o *CountOfPurchasedItemOK) GetPayload() *platformclientmodels.PurchasedItemCount
type CountOfPurchasedItemParams ¶
type CountOfPurchasedItemParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ItemID*/ ItemID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CountOfPurchasedItemParams contains all the parameters to send to the API endpoint for the count of purchased item operation typically these are written to a http.Request
func NewCountOfPurchasedItemParams ¶
func NewCountOfPurchasedItemParams() *CountOfPurchasedItemParams
NewCountOfPurchasedItemParams creates a new CountOfPurchasedItemParams object with the default values initialized.
func NewCountOfPurchasedItemParamsWithContext ¶
func NewCountOfPurchasedItemParamsWithContext(ctx context.Context) *CountOfPurchasedItemParams
NewCountOfPurchasedItemParamsWithContext creates a new CountOfPurchasedItemParams object with the default values initialized, and the ability to set a context for a request
func NewCountOfPurchasedItemParamsWithHTTPClient ¶
func NewCountOfPurchasedItemParamsWithHTTPClient(client *http.Client) *CountOfPurchasedItemParams
NewCountOfPurchasedItemParamsWithHTTPClient creates a new CountOfPurchasedItemParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCountOfPurchasedItemParamsWithTimeout ¶
func NewCountOfPurchasedItemParamsWithTimeout(timeout time.Duration) *CountOfPurchasedItemParams
NewCountOfPurchasedItemParamsWithTimeout creates a new CountOfPurchasedItemParams object with the default values initialized, and the ability to set a timeout on a request
func (*CountOfPurchasedItemParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CountOfPurchasedItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the count of purchased item params
func (*CountOfPurchasedItemParams) SetContext ¶
func (o *CountOfPurchasedItemParams) SetContext(ctx context.Context)
SetContext adds the context to the count of purchased item params
func (*CountOfPurchasedItemParams) SetHTTPClient ¶
func (o *CountOfPurchasedItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the count of purchased item params
func (*CountOfPurchasedItemParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CountOfPurchasedItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the count of purchased item params
func (*CountOfPurchasedItemParams) SetItemID ¶
func (o *CountOfPurchasedItemParams) SetItemID(itemID string)
SetItemID adds the itemId to the count of purchased item params
func (*CountOfPurchasedItemParams) SetNamespace ¶
func (o *CountOfPurchasedItemParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the count of purchased item params
func (*CountOfPurchasedItemParams) SetTimeout ¶
func (o *CountOfPurchasedItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the count of purchased item params
func (*CountOfPurchasedItemParams) SetUserID ¶
func (o *CountOfPurchasedItemParams) SetUserID(userID string)
SetUserID adds the userId to the count of purchased item params
func (*CountOfPurchasedItemParams) WithContext ¶
func (o *CountOfPurchasedItemParams) WithContext(ctx context.Context) *CountOfPurchasedItemParams
WithContext adds the context to the count of purchased item params
func (*CountOfPurchasedItemParams) WithHTTPClient ¶
func (o *CountOfPurchasedItemParams) WithHTTPClient(client *http.Client) *CountOfPurchasedItemParams
WithHTTPClient adds the HTTPClient to the count of purchased item params
func (*CountOfPurchasedItemParams) WithItemID ¶
func (o *CountOfPurchasedItemParams) WithItemID(itemID string) *CountOfPurchasedItemParams
WithItemID adds the itemID to the count of purchased item params
func (*CountOfPurchasedItemParams) WithNamespace ¶
func (o *CountOfPurchasedItemParams) WithNamespace(namespace string) *CountOfPurchasedItemParams
WithNamespace adds the namespace to the count of purchased item params
func (*CountOfPurchasedItemParams) WithTimeout ¶
func (o *CountOfPurchasedItemParams) WithTimeout(timeout time.Duration) *CountOfPurchasedItemParams
WithTimeout adds the timeout to the count of purchased item params
func (*CountOfPurchasedItemParams) WithUserID ¶
func (o *CountOfPurchasedItemParams) WithUserID(userID string) *CountOfPurchasedItemParams
WithUserID adds the userID to the count of purchased item params
func (*CountOfPurchasedItemParams) WriteToRequest ¶
func (o *CountOfPurchasedItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CountOfPurchasedItemReader ¶
type CountOfPurchasedItemReader struct {
// contains filtered or unexported fields
}
CountOfPurchasedItemReader is a Reader for the CountOfPurchasedItem structure.
func (*CountOfPurchasedItemReader) ReadResponse ¶
func (o *CountOfPurchasedItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DownloadUserOrderReceiptConflict ¶
type DownloadUserOrderReceiptConflict struct {
Payload *platformclientmodels.ErrorEntity
}
DownloadUserOrderReceiptConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32173</td><td>Receipt of order [{orderNo}] is not downloadable</td></tr></table>
func NewDownloadUserOrderReceiptConflict ¶
func NewDownloadUserOrderReceiptConflict() *DownloadUserOrderReceiptConflict
NewDownloadUserOrderReceiptConflict creates a DownloadUserOrderReceiptConflict with default headers values
func (*DownloadUserOrderReceiptConflict) Error ¶
func (o *DownloadUserOrderReceiptConflict) Error() string
func (*DownloadUserOrderReceiptConflict) GetPayload ¶
func (o *DownloadUserOrderReceiptConflict) GetPayload() *platformclientmodels.ErrorEntity
type DownloadUserOrderReceiptNotFound ¶
type DownloadUserOrderReceiptNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
DownloadUserOrderReceiptNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewDownloadUserOrderReceiptNotFound ¶
func NewDownloadUserOrderReceiptNotFound() *DownloadUserOrderReceiptNotFound
NewDownloadUserOrderReceiptNotFound creates a DownloadUserOrderReceiptNotFound with default headers values
func (*DownloadUserOrderReceiptNotFound) Error ¶
func (o *DownloadUserOrderReceiptNotFound) Error() string
func (*DownloadUserOrderReceiptNotFound) GetPayload ¶
func (o *DownloadUserOrderReceiptNotFound) GetPayload() *platformclientmodels.ErrorEntity
type DownloadUserOrderReceiptOK ¶ added in v0.7.0
type DownloadUserOrderReceiptOK struct { }
DownloadUserOrderReceiptOK handles this case with default header values.
Successful operation
func NewDownloadUserOrderReceiptOK ¶ added in v0.7.0
func NewDownloadUserOrderReceiptOK() *DownloadUserOrderReceiptOK
NewDownloadUserOrderReceiptOK creates a DownloadUserOrderReceiptOK with default headers values
func (*DownloadUserOrderReceiptOK) Error ¶ added in v0.7.0
func (o *DownloadUserOrderReceiptOK) Error() string
type DownloadUserOrderReceiptParams ¶
type DownloadUserOrderReceiptParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DownloadUserOrderReceiptParams contains all the parameters to send to the API endpoint for the download user order receipt operation typically these are written to a http.Request
func NewDownloadUserOrderReceiptParams ¶
func NewDownloadUserOrderReceiptParams() *DownloadUserOrderReceiptParams
NewDownloadUserOrderReceiptParams creates a new DownloadUserOrderReceiptParams object with the default values initialized.
func NewDownloadUserOrderReceiptParamsWithContext ¶
func NewDownloadUserOrderReceiptParamsWithContext(ctx context.Context) *DownloadUserOrderReceiptParams
NewDownloadUserOrderReceiptParamsWithContext creates a new DownloadUserOrderReceiptParams object with the default values initialized, and the ability to set a context for a request
func NewDownloadUserOrderReceiptParamsWithHTTPClient ¶
func NewDownloadUserOrderReceiptParamsWithHTTPClient(client *http.Client) *DownloadUserOrderReceiptParams
NewDownloadUserOrderReceiptParamsWithHTTPClient creates a new DownloadUserOrderReceiptParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDownloadUserOrderReceiptParamsWithTimeout ¶
func NewDownloadUserOrderReceiptParamsWithTimeout(timeout time.Duration) *DownloadUserOrderReceiptParams
NewDownloadUserOrderReceiptParamsWithTimeout creates a new DownloadUserOrderReceiptParams object with the default values initialized, and the ability to set a timeout on a request
func (*DownloadUserOrderReceiptParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DownloadUserOrderReceiptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the download user order receipt params
func (*DownloadUserOrderReceiptParams) SetContext ¶
func (o *DownloadUserOrderReceiptParams) SetContext(ctx context.Context)
SetContext adds the context to the download user order receipt params
func (*DownloadUserOrderReceiptParams) SetHTTPClient ¶
func (o *DownloadUserOrderReceiptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download user order receipt params
func (*DownloadUserOrderReceiptParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DownloadUserOrderReceiptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the download user order receipt params
func (*DownloadUserOrderReceiptParams) SetNamespace ¶
func (o *DownloadUserOrderReceiptParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the download user order receipt params
func (*DownloadUserOrderReceiptParams) SetOrderNo ¶
func (o *DownloadUserOrderReceiptParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the download user order receipt params
func (*DownloadUserOrderReceiptParams) SetTimeout ¶
func (o *DownloadUserOrderReceiptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download user order receipt params
func (*DownloadUserOrderReceiptParams) SetUserID ¶
func (o *DownloadUserOrderReceiptParams) SetUserID(userID string)
SetUserID adds the userId to the download user order receipt params
func (*DownloadUserOrderReceiptParams) WithContext ¶
func (o *DownloadUserOrderReceiptParams) WithContext(ctx context.Context) *DownloadUserOrderReceiptParams
WithContext adds the context to the download user order receipt params
func (*DownloadUserOrderReceiptParams) WithHTTPClient ¶
func (o *DownloadUserOrderReceiptParams) WithHTTPClient(client *http.Client) *DownloadUserOrderReceiptParams
WithHTTPClient adds the HTTPClient to the download user order receipt params
func (*DownloadUserOrderReceiptParams) WithNamespace ¶
func (o *DownloadUserOrderReceiptParams) WithNamespace(namespace string) *DownloadUserOrderReceiptParams
WithNamespace adds the namespace to the download user order receipt params
func (*DownloadUserOrderReceiptParams) WithOrderNo ¶
func (o *DownloadUserOrderReceiptParams) WithOrderNo(orderNo string) *DownloadUserOrderReceiptParams
WithOrderNo adds the orderNo to the download user order receipt params
func (*DownloadUserOrderReceiptParams) WithTimeout ¶
func (o *DownloadUserOrderReceiptParams) WithTimeout(timeout time.Duration) *DownloadUserOrderReceiptParams
WithTimeout adds the timeout to the download user order receipt params
func (*DownloadUserOrderReceiptParams) WithUserID ¶
func (o *DownloadUserOrderReceiptParams) WithUserID(userID string) *DownloadUserOrderReceiptParams
WithUserID adds the userID to the download user order receipt params
func (*DownloadUserOrderReceiptParams) WriteToRequest ¶
func (o *DownloadUserOrderReceiptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadUserOrderReceiptReader ¶
type DownloadUserOrderReceiptReader struct {
// contains filtered or unexported fields
}
DownloadUserOrderReceiptReader is a Reader for the DownloadUserOrderReceipt structure.
func (*DownloadUserOrderReceiptReader) ReadResponse ¶
func (o *DownloadUserOrderReceiptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FulfillUserOrderBadRequest ¶
type FulfillUserOrderBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillUserOrderBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr></table>
func NewFulfillUserOrderBadRequest ¶
func NewFulfillUserOrderBadRequest() *FulfillUserOrderBadRequest
NewFulfillUserOrderBadRequest creates a FulfillUserOrderBadRequest with default headers values
func (*FulfillUserOrderBadRequest) Error ¶
func (o *FulfillUserOrderBadRequest) Error() string
func (*FulfillUserOrderBadRequest) GetPayload ¶
func (o *FulfillUserOrderBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type FulfillUserOrderConflict ¶
type FulfillUserOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillUserOrderConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32172</td><td>Invalid order status [{status}] for order [{orderNo}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewFulfillUserOrderConflict ¶
func NewFulfillUserOrderConflict() *FulfillUserOrderConflict
NewFulfillUserOrderConflict creates a FulfillUserOrderConflict with default headers values
func (*FulfillUserOrderConflict) Error ¶
func (o *FulfillUserOrderConflict) Error() string
func (*FulfillUserOrderConflict) GetPayload ¶
func (o *FulfillUserOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type FulfillUserOrderNotFound ¶
type FulfillUserOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillUserOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewFulfillUserOrderNotFound ¶
func NewFulfillUserOrderNotFound() *FulfillUserOrderNotFound
NewFulfillUserOrderNotFound creates a FulfillUserOrderNotFound with default headers values
func (*FulfillUserOrderNotFound) Error ¶
func (o *FulfillUserOrderNotFound) Error() string
func (*FulfillUserOrderNotFound) GetPayload ¶
func (o *FulfillUserOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type FulfillUserOrderOK ¶
type FulfillUserOrderOK struct {
Payload *platformclientmodels.OrderInfo
}
FulfillUserOrderOK handles this case with default header values.
successful operation
func NewFulfillUserOrderOK ¶
func NewFulfillUserOrderOK() *FulfillUserOrderOK
NewFulfillUserOrderOK creates a FulfillUserOrderOK with default headers values
func (*FulfillUserOrderOK) Error ¶
func (o *FulfillUserOrderOK) Error() string
func (*FulfillUserOrderOK) GetPayload ¶
func (o *FulfillUserOrderOK) GetPayload() *platformclientmodels.OrderInfo
type FulfillUserOrderParams ¶
type FulfillUserOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FulfillUserOrderParams contains all the parameters to send to the API endpoint for the fulfill user order operation typically these are written to a http.Request
func NewFulfillUserOrderParams ¶
func NewFulfillUserOrderParams() *FulfillUserOrderParams
NewFulfillUserOrderParams creates a new FulfillUserOrderParams object with the default values initialized.
func NewFulfillUserOrderParamsWithContext ¶
func NewFulfillUserOrderParamsWithContext(ctx context.Context) *FulfillUserOrderParams
NewFulfillUserOrderParamsWithContext creates a new FulfillUserOrderParams object with the default values initialized, and the ability to set a context for a request
func NewFulfillUserOrderParamsWithHTTPClient ¶
func NewFulfillUserOrderParamsWithHTTPClient(client *http.Client) *FulfillUserOrderParams
NewFulfillUserOrderParamsWithHTTPClient creates a new FulfillUserOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFulfillUserOrderParamsWithTimeout ¶
func NewFulfillUserOrderParamsWithTimeout(timeout time.Duration) *FulfillUserOrderParams
NewFulfillUserOrderParamsWithTimeout creates a new FulfillUserOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*FulfillUserOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *FulfillUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the fulfill user order params
func (*FulfillUserOrderParams) SetContext ¶
func (o *FulfillUserOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the fulfill user order params
func (*FulfillUserOrderParams) SetHTTPClient ¶
func (o *FulfillUserOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fulfill user order params
func (*FulfillUserOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *FulfillUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the fulfill user order params
func (*FulfillUserOrderParams) SetNamespace ¶
func (o *FulfillUserOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the fulfill user order params
func (*FulfillUserOrderParams) SetOrderNo ¶
func (o *FulfillUserOrderParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the fulfill user order params
func (*FulfillUserOrderParams) SetTimeout ¶
func (o *FulfillUserOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fulfill user order params
func (*FulfillUserOrderParams) SetUserID ¶
func (o *FulfillUserOrderParams) SetUserID(userID string)
SetUserID adds the userId to the fulfill user order params
func (*FulfillUserOrderParams) WithContext ¶
func (o *FulfillUserOrderParams) WithContext(ctx context.Context) *FulfillUserOrderParams
WithContext adds the context to the fulfill user order params
func (*FulfillUserOrderParams) WithHTTPClient ¶
func (o *FulfillUserOrderParams) WithHTTPClient(client *http.Client) *FulfillUserOrderParams
WithHTTPClient adds the HTTPClient to the fulfill user order params
func (*FulfillUserOrderParams) WithNamespace ¶
func (o *FulfillUserOrderParams) WithNamespace(namespace string) *FulfillUserOrderParams
WithNamespace adds the namespace to the fulfill user order params
func (*FulfillUserOrderParams) WithOrderNo ¶
func (o *FulfillUserOrderParams) WithOrderNo(orderNo string) *FulfillUserOrderParams
WithOrderNo adds the orderNo to the fulfill user order params
func (*FulfillUserOrderParams) WithTimeout ¶
func (o *FulfillUserOrderParams) WithTimeout(timeout time.Duration) *FulfillUserOrderParams
WithTimeout adds the timeout to the fulfill user order params
func (*FulfillUserOrderParams) WithUserID ¶
func (o *FulfillUserOrderParams) WithUserID(userID string) *FulfillUserOrderParams
WithUserID adds the userID to the fulfill user order params
func (*FulfillUserOrderParams) WriteToRequest ¶
func (o *FulfillUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FulfillUserOrderReader ¶
type FulfillUserOrderReader struct {
// contains filtered or unexported fields
}
FulfillUserOrderReader is a Reader for the FulfillUserOrder structure.
func (*FulfillUserOrderReader) ReadResponse ¶
func (o *FulfillUserOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrderNotFound ¶
type GetOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewGetOrderNotFound ¶
func NewGetOrderNotFound() *GetOrderNotFound
NewGetOrderNotFound creates a GetOrderNotFound with default headers values
func (*GetOrderNotFound) Error ¶
func (o *GetOrderNotFound) Error() string
func (*GetOrderNotFound) GetPayload ¶
func (o *GetOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type GetOrderOK ¶
type GetOrderOK struct {
Payload *platformclientmodels.OrderInfo
}
GetOrderOK handles this case with default header values.
successful operation
func NewGetOrderOK ¶
func NewGetOrderOK() *GetOrderOK
NewGetOrderOK creates a GetOrderOK with default headers values
func (*GetOrderOK) Error ¶
func (o *GetOrderOK) Error() string
func (*GetOrderOK) GetPayload ¶
func (o *GetOrderOK) GetPayload() *platformclientmodels.OrderInfo
type GetOrderParams ¶
type GetOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrderParams contains all the parameters to send to the API endpoint for the get order operation typically these are written to a http.Request
func NewGetOrderParams ¶
func NewGetOrderParams() *GetOrderParams
NewGetOrderParams creates a new GetOrderParams object with the default values initialized.
func NewGetOrderParamsWithContext ¶
func NewGetOrderParamsWithContext(ctx context.Context) *GetOrderParams
NewGetOrderParamsWithContext creates a new GetOrderParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrderParamsWithHTTPClient ¶
func NewGetOrderParamsWithHTTPClient(client *http.Client) *GetOrderParams
NewGetOrderParamsWithHTTPClient creates a new GetOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrderParamsWithTimeout ¶
func NewGetOrderParamsWithTimeout(timeout time.Duration) *GetOrderParams
NewGetOrderParamsWithTimeout creates a new GetOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get order params
func (*GetOrderParams) SetContext ¶
func (o *GetOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the get order params
func (*GetOrderParams) SetHTTPClient ¶
func (o *GetOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get order params
func (*GetOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get order params
func (*GetOrderParams) SetNamespace ¶
func (o *GetOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get order params
func (*GetOrderParams) SetOrderNo ¶
func (o *GetOrderParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the get order params
func (*GetOrderParams) SetTimeout ¶
func (o *GetOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get order params
func (*GetOrderParams) WithContext ¶
func (o *GetOrderParams) WithContext(ctx context.Context) *GetOrderParams
WithContext adds the context to the get order params
func (*GetOrderParams) WithHTTPClient ¶
func (o *GetOrderParams) WithHTTPClient(client *http.Client) *GetOrderParams
WithHTTPClient adds the HTTPClient to the get order params
func (*GetOrderParams) WithNamespace ¶
func (o *GetOrderParams) WithNamespace(namespace string) *GetOrderParams
WithNamespace adds the namespace to the get order params
func (*GetOrderParams) WithOrderNo ¶
func (o *GetOrderParams) WithOrderNo(orderNo string) *GetOrderParams
WithOrderNo adds the orderNo to the get order params
func (*GetOrderParams) WithTimeout ¶
func (o *GetOrderParams) WithTimeout(timeout time.Duration) *GetOrderParams
WithTimeout adds the timeout to the get order params
func (*GetOrderParams) WriteToRequest ¶
func (o *GetOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrderReader ¶
type GetOrderReader struct {
// contains filtered or unexported fields
}
GetOrderReader is a Reader for the GetOrder structure.
func (*GetOrderReader) ReadResponse ¶
func (o *GetOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrderStatisticsOK ¶
type GetOrderStatisticsOK struct {
Payload *platformclientmodels.OrderStatistics
}
GetOrderStatisticsOK handles this case with default header values.
successful operation
func NewGetOrderStatisticsOK ¶
func NewGetOrderStatisticsOK() *GetOrderStatisticsOK
NewGetOrderStatisticsOK creates a GetOrderStatisticsOK with default headers values
func (*GetOrderStatisticsOK) Error ¶
func (o *GetOrderStatisticsOK) Error() string
func (*GetOrderStatisticsOK) GetPayload ¶
func (o *GetOrderStatisticsOK) GetPayload() *platformclientmodels.OrderStatistics
type GetOrderStatisticsParams ¶
type GetOrderStatisticsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrderStatisticsParams contains all the parameters to send to the API endpoint for the get order statistics operation typically these are written to a http.Request
func NewGetOrderStatisticsParams ¶
func NewGetOrderStatisticsParams() *GetOrderStatisticsParams
NewGetOrderStatisticsParams creates a new GetOrderStatisticsParams object with the default values initialized.
func NewGetOrderStatisticsParamsWithContext ¶
func NewGetOrderStatisticsParamsWithContext(ctx context.Context) *GetOrderStatisticsParams
NewGetOrderStatisticsParamsWithContext creates a new GetOrderStatisticsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrderStatisticsParamsWithHTTPClient ¶
func NewGetOrderStatisticsParamsWithHTTPClient(client *http.Client) *GetOrderStatisticsParams
NewGetOrderStatisticsParamsWithHTTPClient creates a new GetOrderStatisticsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrderStatisticsParamsWithTimeout ¶
func NewGetOrderStatisticsParamsWithTimeout(timeout time.Duration) *GetOrderStatisticsParams
NewGetOrderStatisticsParamsWithTimeout creates a new GetOrderStatisticsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrderStatisticsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetOrderStatisticsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get order statistics params
func (*GetOrderStatisticsParams) SetContext ¶
func (o *GetOrderStatisticsParams) SetContext(ctx context.Context)
SetContext adds the context to the get order statistics params
func (*GetOrderStatisticsParams) SetHTTPClient ¶
func (o *GetOrderStatisticsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get order statistics params
func (*GetOrderStatisticsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetOrderStatisticsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get order statistics params
func (*GetOrderStatisticsParams) SetNamespace ¶
func (o *GetOrderStatisticsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get order statistics params
func (*GetOrderStatisticsParams) SetTimeout ¶
func (o *GetOrderStatisticsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get order statistics params
func (*GetOrderStatisticsParams) WithContext ¶
func (o *GetOrderStatisticsParams) WithContext(ctx context.Context) *GetOrderStatisticsParams
WithContext adds the context to the get order statistics params
func (*GetOrderStatisticsParams) WithHTTPClient ¶
func (o *GetOrderStatisticsParams) WithHTTPClient(client *http.Client) *GetOrderStatisticsParams
WithHTTPClient adds the HTTPClient to the get order statistics params
func (*GetOrderStatisticsParams) WithNamespace ¶
func (o *GetOrderStatisticsParams) WithNamespace(namespace string) *GetOrderStatisticsParams
WithNamespace adds the namespace to the get order statistics params
func (*GetOrderStatisticsParams) WithTimeout ¶
func (o *GetOrderStatisticsParams) WithTimeout(timeout time.Duration) *GetOrderStatisticsParams
WithTimeout adds the timeout to the get order statistics params
func (*GetOrderStatisticsParams) WriteToRequest ¶
func (o *GetOrderStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrderStatisticsReader ¶
type GetOrderStatisticsReader struct {
// contains filtered or unexported fields
}
GetOrderStatisticsReader is a Reader for the GetOrderStatistics structure.
func (*GetOrderStatisticsReader) ReadResponse ¶
func (o *GetOrderStatisticsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserOrderGrantOK ¶
type GetUserOrderGrantOK struct {
Payload *platformclientmodels.OrderGrantInfo
}
GetUserOrderGrantOK handles this case with default header values.
successful operation
func NewGetUserOrderGrantOK ¶
func NewGetUserOrderGrantOK() *GetUserOrderGrantOK
NewGetUserOrderGrantOK creates a GetUserOrderGrantOK with default headers values
func (*GetUserOrderGrantOK) Error ¶
func (o *GetUserOrderGrantOK) Error() string
func (*GetUserOrderGrantOK) GetPayload ¶
func (o *GetUserOrderGrantOK) GetPayload() *platformclientmodels.OrderGrantInfo
type GetUserOrderGrantParams ¶
type GetUserOrderGrantParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserOrderGrantParams contains all the parameters to send to the API endpoint for the get user order grant operation typically these are written to a http.Request
func NewGetUserOrderGrantParams ¶
func NewGetUserOrderGrantParams() *GetUserOrderGrantParams
NewGetUserOrderGrantParams creates a new GetUserOrderGrantParams object with the default values initialized.
func NewGetUserOrderGrantParamsWithContext ¶
func NewGetUserOrderGrantParamsWithContext(ctx context.Context) *GetUserOrderGrantParams
NewGetUserOrderGrantParamsWithContext creates a new GetUserOrderGrantParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserOrderGrantParamsWithHTTPClient ¶
func NewGetUserOrderGrantParamsWithHTTPClient(client *http.Client) *GetUserOrderGrantParams
NewGetUserOrderGrantParamsWithHTTPClient creates a new GetUserOrderGrantParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserOrderGrantParamsWithTimeout ¶
func NewGetUserOrderGrantParamsWithTimeout(timeout time.Duration) *GetUserOrderGrantParams
NewGetUserOrderGrantParamsWithTimeout creates a new GetUserOrderGrantParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserOrderGrantParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserOrderGrantParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user order grant params
func (*GetUserOrderGrantParams) SetContext ¶
func (o *GetUserOrderGrantParams) SetContext(ctx context.Context)
SetContext adds the context to the get user order grant params
func (*GetUserOrderGrantParams) SetHTTPClient ¶
func (o *GetUserOrderGrantParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user order grant params
func (*GetUserOrderGrantParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserOrderGrantParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user order grant params
func (*GetUserOrderGrantParams) SetNamespace ¶
func (o *GetUserOrderGrantParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user order grant params
func (*GetUserOrderGrantParams) SetOrderNo ¶
func (o *GetUserOrderGrantParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the get user order grant params
func (*GetUserOrderGrantParams) SetTimeout ¶
func (o *GetUserOrderGrantParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user order grant params
func (*GetUserOrderGrantParams) SetUserID ¶
func (o *GetUserOrderGrantParams) SetUserID(userID string)
SetUserID adds the userId to the get user order grant params
func (*GetUserOrderGrantParams) WithContext ¶
func (o *GetUserOrderGrantParams) WithContext(ctx context.Context) *GetUserOrderGrantParams
WithContext adds the context to the get user order grant params
func (*GetUserOrderGrantParams) WithHTTPClient ¶
func (o *GetUserOrderGrantParams) WithHTTPClient(client *http.Client) *GetUserOrderGrantParams
WithHTTPClient adds the HTTPClient to the get user order grant params
func (*GetUserOrderGrantParams) WithNamespace ¶
func (o *GetUserOrderGrantParams) WithNamespace(namespace string) *GetUserOrderGrantParams
WithNamespace adds the namespace to the get user order grant params
func (*GetUserOrderGrantParams) WithOrderNo ¶
func (o *GetUserOrderGrantParams) WithOrderNo(orderNo string) *GetUserOrderGrantParams
WithOrderNo adds the orderNo to the get user order grant params
func (*GetUserOrderGrantParams) WithTimeout ¶
func (o *GetUserOrderGrantParams) WithTimeout(timeout time.Duration) *GetUserOrderGrantParams
WithTimeout adds the timeout to the get user order grant params
func (*GetUserOrderGrantParams) WithUserID ¶
func (o *GetUserOrderGrantParams) WithUserID(userID string) *GetUserOrderGrantParams
WithUserID adds the userID to the get user order grant params
func (*GetUserOrderGrantParams) WriteToRequest ¶
func (o *GetUserOrderGrantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserOrderGrantReader ¶
type GetUserOrderGrantReader struct {
// contains filtered or unexported fields
}
GetUserOrderGrantReader is a Reader for the GetUserOrderGrant structure.
func (*GetUserOrderGrantReader) ReadResponse ¶
func (o *GetUserOrderGrantReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserOrderHistoriesOK ¶
type GetUserOrderHistoriesOK struct {
Payload []*platformclientmodels.OrderHistoryInfo
}
GetUserOrderHistoriesOK handles this case with default header values.
successful operation
func NewGetUserOrderHistoriesOK ¶
func NewGetUserOrderHistoriesOK() *GetUserOrderHistoriesOK
NewGetUserOrderHistoriesOK creates a GetUserOrderHistoriesOK with default headers values
func (*GetUserOrderHistoriesOK) Error ¶
func (o *GetUserOrderHistoriesOK) Error() string
func (*GetUserOrderHistoriesOK) GetPayload ¶
func (o *GetUserOrderHistoriesOK) GetPayload() []*platformclientmodels.OrderHistoryInfo
type GetUserOrderHistoriesParams ¶
type GetUserOrderHistoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserOrderHistoriesParams contains all the parameters to send to the API endpoint for the get user order histories operation typically these are written to a http.Request
func NewGetUserOrderHistoriesParams ¶
func NewGetUserOrderHistoriesParams() *GetUserOrderHistoriesParams
NewGetUserOrderHistoriesParams creates a new GetUserOrderHistoriesParams object with the default values initialized.
func NewGetUserOrderHistoriesParamsWithContext ¶
func NewGetUserOrderHistoriesParamsWithContext(ctx context.Context) *GetUserOrderHistoriesParams
NewGetUserOrderHistoriesParamsWithContext creates a new GetUserOrderHistoriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserOrderHistoriesParamsWithHTTPClient ¶
func NewGetUserOrderHistoriesParamsWithHTTPClient(client *http.Client) *GetUserOrderHistoriesParams
NewGetUserOrderHistoriesParamsWithHTTPClient creates a new GetUserOrderHistoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserOrderHistoriesParamsWithTimeout ¶
func NewGetUserOrderHistoriesParamsWithTimeout(timeout time.Duration) *GetUserOrderHistoriesParams
NewGetUserOrderHistoriesParamsWithTimeout creates a new GetUserOrderHistoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserOrderHistoriesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserOrderHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user order histories params
func (*GetUserOrderHistoriesParams) SetContext ¶
func (o *GetUserOrderHistoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get user order histories params
func (*GetUserOrderHistoriesParams) SetHTTPClient ¶
func (o *GetUserOrderHistoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user order histories params
func (*GetUserOrderHistoriesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserOrderHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user order histories params
func (*GetUserOrderHistoriesParams) SetNamespace ¶
func (o *GetUserOrderHistoriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user order histories params
func (*GetUserOrderHistoriesParams) SetOrderNo ¶
func (o *GetUserOrderHistoriesParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the get user order histories params
func (*GetUserOrderHistoriesParams) SetTimeout ¶
func (o *GetUserOrderHistoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user order histories params
func (*GetUserOrderHistoriesParams) SetUserID ¶
func (o *GetUserOrderHistoriesParams) SetUserID(userID string)
SetUserID adds the userId to the get user order histories params
func (*GetUserOrderHistoriesParams) WithContext ¶
func (o *GetUserOrderHistoriesParams) WithContext(ctx context.Context) *GetUserOrderHistoriesParams
WithContext adds the context to the get user order histories params
func (*GetUserOrderHistoriesParams) WithHTTPClient ¶
func (o *GetUserOrderHistoriesParams) WithHTTPClient(client *http.Client) *GetUserOrderHistoriesParams
WithHTTPClient adds the HTTPClient to the get user order histories params
func (*GetUserOrderHistoriesParams) WithNamespace ¶
func (o *GetUserOrderHistoriesParams) WithNamespace(namespace string) *GetUserOrderHistoriesParams
WithNamespace adds the namespace to the get user order histories params
func (*GetUserOrderHistoriesParams) WithOrderNo ¶
func (o *GetUserOrderHistoriesParams) WithOrderNo(orderNo string) *GetUserOrderHistoriesParams
WithOrderNo adds the orderNo to the get user order histories params
func (*GetUserOrderHistoriesParams) WithTimeout ¶
func (o *GetUserOrderHistoriesParams) WithTimeout(timeout time.Duration) *GetUserOrderHistoriesParams
WithTimeout adds the timeout to the get user order histories params
func (*GetUserOrderHistoriesParams) WithUserID ¶
func (o *GetUserOrderHistoriesParams) WithUserID(userID string) *GetUserOrderHistoriesParams
WithUserID adds the userID to the get user order histories params
func (*GetUserOrderHistoriesParams) WriteToRequest ¶
func (o *GetUserOrderHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserOrderHistoriesReader ¶
type GetUserOrderHistoriesReader struct {
// contains filtered or unexported fields
}
GetUserOrderHistoriesReader is a Reader for the GetUserOrderHistories structure.
func (*GetUserOrderHistoriesReader) ReadResponse ¶
func (o *GetUserOrderHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserOrderNotFound ¶
type GetUserOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetUserOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewGetUserOrderNotFound ¶
func NewGetUserOrderNotFound() *GetUserOrderNotFound
NewGetUserOrderNotFound creates a GetUserOrderNotFound with default headers values
func (*GetUserOrderNotFound) Error ¶
func (o *GetUserOrderNotFound) Error() string
func (*GetUserOrderNotFound) GetPayload ¶
func (o *GetUserOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type GetUserOrderOK ¶
type GetUserOrderOK struct {
Payload *platformclientmodels.OrderInfo
}
GetUserOrderOK handles this case with default header values.
successful operation
func NewGetUserOrderOK ¶
func NewGetUserOrderOK() *GetUserOrderOK
NewGetUserOrderOK creates a GetUserOrderOK with default headers values
func (*GetUserOrderOK) Error ¶
func (o *GetUserOrderOK) Error() string
func (*GetUserOrderOK) GetPayload ¶
func (o *GetUserOrderOK) GetPayload() *platformclientmodels.OrderInfo
type GetUserOrderParams ¶
type GetUserOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserOrderParams contains all the parameters to send to the API endpoint for the get user order operation typically these are written to a http.Request
func NewGetUserOrderParams ¶
func NewGetUserOrderParams() *GetUserOrderParams
NewGetUserOrderParams creates a new GetUserOrderParams object with the default values initialized.
func NewGetUserOrderParamsWithContext ¶
func NewGetUserOrderParamsWithContext(ctx context.Context) *GetUserOrderParams
NewGetUserOrderParamsWithContext creates a new GetUserOrderParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserOrderParamsWithHTTPClient ¶
func NewGetUserOrderParamsWithHTTPClient(client *http.Client) *GetUserOrderParams
NewGetUserOrderParamsWithHTTPClient creates a new GetUserOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserOrderParamsWithTimeout ¶
func NewGetUserOrderParamsWithTimeout(timeout time.Duration) *GetUserOrderParams
NewGetUserOrderParamsWithTimeout creates a new GetUserOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user order params
func (*GetUserOrderParams) SetContext ¶
func (o *GetUserOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the get user order params
func (*GetUserOrderParams) SetHTTPClient ¶
func (o *GetUserOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user order params
func (*GetUserOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user order params
func (*GetUserOrderParams) SetNamespace ¶
func (o *GetUserOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user order params
func (*GetUserOrderParams) SetOrderNo ¶
func (o *GetUserOrderParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the get user order params
func (*GetUserOrderParams) SetTimeout ¶
func (o *GetUserOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user order params
func (*GetUserOrderParams) SetUserID ¶
func (o *GetUserOrderParams) SetUserID(userID string)
SetUserID adds the userId to the get user order params
func (*GetUserOrderParams) WithContext ¶
func (o *GetUserOrderParams) WithContext(ctx context.Context) *GetUserOrderParams
WithContext adds the context to the get user order params
func (*GetUserOrderParams) WithHTTPClient ¶
func (o *GetUserOrderParams) WithHTTPClient(client *http.Client) *GetUserOrderParams
WithHTTPClient adds the HTTPClient to the get user order params
func (*GetUserOrderParams) WithNamespace ¶
func (o *GetUserOrderParams) WithNamespace(namespace string) *GetUserOrderParams
WithNamespace adds the namespace to the get user order params
func (*GetUserOrderParams) WithOrderNo ¶
func (o *GetUserOrderParams) WithOrderNo(orderNo string) *GetUserOrderParams
WithOrderNo adds the orderNo to the get user order params
func (*GetUserOrderParams) WithTimeout ¶
func (o *GetUserOrderParams) WithTimeout(timeout time.Duration) *GetUserOrderParams
WithTimeout adds the timeout to the get user order params
func (*GetUserOrderParams) WithUserID ¶
func (o *GetUserOrderParams) WithUserID(userID string) *GetUserOrderParams
WithUserID adds the userID to the get user order params
func (*GetUserOrderParams) WriteToRequest ¶
func (o *GetUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserOrderReader ¶
type GetUserOrderReader struct {
// contains filtered or unexported fields
}
GetUserOrderReader is a Reader for the GetUserOrder structure.
func (*GetUserOrderReader) ReadResponse ¶
func (o *GetUserOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProcessUserOrderNotificationBadRequest ¶
type ProcessUserOrderNotificationBadRequest struct { }
ProcessUserOrderNotificationBadRequest handles this case with default header values.
process failed
func NewProcessUserOrderNotificationBadRequest ¶
func NewProcessUserOrderNotificationBadRequest() *ProcessUserOrderNotificationBadRequest
NewProcessUserOrderNotificationBadRequest creates a ProcessUserOrderNotificationBadRequest with default headers values
func (*ProcessUserOrderNotificationBadRequest) Error ¶
func (o *ProcessUserOrderNotificationBadRequest) Error() string
type ProcessUserOrderNotificationNoContent ¶
type ProcessUserOrderNotificationNoContent struct { }
ProcessUserOrderNotificationNoContent handles this case with default header values.
process successfully
func NewProcessUserOrderNotificationNoContent ¶
func NewProcessUserOrderNotificationNoContent() *ProcessUserOrderNotificationNoContent
NewProcessUserOrderNotificationNoContent creates a ProcessUserOrderNotificationNoContent with default headers values
func (*ProcessUserOrderNotificationNoContent) Error ¶
func (o *ProcessUserOrderNotificationNoContent) Error() string
type ProcessUserOrderNotificationParams ¶
type ProcessUserOrderNotificationParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.TradeNotification /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProcessUserOrderNotificationParams contains all the parameters to send to the API endpoint for the process user order notification operation typically these are written to a http.Request
func NewProcessUserOrderNotificationParams ¶
func NewProcessUserOrderNotificationParams() *ProcessUserOrderNotificationParams
NewProcessUserOrderNotificationParams creates a new ProcessUserOrderNotificationParams object with the default values initialized.
func NewProcessUserOrderNotificationParamsWithContext ¶
func NewProcessUserOrderNotificationParamsWithContext(ctx context.Context) *ProcessUserOrderNotificationParams
NewProcessUserOrderNotificationParamsWithContext creates a new ProcessUserOrderNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewProcessUserOrderNotificationParamsWithHTTPClient ¶
func NewProcessUserOrderNotificationParamsWithHTTPClient(client *http.Client) *ProcessUserOrderNotificationParams
NewProcessUserOrderNotificationParamsWithHTTPClient creates a new ProcessUserOrderNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProcessUserOrderNotificationParamsWithTimeout ¶
func NewProcessUserOrderNotificationParamsWithTimeout(timeout time.Duration) *ProcessUserOrderNotificationParams
NewProcessUserOrderNotificationParamsWithTimeout creates a new ProcessUserOrderNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProcessUserOrderNotificationParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ProcessUserOrderNotificationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the process user order notification params
func (*ProcessUserOrderNotificationParams) SetBody ¶
func (o *ProcessUserOrderNotificationParams) SetBody(body *platformclientmodels.TradeNotification)
SetBody adds the body to the process user order notification params
func (*ProcessUserOrderNotificationParams) SetContext ¶
func (o *ProcessUserOrderNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the process user order notification params
func (*ProcessUserOrderNotificationParams) SetHTTPClient ¶
func (o *ProcessUserOrderNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the process user order notification params
func (*ProcessUserOrderNotificationParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ProcessUserOrderNotificationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the process user order notification params
func (*ProcessUserOrderNotificationParams) SetNamespace ¶
func (o *ProcessUserOrderNotificationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the process user order notification params
func (*ProcessUserOrderNotificationParams) SetOrderNo ¶
func (o *ProcessUserOrderNotificationParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the process user order notification params
func (*ProcessUserOrderNotificationParams) SetTimeout ¶
func (o *ProcessUserOrderNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the process user order notification params
func (*ProcessUserOrderNotificationParams) SetUserID ¶
func (o *ProcessUserOrderNotificationParams) SetUserID(userID string)
SetUserID adds the userId to the process user order notification params
func (*ProcessUserOrderNotificationParams) WithBody ¶
func (o *ProcessUserOrderNotificationParams) WithBody(body *platformclientmodels.TradeNotification) *ProcessUserOrderNotificationParams
WithBody adds the body to the process user order notification params
func (*ProcessUserOrderNotificationParams) WithContext ¶
func (o *ProcessUserOrderNotificationParams) WithContext(ctx context.Context) *ProcessUserOrderNotificationParams
WithContext adds the context to the process user order notification params
func (*ProcessUserOrderNotificationParams) WithHTTPClient ¶
func (o *ProcessUserOrderNotificationParams) WithHTTPClient(client *http.Client) *ProcessUserOrderNotificationParams
WithHTTPClient adds the HTTPClient to the process user order notification params
func (*ProcessUserOrderNotificationParams) WithNamespace ¶
func (o *ProcessUserOrderNotificationParams) WithNamespace(namespace string) *ProcessUserOrderNotificationParams
WithNamespace adds the namespace to the process user order notification params
func (*ProcessUserOrderNotificationParams) WithOrderNo ¶
func (o *ProcessUserOrderNotificationParams) WithOrderNo(orderNo string) *ProcessUserOrderNotificationParams
WithOrderNo adds the orderNo to the process user order notification params
func (*ProcessUserOrderNotificationParams) WithTimeout ¶
func (o *ProcessUserOrderNotificationParams) WithTimeout(timeout time.Duration) *ProcessUserOrderNotificationParams
WithTimeout adds the timeout to the process user order notification params
func (*ProcessUserOrderNotificationParams) WithUserID ¶
func (o *ProcessUserOrderNotificationParams) WithUserID(userID string) *ProcessUserOrderNotificationParams
WithUserID adds the userID to the process user order notification params
func (*ProcessUserOrderNotificationParams) WriteToRequest ¶
func (o *ProcessUserOrderNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProcessUserOrderNotificationReader ¶
type ProcessUserOrderNotificationReader struct {
// contains filtered or unexported fields
}
ProcessUserOrderNotificationReader is a Reader for the ProcessUserOrderNotification structure.
func (*ProcessUserOrderNotificationReader) ReadResponse ¶
func (o *ProcessUserOrderNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicCancelUserOrderConflict ¶
type PublicCancelUserOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCancelUserOrderConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32177</td><td>Order [{orderNo}] is not cancelable</td></tr></table>
func NewPublicCancelUserOrderConflict ¶
func NewPublicCancelUserOrderConflict() *PublicCancelUserOrderConflict
NewPublicCancelUserOrderConflict creates a PublicCancelUserOrderConflict with default headers values
func (*PublicCancelUserOrderConflict) Error ¶
func (o *PublicCancelUserOrderConflict) Error() string
func (*PublicCancelUserOrderConflict) GetPayload ¶
func (o *PublicCancelUserOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type PublicCancelUserOrderNotFound ¶
type PublicCancelUserOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCancelUserOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewPublicCancelUserOrderNotFound ¶
func NewPublicCancelUserOrderNotFound() *PublicCancelUserOrderNotFound
NewPublicCancelUserOrderNotFound creates a PublicCancelUserOrderNotFound with default headers values
func (*PublicCancelUserOrderNotFound) Error ¶
func (o *PublicCancelUserOrderNotFound) Error() string
func (*PublicCancelUserOrderNotFound) GetPayload ¶
func (o *PublicCancelUserOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PublicCancelUserOrderOK ¶
type PublicCancelUserOrderOK struct {
Payload *platformclientmodels.OrderInfo
}
PublicCancelUserOrderOK handles this case with default header values.
successful operation
func NewPublicCancelUserOrderOK ¶
func NewPublicCancelUserOrderOK() *PublicCancelUserOrderOK
NewPublicCancelUserOrderOK creates a PublicCancelUserOrderOK with default headers values
func (*PublicCancelUserOrderOK) Error ¶
func (o *PublicCancelUserOrderOK) Error() string
func (*PublicCancelUserOrderOK) GetPayload ¶
func (o *PublicCancelUserOrderOK) GetPayload() *platformclientmodels.OrderInfo
type PublicCancelUserOrderParams ¶
type PublicCancelUserOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicCancelUserOrderParams contains all the parameters to send to the API endpoint for the public cancel user order operation typically these are written to a http.Request
func NewPublicCancelUserOrderParams ¶
func NewPublicCancelUserOrderParams() *PublicCancelUserOrderParams
NewPublicCancelUserOrderParams creates a new PublicCancelUserOrderParams object with the default values initialized.
func NewPublicCancelUserOrderParamsWithContext ¶
func NewPublicCancelUserOrderParamsWithContext(ctx context.Context) *PublicCancelUserOrderParams
NewPublicCancelUserOrderParamsWithContext creates a new PublicCancelUserOrderParams object with the default values initialized, and the ability to set a context for a request
func NewPublicCancelUserOrderParamsWithHTTPClient ¶
func NewPublicCancelUserOrderParamsWithHTTPClient(client *http.Client) *PublicCancelUserOrderParams
NewPublicCancelUserOrderParamsWithHTTPClient creates a new PublicCancelUserOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicCancelUserOrderParamsWithTimeout ¶
func NewPublicCancelUserOrderParamsWithTimeout(timeout time.Duration) *PublicCancelUserOrderParams
NewPublicCancelUserOrderParamsWithTimeout creates a new PublicCancelUserOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicCancelUserOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicCancelUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public cancel user order params
func (*PublicCancelUserOrderParams) SetContext ¶
func (o *PublicCancelUserOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the public cancel user order params
func (*PublicCancelUserOrderParams) SetHTTPClient ¶
func (o *PublicCancelUserOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public cancel user order params
func (*PublicCancelUserOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicCancelUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public cancel user order params
func (*PublicCancelUserOrderParams) SetNamespace ¶
func (o *PublicCancelUserOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public cancel user order params
func (*PublicCancelUserOrderParams) SetOrderNo ¶
func (o *PublicCancelUserOrderParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the public cancel user order params
func (*PublicCancelUserOrderParams) SetTimeout ¶
func (o *PublicCancelUserOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public cancel user order params
func (*PublicCancelUserOrderParams) SetUserID ¶
func (o *PublicCancelUserOrderParams) SetUserID(userID string)
SetUserID adds the userId to the public cancel user order params
func (*PublicCancelUserOrderParams) WithContext ¶
func (o *PublicCancelUserOrderParams) WithContext(ctx context.Context) *PublicCancelUserOrderParams
WithContext adds the context to the public cancel user order params
func (*PublicCancelUserOrderParams) WithHTTPClient ¶
func (o *PublicCancelUserOrderParams) WithHTTPClient(client *http.Client) *PublicCancelUserOrderParams
WithHTTPClient adds the HTTPClient to the public cancel user order params
func (*PublicCancelUserOrderParams) WithNamespace ¶
func (o *PublicCancelUserOrderParams) WithNamespace(namespace string) *PublicCancelUserOrderParams
WithNamespace adds the namespace to the public cancel user order params
func (*PublicCancelUserOrderParams) WithOrderNo ¶
func (o *PublicCancelUserOrderParams) WithOrderNo(orderNo string) *PublicCancelUserOrderParams
WithOrderNo adds the orderNo to the public cancel user order params
func (*PublicCancelUserOrderParams) WithTimeout ¶
func (o *PublicCancelUserOrderParams) WithTimeout(timeout time.Duration) *PublicCancelUserOrderParams
WithTimeout adds the timeout to the public cancel user order params
func (*PublicCancelUserOrderParams) WithUserID ¶
func (o *PublicCancelUserOrderParams) WithUserID(userID string) *PublicCancelUserOrderParams
WithUserID adds the userID to the public cancel user order params
func (*PublicCancelUserOrderParams) WriteToRequest ¶
func (o *PublicCancelUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicCancelUserOrderReader ¶
type PublicCancelUserOrderReader struct {
// contains filtered or unexported fields
}
PublicCancelUserOrderReader is a Reader for the PublicCancelUserOrder structure.
func (*PublicCancelUserOrderReader) ReadResponse ¶
func (o *PublicCancelUserOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicCreateUserOrderBadRequest ¶
type PublicCreateUserOrderBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCreateUserOrderBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32121</td><td>Order price mismatch</td></tr><tr><td>32122</td><td>Item type [{itemType}] does not support</td></tr><tr><td>32123</td><td>Item is not purchasable</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>35124</td><td>Wallet [{currencyCode}] has insufficient balance</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr></table>
func NewPublicCreateUserOrderBadRequest ¶
func NewPublicCreateUserOrderBadRequest() *PublicCreateUserOrderBadRequest
NewPublicCreateUserOrderBadRequest creates a PublicCreateUserOrderBadRequest with default headers values
func (*PublicCreateUserOrderBadRequest) Error ¶
func (o *PublicCreateUserOrderBadRequest) Error() string
func (*PublicCreateUserOrderBadRequest) GetPayload ¶
func (o *PublicCreateUserOrderBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type PublicCreateUserOrderConflict ¶
type PublicCreateUserOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCreateUserOrderConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32175</td><td>Exceed item [{itemId}] max count [{maxCount}] per user</td></tr><tr><td>32176</td><td>Exceed item [{itemId}] max count [{maxCount}]</td></tr><tr><td>31177</td><td>Permanent item already owned</td></tr><tr><td>49183</td><td>Pass item does not match published season pass</td></tr><tr><td>49184</td><td>Tier item does not match published season tier</td></tr><tr><td>49185</td><td>Season has not started</td></tr><tr><td>49186</td><td>Pass already owned</td></tr><tr><td>49187</td><td>Exceed max tier count</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewPublicCreateUserOrderConflict ¶
func NewPublicCreateUserOrderConflict() *PublicCreateUserOrderConflict
NewPublicCreateUserOrderConflict creates a PublicCreateUserOrderConflict with default headers values
func (*PublicCreateUserOrderConflict) Error ¶
func (o *PublicCreateUserOrderConflict) Error() string
func (*PublicCreateUserOrderConflict) GetPayload ¶
func (o *PublicCreateUserOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type PublicCreateUserOrderCreated ¶
type PublicCreateUserOrderCreated struct {
Payload *platformclientmodels.OrderInfo
}
PublicCreateUserOrderCreated handles this case with default header values.
successful operation
func NewPublicCreateUserOrderCreated ¶
func NewPublicCreateUserOrderCreated() *PublicCreateUserOrderCreated
NewPublicCreateUserOrderCreated creates a PublicCreateUserOrderCreated with default headers values
func (*PublicCreateUserOrderCreated) Error ¶
func (o *PublicCreateUserOrderCreated) Error() string
func (*PublicCreateUserOrderCreated) GetPayload ¶
func (o *PublicCreateUserOrderCreated) GetPayload() *platformclientmodels.OrderInfo
type PublicCreateUserOrderForbidden ¶
type PublicCreateUserOrderForbidden struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCreateUserOrderForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20016</td><td>action is banned</td></tr></table>
func NewPublicCreateUserOrderForbidden ¶
func NewPublicCreateUserOrderForbidden() *PublicCreateUserOrderForbidden
NewPublicCreateUserOrderForbidden creates a PublicCreateUserOrderForbidden with default headers values
func (*PublicCreateUserOrderForbidden) Error ¶
func (o *PublicCreateUserOrderForbidden) Error() string
func (*PublicCreateUserOrderForbidden) GetPayload ¶
func (o *PublicCreateUserOrderForbidden) GetPayload() *platformclientmodels.ErrorEntity
type PublicCreateUserOrderNotFound ¶
type PublicCreateUserOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCreateUserOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>
func NewPublicCreateUserOrderNotFound ¶
func NewPublicCreateUserOrderNotFound() *PublicCreateUserOrderNotFound
NewPublicCreateUserOrderNotFound creates a PublicCreateUserOrderNotFound with default headers values
func (*PublicCreateUserOrderNotFound) Error ¶
func (o *PublicCreateUserOrderNotFound) Error() string
func (*PublicCreateUserOrderNotFound) GetPayload ¶
func (o *PublicCreateUserOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PublicCreateUserOrderParams ¶
type PublicCreateUserOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.OrderCreate /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicCreateUserOrderParams contains all the parameters to send to the API endpoint for the public create user order operation typically these are written to a http.Request
func NewPublicCreateUserOrderParams ¶
func NewPublicCreateUserOrderParams() *PublicCreateUserOrderParams
NewPublicCreateUserOrderParams creates a new PublicCreateUserOrderParams object with the default values initialized.
func NewPublicCreateUserOrderParamsWithContext ¶
func NewPublicCreateUserOrderParamsWithContext(ctx context.Context) *PublicCreateUserOrderParams
NewPublicCreateUserOrderParamsWithContext creates a new PublicCreateUserOrderParams object with the default values initialized, and the ability to set a context for a request
func NewPublicCreateUserOrderParamsWithHTTPClient ¶
func NewPublicCreateUserOrderParamsWithHTTPClient(client *http.Client) *PublicCreateUserOrderParams
NewPublicCreateUserOrderParamsWithHTTPClient creates a new PublicCreateUserOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicCreateUserOrderParamsWithTimeout ¶
func NewPublicCreateUserOrderParamsWithTimeout(timeout time.Duration) *PublicCreateUserOrderParams
NewPublicCreateUserOrderParamsWithTimeout creates a new PublicCreateUserOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicCreateUserOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicCreateUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public create user order params
func (*PublicCreateUserOrderParams) SetBody ¶
func (o *PublicCreateUserOrderParams) SetBody(body *platformclientmodels.OrderCreate)
SetBody adds the body to the public create user order params
func (*PublicCreateUserOrderParams) SetContext ¶
func (o *PublicCreateUserOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the public create user order params
func (*PublicCreateUserOrderParams) SetHTTPClient ¶
func (o *PublicCreateUserOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public create user order params
func (*PublicCreateUserOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicCreateUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public create user order params
func (*PublicCreateUserOrderParams) SetNamespace ¶
func (o *PublicCreateUserOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public create user order params
func (*PublicCreateUserOrderParams) SetTimeout ¶
func (o *PublicCreateUserOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public create user order params
func (*PublicCreateUserOrderParams) SetUserID ¶
func (o *PublicCreateUserOrderParams) SetUserID(userID string)
SetUserID adds the userId to the public create user order params
func (*PublicCreateUserOrderParams) WithBody ¶
func (o *PublicCreateUserOrderParams) WithBody(body *platformclientmodels.OrderCreate) *PublicCreateUserOrderParams
WithBody adds the body to the public create user order params
func (*PublicCreateUserOrderParams) WithContext ¶
func (o *PublicCreateUserOrderParams) WithContext(ctx context.Context) *PublicCreateUserOrderParams
WithContext adds the context to the public create user order params
func (*PublicCreateUserOrderParams) WithHTTPClient ¶
func (o *PublicCreateUserOrderParams) WithHTTPClient(client *http.Client) *PublicCreateUserOrderParams
WithHTTPClient adds the HTTPClient to the public create user order params
func (*PublicCreateUserOrderParams) WithNamespace ¶
func (o *PublicCreateUserOrderParams) WithNamespace(namespace string) *PublicCreateUserOrderParams
WithNamespace adds the namespace to the public create user order params
func (*PublicCreateUserOrderParams) WithTimeout ¶
func (o *PublicCreateUserOrderParams) WithTimeout(timeout time.Duration) *PublicCreateUserOrderParams
WithTimeout adds the timeout to the public create user order params
func (*PublicCreateUserOrderParams) WithUserID ¶
func (o *PublicCreateUserOrderParams) WithUserID(userID string) *PublicCreateUserOrderParams
WithUserID adds the userID to the public create user order params
func (*PublicCreateUserOrderParams) WriteToRequest ¶
func (o *PublicCreateUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicCreateUserOrderReader ¶
type PublicCreateUserOrderReader struct {
// contains filtered or unexported fields
}
PublicCreateUserOrderReader is a Reader for the PublicCreateUserOrder structure.
func (*PublicCreateUserOrderReader) ReadResponse ¶
func (o *PublicCreateUserOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicCreateUserOrderUnprocessableEntity ¶
type PublicCreateUserOrderUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
PublicCreateUserOrderUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewPublicCreateUserOrderUnprocessableEntity ¶
func NewPublicCreateUserOrderUnprocessableEntity() *PublicCreateUserOrderUnprocessableEntity
NewPublicCreateUserOrderUnprocessableEntity creates a PublicCreateUserOrderUnprocessableEntity with default headers values
func (*PublicCreateUserOrderUnprocessableEntity) Error ¶
func (o *PublicCreateUserOrderUnprocessableEntity) Error() string
func (*PublicCreateUserOrderUnprocessableEntity) GetPayload ¶
func (o *PublicCreateUserOrderUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
type PublicDownloadUserOrderReceiptConflict ¶
type PublicDownloadUserOrderReceiptConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicDownloadUserOrderReceiptConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32173</td><td>Receipt of order [{orderNo}] is not downloadable</td></tr></table>
func NewPublicDownloadUserOrderReceiptConflict ¶
func NewPublicDownloadUserOrderReceiptConflict() *PublicDownloadUserOrderReceiptConflict
NewPublicDownloadUserOrderReceiptConflict creates a PublicDownloadUserOrderReceiptConflict with default headers values
func (*PublicDownloadUserOrderReceiptConflict) Error ¶
func (o *PublicDownloadUserOrderReceiptConflict) Error() string
func (*PublicDownloadUserOrderReceiptConflict) GetPayload ¶
func (o *PublicDownloadUserOrderReceiptConflict) GetPayload() *platformclientmodels.ErrorEntity
type PublicDownloadUserOrderReceiptNotFound ¶
type PublicDownloadUserOrderReceiptNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicDownloadUserOrderReceiptNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewPublicDownloadUserOrderReceiptNotFound ¶
func NewPublicDownloadUserOrderReceiptNotFound() *PublicDownloadUserOrderReceiptNotFound
NewPublicDownloadUserOrderReceiptNotFound creates a PublicDownloadUserOrderReceiptNotFound with default headers values
func (*PublicDownloadUserOrderReceiptNotFound) Error ¶
func (o *PublicDownloadUserOrderReceiptNotFound) Error() string
func (*PublicDownloadUserOrderReceiptNotFound) GetPayload ¶
func (o *PublicDownloadUserOrderReceiptNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PublicDownloadUserOrderReceiptOK ¶ added in v0.7.0
type PublicDownloadUserOrderReceiptOK struct { }
PublicDownloadUserOrderReceiptOK handles this case with default header values.
Successful operation
func NewPublicDownloadUserOrderReceiptOK ¶ added in v0.7.0
func NewPublicDownloadUserOrderReceiptOK() *PublicDownloadUserOrderReceiptOK
NewPublicDownloadUserOrderReceiptOK creates a PublicDownloadUserOrderReceiptOK with default headers values
func (*PublicDownloadUserOrderReceiptOK) Error ¶ added in v0.7.0
func (o *PublicDownloadUserOrderReceiptOK) Error() string
type PublicDownloadUserOrderReceiptParams ¶
type PublicDownloadUserOrderReceiptParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicDownloadUserOrderReceiptParams contains all the parameters to send to the API endpoint for the public download user order receipt operation typically these are written to a http.Request
func NewPublicDownloadUserOrderReceiptParams ¶
func NewPublicDownloadUserOrderReceiptParams() *PublicDownloadUserOrderReceiptParams
NewPublicDownloadUserOrderReceiptParams creates a new PublicDownloadUserOrderReceiptParams object with the default values initialized.
func NewPublicDownloadUserOrderReceiptParamsWithContext ¶
func NewPublicDownloadUserOrderReceiptParamsWithContext(ctx context.Context) *PublicDownloadUserOrderReceiptParams
NewPublicDownloadUserOrderReceiptParamsWithContext creates a new PublicDownloadUserOrderReceiptParams object with the default values initialized, and the ability to set a context for a request
func NewPublicDownloadUserOrderReceiptParamsWithHTTPClient ¶
func NewPublicDownloadUserOrderReceiptParamsWithHTTPClient(client *http.Client) *PublicDownloadUserOrderReceiptParams
NewPublicDownloadUserOrderReceiptParamsWithHTTPClient creates a new PublicDownloadUserOrderReceiptParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicDownloadUserOrderReceiptParamsWithTimeout ¶
func NewPublicDownloadUserOrderReceiptParamsWithTimeout(timeout time.Duration) *PublicDownloadUserOrderReceiptParams
NewPublicDownloadUserOrderReceiptParamsWithTimeout creates a new PublicDownloadUserOrderReceiptParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicDownloadUserOrderReceiptParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicDownloadUserOrderReceiptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) SetContext ¶
func (o *PublicDownloadUserOrderReceiptParams) SetContext(ctx context.Context)
SetContext adds the context to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) SetHTTPClient ¶
func (o *PublicDownloadUserOrderReceiptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicDownloadUserOrderReceiptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) SetNamespace ¶
func (o *PublicDownloadUserOrderReceiptParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) SetOrderNo ¶
func (o *PublicDownloadUserOrderReceiptParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) SetTimeout ¶
func (o *PublicDownloadUserOrderReceiptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) SetUserID ¶
func (o *PublicDownloadUserOrderReceiptParams) SetUserID(userID string)
SetUserID adds the userId to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) WithContext ¶
func (o *PublicDownloadUserOrderReceiptParams) WithContext(ctx context.Context) *PublicDownloadUserOrderReceiptParams
WithContext adds the context to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) WithHTTPClient ¶
func (o *PublicDownloadUserOrderReceiptParams) WithHTTPClient(client *http.Client) *PublicDownloadUserOrderReceiptParams
WithHTTPClient adds the HTTPClient to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) WithNamespace ¶
func (o *PublicDownloadUserOrderReceiptParams) WithNamespace(namespace string) *PublicDownloadUserOrderReceiptParams
WithNamespace adds the namespace to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) WithOrderNo ¶
func (o *PublicDownloadUserOrderReceiptParams) WithOrderNo(orderNo string) *PublicDownloadUserOrderReceiptParams
WithOrderNo adds the orderNo to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) WithTimeout ¶
func (o *PublicDownloadUserOrderReceiptParams) WithTimeout(timeout time.Duration) *PublicDownloadUserOrderReceiptParams
WithTimeout adds the timeout to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) WithUserID ¶
func (o *PublicDownloadUserOrderReceiptParams) WithUserID(userID string) *PublicDownloadUserOrderReceiptParams
WithUserID adds the userID to the public download user order receipt params
func (*PublicDownloadUserOrderReceiptParams) WriteToRequest ¶
func (o *PublicDownloadUserOrderReceiptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDownloadUserOrderReceiptReader ¶
type PublicDownloadUserOrderReceiptReader struct {
// contains filtered or unexported fields
}
PublicDownloadUserOrderReceiptReader is a Reader for the PublicDownloadUserOrderReceipt structure.
func (*PublicDownloadUserOrderReceiptReader) ReadResponse ¶
func (o *PublicDownloadUserOrderReceiptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserOrderHistoriesOK ¶
type PublicGetUserOrderHistoriesOK struct {
Payload []*platformclientmodels.OrderHistoryInfo
}
PublicGetUserOrderHistoriesOK handles this case with default header values.
successful operation
func NewPublicGetUserOrderHistoriesOK ¶
func NewPublicGetUserOrderHistoriesOK() *PublicGetUserOrderHistoriesOK
NewPublicGetUserOrderHistoriesOK creates a PublicGetUserOrderHistoriesOK with default headers values
func (*PublicGetUserOrderHistoriesOK) Error ¶
func (o *PublicGetUserOrderHistoriesOK) Error() string
func (*PublicGetUserOrderHistoriesOK) GetPayload ¶
func (o *PublicGetUserOrderHistoriesOK) GetPayload() []*platformclientmodels.OrderHistoryInfo
type PublicGetUserOrderHistoriesParams ¶
type PublicGetUserOrderHistoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetUserOrderHistoriesParams contains all the parameters to send to the API endpoint for the public get user order histories operation typically these are written to a http.Request
func NewPublicGetUserOrderHistoriesParams ¶
func NewPublicGetUserOrderHistoriesParams() *PublicGetUserOrderHistoriesParams
NewPublicGetUserOrderHistoriesParams creates a new PublicGetUserOrderHistoriesParams object with the default values initialized.
func NewPublicGetUserOrderHistoriesParamsWithContext ¶
func NewPublicGetUserOrderHistoriesParamsWithContext(ctx context.Context) *PublicGetUserOrderHistoriesParams
NewPublicGetUserOrderHistoriesParamsWithContext creates a new PublicGetUserOrderHistoriesParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserOrderHistoriesParamsWithHTTPClient ¶
func NewPublicGetUserOrderHistoriesParamsWithHTTPClient(client *http.Client) *PublicGetUserOrderHistoriesParams
NewPublicGetUserOrderHistoriesParamsWithHTTPClient creates a new PublicGetUserOrderHistoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserOrderHistoriesParamsWithTimeout ¶
func NewPublicGetUserOrderHistoriesParamsWithTimeout(timeout time.Duration) *PublicGetUserOrderHistoriesParams
NewPublicGetUserOrderHistoriesParamsWithTimeout creates a new PublicGetUserOrderHistoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserOrderHistoriesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetUserOrderHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) SetContext ¶
func (o *PublicGetUserOrderHistoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) SetHTTPClient ¶
func (o *PublicGetUserOrderHistoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetUserOrderHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) SetNamespace ¶
func (o *PublicGetUserOrderHistoriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) SetOrderNo ¶
func (o *PublicGetUserOrderHistoriesParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) SetTimeout ¶
func (o *PublicGetUserOrderHistoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) SetUserID ¶
func (o *PublicGetUserOrderHistoriesParams) SetUserID(userID string)
SetUserID adds the userId to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) WithContext ¶
func (o *PublicGetUserOrderHistoriesParams) WithContext(ctx context.Context) *PublicGetUserOrderHistoriesParams
WithContext adds the context to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) WithHTTPClient ¶
func (o *PublicGetUserOrderHistoriesParams) WithHTTPClient(client *http.Client) *PublicGetUserOrderHistoriesParams
WithHTTPClient adds the HTTPClient to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) WithNamespace ¶
func (o *PublicGetUserOrderHistoriesParams) WithNamespace(namespace string) *PublicGetUserOrderHistoriesParams
WithNamespace adds the namespace to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) WithOrderNo ¶
func (o *PublicGetUserOrderHistoriesParams) WithOrderNo(orderNo string) *PublicGetUserOrderHistoriesParams
WithOrderNo adds the orderNo to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) WithTimeout ¶
func (o *PublicGetUserOrderHistoriesParams) WithTimeout(timeout time.Duration) *PublicGetUserOrderHistoriesParams
WithTimeout adds the timeout to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) WithUserID ¶
func (o *PublicGetUserOrderHistoriesParams) WithUserID(userID string) *PublicGetUserOrderHistoriesParams
WithUserID adds the userID to the public get user order histories params
func (*PublicGetUserOrderHistoriesParams) WriteToRequest ¶
func (o *PublicGetUserOrderHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserOrderHistoriesReader ¶
type PublicGetUserOrderHistoriesReader struct {
// contains filtered or unexported fields
}
PublicGetUserOrderHistoriesReader is a Reader for the PublicGetUserOrderHistories structure.
func (*PublicGetUserOrderHistoriesReader) ReadResponse ¶
func (o *PublicGetUserOrderHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserOrderNotFound ¶
type PublicGetUserOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetUserOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewPublicGetUserOrderNotFound ¶
func NewPublicGetUserOrderNotFound() *PublicGetUserOrderNotFound
NewPublicGetUserOrderNotFound creates a PublicGetUserOrderNotFound with default headers values
func (*PublicGetUserOrderNotFound) Error ¶
func (o *PublicGetUserOrderNotFound) Error() string
func (*PublicGetUserOrderNotFound) GetPayload ¶
func (o *PublicGetUserOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PublicGetUserOrderOK ¶
type PublicGetUserOrderOK struct {
Payload *platformclientmodels.OrderInfo
}
PublicGetUserOrderOK handles this case with default header values.
successful operation
func NewPublicGetUserOrderOK ¶
func NewPublicGetUserOrderOK() *PublicGetUserOrderOK
NewPublicGetUserOrderOK creates a PublicGetUserOrderOK with default headers values
func (*PublicGetUserOrderOK) Error ¶
func (o *PublicGetUserOrderOK) Error() string
func (*PublicGetUserOrderOK) GetPayload ¶
func (o *PublicGetUserOrderOK) GetPayload() *platformclientmodels.OrderInfo
type PublicGetUserOrderParams ¶
type PublicGetUserOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetUserOrderParams contains all the parameters to send to the API endpoint for the public get user order operation typically these are written to a http.Request
func NewPublicGetUserOrderParams ¶
func NewPublicGetUserOrderParams() *PublicGetUserOrderParams
NewPublicGetUserOrderParams creates a new PublicGetUserOrderParams object with the default values initialized.
func NewPublicGetUserOrderParamsWithContext ¶
func NewPublicGetUserOrderParamsWithContext(ctx context.Context) *PublicGetUserOrderParams
NewPublicGetUserOrderParamsWithContext creates a new PublicGetUserOrderParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserOrderParamsWithHTTPClient ¶
func NewPublicGetUserOrderParamsWithHTTPClient(client *http.Client) *PublicGetUserOrderParams
NewPublicGetUserOrderParamsWithHTTPClient creates a new PublicGetUserOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserOrderParamsWithTimeout ¶
func NewPublicGetUserOrderParamsWithTimeout(timeout time.Duration) *PublicGetUserOrderParams
NewPublicGetUserOrderParamsWithTimeout creates a new PublicGetUserOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetUserOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user order params
func (*PublicGetUserOrderParams) SetContext ¶
func (o *PublicGetUserOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user order params
func (*PublicGetUserOrderParams) SetHTTPClient ¶
func (o *PublicGetUserOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user order params
func (*PublicGetUserOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetUserOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user order params
func (*PublicGetUserOrderParams) SetNamespace ¶
func (o *PublicGetUserOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user order params
func (*PublicGetUserOrderParams) SetOrderNo ¶
func (o *PublicGetUserOrderParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the public get user order params
func (*PublicGetUserOrderParams) SetTimeout ¶
func (o *PublicGetUserOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user order params
func (*PublicGetUserOrderParams) SetUserID ¶
func (o *PublicGetUserOrderParams) SetUserID(userID string)
SetUserID adds the userId to the public get user order params
func (*PublicGetUserOrderParams) WithContext ¶
func (o *PublicGetUserOrderParams) WithContext(ctx context.Context) *PublicGetUserOrderParams
WithContext adds the context to the public get user order params
func (*PublicGetUserOrderParams) WithHTTPClient ¶
func (o *PublicGetUserOrderParams) WithHTTPClient(client *http.Client) *PublicGetUserOrderParams
WithHTTPClient adds the HTTPClient to the public get user order params
func (*PublicGetUserOrderParams) WithNamespace ¶
func (o *PublicGetUserOrderParams) WithNamespace(namespace string) *PublicGetUserOrderParams
WithNamespace adds the namespace to the public get user order params
func (*PublicGetUserOrderParams) WithOrderNo ¶
func (o *PublicGetUserOrderParams) WithOrderNo(orderNo string) *PublicGetUserOrderParams
WithOrderNo adds the orderNo to the public get user order params
func (*PublicGetUserOrderParams) WithTimeout ¶
func (o *PublicGetUserOrderParams) WithTimeout(timeout time.Duration) *PublicGetUserOrderParams
WithTimeout adds the timeout to the public get user order params
func (*PublicGetUserOrderParams) WithUserID ¶
func (o *PublicGetUserOrderParams) WithUserID(userID string) *PublicGetUserOrderParams
WithUserID adds the userID to the public get user order params
func (*PublicGetUserOrderParams) WriteToRequest ¶
func (o *PublicGetUserOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserOrderReader ¶
type PublicGetUserOrderReader struct {
// contains filtered or unexported fields
}
PublicGetUserOrderReader is a Reader for the PublicGetUserOrder structure.
func (*PublicGetUserOrderReader) ReadResponse ¶
func (o *PublicGetUserOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicQueryUserOrdersOK ¶
type PublicQueryUserOrdersOK struct {
Payload *platformclientmodels.OrderPagingSlicedResult
}
PublicQueryUserOrdersOK handles this case with default header values.
successful operation
func NewPublicQueryUserOrdersOK ¶
func NewPublicQueryUserOrdersOK() *PublicQueryUserOrdersOK
NewPublicQueryUserOrdersOK creates a PublicQueryUserOrdersOK with default headers values
func (*PublicQueryUserOrdersOK) Error ¶
func (o *PublicQueryUserOrdersOK) Error() string
func (*PublicQueryUserOrdersOK) GetPayload ¶
func (o *PublicQueryUserOrdersOK) GetPayload() *platformclientmodels.OrderPagingSlicedResult
type PublicQueryUserOrdersParams ¶
type PublicQueryUserOrdersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ItemID*/ ItemID *string /*Limit*/ Limit *int32 /*Namespace*/ Namespace string /*Offset*/ Offset *int32 /*Status*/ Status *string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicQueryUserOrdersParams contains all the parameters to send to the API endpoint for the public query user orders operation typically these are written to a http.Request
func NewPublicQueryUserOrdersParams ¶
func NewPublicQueryUserOrdersParams() *PublicQueryUserOrdersParams
NewPublicQueryUserOrdersParams creates a new PublicQueryUserOrdersParams object with the default values initialized.
func NewPublicQueryUserOrdersParamsWithContext ¶
func NewPublicQueryUserOrdersParamsWithContext(ctx context.Context) *PublicQueryUserOrdersParams
NewPublicQueryUserOrdersParamsWithContext creates a new PublicQueryUserOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewPublicQueryUserOrdersParamsWithHTTPClient ¶
func NewPublicQueryUserOrdersParamsWithHTTPClient(client *http.Client) *PublicQueryUserOrdersParams
NewPublicQueryUserOrdersParamsWithHTTPClient creates a new PublicQueryUserOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicQueryUserOrdersParamsWithTimeout ¶
func NewPublicQueryUserOrdersParamsWithTimeout(timeout time.Duration) *PublicQueryUserOrdersParams
NewPublicQueryUserOrdersParamsWithTimeout creates a new PublicQueryUserOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicQueryUserOrdersParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicQueryUserOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public query user orders params
func (*PublicQueryUserOrdersParams) SetContext ¶
func (o *PublicQueryUserOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the public query user orders params
func (*PublicQueryUserOrdersParams) SetHTTPClient ¶
func (o *PublicQueryUserOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public query user orders params
func (*PublicQueryUserOrdersParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicQueryUserOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public query user orders params
func (*PublicQueryUserOrdersParams) SetItemID ¶
func (o *PublicQueryUserOrdersParams) SetItemID(itemID *string)
SetItemID adds the itemId to the public query user orders params
func (*PublicQueryUserOrdersParams) SetLimit ¶
func (o *PublicQueryUserOrdersParams) SetLimit(limit *int32)
SetLimit adds the limit to the public query user orders params
func (*PublicQueryUserOrdersParams) SetNamespace ¶
func (o *PublicQueryUserOrdersParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public query user orders params
func (*PublicQueryUserOrdersParams) SetOffset ¶
func (o *PublicQueryUserOrdersParams) SetOffset(offset *int32)
SetOffset adds the offset to the public query user orders params
func (*PublicQueryUserOrdersParams) SetStatus ¶
func (o *PublicQueryUserOrdersParams) SetStatus(status *string)
SetStatus adds the status to the public query user orders params
func (*PublicQueryUserOrdersParams) SetTimeout ¶
func (o *PublicQueryUserOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public query user orders params
func (*PublicQueryUserOrdersParams) SetUserID ¶
func (o *PublicQueryUserOrdersParams) SetUserID(userID string)
SetUserID adds the userId to the public query user orders params
func (*PublicQueryUserOrdersParams) WithContext ¶
func (o *PublicQueryUserOrdersParams) WithContext(ctx context.Context) *PublicQueryUserOrdersParams
WithContext adds the context to the public query user orders params
func (*PublicQueryUserOrdersParams) WithHTTPClient ¶
func (o *PublicQueryUserOrdersParams) WithHTTPClient(client *http.Client) *PublicQueryUserOrdersParams
WithHTTPClient adds the HTTPClient to the public query user orders params
func (*PublicQueryUserOrdersParams) WithItemID ¶
func (o *PublicQueryUserOrdersParams) WithItemID(itemID *string) *PublicQueryUserOrdersParams
WithItemID adds the itemID to the public query user orders params
func (*PublicQueryUserOrdersParams) WithLimit ¶
func (o *PublicQueryUserOrdersParams) WithLimit(limit *int32) *PublicQueryUserOrdersParams
WithLimit adds the limit to the public query user orders params
func (*PublicQueryUserOrdersParams) WithNamespace ¶
func (o *PublicQueryUserOrdersParams) WithNamespace(namespace string) *PublicQueryUserOrdersParams
WithNamespace adds the namespace to the public query user orders params
func (*PublicQueryUserOrdersParams) WithOffset ¶
func (o *PublicQueryUserOrdersParams) WithOffset(offset *int32) *PublicQueryUserOrdersParams
WithOffset adds the offset to the public query user orders params
func (*PublicQueryUserOrdersParams) WithStatus ¶
func (o *PublicQueryUserOrdersParams) WithStatus(status *string) *PublicQueryUserOrdersParams
WithStatus adds the status to the public query user orders params
func (*PublicQueryUserOrdersParams) WithTimeout ¶
func (o *PublicQueryUserOrdersParams) WithTimeout(timeout time.Duration) *PublicQueryUserOrdersParams
WithTimeout adds the timeout to the public query user orders params
func (*PublicQueryUserOrdersParams) WithUserID ¶
func (o *PublicQueryUserOrdersParams) WithUserID(userID string) *PublicQueryUserOrdersParams
WithUserID adds the userID to the public query user orders params
func (*PublicQueryUserOrdersParams) WriteToRequest ¶
func (o *PublicQueryUserOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicQueryUserOrdersReader ¶
type PublicQueryUserOrdersReader struct {
// contains filtered or unexported fields
}
PublicQueryUserOrdersReader is a Reader for the PublicQueryUserOrders structure.
func (*PublicQueryUserOrdersReader) ReadResponse ¶
func (o *PublicQueryUserOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryOrdersOK ¶
type QueryOrdersOK struct {
Payload *platformclientmodels.OrderPagingResult
}
QueryOrdersOK handles this case with default header values.
successful operation
func NewQueryOrdersOK ¶
func NewQueryOrdersOK() *QueryOrdersOK
NewQueryOrdersOK creates a QueryOrdersOK with default headers values
func (*QueryOrdersOK) Error ¶
func (o *QueryOrdersOK) Error() string
func (*QueryOrdersOK) GetPayload ¶
func (o *QueryOrdersOK) GetPayload() *platformclientmodels.OrderPagingResult
type QueryOrdersParams ¶
type QueryOrdersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EndTime end time is exclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ EndTime *string /*Limit*/ Limit *int32 /*Namespace*/ Namespace string /*Offset*/ Offset *int32 /*OrderNos*/ OrderNos []string /*SortBy default is createdTime:desc, support sort group, e.g. sortBy=status:asc,createdTime:desc */ SortBy *string /*StartTime start time is inclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ StartTime *string /*Status*/ Status *string /*WithTotal return total in slice result when true */ WithTotal *bool AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryOrdersParams contains all the parameters to send to the API endpoint for the query orders operation typically these are written to a http.Request
func NewQueryOrdersParams ¶
func NewQueryOrdersParams() *QueryOrdersParams
NewQueryOrdersParams creates a new QueryOrdersParams object with the default values initialized.
func NewQueryOrdersParamsWithContext ¶
func NewQueryOrdersParamsWithContext(ctx context.Context) *QueryOrdersParams
NewQueryOrdersParamsWithContext creates a new QueryOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewQueryOrdersParamsWithHTTPClient ¶
func NewQueryOrdersParamsWithHTTPClient(client *http.Client) *QueryOrdersParams
NewQueryOrdersParamsWithHTTPClient creates a new QueryOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryOrdersParamsWithTimeout ¶
func NewQueryOrdersParamsWithTimeout(timeout time.Duration) *QueryOrdersParams
NewQueryOrdersParamsWithTimeout creates a new QueryOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryOrdersParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QueryOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query orders params
func (*QueryOrdersParams) SetContext ¶
func (o *QueryOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the query orders params
func (*QueryOrdersParams) SetEndTime ¶
func (o *QueryOrdersParams) SetEndTime(endTime *string)
SetEndTime adds the endTime to the query orders params
func (*QueryOrdersParams) SetHTTPClient ¶
func (o *QueryOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query orders params
func (*QueryOrdersParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query orders params
func (*QueryOrdersParams) SetLimit ¶
func (o *QueryOrdersParams) SetLimit(limit *int32)
SetLimit adds the limit to the query orders params
func (*QueryOrdersParams) SetNamespace ¶
func (o *QueryOrdersParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query orders params
func (*QueryOrdersParams) SetOffset ¶
func (o *QueryOrdersParams) SetOffset(offset *int32)
SetOffset adds the offset to the query orders params
func (*QueryOrdersParams) SetOrderNos ¶
func (o *QueryOrdersParams) SetOrderNos(orderNos []string)
SetOrderNos adds the orderNos to the query orders params
func (*QueryOrdersParams) SetSortBy ¶
func (o *QueryOrdersParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the query orders params
func (*QueryOrdersParams) SetStartTime ¶
func (o *QueryOrdersParams) SetStartTime(startTime *string)
SetStartTime adds the startTime to the query orders params
func (*QueryOrdersParams) SetStatus ¶
func (o *QueryOrdersParams) SetStatus(status *string)
SetStatus adds the status to the query orders params
func (*QueryOrdersParams) SetTimeout ¶
func (o *QueryOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query orders params
func (*QueryOrdersParams) SetWithTotal ¶
func (o *QueryOrdersParams) SetWithTotal(withTotal *bool)
SetWithTotal adds the withTotal to the query orders params
func (*QueryOrdersParams) WithContext ¶
func (o *QueryOrdersParams) WithContext(ctx context.Context) *QueryOrdersParams
WithContext adds the context to the query orders params
func (*QueryOrdersParams) WithEndTime ¶
func (o *QueryOrdersParams) WithEndTime(endTime *string) *QueryOrdersParams
WithEndTime adds the endTime to the query orders params
func (*QueryOrdersParams) WithHTTPClient ¶
func (o *QueryOrdersParams) WithHTTPClient(client *http.Client) *QueryOrdersParams
WithHTTPClient adds the HTTPClient to the query orders params
func (*QueryOrdersParams) WithLimit ¶
func (o *QueryOrdersParams) WithLimit(limit *int32) *QueryOrdersParams
WithLimit adds the limit to the query orders params
func (*QueryOrdersParams) WithNamespace ¶
func (o *QueryOrdersParams) WithNamespace(namespace string) *QueryOrdersParams
WithNamespace adds the namespace to the query orders params
func (*QueryOrdersParams) WithOffset ¶
func (o *QueryOrdersParams) WithOffset(offset *int32) *QueryOrdersParams
WithOffset adds the offset to the query orders params
func (*QueryOrdersParams) WithOrderNos ¶
func (o *QueryOrdersParams) WithOrderNos(orderNos []string) *QueryOrdersParams
WithOrderNos adds the orderNos to the query orders params
func (*QueryOrdersParams) WithSortBy ¶
func (o *QueryOrdersParams) WithSortBy(sortBy *string) *QueryOrdersParams
WithSortBy adds the sortBy to the query orders params
func (*QueryOrdersParams) WithStartTime ¶
func (o *QueryOrdersParams) WithStartTime(startTime *string) *QueryOrdersParams
WithStartTime adds the startTime to the query orders params
func (*QueryOrdersParams) WithStatus ¶
func (o *QueryOrdersParams) WithStatus(status *string) *QueryOrdersParams
WithStatus adds the status to the query orders params
func (*QueryOrdersParams) WithTimeout ¶
func (o *QueryOrdersParams) WithTimeout(timeout time.Duration) *QueryOrdersParams
WithTimeout adds the timeout to the query orders params
func (*QueryOrdersParams) WithWithTotal ¶
func (o *QueryOrdersParams) WithWithTotal(withTotal *bool) *QueryOrdersParams
WithWithTotal adds the withTotal to the query orders params
func (*QueryOrdersParams) WriteToRequest ¶
func (o *QueryOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryOrdersReader ¶
type QueryOrdersReader struct {
// contains filtered or unexported fields
}
QueryOrdersReader is a Reader for the QueryOrders structure.
func (*QueryOrdersReader) ReadResponse ¶
func (o *QueryOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryOrdersUnprocessableEntity ¶
type QueryOrdersUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
QueryOrdersUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewQueryOrdersUnprocessableEntity ¶
func NewQueryOrdersUnprocessableEntity() *QueryOrdersUnprocessableEntity
NewQueryOrdersUnprocessableEntity creates a QueryOrdersUnprocessableEntity with default headers values
func (*QueryOrdersUnprocessableEntity) Error ¶
func (o *QueryOrdersUnprocessableEntity) Error() string
func (*QueryOrdersUnprocessableEntity) GetPayload ¶
func (o *QueryOrdersUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
type QueryUserOrdersOK ¶
type QueryUserOrdersOK struct {
Payload *platformclientmodels.OrderPagingSlicedResult
}
QueryUserOrdersOK handles this case with default header values.
successful operation
func NewQueryUserOrdersOK ¶
func NewQueryUserOrdersOK() *QueryUserOrdersOK
NewQueryUserOrdersOK creates a QueryUserOrdersOK with default headers values
func (*QueryUserOrdersOK) Error ¶
func (o *QueryUserOrdersOK) Error() string
func (*QueryUserOrdersOK) GetPayload ¶
func (o *QueryUserOrdersOK) GetPayload() *platformclientmodels.OrderPagingSlicedResult
type QueryUserOrdersParams ¶
type QueryUserOrdersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ItemID*/ ItemID *string /*Limit*/ Limit *int32 /*Namespace*/ Namespace string /*Offset*/ Offset *int32 /*Status*/ Status *string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryUserOrdersParams contains all the parameters to send to the API endpoint for the query user orders operation typically these are written to a http.Request
func NewQueryUserOrdersParams ¶
func NewQueryUserOrdersParams() *QueryUserOrdersParams
NewQueryUserOrdersParams creates a new QueryUserOrdersParams object with the default values initialized.
func NewQueryUserOrdersParamsWithContext ¶
func NewQueryUserOrdersParamsWithContext(ctx context.Context) *QueryUserOrdersParams
NewQueryUserOrdersParamsWithContext creates a new QueryUserOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewQueryUserOrdersParamsWithHTTPClient ¶
func NewQueryUserOrdersParamsWithHTTPClient(client *http.Client) *QueryUserOrdersParams
NewQueryUserOrdersParamsWithHTTPClient creates a new QueryUserOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryUserOrdersParamsWithTimeout ¶
func NewQueryUserOrdersParamsWithTimeout(timeout time.Duration) *QueryUserOrdersParams
NewQueryUserOrdersParamsWithTimeout creates a new QueryUserOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryUserOrdersParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QueryUserOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query user orders params
func (*QueryUserOrdersParams) SetContext ¶
func (o *QueryUserOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the query user orders params
func (*QueryUserOrdersParams) SetHTTPClient ¶
func (o *QueryUserOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query user orders params
func (*QueryUserOrdersParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryUserOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query user orders params
func (*QueryUserOrdersParams) SetItemID ¶
func (o *QueryUserOrdersParams) SetItemID(itemID *string)
SetItemID adds the itemId to the query user orders params
func (*QueryUserOrdersParams) SetLimit ¶
func (o *QueryUserOrdersParams) SetLimit(limit *int32)
SetLimit adds the limit to the query user orders params
func (*QueryUserOrdersParams) SetNamespace ¶
func (o *QueryUserOrdersParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query user orders params
func (*QueryUserOrdersParams) SetOffset ¶
func (o *QueryUserOrdersParams) SetOffset(offset *int32)
SetOffset adds the offset to the query user orders params
func (*QueryUserOrdersParams) SetStatus ¶
func (o *QueryUserOrdersParams) SetStatus(status *string)
SetStatus adds the status to the query user orders params
func (*QueryUserOrdersParams) SetTimeout ¶
func (o *QueryUserOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query user orders params
func (*QueryUserOrdersParams) SetUserID ¶
func (o *QueryUserOrdersParams) SetUserID(userID string)
SetUserID adds the userId to the query user orders params
func (*QueryUserOrdersParams) WithContext ¶
func (o *QueryUserOrdersParams) WithContext(ctx context.Context) *QueryUserOrdersParams
WithContext adds the context to the query user orders params
func (*QueryUserOrdersParams) WithHTTPClient ¶
func (o *QueryUserOrdersParams) WithHTTPClient(client *http.Client) *QueryUserOrdersParams
WithHTTPClient adds the HTTPClient to the query user orders params
func (*QueryUserOrdersParams) WithItemID ¶
func (o *QueryUserOrdersParams) WithItemID(itemID *string) *QueryUserOrdersParams
WithItemID adds the itemID to the query user orders params
func (*QueryUserOrdersParams) WithLimit ¶
func (o *QueryUserOrdersParams) WithLimit(limit *int32) *QueryUserOrdersParams
WithLimit adds the limit to the query user orders params
func (*QueryUserOrdersParams) WithNamespace ¶
func (o *QueryUserOrdersParams) WithNamespace(namespace string) *QueryUserOrdersParams
WithNamespace adds the namespace to the query user orders params
func (*QueryUserOrdersParams) WithOffset ¶
func (o *QueryUserOrdersParams) WithOffset(offset *int32) *QueryUserOrdersParams
WithOffset adds the offset to the query user orders params
func (*QueryUserOrdersParams) WithStatus ¶
func (o *QueryUserOrdersParams) WithStatus(status *string) *QueryUserOrdersParams
WithStatus adds the status to the query user orders params
func (*QueryUserOrdersParams) WithTimeout ¶
func (o *QueryUserOrdersParams) WithTimeout(timeout time.Duration) *QueryUserOrdersParams
WithTimeout adds the timeout to the query user orders params
func (*QueryUserOrdersParams) WithUserID ¶
func (o *QueryUserOrdersParams) WithUserID(userID string) *QueryUserOrdersParams
WithUserID adds the userID to the query user orders params
func (*QueryUserOrdersParams) WriteToRequest ¶
func (o *QueryUserOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryUserOrdersReader ¶
type QueryUserOrdersReader struct {
// contains filtered or unexported fields
}
QueryUserOrdersReader is a Reader for the QueryUserOrders structure.
func (*QueryUserOrdersReader) ReadResponse ¶
func (o *QueryUserOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RefundOrderConflict ¶
type RefundOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
RefundOrderConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32171</td><td>Order [{orderNo}] is not refundable</td></tr></table>
func NewRefundOrderConflict ¶
func NewRefundOrderConflict() *RefundOrderConflict
NewRefundOrderConflict creates a RefundOrderConflict with default headers values
func (*RefundOrderConflict) Error ¶
func (o *RefundOrderConflict) Error() string
func (*RefundOrderConflict) GetPayload ¶
func (o *RefundOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type RefundOrderNotFound ¶
type RefundOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RefundOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewRefundOrderNotFound ¶
func NewRefundOrderNotFound() *RefundOrderNotFound
NewRefundOrderNotFound creates a RefundOrderNotFound with default headers values
func (*RefundOrderNotFound) Error ¶
func (o *RefundOrderNotFound) Error() string
func (*RefundOrderNotFound) GetPayload ¶
func (o *RefundOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type RefundOrderOK ¶
type RefundOrderOK struct {
Payload *platformclientmodels.OrderInfo
}
RefundOrderOK handles this case with default header values.
successful operation
func NewRefundOrderOK ¶
func NewRefundOrderOK() *RefundOrderOK
NewRefundOrderOK creates a RefundOrderOK with default headers values
func (*RefundOrderOK) Error ¶
func (o *RefundOrderOK) Error() string
func (*RefundOrderOK) GetPayload ¶
func (o *RefundOrderOK) GetPayload() *platformclientmodels.OrderInfo
type RefundOrderParams ¶
type RefundOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.OrderRefundCreate /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RefundOrderParams contains all the parameters to send to the API endpoint for the refund order operation typically these are written to a http.Request
func NewRefundOrderParams ¶
func NewRefundOrderParams() *RefundOrderParams
NewRefundOrderParams creates a new RefundOrderParams object with the default values initialized.
func NewRefundOrderParamsWithContext ¶
func NewRefundOrderParamsWithContext(ctx context.Context) *RefundOrderParams
NewRefundOrderParamsWithContext creates a new RefundOrderParams object with the default values initialized, and the ability to set a context for a request
func NewRefundOrderParamsWithHTTPClient ¶
func NewRefundOrderParamsWithHTTPClient(client *http.Client) *RefundOrderParams
NewRefundOrderParamsWithHTTPClient creates a new RefundOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRefundOrderParamsWithTimeout ¶
func NewRefundOrderParamsWithTimeout(timeout time.Duration) *RefundOrderParams
NewRefundOrderParamsWithTimeout creates a new RefundOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*RefundOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RefundOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the refund order params
func (*RefundOrderParams) SetBody ¶
func (o *RefundOrderParams) SetBody(body *platformclientmodels.OrderRefundCreate)
SetBody adds the body to the refund order params
func (*RefundOrderParams) SetContext ¶
func (o *RefundOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the refund order params
func (*RefundOrderParams) SetHTTPClient ¶
func (o *RefundOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the refund order params
func (*RefundOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RefundOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the refund order params
func (*RefundOrderParams) SetNamespace ¶
func (o *RefundOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the refund order params
func (*RefundOrderParams) SetOrderNo ¶
func (o *RefundOrderParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the refund order params
func (*RefundOrderParams) SetTimeout ¶
func (o *RefundOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the refund order params
func (*RefundOrderParams) WithBody ¶
func (o *RefundOrderParams) WithBody(body *platformclientmodels.OrderRefundCreate) *RefundOrderParams
WithBody adds the body to the refund order params
func (*RefundOrderParams) WithContext ¶
func (o *RefundOrderParams) WithContext(ctx context.Context) *RefundOrderParams
WithContext adds the context to the refund order params
func (*RefundOrderParams) WithHTTPClient ¶
func (o *RefundOrderParams) WithHTTPClient(client *http.Client) *RefundOrderParams
WithHTTPClient adds the HTTPClient to the refund order params
func (*RefundOrderParams) WithNamespace ¶
func (o *RefundOrderParams) WithNamespace(namespace string) *RefundOrderParams
WithNamespace adds the namespace to the refund order params
func (*RefundOrderParams) WithOrderNo ¶
func (o *RefundOrderParams) WithOrderNo(orderNo string) *RefundOrderParams
WithOrderNo adds the orderNo to the refund order params
func (*RefundOrderParams) WithTimeout ¶
func (o *RefundOrderParams) WithTimeout(timeout time.Duration) *RefundOrderParams
WithTimeout adds the timeout to the refund order params
func (*RefundOrderParams) WriteToRequest ¶
func (o *RefundOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RefundOrderReader ¶
type RefundOrderReader struct {
// contains filtered or unexported fields
}
RefundOrderReader is a Reader for the RefundOrder structure.
func (*RefundOrderReader) ReadResponse ¶
func (o *RefundOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RefundOrderUnprocessableEntity ¶
type RefundOrderUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
RefundOrderUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewRefundOrderUnprocessableEntity ¶
func NewRefundOrderUnprocessableEntity() *RefundOrderUnprocessableEntity
NewRefundOrderUnprocessableEntity creates a RefundOrderUnprocessableEntity with default headers values
func (*RefundOrderUnprocessableEntity) Error ¶
func (o *RefundOrderUnprocessableEntity) Error() string
func (*RefundOrderUnprocessableEntity) GetPayload ¶
func (o *RefundOrderUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
type UpdateUserOrderStatusConflict ¶
type UpdateUserOrderStatusConflict struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateUserOrderStatusConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewUpdateUserOrderStatusConflict ¶
func NewUpdateUserOrderStatusConflict() *UpdateUserOrderStatusConflict
NewUpdateUserOrderStatusConflict creates a UpdateUserOrderStatusConflict with default headers values
func (*UpdateUserOrderStatusConflict) Error ¶
func (o *UpdateUserOrderStatusConflict) Error() string
func (*UpdateUserOrderStatusConflict) GetPayload ¶
func (o *UpdateUserOrderStatusConflict) GetPayload() *platformclientmodels.ErrorEntity
type UpdateUserOrderStatusNotFound ¶
type UpdateUserOrderStatusNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateUserOrderStatusNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>32141</td><td>Order [{orderNo}] does not exist</td></tr></table>
func NewUpdateUserOrderStatusNotFound ¶
func NewUpdateUserOrderStatusNotFound() *UpdateUserOrderStatusNotFound
NewUpdateUserOrderStatusNotFound creates a UpdateUserOrderStatusNotFound with default headers values
func (*UpdateUserOrderStatusNotFound) Error ¶
func (o *UpdateUserOrderStatusNotFound) Error() string
func (*UpdateUserOrderStatusNotFound) GetPayload ¶
func (o *UpdateUserOrderStatusNotFound) GetPayload() *platformclientmodels.ErrorEntity
type UpdateUserOrderStatusOK ¶
type UpdateUserOrderStatusOK struct {
Payload *platformclientmodels.OrderInfo
}
UpdateUserOrderStatusOK handles this case with default header values.
successful operation
func NewUpdateUserOrderStatusOK ¶
func NewUpdateUserOrderStatusOK() *UpdateUserOrderStatusOK
NewUpdateUserOrderStatusOK creates a UpdateUserOrderStatusOK with default headers values
func (*UpdateUserOrderStatusOK) Error ¶
func (o *UpdateUserOrderStatusOK) Error() string
func (*UpdateUserOrderStatusOK) GetPayload ¶
func (o *UpdateUserOrderStatusOK) GetPayload() *platformclientmodels.OrderInfo
type UpdateUserOrderStatusParams ¶
type UpdateUserOrderStatusParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.OrderUpdate /*Namespace*/ Namespace string /*OrderNo*/ OrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserOrderStatusParams contains all the parameters to send to the API endpoint for the update user order status operation typically these are written to a http.Request
func NewUpdateUserOrderStatusParams ¶
func NewUpdateUserOrderStatusParams() *UpdateUserOrderStatusParams
NewUpdateUserOrderStatusParams creates a new UpdateUserOrderStatusParams object with the default values initialized.
func NewUpdateUserOrderStatusParamsWithContext ¶
func NewUpdateUserOrderStatusParamsWithContext(ctx context.Context) *UpdateUserOrderStatusParams
NewUpdateUserOrderStatusParamsWithContext creates a new UpdateUserOrderStatusParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserOrderStatusParamsWithHTTPClient ¶
func NewUpdateUserOrderStatusParamsWithHTTPClient(client *http.Client) *UpdateUserOrderStatusParams
NewUpdateUserOrderStatusParamsWithHTTPClient creates a new UpdateUserOrderStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserOrderStatusParamsWithTimeout ¶
func NewUpdateUserOrderStatusParamsWithTimeout(timeout time.Duration) *UpdateUserOrderStatusParams
NewUpdateUserOrderStatusParamsWithTimeout creates a new UpdateUserOrderStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserOrderStatusParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateUserOrderStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update user order status params
func (*UpdateUserOrderStatusParams) SetBody ¶
func (o *UpdateUserOrderStatusParams) SetBody(body *platformclientmodels.OrderUpdate)
SetBody adds the body to the update user order status params
func (*UpdateUserOrderStatusParams) SetContext ¶
func (o *UpdateUserOrderStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the update user order status params
func (*UpdateUserOrderStatusParams) SetHTTPClient ¶
func (o *UpdateUserOrderStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user order status params
func (*UpdateUserOrderStatusParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateUserOrderStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update user order status params
func (*UpdateUserOrderStatusParams) SetNamespace ¶
func (o *UpdateUserOrderStatusParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update user order status params
func (*UpdateUserOrderStatusParams) SetOrderNo ¶
func (o *UpdateUserOrderStatusParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the update user order status params
func (*UpdateUserOrderStatusParams) SetTimeout ¶
func (o *UpdateUserOrderStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user order status params
func (*UpdateUserOrderStatusParams) SetUserID ¶
func (o *UpdateUserOrderStatusParams) SetUserID(userID string)
SetUserID adds the userId to the update user order status params
func (*UpdateUserOrderStatusParams) WithBody ¶
func (o *UpdateUserOrderStatusParams) WithBody(body *platformclientmodels.OrderUpdate) *UpdateUserOrderStatusParams
WithBody adds the body to the update user order status params
func (*UpdateUserOrderStatusParams) WithContext ¶
func (o *UpdateUserOrderStatusParams) WithContext(ctx context.Context) *UpdateUserOrderStatusParams
WithContext adds the context to the update user order status params
func (*UpdateUserOrderStatusParams) WithHTTPClient ¶
func (o *UpdateUserOrderStatusParams) WithHTTPClient(client *http.Client) *UpdateUserOrderStatusParams
WithHTTPClient adds the HTTPClient to the update user order status params
func (*UpdateUserOrderStatusParams) WithNamespace ¶
func (o *UpdateUserOrderStatusParams) WithNamespace(namespace string) *UpdateUserOrderStatusParams
WithNamespace adds the namespace to the update user order status params
func (*UpdateUserOrderStatusParams) WithOrderNo ¶
func (o *UpdateUserOrderStatusParams) WithOrderNo(orderNo string) *UpdateUserOrderStatusParams
WithOrderNo adds the orderNo to the update user order status params
func (*UpdateUserOrderStatusParams) WithTimeout ¶
func (o *UpdateUserOrderStatusParams) WithTimeout(timeout time.Duration) *UpdateUserOrderStatusParams
WithTimeout adds the timeout to the update user order status params
func (*UpdateUserOrderStatusParams) WithUserID ¶
func (o *UpdateUserOrderStatusParams) WithUserID(userID string) *UpdateUserOrderStatusParams
WithUserID adds the userID to the update user order status params
func (*UpdateUserOrderStatusParams) WriteToRequest ¶
func (o *UpdateUserOrderStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserOrderStatusReader ¶
type UpdateUserOrderStatusReader struct {
// contains filtered or unexported fields
}
UpdateUserOrderStatusReader is a Reader for the UpdateUserOrderStatus structure.
func (*UpdateUserOrderStatusReader) ReadResponse ¶
func (o *UpdateUserOrderStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserOrderStatusUnprocessableEntity ¶
type UpdateUserOrderStatusUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
UpdateUserOrderStatusUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewUpdateUserOrderStatusUnprocessableEntity ¶
func NewUpdateUserOrderStatusUnprocessableEntity() *UpdateUserOrderStatusUnprocessableEntity
NewUpdateUserOrderStatusUnprocessableEntity creates a UpdateUserOrderStatusUnprocessableEntity with default headers values
func (*UpdateUserOrderStatusUnprocessableEntity) Error ¶
func (o *UpdateUserOrderStatusUnprocessableEntity) Error() string
func (*UpdateUserOrderStatusUnprocessableEntity) GetPayload ¶
func (o *UpdateUserOrderStatusUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
Source Files ¶
- admin_create_user_order_parameters.go
- admin_create_user_order_responses.go
- count_of_purchased_item_parameters.go
- count_of_purchased_item_responses.go
- download_user_order_receipt_parameters.go
- download_user_order_receipt_responses.go
- fulfill_user_order_parameters.go
- fulfill_user_order_responses.go
- get_order_parameters.go
- get_order_responses.go
- get_order_statistics_parameters.go
- get_order_statistics_responses.go
- get_user_order_grant_parameters.go
- get_user_order_grant_responses.go
- get_user_order_histories_parameters.go
- get_user_order_histories_responses.go
- get_user_order_parameters.go
- get_user_order_responses.go
- order_client.go
- process_user_order_notification_parameters.go
- process_user_order_notification_responses.go
- public_cancel_user_order_parameters.go
- public_cancel_user_order_responses.go
- public_create_user_order_parameters.go
- public_create_user_order_responses.go
- public_download_user_order_receipt_parameters.go
- public_download_user_order_receipt_responses.go
- public_get_user_order_histories_parameters.go
- public_get_user_order_histories_responses.go
- public_get_user_order_parameters.go
- public_get_user_order_responses.go
- public_query_user_orders_parameters.go
- public_query_user_orders_responses.go
- query_orders_parameters.go
- query_orders_responses.go
- query_user_orders_parameters.go
- query_user_orders_responses.go
- refund_order_parameters.go
- refund_order_responses.go
- update_user_order_status_parameters.go
- update_user_order_status_responses.go