Documentation
¶
Index ¶
- Constants
- type ChargePaymentOrderBadRequest
- type ChargePaymentOrderConflict
- type ChargePaymentOrderNotFound
- type ChargePaymentOrderOK
- type ChargePaymentOrderParams
- func NewChargePaymentOrderParams() *ChargePaymentOrderParams
- func NewChargePaymentOrderParamsWithContext(ctx context.Context) *ChargePaymentOrderParams
- func NewChargePaymentOrderParamsWithHTTPClient(client *http.Client) *ChargePaymentOrderParams
- func NewChargePaymentOrderParamsWithTimeout(timeout time.Duration) *ChargePaymentOrderParams
- func (o *ChargePaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ChargePaymentOrderParams) SetBody(body *platformclientmodels.PaymentOrderChargeRequest)
- func (o *ChargePaymentOrderParams) SetContext(ctx context.Context)
- func (o *ChargePaymentOrderParams) SetHTTPClient(client *http.Client)
- func (o *ChargePaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ChargePaymentOrderParams) SetNamespace(namespace string)
- func (o *ChargePaymentOrderParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *ChargePaymentOrderParams) SetTimeout(timeout time.Duration)
- func (o *ChargePaymentOrderParams) WithBody(body *platformclientmodels.PaymentOrderChargeRequest) *ChargePaymentOrderParams
- func (o *ChargePaymentOrderParams) WithContext(ctx context.Context) *ChargePaymentOrderParams
- func (o *ChargePaymentOrderParams) WithHTTPClient(client *http.Client) *ChargePaymentOrderParams
- func (o *ChargePaymentOrderParams) WithNamespace(namespace string) *ChargePaymentOrderParams
- func (o *ChargePaymentOrderParams) WithPaymentOrderNo(paymentOrderNo string) *ChargePaymentOrderParams
- func (o *ChargePaymentOrderParams) WithTimeout(timeout time.Duration) *ChargePaymentOrderParams
- func (o *ChargePaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChargePaymentOrderReader
- type Client
- func (a *Client) ChargePaymentOrder(params *ChargePaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*ChargePaymentOrderOK, *ChargePaymentOrderBadRequest, ...)
- func (a *Client) ChargePaymentOrderShort(params *ChargePaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*ChargePaymentOrderOK, error)
- func (a *Client) CreateUserPaymentOrder(params *CreateUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserPaymentOrderCreated, *CreateUserPaymentOrderBadRequest, ...)
- func (a *Client) CreateUserPaymentOrderShort(params *CreateUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserPaymentOrderCreated, error)
- func (a *Client) GetPaymentOrder(params *GetPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderOK, *GetPaymentOrderNotFound, error)
- func (a *Client) GetPaymentOrderChargeStatus(params *GetPaymentOrderChargeStatusParams, ...) (*GetPaymentOrderChargeStatusOK, *GetPaymentOrderChargeStatusNotFound, error)
- func (a *Client) GetPaymentOrderChargeStatusShort(params *GetPaymentOrderChargeStatusParams, ...) (*GetPaymentOrderChargeStatusOK, error)
- func (a *Client) GetPaymentOrderShort(params *GetPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderOK, error)
- func (a *Client) ListExtOrderNoByExtTxID(params *ListExtOrderNoByExtTxIDParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtOrderNoByExtTxIDOK, error)
- func (a *Client) ListExtOrderNoByExtTxIDShort(params *ListExtOrderNoByExtTxIDParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtOrderNoByExtTxIDOK, error)
- func (a *Client) QueryPaymentNotifications(params *QueryPaymentNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentNotificationsOK, error)
- func (a *Client) QueryPaymentNotificationsShort(params *QueryPaymentNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentNotificationsOK, error)
- func (a *Client) QueryPaymentOrders(params *QueryPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentOrdersOK, error)
- func (a *Client) QueryPaymentOrdersShort(params *QueryPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentOrdersOK, error)
- func (a *Client) RefundUserPaymentOrder(params *RefundUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundUserPaymentOrderOK, *RefundUserPaymentOrderNotFound, ...)
- func (a *Client) RefundUserPaymentOrderShort(params *RefundUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundUserPaymentOrderOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SimulatePaymentOrderNotification(params *SimulatePaymentOrderNotificationParams, ...) (*SimulatePaymentOrderNotificationOK, ...)
- func (a *Client) SimulatePaymentOrderNotificationShort(params *SimulatePaymentOrderNotificationParams, ...) (*SimulatePaymentOrderNotificationOK, error)
- type ClientService
- type CreateUserPaymentOrderBadRequest
- type CreateUserPaymentOrderConflict
- type CreateUserPaymentOrderCreated
- type CreateUserPaymentOrderForbidden
- type CreateUserPaymentOrderNotFound
- type CreateUserPaymentOrderParams
- func NewCreateUserPaymentOrderParams() *CreateUserPaymentOrderParams
- func NewCreateUserPaymentOrderParamsWithContext(ctx context.Context) *CreateUserPaymentOrderParams
- func NewCreateUserPaymentOrderParamsWithHTTPClient(client *http.Client) *CreateUserPaymentOrderParams
- func NewCreateUserPaymentOrderParamsWithTimeout(timeout time.Duration) *CreateUserPaymentOrderParams
- func (o *CreateUserPaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateUserPaymentOrderParams) SetBody(body *platformclientmodels.PaymentOrderCreate)
- func (o *CreateUserPaymentOrderParams) SetContext(ctx context.Context)
- func (o *CreateUserPaymentOrderParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserPaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateUserPaymentOrderParams) SetNamespace(namespace string)
- func (o *CreateUserPaymentOrderParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserPaymentOrderParams) SetUserID(userID string)
- func (o *CreateUserPaymentOrderParams) WithBody(body *platformclientmodels.PaymentOrderCreate) *CreateUserPaymentOrderParams
- func (o *CreateUserPaymentOrderParams) WithContext(ctx context.Context) *CreateUserPaymentOrderParams
- func (o *CreateUserPaymentOrderParams) WithHTTPClient(client *http.Client) *CreateUserPaymentOrderParams
- func (o *CreateUserPaymentOrderParams) WithNamespace(namespace string) *CreateUserPaymentOrderParams
- func (o *CreateUserPaymentOrderParams) WithTimeout(timeout time.Duration) *CreateUserPaymentOrderParams
- func (o *CreateUserPaymentOrderParams) WithUserID(userID string) *CreateUserPaymentOrderParams
- func (o *CreateUserPaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserPaymentOrderReader
- type CreateUserPaymentOrderUnprocessableEntity
- type GetPaymentOrderChargeStatusNotFound
- type GetPaymentOrderChargeStatusOK
- type GetPaymentOrderChargeStatusParams
- func NewGetPaymentOrderChargeStatusParams() *GetPaymentOrderChargeStatusParams
- func NewGetPaymentOrderChargeStatusParamsWithContext(ctx context.Context) *GetPaymentOrderChargeStatusParams
- func NewGetPaymentOrderChargeStatusParamsWithHTTPClient(client *http.Client) *GetPaymentOrderChargeStatusParams
- func NewGetPaymentOrderChargeStatusParamsWithTimeout(timeout time.Duration) *GetPaymentOrderChargeStatusParams
- func (o *GetPaymentOrderChargeStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPaymentOrderChargeStatusParams) SetContext(ctx context.Context)
- func (o *GetPaymentOrderChargeStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentOrderChargeStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPaymentOrderChargeStatusParams) SetNamespace(namespace string)
- func (o *GetPaymentOrderChargeStatusParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *GetPaymentOrderChargeStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentOrderChargeStatusParams) WithContext(ctx context.Context) *GetPaymentOrderChargeStatusParams
- func (o *GetPaymentOrderChargeStatusParams) WithHTTPClient(client *http.Client) *GetPaymentOrderChargeStatusParams
- func (o *GetPaymentOrderChargeStatusParams) WithNamespace(namespace string) *GetPaymentOrderChargeStatusParams
- func (o *GetPaymentOrderChargeStatusParams) WithPaymentOrderNo(paymentOrderNo string) *GetPaymentOrderChargeStatusParams
- func (o *GetPaymentOrderChargeStatusParams) WithTimeout(timeout time.Duration) *GetPaymentOrderChargeStatusParams
- func (o *GetPaymentOrderChargeStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentOrderChargeStatusReader
- type GetPaymentOrderNotFound
- type GetPaymentOrderOK
- type GetPaymentOrderParams
- func NewGetPaymentOrderParams() *GetPaymentOrderParams
- func NewGetPaymentOrderParamsWithContext(ctx context.Context) *GetPaymentOrderParams
- func NewGetPaymentOrderParamsWithHTTPClient(client *http.Client) *GetPaymentOrderParams
- func NewGetPaymentOrderParamsWithTimeout(timeout time.Duration) *GetPaymentOrderParams
- func (o *GetPaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPaymentOrderParams) SetContext(ctx context.Context)
- func (o *GetPaymentOrderParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPaymentOrderParams) SetNamespace(namespace string)
- func (o *GetPaymentOrderParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *GetPaymentOrderParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentOrderParams) WithContext(ctx context.Context) *GetPaymentOrderParams
- func (o *GetPaymentOrderParams) WithHTTPClient(client *http.Client) *GetPaymentOrderParams
- func (o *GetPaymentOrderParams) WithNamespace(namespace string) *GetPaymentOrderParams
- func (o *GetPaymentOrderParams) WithPaymentOrderNo(paymentOrderNo string) *GetPaymentOrderParams
- func (o *GetPaymentOrderParams) WithTimeout(timeout time.Duration) *GetPaymentOrderParams
- func (o *GetPaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentOrderReader
- type ListExtOrderNoByExtTxIDOK
- type ListExtOrderNoByExtTxIDParams
- func NewListExtOrderNoByExtTxIDParams() *ListExtOrderNoByExtTxIDParams
- func NewListExtOrderNoByExtTxIDParamsWithContext(ctx context.Context) *ListExtOrderNoByExtTxIDParams
- func NewListExtOrderNoByExtTxIDParamsWithHTTPClient(client *http.Client) *ListExtOrderNoByExtTxIDParams
- func NewListExtOrderNoByExtTxIDParamsWithTimeout(timeout time.Duration) *ListExtOrderNoByExtTxIDParams
- func (o *ListExtOrderNoByExtTxIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListExtOrderNoByExtTxIDParams) SetContext(ctx context.Context)
- func (o *ListExtOrderNoByExtTxIDParams) SetExtTxID(extTxID string)
- func (o *ListExtOrderNoByExtTxIDParams) SetHTTPClient(client *http.Client)
- func (o *ListExtOrderNoByExtTxIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListExtOrderNoByExtTxIDParams) SetNamespace(namespace string)
- func (o *ListExtOrderNoByExtTxIDParams) SetTimeout(timeout time.Duration)
- func (o *ListExtOrderNoByExtTxIDParams) WithContext(ctx context.Context) *ListExtOrderNoByExtTxIDParams
- func (o *ListExtOrderNoByExtTxIDParams) WithExtTxID(extTxID string) *ListExtOrderNoByExtTxIDParams
- func (o *ListExtOrderNoByExtTxIDParams) WithHTTPClient(client *http.Client) *ListExtOrderNoByExtTxIDParams
- func (o *ListExtOrderNoByExtTxIDParams) WithNamespace(namespace string) *ListExtOrderNoByExtTxIDParams
- func (o *ListExtOrderNoByExtTxIDParams) WithTimeout(timeout time.Duration) *ListExtOrderNoByExtTxIDParams
- func (o *ListExtOrderNoByExtTxIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListExtOrderNoByExtTxIDReader
- type QueryPaymentNotificationsOK
- type QueryPaymentNotificationsParams
- func NewQueryPaymentNotificationsParams() *QueryPaymentNotificationsParams
- func NewQueryPaymentNotificationsParamsWithContext(ctx context.Context) *QueryPaymentNotificationsParams
- func NewQueryPaymentNotificationsParamsWithHTTPClient(client *http.Client) *QueryPaymentNotificationsParams
- func NewQueryPaymentNotificationsParamsWithTimeout(timeout time.Duration) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryPaymentNotificationsParams) SetContext(ctx context.Context)
- func (o *QueryPaymentNotificationsParams) SetEndDate(endDate *string)
- func (o *QueryPaymentNotificationsParams) SetExternalID(externalID *string)
- func (o *QueryPaymentNotificationsParams) SetHTTPClient(client *http.Client)
- func (o *QueryPaymentNotificationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryPaymentNotificationsParams) SetLimit(limit *int32)
- func (o *QueryPaymentNotificationsParams) SetNamespace(namespace string)
- func (o *QueryPaymentNotificationsParams) SetNotificationSource(notificationSource *string)
- func (o *QueryPaymentNotificationsParams) SetNotificationType(notificationType *string)
- func (o *QueryPaymentNotificationsParams) SetOffset(offset *int32)
- func (o *QueryPaymentNotificationsParams) SetPaymentOrderNo(paymentOrderNo *string)
- func (o *QueryPaymentNotificationsParams) SetStartDate(startDate *string)
- func (o *QueryPaymentNotificationsParams) SetStatus(status *string)
- func (o *QueryPaymentNotificationsParams) SetTimeout(timeout time.Duration)
- func (o *QueryPaymentNotificationsParams) WithContext(ctx context.Context) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithEndDate(endDate *string) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithExternalID(externalID *string) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithHTTPClient(client *http.Client) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithLimit(limit *int32) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithNamespace(namespace string) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithNotificationSource(notificationSource *string) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithNotificationType(notificationType *string) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithOffset(offset *int32) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithPaymentOrderNo(paymentOrderNo *string) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithStartDate(startDate *string) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithStatus(status *string) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WithTimeout(timeout time.Duration) *QueryPaymentNotificationsParams
- func (o *QueryPaymentNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryPaymentNotificationsReader
- type QueryPaymentOrdersOK
- type QueryPaymentOrdersParams
- func NewQueryPaymentOrdersParams() *QueryPaymentOrdersParams
- func NewQueryPaymentOrdersParamsWithContext(ctx context.Context) *QueryPaymentOrdersParams
- func NewQueryPaymentOrdersParamsWithHTTPClient(client *http.Client) *QueryPaymentOrdersParams
- func NewQueryPaymentOrdersParamsWithTimeout(timeout time.Duration) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryPaymentOrdersParams) SetChannel(channel *string)
- func (o *QueryPaymentOrdersParams) SetContext(ctx context.Context)
- func (o *QueryPaymentOrdersParams) SetExtTxID(extTxID *string)
- func (o *QueryPaymentOrdersParams) SetHTTPClient(client *http.Client)
- func (o *QueryPaymentOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryPaymentOrdersParams) SetLimit(limit *int32)
- func (o *QueryPaymentOrdersParams) SetNamespace(namespace string)
- func (o *QueryPaymentOrdersParams) SetOffset(offset *int32)
- func (o *QueryPaymentOrdersParams) SetStatus(status *string)
- func (o *QueryPaymentOrdersParams) SetTimeout(timeout time.Duration)
- func (o *QueryPaymentOrdersParams) WithChannel(channel *string) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WithContext(ctx context.Context) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WithExtTxID(extTxID *string) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WithHTTPClient(client *http.Client) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WithLimit(limit *int32) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WithNamespace(namespace string) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WithOffset(offset *int32) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WithStatus(status *string) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WithTimeout(timeout time.Duration) *QueryPaymentOrdersParams
- func (o *QueryPaymentOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryPaymentOrdersReader
- type RefundUserPaymentOrderConflict
- type RefundUserPaymentOrderNotFound
- type RefundUserPaymentOrderOK
- type RefundUserPaymentOrderParams
- func NewRefundUserPaymentOrderParams() *RefundUserPaymentOrderParams
- func NewRefundUserPaymentOrderParamsWithContext(ctx context.Context) *RefundUserPaymentOrderParams
- func NewRefundUserPaymentOrderParamsWithHTTPClient(client *http.Client) *RefundUserPaymentOrderParams
- func NewRefundUserPaymentOrderParamsWithTimeout(timeout time.Duration) *RefundUserPaymentOrderParams
- func (o *RefundUserPaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RefundUserPaymentOrderParams) SetBody(body *platformclientmodels.PaymentOrderRefund)
- func (o *RefundUserPaymentOrderParams) SetContext(ctx context.Context)
- func (o *RefundUserPaymentOrderParams) SetHTTPClient(client *http.Client)
- func (o *RefundUserPaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RefundUserPaymentOrderParams) SetNamespace(namespace string)
- func (o *RefundUserPaymentOrderParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *RefundUserPaymentOrderParams) SetTimeout(timeout time.Duration)
- func (o *RefundUserPaymentOrderParams) SetUserID(userID string)
- func (o *RefundUserPaymentOrderParams) WithBody(body *platformclientmodels.PaymentOrderRefund) *RefundUserPaymentOrderParams
- func (o *RefundUserPaymentOrderParams) WithContext(ctx context.Context) *RefundUserPaymentOrderParams
- func (o *RefundUserPaymentOrderParams) WithHTTPClient(client *http.Client) *RefundUserPaymentOrderParams
- func (o *RefundUserPaymentOrderParams) WithNamespace(namespace string) *RefundUserPaymentOrderParams
- func (o *RefundUserPaymentOrderParams) WithPaymentOrderNo(paymentOrderNo string) *RefundUserPaymentOrderParams
- func (o *RefundUserPaymentOrderParams) WithTimeout(timeout time.Duration) *RefundUserPaymentOrderParams
- func (o *RefundUserPaymentOrderParams) WithUserID(userID string) *RefundUserPaymentOrderParams
- func (o *RefundUserPaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RefundUserPaymentOrderReader
- type RefundUserPaymentOrderUnprocessableEntity
- type SimulatePaymentOrderNotificationBadRequest
- type SimulatePaymentOrderNotificationNotFound
- type SimulatePaymentOrderNotificationOK
- type SimulatePaymentOrderNotificationParams
- func NewSimulatePaymentOrderNotificationParams() *SimulatePaymentOrderNotificationParams
- func NewSimulatePaymentOrderNotificationParamsWithContext(ctx context.Context) *SimulatePaymentOrderNotificationParams
- func NewSimulatePaymentOrderNotificationParamsWithHTTPClient(client *http.Client) *SimulatePaymentOrderNotificationParams
- func NewSimulatePaymentOrderNotificationParamsWithTimeout(timeout time.Duration) *SimulatePaymentOrderNotificationParams
- func (o *SimulatePaymentOrderNotificationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SimulatePaymentOrderNotificationParams) SetBody(body *platformclientmodels.PaymentOrderNotifySimulation)
- func (o *SimulatePaymentOrderNotificationParams) SetContext(ctx context.Context)
- func (o *SimulatePaymentOrderNotificationParams) SetHTTPClient(client *http.Client)
- func (o *SimulatePaymentOrderNotificationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SimulatePaymentOrderNotificationParams) SetNamespace(namespace string)
- func (o *SimulatePaymentOrderNotificationParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *SimulatePaymentOrderNotificationParams) SetTimeout(timeout time.Duration)
- func (o *SimulatePaymentOrderNotificationParams) WithBody(body *platformclientmodels.PaymentOrderNotifySimulation) *SimulatePaymentOrderNotificationParams
- func (o *SimulatePaymentOrderNotificationParams) WithContext(ctx context.Context) *SimulatePaymentOrderNotificationParams
- func (o *SimulatePaymentOrderNotificationParams) WithHTTPClient(client *http.Client) *SimulatePaymentOrderNotificationParams
- func (o *SimulatePaymentOrderNotificationParams) WithNamespace(namespace string) *SimulatePaymentOrderNotificationParams
- func (o *SimulatePaymentOrderNotificationParams) WithPaymentOrderNo(paymentOrderNo string) *SimulatePaymentOrderNotificationParams
- func (o *SimulatePaymentOrderNotificationParams) WithTimeout(timeout time.Duration) *SimulatePaymentOrderNotificationParams
- func (o *SimulatePaymentOrderNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SimulatePaymentOrderNotificationReader
Constants ¶
const ( QueryPaymentNotificationsADYENConstant = "ADYEN" QueryPaymentNotificationsALIPAYConstant = "ALIPAY" QueryPaymentNotificationsCHECKOUTConstant = "CHECKOUT" QueryPaymentNotificationsPAYPALConstant = "PAYPAL" QueryPaymentNotificationsSTRIPEConstant = "STRIPE" QueryPaymentNotificationsWALLETConstant = "WALLET" QueryPaymentNotificationsWXPAYConstant = "WXPAY" QueryPaymentNotificationsXSOLLAConstant = "XSOLLA" )
Get the enum in QueryPaymentNotificationsParams
const ( QueryPaymentNotificationsERRORConstant = "ERROR" QueryPaymentNotificationsIGNOREDConstant = "IGNORED" QueryPaymentNotificationsPROCESSEDConstant = "PROCESSED" QueryPaymentNotificationsWARNConstant = "WARN" )
Get the enum in QueryPaymentNotificationsParams
const ( QueryPaymentOrdersEXTERNALConstant = "EXTERNAL" QueryPaymentOrdersINTERNALConstant = "INTERNAL" )
Get the enum in QueryPaymentOrdersParams
const ( QueryPaymentOrdersAUTHORISEDConstant = "AUTHORISED" QueryPaymentOrdersAUTHORISEFAILEDConstant = "AUTHORISE_FAILED" QueryPaymentOrdersCHARGEBACKConstant = "CHARGEBACK" QueryPaymentOrdersCHARGEBACKREVERSEDConstant = "CHARGEBACK_REVERSED" QueryPaymentOrdersCHARGEDConstant = "CHARGED" QueryPaymentOrdersCHARGEFAILEDConstant = "CHARGE_FAILED" QueryPaymentOrdersDELETEDConstant = "DELETED" QueryPaymentOrdersINITConstant = "INIT" QueryPaymentOrdersNOTIFICATIONOFCHARGEBACKConstant = "NOTIFICATION_OF_CHARGEBACK" QueryPaymentOrdersREFUNDEDConstant = "REFUNDED" QueryPaymentOrdersREFUNDINGConstant = "REFUNDING" QueryPaymentOrdersREFUNDFAILEDConstant = "REFUND_FAILED" QueryPaymentOrdersREQUESTFORINFORMATIONConstant = "REQUEST_FOR_INFORMATION" )
Get the enum in QueryPaymentOrdersParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChargePaymentOrderBadRequest ¶
type ChargePaymentOrderBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
ChargePaymentOrderBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33322</td><td>Payment provider [{paymentProvider}] not supported</td></tr></table>
func NewChargePaymentOrderBadRequest ¶
func NewChargePaymentOrderBadRequest() *ChargePaymentOrderBadRequest
NewChargePaymentOrderBadRequest creates a ChargePaymentOrderBadRequest with default headers values
func (*ChargePaymentOrderBadRequest) Error ¶
func (o *ChargePaymentOrderBadRequest) Error() string
func (*ChargePaymentOrderBadRequest) GetPayload ¶
func (o *ChargePaymentOrderBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type ChargePaymentOrderConflict ¶
type ChargePaymentOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
ChargePaymentOrderConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33171</td><td>Invalid payment order status [{status}] for payment order [{paymentOrderNo}]</td></tr></table>
func NewChargePaymentOrderConflict ¶
func NewChargePaymentOrderConflict() *ChargePaymentOrderConflict
NewChargePaymentOrderConflict creates a ChargePaymentOrderConflict with default headers values
func (*ChargePaymentOrderConflict) Error ¶
func (o *ChargePaymentOrderConflict) Error() string
func (*ChargePaymentOrderConflict) GetPayload ¶
func (o *ChargePaymentOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type ChargePaymentOrderNotFound ¶
type ChargePaymentOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
ChargePaymentOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33141</td><td>Payment Order [{paymentOrderNo}] does not exist</td></tr></table>
func NewChargePaymentOrderNotFound ¶
func NewChargePaymentOrderNotFound() *ChargePaymentOrderNotFound
NewChargePaymentOrderNotFound creates a ChargePaymentOrderNotFound with default headers values
func (*ChargePaymentOrderNotFound) Error ¶
func (o *ChargePaymentOrderNotFound) Error() string
func (*ChargePaymentOrderNotFound) GetPayload ¶
func (o *ChargePaymentOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type ChargePaymentOrderOK ¶
type ChargePaymentOrderOK struct {
Payload *platformclientmodels.PaymentOrderInfo
}
ChargePaymentOrderOK handles this case with default header values.
successful operation
func NewChargePaymentOrderOK ¶
func NewChargePaymentOrderOK() *ChargePaymentOrderOK
NewChargePaymentOrderOK creates a ChargePaymentOrderOK with default headers values
func (*ChargePaymentOrderOK) Error ¶
func (o *ChargePaymentOrderOK) Error() string
func (*ChargePaymentOrderOK) GetPayload ¶
func (o *ChargePaymentOrderOK) GetPayload() *platformclientmodels.PaymentOrderInfo
type ChargePaymentOrderParams ¶
type ChargePaymentOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PaymentOrderChargeRequest /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChargePaymentOrderParams contains all the parameters to send to the API endpoint for the charge payment order operation typically these are written to a http.Request
func NewChargePaymentOrderParams ¶
func NewChargePaymentOrderParams() *ChargePaymentOrderParams
NewChargePaymentOrderParams creates a new ChargePaymentOrderParams object with the default values initialized.
func NewChargePaymentOrderParamsWithContext ¶
func NewChargePaymentOrderParamsWithContext(ctx context.Context) *ChargePaymentOrderParams
NewChargePaymentOrderParamsWithContext creates a new ChargePaymentOrderParams object with the default values initialized, and the ability to set a context for a request
func NewChargePaymentOrderParamsWithHTTPClient ¶
func NewChargePaymentOrderParamsWithHTTPClient(client *http.Client) *ChargePaymentOrderParams
NewChargePaymentOrderParamsWithHTTPClient creates a new ChargePaymentOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChargePaymentOrderParamsWithTimeout ¶
func NewChargePaymentOrderParamsWithTimeout(timeout time.Duration) *ChargePaymentOrderParams
NewChargePaymentOrderParamsWithTimeout creates a new ChargePaymentOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChargePaymentOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ChargePaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the charge payment order params
func (*ChargePaymentOrderParams) SetBody ¶
func (o *ChargePaymentOrderParams) SetBody(body *platformclientmodels.PaymentOrderChargeRequest)
SetBody adds the body to the charge payment order params
func (*ChargePaymentOrderParams) SetContext ¶
func (o *ChargePaymentOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the charge payment order params
func (*ChargePaymentOrderParams) SetHTTPClient ¶
func (o *ChargePaymentOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the charge payment order params
func (*ChargePaymentOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ChargePaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the charge payment order params
func (*ChargePaymentOrderParams) SetNamespace ¶
func (o *ChargePaymentOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the charge payment order params
func (*ChargePaymentOrderParams) SetPaymentOrderNo ¶
func (o *ChargePaymentOrderParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the charge payment order params
func (*ChargePaymentOrderParams) SetTimeout ¶
func (o *ChargePaymentOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the charge payment order params
func (*ChargePaymentOrderParams) WithBody ¶
func (o *ChargePaymentOrderParams) WithBody(body *platformclientmodels.PaymentOrderChargeRequest) *ChargePaymentOrderParams
WithBody adds the body to the charge payment order params
func (*ChargePaymentOrderParams) WithContext ¶
func (o *ChargePaymentOrderParams) WithContext(ctx context.Context) *ChargePaymentOrderParams
WithContext adds the context to the charge payment order params
func (*ChargePaymentOrderParams) WithHTTPClient ¶
func (o *ChargePaymentOrderParams) WithHTTPClient(client *http.Client) *ChargePaymentOrderParams
WithHTTPClient adds the HTTPClient to the charge payment order params
func (*ChargePaymentOrderParams) WithNamespace ¶
func (o *ChargePaymentOrderParams) WithNamespace(namespace string) *ChargePaymentOrderParams
WithNamespace adds the namespace to the charge payment order params
func (*ChargePaymentOrderParams) WithPaymentOrderNo ¶
func (o *ChargePaymentOrderParams) WithPaymentOrderNo(paymentOrderNo string) *ChargePaymentOrderParams
WithPaymentOrderNo adds the paymentOrderNo to the charge payment order params
func (*ChargePaymentOrderParams) WithTimeout ¶
func (o *ChargePaymentOrderParams) WithTimeout(timeout time.Duration) *ChargePaymentOrderParams
WithTimeout adds the timeout to the charge payment order params
func (*ChargePaymentOrderParams) WriteToRequest ¶
func (o *ChargePaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChargePaymentOrderReader ¶
type ChargePaymentOrderReader struct {
// contains filtered or unexported fields
}
ChargePaymentOrderReader is a Reader for the ChargePaymentOrder structure.
func (*ChargePaymentOrderReader) ReadResponse ¶
func (o *ChargePaymentOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for payment API
func (*Client) ChargePaymentOrder ¶
func (a *Client) ChargePaymentOrder(params *ChargePaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*ChargePaymentOrderOK, *ChargePaymentOrderBadRequest, *ChargePaymentOrderNotFound, *ChargePaymentOrderConflict, error)
ChargePaymentOrder charges payment order without payment flow
<b>[TEST FACILITY ONLY] Forbidden in live environment. </b> Charge payment order without payment flow for unpaid payment order, usually for test usage to simulate real currency payment process.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=4 (UPDATE)</li><li><i>Returns</i>: payment order instance</li></ul>
func (*Client) ChargePaymentOrderShort ¶ added in v0.8.0
func (a *Client) ChargePaymentOrderShort(params *ChargePaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*ChargePaymentOrderOK, error)
func (*Client) CreateUserPaymentOrder ¶
func (a *Client) CreateUserPaymentOrder(params *CreateUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserPaymentOrderCreated, *CreateUserPaymentOrderBadRequest, *CreateUserPaymentOrderForbidden, *CreateUserPaymentOrderNotFound, *CreateUserPaymentOrderConflict, *CreateUserPaymentOrderUnprocessableEntity, error)
CreateUserPaymentOrder creates payment order
<b>[SERVICE COMMUNICATION ONLY]</b> This API is used to create payment order from justice service. The result contains the payment station url.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:PAYMENT", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: PAYMENT_INITIATE or ORDER_AND_PAYMENT</li><li><i>Returns</i>: created order</li></ul>
func (*Client) CreateUserPaymentOrderShort ¶ added in v0.8.0
func (a *Client) CreateUserPaymentOrderShort(params *CreateUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserPaymentOrderCreated, error)
func (*Client) GetPaymentOrder ¶
func (a *Client) GetPaymentOrder(params *GetPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderOK, *GetPaymentOrderNotFound, error)
GetPaymentOrder gets payment order
Get payment order by paymentOrderNo.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=2 (READ)</li><li><i>Returns</i>: payment order instance</li></ul>
func (*Client) GetPaymentOrderChargeStatus ¶
func (a *Client) GetPaymentOrderChargeStatus(params *GetPaymentOrderChargeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderChargeStatusOK, *GetPaymentOrderChargeStatusNotFound, error)
GetPaymentOrderChargeStatus gets payment order charge status
Get payment order charge status.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=2 (READ)</li><li><i>Returns</i>: payment order charge status</li></ul>
func (*Client) GetPaymentOrderChargeStatusShort ¶ added in v0.8.0
func (a *Client) GetPaymentOrderChargeStatusShort(params *GetPaymentOrderChargeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderChargeStatusOK, error)
func (*Client) GetPaymentOrderShort ¶ added in v0.8.0
func (a *Client) GetPaymentOrderShort(params *GetPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderOK, error)
func (*Client) ListExtOrderNoByExtTxID ¶
func (a *Client) ListExtOrderNoByExtTxID(params *ListExtOrderNoByExtTxIDParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtOrderNoByExtTxIDOK, error)
ListExtOrderNoByExtTxID lists external order no by external transaction id
List external order No by external transaction id.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=2 (READ)</li><li><i>Returns</i>: payment orders</li></ul>
func (*Client) ListExtOrderNoByExtTxIDShort ¶ added in v0.8.0
func (a *Client) ListExtOrderNoByExtTxIDShort(params *ListExtOrderNoByExtTxIDParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtOrderNoByExtTxIDOK, error)
func (*Client) QueryPaymentNotifications ¶
func (a *Client) QueryPaymentNotifications(params *QueryPaymentNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentNotificationsOK, error)
QueryPaymentNotifications queries payment notifications
Query payment notifications.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT:NOTIFICATION", action=2 (READ)</li><li><i>Returns</i>: Payment notifications</li></ul>
func (*Client) QueryPaymentNotificationsShort ¶ added in v0.8.0
func (a *Client) QueryPaymentNotificationsShort(params *QueryPaymentNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentNotificationsOK, error)
func (*Client) QueryPaymentOrders ¶
func (a *Client) QueryPaymentOrders(params *QueryPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentOrdersOK, error)
QueryPaymentOrders queries payment orders
Query payment orders.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=2 (READ)</li><li><i>Returns</i>: query payment orders</li></ul>
func (*Client) QueryPaymentOrdersShort ¶ added in v0.8.0
func (a *Client) QueryPaymentOrdersShort(params *QueryPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentOrdersOK, error)
func (*Client) RefundUserPaymentOrder ¶
func (a *Client) RefundUserPaymentOrder(params *RefundUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundUserPaymentOrderOK, *RefundUserPaymentOrderNotFound, *RefundUserPaymentOrderConflict, *RefundUserPaymentOrderUnprocessableEntity, error)
RefundUserPaymentOrder refunds payment order
<b>[SERVICE COMMUNICATION ONLY]</b> This API is used to refund order by paymentOrderNo from justice service.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:PAYMENT", action=4 (UPDATE)</li></ul>
func (*Client) RefundUserPaymentOrderShort ¶ added in v0.8.0
func (a *Client) RefundUserPaymentOrderShort(params *RefundUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundUserPaymentOrderOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SimulatePaymentOrderNotification ¶ added in v0.7.0
func (a *Client) SimulatePaymentOrderNotification(params *SimulatePaymentOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*SimulatePaymentOrderNotificationOK, *SimulatePaymentOrderNotificationBadRequest, *SimulatePaymentOrderNotificationNotFound, error)
SimulatePaymentOrderNotification simulates payment notification
<b>[TEST FACILITY ONLY] Forbidden in live environment. </b> Simulate payment notification on sandbox payment order, usually for test usage to simulate real currency payment notification.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=4 (UPDATE)</li><li><i>Returns</i>: notification process result</li></ul>
func (*Client) SimulatePaymentOrderNotificationShort ¶ added in v0.8.0
func (a *Client) SimulatePaymentOrderNotificationShort(params *SimulatePaymentOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*SimulatePaymentOrderNotificationOK, error)
type ClientService ¶
type ClientService interface { ChargePaymentOrder(params *ChargePaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*ChargePaymentOrderOK, *ChargePaymentOrderBadRequest, *ChargePaymentOrderNotFound, *ChargePaymentOrderConflict, error) ChargePaymentOrderShort(params *ChargePaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*ChargePaymentOrderOK, error) CreateUserPaymentOrder(params *CreateUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserPaymentOrderCreated, *CreateUserPaymentOrderBadRequest, *CreateUserPaymentOrderForbidden, *CreateUserPaymentOrderNotFound, *CreateUserPaymentOrderConflict, *CreateUserPaymentOrderUnprocessableEntity, error) CreateUserPaymentOrderShort(params *CreateUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserPaymentOrderCreated, error) GetPaymentOrder(params *GetPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderOK, *GetPaymentOrderNotFound, error) GetPaymentOrderShort(params *GetPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderOK, error) GetPaymentOrderChargeStatus(params *GetPaymentOrderChargeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderChargeStatusOK, *GetPaymentOrderChargeStatusNotFound, error) GetPaymentOrderChargeStatusShort(params *GetPaymentOrderChargeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderChargeStatusOK, error) ListExtOrderNoByExtTxID(params *ListExtOrderNoByExtTxIDParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtOrderNoByExtTxIDOK, error) ListExtOrderNoByExtTxIDShort(params *ListExtOrderNoByExtTxIDParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtOrderNoByExtTxIDOK, error) QueryPaymentNotifications(params *QueryPaymentNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentNotificationsOK, error) QueryPaymentNotificationsShort(params *QueryPaymentNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentNotificationsOK, error) QueryPaymentOrders(params *QueryPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentOrdersOK, error) QueryPaymentOrdersShort(params *QueryPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentOrdersOK, error) RefundUserPaymentOrder(params *RefundUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundUserPaymentOrderOK, *RefundUserPaymentOrderNotFound, *RefundUserPaymentOrderConflict, *RefundUserPaymentOrderUnprocessableEntity, error) RefundUserPaymentOrderShort(params *RefundUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundUserPaymentOrderOK, error) SimulatePaymentOrderNotification(params *SimulatePaymentOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*SimulatePaymentOrderNotificationOK, *SimulatePaymentOrderNotificationBadRequest, *SimulatePaymentOrderNotificationNotFound, error) SimulatePaymentOrderNotificationShort(params *SimulatePaymentOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*SimulatePaymentOrderNotificationOK, 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 payment API client.
type CreateUserPaymentOrderBadRequest ¶
type CreateUserPaymentOrderBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
CreateUserPaymentOrderBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33121</td><td>Recurring payment failed with code: [{errorCode}] and message: [{errorMessage}] by provider: [{provider}]</td></tr><tr><td>33122</td><td>Subscription not match when create payment order</td></tr></table>
func NewCreateUserPaymentOrderBadRequest ¶
func NewCreateUserPaymentOrderBadRequest() *CreateUserPaymentOrderBadRequest
NewCreateUserPaymentOrderBadRequest creates a CreateUserPaymentOrderBadRequest with default headers values
func (*CreateUserPaymentOrderBadRequest) Error ¶
func (o *CreateUserPaymentOrderBadRequest) Error() string
func (*CreateUserPaymentOrderBadRequest) GetPayload ¶
func (o *CreateUserPaymentOrderBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type CreateUserPaymentOrderConflict ¶
type CreateUserPaymentOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
CreateUserPaymentOrderConflict 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 NewCreateUserPaymentOrderConflict ¶
func NewCreateUserPaymentOrderConflict() *CreateUserPaymentOrderConflict
NewCreateUserPaymentOrderConflict creates a CreateUserPaymentOrderConflict with default headers values
func (*CreateUserPaymentOrderConflict) Error ¶
func (o *CreateUserPaymentOrderConflict) Error() string
func (*CreateUserPaymentOrderConflict) GetPayload ¶
func (o *CreateUserPaymentOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type CreateUserPaymentOrderCreated ¶
type CreateUserPaymentOrderCreated struct {
Payload *platformclientmodels.PaymentOrderInfo
}
CreateUserPaymentOrderCreated handles this case with default header values.
successful operation
func NewCreateUserPaymentOrderCreated ¶
func NewCreateUserPaymentOrderCreated() *CreateUserPaymentOrderCreated
NewCreateUserPaymentOrderCreated creates a CreateUserPaymentOrderCreated with default headers values
func (*CreateUserPaymentOrderCreated) Error ¶
func (o *CreateUserPaymentOrderCreated) Error() string
func (*CreateUserPaymentOrderCreated) GetPayload ¶
func (o *CreateUserPaymentOrderCreated) GetPayload() *platformclientmodels.PaymentOrderInfo
type CreateUserPaymentOrderForbidden ¶
type CreateUserPaymentOrderForbidden struct {
Payload *platformclientmodels.ErrorEntity
}
CreateUserPaymentOrderForbidden 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 NewCreateUserPaymentOrderForbidden ¶
func NewCreateUserPaymentOrderForbidden() *CreateUserPaymentOrderForbidden
NewCreateUserPaymentOrderForbidden creates a CreateUserPaymentOrderForbidden with default headers values
func (*CreateUserPaymentOrderForbidden) Error ¶
func (o *CreateUserPaymentOrderForbidden) Error() string
func (*CreateUserPaymentOrderForbidden) GetPayload ¶
func (o *CreateUserPaymentOrderForbidden) GetPayload() *platformclientmodels.ErrorEntity
type CreateUserPaymentOrderNotFound ¶
type CreateUserPaymentOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
CreateUserPaymentOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>33141</td><td>Payment Order [{paymentOrderNo}] does not exist</td></tr><tr><td>33145</td><td>Recurring token not found</td></tr><tr><td>20008</td><td>user [{userId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewCreateUserPaymentOrderNotFound ¶
func NewCreateUserPaymentOrderNotFound() *CreateUserPaymentOrderNotFound
NewCreateUserPaymentOrderNotFound creates a CreateUserPaymentOrderNotFound with default headers values
func (*CreateUserPaymentOrderNotFound) Error ¶
func (o *CreateUserPaymentOrderNotFound) Error() string
func (*CreateUserPaymentOrderNotFound) GetPayload ¶
func (o *CreateUserPaymentOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type CreateUserPaymentOrderParams ¶
type CreateUserPaymentOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PaymentOrderCreate /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserPaymentOrderParams contains all the parameters to send to the API endpoint for the create user payment order operation typically these are written to a http.Request
func NewCreateUserPaymentOrderParams ¶
func NewCreateUserPaymentOrderParams() *CreateUserPaymentOrderParams
NewCreateUserPaymentOrderParams creates a new CreateUserPaymentOrderParams object with the default values initialized.
func NewCreateUserPaymentOrderParamsWithContext ¶
func NewCreateUserPaymentOrderParamsWithContext(ctx context.Context) *CreateUserPaymentOrderParams
NewCreateUserPaymentOrderParamsWithContext creates a new CreateUserPaymentOrderParams object with the default values initialized, and the ability to set a context for a request
func NewCreateUserPaymentOrderParamsWithHTTPClient ¶
func NewCreateUserPaymentOrderParamsWithHTTPClient(client *http.Client) *CreateUserPaymentOrderParams
NewCreateUserPaymentOrderParamsWithHTTPClient creates a new CreateUserPaymentOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateUserPaymentOrderParamsWithTimeout ¶
func NewCreateUserPaymentOrderParamsWithTimeout(timeout time.Duration) *CreateUserPaymentOrderParams
NewCreateUserPaymentOrderParamsWithTimeout creates a new CreateUserPaymentOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateUserPaymentOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreateUserPaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create user payment order params
func (*CreateUserPaymentOrderParams) SetBody ¶
func (o *CreateUserPaymentOrderParams) SetBody(body *platformclientmodels.PaymentOrderCreate)
SetBody adds the body to the create user payment order params
func (*CreateUserPaymentOrderParams) SetContext ¶
func (o *CreateUserPaymentOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the create user payment order params
func (*CreateUserPaymentOrderParams) SetHTTPClient ¶
func (o *CreateUserPaymentOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user payment order params
func (*CreateUserPaymentOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreateUserPaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create user payment order params
func (*CreateUserPaymentOrderParams) SetNamespace ¶
func (o *CreateUserPaymentOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create user payment order params
func (*CreateUserPaymentOrderParams) SetTimeout ¶
func (o *CreateUserPaymentOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user payment order params
func (*CreateUserPaymentOrderParams) SetUserID ¶
func (o *CreateUserPaymentOrderParams) SetUserID(userID string)
SetUserID adds the userId to the create user payment order params
func (*CreateUserPaymentOrderParams) WithBody ¶
func (o *CreateUserPaymentOrderParams) WithBody(body *platformclientmodels.PaymentOrderCreate) *CreateUserPaymentOrderParams
WithBody adds the body to the create user payment order params
func (*CreateUserPaymentOrderParams) WithContext ¶
func (o *CreateUserPaymentOrderParams) WithContext(ctx context.Context) *CreateUserPaymentOrderParams
WithContext adds the context to the create user payment order params
func (*CreateUserPaymentOrderParams) WithHTTPClient ¶
func (o *CreateUserPaymentOrderParams) WithHTTPClient(client *http.Client) *CreateUserPaymentOrderParams
WithHTTPClient adds the HTTPClient to the create user payment order params
func (*CreateUserPaymentOrderParams) WithNamespace ¶
func (o *CreateUserPaymentOrderParams) WithNamespace(namespace string) *CreateUserPaymentOrderParams
WithNamespace adds the namespace to the create user payment order params
func (*CreateUserPaymentOrderParams) WithTimeout ¶
func (o *CreateUserPaymentOrderParams) WithTimeout(timeout time.Duration) *CreateUserPaymentOrderParams
WithTimeout adds the timeout to the create user payment order params
func (*CreateUserPaymentOrderParams) WithUserID ¶
func (o *CreateUserPaymentOrderParams) WithUserID(userID string) *CreateUserPaymentOrderParams
WithUserID adds the userID to the create user payment order params
func (*CreateUserPaymentOrderParams) WriteToRequest ¶
func (o *CreateUserPaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserPaymentOrderReader ¶
type CreateUserPaymentOrderReader struct {
// contains filtered or unexported fields
}
CreateUserPaymentOrderReader is a Reader for the CreateUserPaymentOrder structure.
func (*CreateUserPaymentOrderReader) ReadResponse ¶
func (o *CreateUserPaymentOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserPaymentOrderUnprocessableEntity ¶
type CreateUserPaymentOrderUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
CreateUserPaymentOrderUnprocessableEntity 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 NewCreateUserPaymentOrderUnprocessableEntity ¶
func NewCreateUserPaymentOrderUnprocessableEntity() *CreateUserPaymentOrderUnprocessableEntity
NewCreateUserPaymentOrderUnprocessableEntity creates a CreateUserPaymentOrderUnprocessableEntity with default headers values
func (*CreateUserPaymentOrderUnprocessableEntity) Error ¶
func (o *CreateUserPaymentOrderUnprocessableEntity) Error() string
func (*CreateUserPaymentOrderUnprocessableEntity) GetPayload ¶
func (o *CreateUserPaymentOrderUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
type GetPaymentOrderChargeStatusNotFound ¶
type GetPaymentOrderChargeStatusNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetPaymentOrderChargeStatusNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33141</td><td>Payment Order [{paymentOrderNo}] does not exist</td></tr></table>
func NewGetPaymentOrderChargeStatusNotFound ¶
func NewGetPaymentOrderChargeStatusNotFound() *GetPaymentOrderChargeStatusNotFound
NewGetPaymentOrderChargeStatusNotFound creates a GetPaymentOrderChargeStatusNotFound with default headers values
func (*GetPaymentOrderChargeStatusNotFound) Error ¶
func (o *GetPaymentOrderChargeStatusNotFound) Error() string
func (*GetPaymentOrderChargeStatusNotFound) GetPayload ¶
func (o *GetPaymentOrderChargeStatusNotFound) GetPayload() *platformclientmodels.ErrorEntity
type GetPaymentOrderChargeStatusOK ¶
type GetPaymentOrderChargeStatusOK struct {
Payload *platformclientmodels.PaymentOrderChargeStatus
}
GetPaymentOrderChargeStatusOK handles this case with default header values.
successful operation
func NewGetPaymentOrderChargeStatusOK ¶
func NewGetPaymentOrderChargeStatusOK() *GetPaymentOrderChargeStatusOK
NewGetPaymentOrderChargeStatusOK creates a GetPaymentOrderChargeStatusOK with default headers values
func (*GetPaymentOrderChargeStatusOK) Error ¶
func (o *GetPaymentOrderChargeStatusOK) Error() string
func (*GetPaymentOrderChargeStatusOK) GetPayload ¶
func (o *GetPaymentOrderChargeStatusOK) GetPayload() *platformclientmodels.PaymentOrderChargeStatus
type GetPaymentOrderChargeStatusParams ¶
type GetPaymentOrderChargeStatusParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPaymentOrderChargeStatusParams contains all the parameters to send to the API endpoint for the get payment order charge status operation typically these are written to a http.Request
func NewGetPaymentOrderChargeStatusParams ¶
func NewGetPaymentOrderChargeStatusParams() *GetPaymentOrderChargeStatusParams
NewGetPaymentOrderChargeStatusParams creates a new GetPaymentOrderChargeStatusParams object with the default values initialized.
func NewGetPaymentOrderChargeStatusParamsWithContext ¶
func NewGetPaymentOrderChargeStatusParamsWithContext(ctx context.Context) *GetPaymentOrderChargeStatusParams
NewGetPaymentOrderChargeStatusParamsWithContext creates a new GetPaymentOrderChargeStatusParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentOrderChargeStatusParamsWithHTTPClient ¶
func NewGetPaymentOrderChargeStatusParamsWithHTTPClient(client *http.Client) *GetPaymentOrderChargeStatusParams
NewGetPaymentOrderChargeStatusParamsWithHTTPClient creates a new GetPaymentOrderChargeStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentOrderChargeStatusParamsWithTimeout ¶
func NewGetPaymentOrderChargeStatusParamsWithTimeout(timeout time.Duration) *GetPaymentOrderChargeStatusParams
NewGetPaymentOrderChargeStatusParamsWithTimeout creates a new GetPaymentOrderChargeStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentOrderChargeStatusParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetPaymentOrderChargeStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) SetContext ¶
func (o *GetPaymentOrderChargeStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) SetHTTPClient ¶
func (o *GetPaymentOrderChargeStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetPaymentOrderChargeStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) SetNamespace ¶
func (o *GetPaymentOrderChargeStatusParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) SetPaymentOrderNo ¶
func (o *GetPaymentOrderChargeStatusParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) SetTimeout ¶
func (o *GetPaymentOrderChargeStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) WithContext ¶
func (o *GetPaymentOrderChargeStatusParams) WithContext(ctx context.Context) *GetPaymentOrderChargeStatusParams
WithContext adds the context to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) WithHTTPClient ¶
func (o *GetPaymentOrderChargeStatusParams) WithHTTPClient(client *http.Client) *GetPaymentOrderChargeStatusParams
WithHTTPClient adds the HTTPClient to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) WithNamespace ¶
func (o *GetPaymentOrderChargeStatusParams) WithNamespace(namespace string) *GetPaymentOrderChargeStatusParams
WithNamespace adds the namespace to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) WithPaymentOrderNo ¶
func (o *GetPaymentOrderChargeStatusParams) WithPaymentOrderNo(paymentOrderNo string) *GetPaymentOrderChargeStatusParams
WithPaymentOrderNo adds the paymentOrderNo to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) WithTimeout ¶
func (o *GetPaymentOrderChargeStatusParams) WithTimeout(timeout time.Duration) *GetPaymentOrderChargeStatusParams
WithTimeout adds the timeout to the get payment order charge status params
func (*GetPaymentOrderChargeStatusParams) WriteToRequest ¶
func (o *GetPaymentOrderChargeStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentOrderChargeStatusReader ¶
type GetPaymentOrderChargeStatusReader struct {
// contains filtered or unexported fields
}
GetPaymentOrderChargeStatusReader is a Reader for the GetPaymentOrderChargeStatus structure.
func (*GetPaymentOrderChargeStatusReader) ReadResponse ¶
func (o *GetPaymentOrderChargeStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentOrderNotFound ¶
type GetPaymentOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetPaymentOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33141</td><td>Payment Order [{paymentOrderNo}] does not exist</td></tr></table>
func NewGetPaymentOrderNotFound ¶
func NewGetPaymentOrderNotFound() *GetPaymentOrderNotFound
NewGetPaymentOrderNotFound creates a GetPaymentOrderNotFound with default headers values
func (*GetPaymentOrderNotFound) Error ¶
func (o *GetPaymentOrderNotFound) Error() string
func (*GetPaymentOrderNotFound) GetPayload ¶
func (o *GetPaymentOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type GetPaymentOrderOK ¶
type GetPaymentOrderOK struct {
Payload *platformclientmodels.PaymentOrderInfo
}
GetPaymentOrderOK handles this case with default header values.
successful operation
func NewGetPaymentOrderOK ¶
func NewGetPaymentOrderOK() *GetPaymentOrderOK
NewGetPaymentOrderOK creates a GetPaymentOrderOK with default headers values
func (*GetPaymentOrderOK) Error ¶
func (o *GetPaymentOrderOK) Error() string
func (*GetPaymentOrderOK) GetPayload ¶
func (o *GetPaymentOrderOK) GetPayload() *platformclientmodels.PaymentOrderInfo
type GetPaymentOrderParams ¶
type GetPaymentOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPaymentOrderParams contains all the parameters to send to the API endpoint for the get payment order operation typically these are written to a http.Request
func NewGetPaymentOrderParams ¶
func NewGetPaymentOrderParams() *GetPaymentOrderParams
NewGetPaymentOrderParams creates a new GetPaymentOrderParams object with the default values initialized.
func NewGetPaymentOrderParamsWithContext ¶
func NewGetPaymentOrderParamsWithContext(ctx context.Context) *GetPaymentOrderParams
NewGetPaymentOrderParamsWithContext creates a new GetPaymentOrderParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentOrderParamsWithHTTPClient ¶
func NewGetPaymentOrderParamsWithHTTPClient(client *http.Client) *GetPaymentOrderParams
NewGetPaymentOrderParamsWithHTTPClient creates a new GetPaymentOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentOrderParamsWithTimeout ¶
func NewGetPaymentOrderParamsWithTimeout(timeout time.Duration) *GetPaymentOrderParams
NewGetPaymentOrderParamsWithTimeout creates a new GetPaymentOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetPaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get payment order params
func (*GetPaymentOrderParams) SetContext ¶
func (o *GetPaymentOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment order params
func (*GetPaymentOrderParams) SetHTTPClient ¶
func (o *GetPaymentOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment order params
func (*GetPaymentOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetPaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get payment order params
func (*GetPaymentOrderParams) SetNamespace ¶
func (o *GetPaymentOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get payment order params
func (*GetPaymentOrderParams) SetPaymentOrderNo ¶
func (o *GetPaymentOrderParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the get payment order params
func (*GetPaymentOrderParams) SetTimeout ¶
func (o *GetPaymentOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment order params
func (*GetPaymentOrderParams) WithContext ¶
func (o *GetPaymentOrderParams) WithContext(ctx context.Context) *GetPaymentOrderParams
WithContext adds the context to the get payment order params
func (*GetPaymentOrderParams) WithHTTPClient ¶
func (o *GetPaymentOrderParams) WithHTTPClient(client *http.Client) *GetPaymentOrderParams
WithHTTPClient adds the HTTPClient to the get payment order params
func (*GetPaymentOrderParams) WithNamespace ¶
func (o *GetPaymentOrderParams) WithNamespace(namespace string) *GetPaymentOrderParams
WithNamespace adds the namespace to the get payment order params
func (*GetPaymentOrderParams) WithPaymentOrderNo ¶
func (o *GetPaymentOrderParams) WithPaymentOrderNo(paymentOrderNo string) *GetPaymentOrderParams
WithPaymentOrderNo adds the paymentOrderNo to the get payment order params
func (*GetPaymentOrderParams) WithTimeout ¶
func (o *GetPaymentOrderParams) WithTimeout(timeout time.Duration) *GetPaymentOrderParams
WithTimeout adds the timeout to the get payment order params
func (*GetPaymentOrderParams) WriteToRequest ¶
func (o *GetPaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentOrderReader ¶
type GetPaymentOrderReader struct {
// contains filtered or unexported fields
}
GetPaymentOrderReader is a Reader for the GetPaymentOrder structure.
func (*GetPaymentOrderReader) ReadResponse ¶
func (o *GetPaymentOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListExtOrderNoByExtTxIDOK ¶
type ListExtOrderNoByExtTxIDOK struct {
Payload []string
}
ListExtOrderNoByExtTxIDOK handles this case with default header values.
successful operation
func NewListExtOrderNoByExtTxIDOK ¶
func NewListExtOrderNoByExtTxIDOK() *ListExtOrderNoByExtTxIDOK
NewListExtOrderNoByExtTxIDOK creates a ListExtOrderNoByExtTxIDOK with default headers values
func (*ListExtOrderNoByExtTxIDOK) Error ¶
func (o *ListExtOrderNoByExtTxIDOK) Error() string
func (*ListExtOrderNoByExtTxIDOK) GetPayload ¶
func (o *ListExtOrderNoByExtTxIDOK) GetPayload() []string
type ListExtOrderNoByExtTxIDParams ¶
type ListExtOrderNoByExtTxIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ExtTxID*/ ExtTxID string /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListExtOrderNoByExtTxIDParams contains all the parameters to send to the API endpoint for the list ext order no by ext tx Id operation typically these are written to a http.Request
func NewListExtOrderNoByExtTxIDParams ¶
func NewListExtOrderNoByExtTxIDParams() *ListExtOrderNoByExtTxIDParams
NewListExtOrderNoByExtTxIDParams creates a new ListExtOrderNoByExtTxIDParams object with the default values initialized.
func NewListExtOrderNoByExtTxIDParamsWithContext ¶
func NewListExtOrderNoByExtTxIDParamsWithContext(ctx context.Context) *ListExtOrderNoByExtTxIDParams
NewListExtOrderNoByExtTxIDParamsWithContext creates a new ListExtOrderNoByExtTxIDParams object with the default values initialized, and the ability to set a context for a request
func NewListExtOrderNoByExtTxIDParamsWithHTTPClient ¶
func NewListExtOrderNoByExtTxIDParamsWithHTTPClient(client *http.Client) *ListExtOrderNoByExtTxIDParams
NewListExtOrderNoByExtTxIDParamsWithHTTPClient creates a new ListExtOrderNoByExtTxIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListExtOrderNoByExtTxIDParamsWithTimeout ¶
func NewListExtOrderNoByExtTxIDParamsWithTimeout(timeout time.Duration) *ListExtOrderNoByExtTxIDParams
NewListExtOrderNoByExtTxIDParamsWithTimeout creates a new ListExtOrderNoByExtTxIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListExtOrderNoByExtTxIDParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListExtOrderNoByExtTxIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) SetContext ¶
func (o *ListExtOrderNoByExtTxIDParams) SetContext(ctx context.Context)
SetContext adds the context to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) SetExtTxID ¶
func (o *ListExtOrderNoByExtTxIDParams) SetExtTxID(extTxID string)
SetExtTxID adds the extTxId to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) SetHTTPClient ¶
func (o *ListExtOrderNoByExtTxIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListExtOrderNoByExtTxIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) SetNamespace ¶
func (o *ListExtOrderNoByExtTxIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) SetTimeout ¶
func (o *ListExtOrderNoByExtTxIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) WithContext ¶
func (o *ListExtOrderNoByExtTxIDParams) WithContext(ctx context.Context) *ListExtOrderNoByExtTxIDParams
WithContext adds the context to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) WithExtTxID ¶
func (o *ListExtOrderNoByExtTxIDParams) WithExtTxID(extTxID string) *ListExtOrderNoByExtTxIDParams
WithExtTxID adds the extTxID to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) WithHTTPClient ¶
func (o *ListExtOrderNoByExtTxIDParams) WithHTTPClient(client *http.Client) *ListExtOrderNoByExtTxIDParams
WithHTTPClient adds the HTTPClient to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) WithNamespace ¶
func (o *ListExtOrderNoByExtTxIDParams) WithNamespace(namespace string) *ListExtOrderNoByExtTxIDParams
WithNamespace adds the namespace to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) WithTimeout ¶
func (o *ListExtOrderNoByExtTxIDParams) WithTimeout(timeout time.Duration) *ListExtOrderNoByExtTxIDParams
WithTimeout adds the timeout to the list ext order no by ext tx Id params
func (*ListExtOrderNoByExtTxIDParams) WriteToRequest ¶
func (o *ListExtOrderNoByExtTxIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListExtOrderNoByExtTxIDReader ¶
type ListExtOrderNoByExtTxIDReader struct {
// contains filtered or unexported fields
}
ListExtOrderNoByExtTxIDReader is a Reader for the ListExtOrderNoByExtTxID structure.
func (*ListExtOrderNoByExtTxIDReader) ReadResponse ¶
func (o *ListExtOrderNoByExtTxIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryPaymentNotificationsOK ¶
type QueryPaymentNotificationsOK struct {
Payload *platformclientmodels.PaymentNotificationPagingSlicedResult
}
QueryPaymentNotificationsOK handles this case with default header values.
successful operation
func NewQueryPaymentNotificationsOK ¶
func NewQueryPaymentNotificationsOK() *QueryPaymentNotificationsOK
NewQueryPaymentNotificationsOK creates a QueryPaymentNotificationsOK with default headers values
func (*QueryPaymentNotificationsOK) Error ¶
func (o *QueryPaymentNotificationsOK) Error() string
func (*QueryPaymentNotificationsOK) GetPayload ¶
func (o *QueryPaymentNotificationsOK) GetPayload() *platformclientmodels.PaymentNotificationPagingSlicedResult
type QueryPaymentNotificationsParams ¶
type QueryPaymentNotificationsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EndDate allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z */ EndDate *string /*ExternalID*/ ExternalID *string /*Limit*/ Limit *int32 /*Namespace*/ Namespace string /*NotificationSource*/ NotificationSource *string /*NotificationType*/ NotificationType *string /*Offset*/ Offset *int32 /*PaymentOrderNo*/ PaymentOrderNo *string /*StartDate allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z */ StartDate *string /*Status*/ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryPaymentNotificationsParams contains all the parameters to send to the API endpoint for the query payment notifications operation typically these are written to a http.Request
func NewQueryPaymentNotificationsParams ¶
func NewQueryPaymentNotificationsParams() *QueryPaymentNotificationsParams
NewQueryPaymentNotificationsParams creates a new QueryPaymentNotificationsParams object with the default values initialized.
func NewQueryPaymentNotificationsParamsWithContext ¶
func NewQueryPaymentNotificationsParamsWithContext(ctx context.Context) *QueryPaymentNotificationsParams
NewQueryPaymentNotificationsParamsWithContext creates a new QueryPaymentNotificationsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryPaymentNotificationsParamsWithHTTPClient ¶
func NewQueryPaymentNotificationsParamsWithHTTPClient(client *http.Client) *QueryPaymentNotificationsParams
NewQueryPaymentNotificationsParamsWithHTTPClient creates a new QueryPaymentNotificationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryPaymentNotificationsParamsWithTimeout ¶
func NewQueryPaymentNotificationsParamsWithTimeout(timeout time.Duration) *QueryPaymentNotificationsParams
NewQueryPaymentNotificationsParamsWithTimeout creates a new QueryPaymentNotificationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryPaymentNotificationsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QueryPaymentNotificationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetContext ¶
func (o *QueryPaymentNotificationsParams) SetContext(ctx context.Context)
SetContext adds the context to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetEndDate ¶
func (o *QueryPaymentNotificationsParams) SetEndDate(endDate *string)
SetEndDate adds the endDate to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetExternalID ¶
func (o *QueryPaymentNotificationsParams) SetExternalID(externalID *string)
SetExternalID adds the externalId to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetHTTPClient ¶
func (o *QueryPaymentNotificationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryPaymentNotificationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetLimit ¶
func (o *QueryPaymentNotificationsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetNamespace ¶
func (o *QueryPaymentNotificationsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetNotificationSource ¶
func (o *QueryPaymentNotificationsParams) SetNotificationSource(notificationSource *string)
SetNotificationSource adds the notificationSource to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetNotificationType ¶
func (o *QueryPaymentNotificationsParams) SetNotificationType(notificationType *string)
SetNotificationType adds the notificationType to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetOffset ¶
func (o *QueryPaymentNotificationsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetPaymentOrderNo ¶
func (o *QueryPaymentNotificationsParams) SetPaymentOrderNo(paymentOrderNo *string)
SetPaymentOrderNo adds the paymentOrderNo to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetStartDate ¶
func (o *QueryPaymentNotificationsParams) SetStartDate(startDate *string)
SetStartDate adds the startDate to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetStatus ¶
func (o *QueryPaymentNotificationsParams) SetStatus(status *string)
SetStatus adds the status to the query payment notifications params
func (*QueryPaymentNotificationsParams) SetTimeout ¶
func (o *QueryPaymentNotificationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithContext ¶
func (o *QueryPaymentNotificationsParams) WithContext(ctx context.Context) *QueryPaymentNotificationsParams
WithContext adds the context to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithEndDate ¶
func (o *QueryPaymentNotificationsParams) WithEndDate(endDate *string) *QueryPaymentNotificationsParams
WithEndDate adds the endDate to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithExternalID ¶
func (o *QueryPaymentNotificationsParams) WithExternalID(externalID *string) *QueryPaymentNotificationsParams
WithExternalID adds the externalID to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithHTTPClient ¶
func (o *QueryPaymentNotificationsParams) WithHTTPClient(client *http.Client) *QueryPaymentNotificationsParams
WithHTTPClient adds the HTTPClient to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithLimit ¶
func (o *QueryPaymentNotificationsParams) WithLimit(limit *int32) *QueryPaymentNotificationsParams
WithLimit adds the limit to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithNamespace ¶
func (o *QueryPaymentNotificationsParams) WithNamespace(namespace string) *QueryPaymentNotificationsParams
WithNamespace adds the namespace to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithNotificationSource ¶
func (o *QueryPaymentNotificationsParams) WithNotificationSource(notificationSource *string) *QueryPaymentNotificationsParams
WithNotificationSource adds the notificationSource to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithNotificationType ¶
func (o *QueryPaymentNotificationsParams) WithNotificationType(notificationType *string) *QueryPaymentNotificationsParams
WithNotificationType adds the notificationType to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithOffset ¶
func (o *QueryPaymentNotificationsParams) WithOffset(offset *int32) *QueryPaymentNotificationsParams
WithOffset adds the offset to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithPaymentOrderNo ¶
func (o *QueryPaymentNotificationsParams) WithPaymentOrderNo(paymentOrderNo *string) *QueryPaymentNotificationsParams
WithPaymentOrderNo adds the paymentOrderNo to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithStartDate ¶
func (o *QueryPaymentNotificationsParams) WithStartDate(startDate *string) *QueryPaymentNotificationsParams
WithStartDate adds the startDate to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithStatus ¶
func (o *QueryPaymentNotificationsParams) WithStatus(status *string) *QueryPaymentNotificationsParams
WithStatus adds the status to the query payment notifications params
func (*QueryPaymentNotificationsParams) WithTimeout ¶
func (o *QueryPaymentNotificationsParams) WithTimeout(timeout time.Duration) *QueryPaymentNotificationsParams
WithTimeout adds the timeout to the query payment notifications params
func (*QueryPaymentNotificationsParams) WriteToRequest ¶
func (o *QueryPaymentNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryPaymentNotificationsReader ¶
type QueryPaymentNotificationsReader struct {
// contains filtered or unexported fields
}
QueryPaymentNotificationsReader is a Reader for the QueryPaymentNotifications structure.
func (*QueryPaymentNotificationsReader) ReadResponse ¶
func (o *QueryPaymentNotificationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryPaymentOrdersOK ¶
type QueryPaymentOrdersOK struct {
Payload *platformclientmodels.PaymentOrderPagingSlicedResult
}
QueryPaymentOrdersOK handles this case with default header values.
successful operation
func NewQueryPaymentOrdersOK ¶
func NewQueryPaymentOrdersOK() *QueryPaymentOrdersOK
NewQueryPaymentOrdersOK creates a QueryPaymentOrdersOK with default headers values
func (*QueryPaymentOrdersOK) Error ¶
func (o *QueryPaymentOrdersOK) Error() string
func (*QueryPaymentOrdersOK) GetPayload ¶
func (o *QueryPaymentOrdersOK) GetPayload() *platformclientmodels.PaymentOrderPagingSlicedResult
type QueryPaymentOrdersParams ¶
type QueryPaymentOrdersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Channel*/ Channel *string /*ExtTxID*/ ExtTxID *string /*Limit*/ Limit *int32 /*Namespace*/ Namespace string /*Offset*/ Offset *int32 /*Status*/ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryPaymentOrdersParams contains all the parameters to send to the API endpoint for the query payment orders operation typically these are written to a http.Request
func NewQueryPaymentOrdersParams ¶
func NewQueryPaymentOrdersParams() *QueryPaymentOrdersParams
NewQueryPaymentOrdersParams creates a new QueryPaymentOrdersParams object with the default values initialized.
func NewQueryPaymentOrdersParamsWithContext ¶
func NewQueryPaymentOrdersParamsWithContext(ctx context.Context) *QueryPaymentOrdersParams
NewQueryPaymentOrdersParamsWithContext creates a new QueryPaymentOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewQueryPaymentOrdersParamsWithHTTPClient ¶
func NewQueryPaymentOrdersParamsWithHTTPClient(client *http.Client) *QueryPaymentOrdersParams
NewQueryPaymentOrdersParamsWithHTTPClient creates a new QueryPaymentOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryPaymentOrdersParamsWithTimeout ¶
func NewQueryPaymentOrdersParamsWithTimeout(timeout time.Duration) *QueryPaymentOrdersParams
NewQueryPaymentOrdersParamsWithTimeout creates a new QueryPaymentOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryPaymentOrdersParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QueryPaymentOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query payment orders params
func (*QueryPaymentOrdersParams) SetChannel ¶
func (o *QueryPaymentOrdersParams) SetChannel(channel *string)
SetChannel adds the channel to the query payment orders params
func (*QueryPaymentOrdersParams) SetContext ¶
func (o *QueryPaymentOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the query payment orders params
func (*QueryPaymentOrdersParams) SetExtTxID ¶
func (o *QueryPaymentOrdersParams) SetExtTxID(extTxID *string)
SetExtTxID adds the extTxId to the query payment orders params
func (*QueryPaymentOrdersParams) SetHTTPClient ¶
func (o *QueryPaymentOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query payment orders params
func (*QueryPaymentOrdersParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryPaymentOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query payment orders params
func (*QueryPaymentOrdersParams) SetLimit ¶
func (o *QueryPaymentOrdersParams) SetLimit(limit *int32)
SetLimit adds the limit to the query payment orders params
func (*QueryPaymentOrdersParams) SetNamespace ¶
func (o *QueryPaymentOrdersParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query payment orders params
func (*QueryPaymentOrdersParams) SetOffset ¶
func (o *QueryPaymentOrdersParams) SetOffset(offset *int32)
SetOffset adds the offset to the query payment orders params
func (*QueryPaymentOrdersParams) SetStatus ¶
func (o *QueryPaymentOrdersParams) SetStatus(status *string)
SetStatus adds the status to the query payment orders params
func (*QueryPaymentOrdersParams) SetTimeout ¶
func (o *QueryPaymentOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query payment orders params
func (*QueryPaymentOrdersParams) WithChannel ¶
func (o *QueryPaymentOrdersParams) WithChannel(channel *string) *QueryPaymentOrdersParams
WithChannel adds the channel to the query payment orders params
func (*QueryPaymentOrdersParams) WithContext ¶
func (o *QueryPaymentOrdersParams) WithContext(ctx context.Context) *QueryPaymentOrdersParams
WithContext adds the context to the query payment orders params
func (*QueryPaymentOrdersParams) WithExtTxID ¶
func (o *QueryPaymentOrdersParams) WithExtTxID(extTxID *string) *QueryPaymentOrdersParams
WithExtTxID adds the extTxID to the query payment orders params
func (*QueryPaymentOrdersParams) WithHTTPClient ¶
func (o *QueryPaymentOrdersParams) WithHTTPClient(client *http.Client) *QueryPaymentOrdersParams
WithHTTPClient adds the HTTPClient to the query payment orders params
func (*QueryPaymentOrdersParams) WithLimit ¶
func (o *QueryPaymentOrdersParams) WithLimit(limit *int32) *QueryPaymentOrdersParams
WithLimit adds the limit to the query payment orders params
func (*QueryPaymentOrdersParams) WithNamespace ¶
func (o *QueryPaymentOrdersParams) WithNamespace(namespace string) *QueryPaymentOrdersParams
WithNamespace adds the namespace to the query payment orders params
func (*QueryPaymentOrdersParams) WithOffset ¶
func (o *QueryPaymentOrdersParams) WithOffset(offset *int32) *QueryPaymentOrdersParams
WithOffset adds the offset to the query payment orders params
func (*QueryPaymentOrdersParams) WithStatus ¶
func (o *QueryPaymentOrdersParams) WithStatus(status *string) *QueryPaymentOrdersParams
WithStatus adds the status to the query payment orders params
func (*QueryPaymentOrdersParams) WithTimeout ¶
func (o *QueryPaymentOrdersParams) WithTimeout(timeout time.Duration) *QueryPaymentOrdersParams
WithTimeout adds the timeout to the query payment orders params
func (*QueryPaymentOrdersParams) WriteToRequest ¶
func (o *QueryPaymentOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryPaymentOrdersReader ¶
type QueryPaymentOrdersReader struct {
// contains filtered or unexported fields
}
QueryPaymentOrdersReader is a Reader for the QueryPaymentOrders structure.
func (*QueryPaymentOrdersReader) ReadResponse ¶
func (o *QueryPaymentOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RefundUserPaymentOrderConflict ¶
type RefundUserPaymentOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
RefundUserPaymentOrderConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33172</td><td>Payment order [{paymentOrderNo}] is not refundable</td></tr></table>
func NewRefundUserPaymentOrderConflict ¶
func NewRefundUserPaymentOrderConflict() *RefundUserPaymentOrderConflict
NewRefundUserPaymentOrderConflict creates a RefundUserPaymentOrderConflict with default headers values
func (*RefundUserPaymentOrderConflict) Error ¶
func (o *RefundUserPaymentOrderConflict) Error() string
func (*RefundUserPaymentOrderConflict) GetPayload ¶
func (o *RefundUserPaymentOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type RefundUserPaymentOrderNotFound ¶
type RefundUserPaymentOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RefundUserPaymentOrderNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33141</td><td>Payment Order [{paymentOrderNo}] does not exist</td></tr></table>
func NewRefundUserPaymentOrderNotFound ¶
func NewRefundUserPaymentOrderNotFound() *RefundUserPaymentOrderNotFound
NewRefundUserPaymentOrderNotFound creates a RefundUserPaymentOrderNotFound with default headers values
func (*RefundUserPaymentOrderNotFound) Error ¶
func (o *RefundUserPaymentOrderNotFound) Error() string
func (*RefundUserPaymentOrderNotFound) GetPayload ¶
func (o *RefundUserPaymentOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type RefundUserPaymentOrderOK ¶
type RefundUserPaymentOrderOK struct {
Payload *platformclientmodels.PaymentOrderInfo
}
RefundUserPaymentOrderOK handles this case with default header values.
successful operation
func NewRefundUserPaymentOrderOK ¶
func NewRefundUserPaymentOrderOK() *RefundUserPaymentOrderOK
NewRefundUserPaymentOrderOK creates a RefundUserPaymentOrderOK with default headers values
func (*RefundUserPaymentOrderOK) Error ¶
func (o *RefundUserPaymentOrderOK) Error() string
func (*RefundUserPaymentOrderOK) GetPayload ¶
func (o *RefundUserPaymentOrderOK) GetPayload() *platformclientmodels.PaymentOrderInfo
type RefundUserPaymentOrderParams ¶
type RefundUserPaymentOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PaymentOrderRefund /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RefundUserPaymentOrderParams contains all the parameters to send to the API endpoint for the refund user payment order operation typically these are written to a http.Request
func NewRefundUserPaymentOrderParams ¶
func NewRefundUserPaymentOrderParams() *RefundUserPaymentOrderParams
NewRefundUserPaymentOrderParams creates a new RefundUserPaymentOrderParams object with the default values initialized.
func NewRefundUserPaymentOrderParamsWithContext ¶
func NewRefundUserPaymentOrderParamsWithContext(ctx context.Context) *RefundUserPaymentOrderParams
NewRefundUserPaymentOrderParamsWithContext creates a new RefundUserPaymentOrderParams object with the default values initialized, and the ability to set a context for a request
func NewRefundUserPaymentOrderParamsWithHTTPClient ¶
func NewRefundUserPaymentOrderParamsWithHTTPClient(client *http.Client) *RefundUserPaymentOrderParams
NewRefundUserPaymentOrderParamsWithHTTPClient creates a new RefundUserPaymentOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRefundUserPaymentOrderParamsWithTimeout ¶
func NewRefundUserPaymentOrderParamsWithTimeout(timeout time.Duration) *RefundUserPaymentOrderParams
NewRefundUserPaymentOrderParamsWithTimeout creates a new RefundUserPaymentOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*RefundUserPaymentOrderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RefundUserPaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the refund user payment order params
func (*RefundUserPaymentOrderParams) SetBody ¶
func (o *RefundUserPaymentOrderParams) SetBody(body *platformclientmodels.PaymentOrderRefund)
SetBody adds the body to the refund user payment order params
func (*RefundUserPaymentOrderParams) SetContext ¶
func (o *RefundUserPaymentOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the refund user payment order params
func (*RefundUserPaymentOrderParams) SetHTTPClient ¶
func (o *RefundUserPaymentOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the refund user payment order params
func (*RefundUserPaymentOrderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RefundUserPaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the refund user payment order params
func (*RefundUserPaymentOrderParams) SetNamespace ¶
func (o *RefundUserPaymentOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the refund user payment order params
func (*RefundUserPaymentOrderParams) SetPaymentOrderNo ¶
func (o *RefundUserPaymentOrderParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the refund user payment order params
func (*RefundUserPaymentOrderParams) SetTimeout ¶
func (o *RefundUserPaymentOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the refund user payment order params
func (*RefundUserPaymentOrderParams) SetUserID ¶
func (o *RefundUserPaymentOrderParams) SetUserID(userID string)
SetUserID adds the userId to the refund user payment order params
func (*RefundUserPaymentOrderParams) WithBody ¶
func (o *RefundUserPaymentOrderParams) WithBody(body *platformclientmodels.PaymentOrderRefund) *RefundUserPaymentOrderParams
WithBody adds the body to the refund user payment order params
func (*RefundUserPaymentOrderParams) WithContext ¶
func (o *RefundUserPaymentOrderParams) WithContext(ctx context.Context) *RefundUserPaymentOrderParams
WithContext adds the context to the refund user payment order params
func (*RefundUserPaymentOrderParams) WithHTTPClient ¶
func (o *RefundUserPaymentOrderParams) WithHTTPClient(client *http.Client) *RefundUserPaymentOrderParams
WithHTTPClient adds the HTTPClient to the refund user payment order params
func (*RefundUserPaymentOrderParams) WithNamespace ¶
func (o *RefundUserPaymentOrderParams) WithNamespace(namespace string) *RefundUserPaymentOrderParams
WithNamespace adds the namespace to the refund user payment order params
func (*RefundUserPaymentOrderParams) WithPaymentOrderNo ¶
func (o *RefundUserPaymentOrderParams) WithPaymentOrderNo(paymentOrderNo string) *RefundUserPaymentOrderParams
WithPaymentOrderNo adds the paymentOrderNo to the refund user payment order params
func (*RefundUserPaymentOrderParams) WithTimeout ¶
func (o *RefundUserPaymentOrderParams) WithTimeout(timeout time.Duration) *RefundUserPaymentOrderParams
WithTimeout adds the timeout to the refund user payment order params
func (*RefundUserPaymentOrderParams) WithUserID ¶
func (o *RefundUserPaymentOrderParams) WithUserID(userID string) *RefundUserPaymentOrderParams
WithUserID adds the userID to the refund user payment order params
func (*RefundUserPaymentOrderParams) WriteToRequest ¶
func (o *RefundUserPaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RefundUserPaymentOrderReader ¶
type RefundUserPaymentOrderReader struct {
// contains filtered or unexported fields
}
RefundUserPaymentOrderReader is a Reader for the RefundUserPaymentOrder structure.
func (*RefundUserPaymentOrderReader) ReadResponse ¶
func (o *RefundUserPaymentOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RefundUserPaymentOrderUnprocessableEntity ¶
type RefundUserPaymentOrderUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
RefundUserPaymentOrderUnprocessableEntity 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 NewRefundUserPaymentOrderUnprocessableEntity ¶
func NewRefundUserPaymentOrderUnprocessableEntity() *RefundUserPaymentOrderUnprocessableEntity
NewRefundUserPaymentOrderUnprocessableEntity creates a RefundUserPaymentOrderUnprocessableEntity with default headers values
func (*RefundUserPaymentOrderUnprocessableEntity) Error ¶
func (o *RefundUserPaymentOrderUnprocessableEntity) Error() string
func (*RefundUserPaymentOrderUnprocessableEntity) GetPayload ¶
func (o *RefundUserPaymentOrderUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
type SimulatePaymentOrderNotificationBadRequest ¶ added in v0.7.0
type SimulatePaymentOrderNotificationBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
SimulatePaymentOrderNotificationBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33322</td><td>Payment provider [{paymentProvider}] not supported</td></tr></table>
func NewSimulatePaymentOrderNotificationBadRequest ¶ added in v0.7.0
func NewSimulatePaymentOrderNotificationBadRequest() *SimulatePaymentOrderNotificationBadRequest
NewSimulatePaymentOrderNotificationBadRequest creates a SimulatePaymentOrderNotificationBadRequest with default headers values
func (*SimulatePaymentOrderNotificationBadRequest) Error ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationBadRequest) Error() string
func (*SimulatePaymentOrderNotificationBadRequest) GetPayload ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type SimulatePaymentOrderNotificationNotFound ¶ added in v0.7.0
type SimulatePaymentOrderNotificationNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
SimulatePaymentOrderNotificationNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33141</td><td>Payment Order [{paymentOrderNo}] does not exist</td></tr></table>
func NewSimulatePaymentOrderNotificationNotFound ¶ added in v0.7.0
func NewSimulatePaymentOrderNotificationNotFound() *SimulatePaymentOrderNotificationNotFound
NewSimulatePaymentOrderNotificationNotFound creates a SimulatePaymentOrderNotificationNotFound with default headers values
func (*SimulatePaymentOrderNotificationNotFound) Error ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationNotFound) Error() string
func (*SimulatePaymentOrderNotificationNotFound) GetPayload ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationNotFound) GetPayload() *platformclientmodels.ErrorEntity
type SimulatePaymentOrderNotificationOK ¶ added in v0.7.0
type SimulatePaymentOrderNotificationOK struct {
Payload *platformclientmodels.NotificationProcessResult
}
SimulatePaymentOrderNotificationOK handles this case with default header values.
successful operation
func NewSimulatePaymentOrderNotificationOK ¶ added in v0.7.0
func NewSimulatePaymentOrderNotificationOK() *SimulatePaymentOrderNotificationOK
NewSimulatePaymentOrderNotificationOK creates a SimulatePaymentOrderNotificationOK with default headers values
func (*SimulatePaymentOrderNotificationOK) Error ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationOK) Error() string
func (*SimulatePaymentOrderNotificationOK) GetPayload ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationOK) GetPayload() *platformclientmodels.NotificationProcessResult
type SimulatePaymentOrderNotificationParams ¶ added in v0.7.0
type SimulatePaymentOrderNotificationParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PaymentOrderNotifySimulation /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SimulatePaymentOrderNotificationParams contains all the parameters to send to the API endpoint for the simulate payment order notification operation typically these are written to a http.Request
func NewSimulatePaymentOrderNotificationParams ¶ added in v0.7.0
func NewSimulatePaymentOrderNotificationParams() *SimulatePaymentOrderNotificationParams
NewSimulatePaymentOrderNotificationParams creates a new SimulatePaymentOrderNotificationParams object with the default values initialized.
func NewSimulatePaymentOrderNotificationParamsWithContext ¶ added in v0.7.0
func NewSimulatePaymentOrderNotificationParamsWithContext(ctx context.Context) *SimulatePaymentOrderNotificationParams
NewSimulatePaymentOrderNotificationParamsWithContext creates a new SimulatePaymentOrderNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewSimulatePaymentOrderNotificationParamsWithHTTPClient ¶ added in v0.7.0
func NewSimulatePaymentOrderNotificationParamsWithHTTPClient(client *http.Client) *SimulatePaymentOrderNotificationParams
NewSimulatePaymentOrderNotificationParamsWithHTTPClient creates a new SimulatePaymentOrderNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSimulatePaymentOrderNotificationParamsWithTimeout ¶ added in v0.7.0
func NewSimulatePaymentOrderNotificationParamsWithTimeout(timeout time.Duration) *SimulatePaymentOrderNotificationParams
NewSimulatePaymentOrderNotificationParamsWithTimeout creates a new SimulatePaymentOrderNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*SimulatePaymentOrderNotificationParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *SimulatePaymentOrderNotificationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) SetBody ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) SetBody(body *platformclientmodels.PaymentOrderNotifySimulation)
SetBody adds the body to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) SetContext ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) SetHTTPClient ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SimulatePaymentOrderNotificationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) SetNamespace ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) SetPaymentOrderNo ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) SetTimeout ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) WithBody ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) WithBody(body *platformclientmodels.PaymentOrderNotifySimulation) *SimulatePaymentOrderNotificationParams
WithBody adds the body to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) WithContext ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) WithContext(ctx context.Context) *SimulatePaymentOrderNotificationParams
WithContext adds the context to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) WithHTTPClient ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) WithHTTPClient(client *http.Client) *SimulatePaymentOrderNotificationParams
WithHTTPClient adds the HTTPClient to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) WithNamespace ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) WithNamespace(namespace string) *SimulatePaymentOrderNotificationParams
WithNamespace adds the namespace to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) WithPaymentOrderNo ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) WithPaymentOrderNo(paymentOrderNo string) *SimulatePaymentOrderNotificationParams
WithPaymentOrderNo adds the paymentOrderNo to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) WithTimeout ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) WithTimeout(timeout time.Duration) *SimulatePaymentOrderNotificationParams
WithTimeout adds the timeout to the simulate payment order notification params
func (*SimulatePaymentOrderNotificationParams) WriteToRequest ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SimulatePaymentOrderNotificationReader ¶ added in v0.7.0
type SimulatePaymentOrderNotificationReader struct {
// contains filtered or unexported fields
}
SimulatePaymentOrderNotificationReader is a Reader for the SimulatePaymentOrderNotification structure.
func (*SimulatePaymentOrderNotificationReader) ReadResponse ¶ added in v0.7.0
func (o *SimulatePaymentOrderNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- charge_payment_order_parameters.go
- charge_payment_order_responses.go
- create_user_payment_order_parameters.go
- create_user_payment_order_responses.go
- get_payment_order_charge_status_parameters.go
- get_payment_order_charge_status_responses.go
- get_payment_order_parameters.go
- get_payment_order_responses.go
- list_ext_order_no_by_ext_tx_id_parameters.go
- list_ext_order_no_by_ext_tx_id_responses.go
- payment_client.go
- query_payment_notifications_parameters.go
- query_payment_notifications_responses.go
- query_payment_orders_parameters.go
- query_payment_orders_responses.go
- refund_user_payment_order_parameters.go
- refund_user_payment_order_responses.go
- simulate_payment_order_notification_parameters.go
- simulate_payment_order_notification_responses.go