payment

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	QueryPaymentNotificationsADYENConstant    = "ADYEN"
	QueryPaymentNotificationsALIPAYConstant   = "ALIPAY"
	QueryPaymentNotificationsCHECKOUTConstant = "CHECKOUT"
	QueryPaymentNotificationsPAYPALConstant   = "PAYPAL"
	QueryPaymentNotificationsSTRIPEConstant   = "STRIPE"
	QueryPaymentNotificationsWALLETConstant   = "WALLET"
	QueryPaymentNotificationsWXPAYConstant    = "WXPAY"
	QueryPaymentNotificationsXSOLLAConstant   = "XSOLLA"
)

Get the enum in QueryPaymentNotificationsParams

View Source
const (
	QueryPaymentNotificationsERRORConstant     = "ERROR"
	QueryPaymentNotificationsIGNOREDConstant   = "IGNORED"
	QueryPaymentNotificationsPROCESSEDConstant = "PROCESSED"
	QueryPaymentNotificationsWARNConstant      = "WARN"
)

Get the enum in QueryPaymentNotificationsParams

View Source
const (
	QueryPaymentOrdersEXTERNALConstant = "EXTERNAL"
	QueryPaymentOrdersINTERNALConstant = "INTERNAL"
)

Get the enum in QueryPaymentOrdersParams

View Source
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 (*ChargePaymentOrderBadRequest) GetPayload

func (*ChargePaymentOrderBadRequest) ToJSONString added in v0.25.0

func (o *ChargePaymentOrderBadRequest) ToJSONString() string

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 (*ChargePaymentOrderConflict) GetPayload

func (*ChargePaymentOrderConflict) ToJSONString added in v0.25.0

func (o *ChargePaymentOrderConflict) ToJSONString() string

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 (*ChargePaymentOrderNotFound) GetPayload

func (*ChargePaymentOrderNotFound) ToJSONString added in v0.25.0

func (o *ChargePaymentOrderNotFound) ToJSONString() string

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 (*ChargePaymentOrderOK) ToJSONString added in v0.25.0

func (o *ChargePaymentOrderOK) ToJSONString() string

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

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

WithBody adds the body to the charge payment order params

func (*ChargePaymentOrderParams) WithContext

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

WithTimeout adds the timeout to the charge payment order params

func (*ChargePaymentOrderParams) WriteToRequest

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 deprecated

Deprecated: Use ChargePaymentOrderShort instead.

ChargePaymentOrder charges payment order without payment flow

&lt;b&gt;[TEST FACILITY ONLY] Forbidden in live environment. &lt;/b&gt; Charge payment order without payment flow for unpaid payment order, usually for test usage to simulate real currency payment process.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: payment order instance&lt;/li&gt;&lt;/ul&gt;

func (*Client) ChargePaymentOrderShort added in v0.8.0

func (a *Client) ChargePaymentOrderShort(params *ChargePaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*ChargePaymentOrderOK, error)

ChargePaymentOrderShort charges payment order without payment flow

&lt;b&gt;[TEST FACILITY ONLY] Forbidden in live environment. &lt;/b&gt; Charge payment order without payment flow for unpaid payment order, usually for test usage to simulate real currency payment process.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: payment order instance&lt;/li&gt;&lt;/ul&gt;

func (*Client) CreateUserPaymentOrder deprecated

Deprecated: Use CreateUserPaymentOrderShort instead.

CreateUserPaymentOrder creates payment order

&lt;b&gt;[SERVICE COMMUNICATION ONLY]&lt;/b&gt; This API is used to create payment order from justice service. The result contains the payment station url.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:PAYMENT&#34;, action=1 (CREATE)&lt;/li&gt;&lt;li&gt;It will be forbidden while the user is banned: PAYMENT_INITIATE or ORDER_AND_PAYMENT&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: created order&lt;/li&gt;&lt;/ul&gt;

func (*Client) CreateUserPaymentOrderShort added in v0.8.0

func (a *Client) CreateUserPaymentOrderShort(params *CreateUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserPaymentOrderCreated, error)

CreateUserPaymentOrderShort creates payment order

&lt;b&gt;[SERVICE COMMUNICATION ONLY]&lt;/b&gt; This API is used to create payment order from justice service. The result contains the payment station url.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:PAYMENT&#34;, action=1 (CREATE)&lt;/li&gt;&lt;li&gt;It will be forbidden while the user is banned: PAYMENT_INITIATE or ORDER_AND_PAYMENT&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: created order&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetPaymentOrder deprecated

Deprecated: Use GetPaymentOrderShort instead.

GetPaymentOrder gets payment order

Get payment order by paymentOrderNo.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: payment order instance&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetPaymentOrderChargeStatus deprecated

Deprecated: Use GetPaymentOrderChargeStatusShort instead.

GetPaymentOrderChargeStatus gets payment order charge status

Get payment order charge status.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: payment order charge status&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetPaymentOrderChargeStatusShort added in v0.8.0

func (a *Client) GetPaymentOrderChargeStatusShort(params *GetPaymentOrderChargeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderChargeStatusOK, error)

GetPaymentOrderChargeStatusShort gets payment order charge status

Get payment order charge status.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: payment order charge status&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetPaymentOrderShort added in v0.8.0

func (a *Client) GetPaymentOrderShort(params *GetPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentOrderOK, error)

GetPaymentOrderShort gets payment order

Get payment order by paymentOrderNo.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: payment order instance&lt;/li&gt;&lt;/ul&gt;

func (*Client) ListExtOrderNoByExtTxID deprecated

func (a *Client) ListExtOrderNoByExtTxID(params *ListExtOrderNoByExtTxIDParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtOrderNoByExtTxIDOK, error)

Deprecated: Use ListExtOrderNoByExtTxIDShort instead.

ListExtOrderNoByExtTxID lists external order no by external transaction id

List external order No by external transaction id.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: payment orders&lt;/li&gt;&lt;/ul&gt;

func (*Client) ListExtOrderNoByExtTxIDShort added in v0.8.0

func (a *Client) ListExtOrderNoByExtTxIDShort(params *ListExtOrderNoByExtTxIDParams, authInfo runtime.ClientAuthInfoWriter) (*ListExtOrderNoByExtTxIDOK, error)

ListExtOrderNoByExtTxIDShort lists external order no by external transaction id

List external order No by external transaction id.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: payment orders&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryPaymentNotifications deprecated

func (a *Client) QueryPaymentNotifications(params *QueryPaymentNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentNotificationsOK, error)

Deprecated: Use QueryPaymentNotificationsShort instead.

QueryPaymentNotifications queries payment notifications

Query payment notifications.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT:NOTIFICATION&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: Payment notifications&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryPaymentNotificationsShort added in v0.8.0

func (a *Client) QueryPaymentNotificationsShort(params *QueryPaymentNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentNotificationsOK, error)

QueryPaymentNotificationsShort queries payment notifications

Query payment notifications.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT:NOTIFICATION&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: Payment notifications&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryPaymentOrders deprecated

func (a *Client) QueryPaymentOrders(params *QueryPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentOrdersOK, error)

Deprecated: Use QueryPaymentOrdersShort instead.

QueryPaymentOrders queries payment orders

Query payment orders.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: query payment orders&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryPaymentOrdersShort added in v0.8.0

func (a *Client) QueryPaymentOrdersShort(params *QueryPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryPaymentOrdersOK, error)

QueryPaymentOrdersShort queries payment orders

Query payment orders.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: query payment orders&lt;/li&gt;&lt;/ul&gt;

func (*Client) RefundUserPaymentOrder deprecated

Deprecated: Use RefundUserPaymentOrderShort instead.

RefundUserPaymentOrder refunds payment order

&lt;b&gt;[SERVICE COMMUNICATION ONLY]&lt;/b&gt; This API is used to refund order by paymentOrderNo from justice service.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:PAYMENT&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) RefundUserPaymentOrderShort added in v0.8.0

func (a *Client) RefundUserPaymentOrderShort(params *RefundUserPaymentOrderParams, authInfo runtime.ClientAuthInfoWriter) (*RefundUserPaymentOrderOK, error)

RefundUserPaymentOrderShort refunds payment order

&lt;b&gt;[SERVICE COMMUNICATION ONLY]&lt;/b&gt; This API is used to refund order by paymentOrderNo from justice service.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:PAYMENT&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SimulatePaymentOrderNotification deprecated added in v0.7.0

Deprecated: Use SimulatePaymentOrderNotificationShort instead.

SimulatePaymentOrderNotification simulates payment notification

&lt;b&gt;[TEST FACILITY ONLY] Forbidden in live environment. &lt;/b&gt; Simulate payment notification on sandbox payment order, usually for test usage to simulate real currency payment notification.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: notification process result&lt;/li&gt;&lt;/ul&gt;

func (*Client) SimulatePaymentOrderNotificationShort added in v0.8.0

func (a *Client) SimulatePaymentOrderNotificationShort(params *SimulatePaymentOrderNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*SimulatePaymentOrderNotificationOK, error)

SimulatePaymentOrderNotificationShort simulates payment notification

&lt;b&gt;[TEST FACILITY ONLY] Forbidden in live environment. &lt;/b&gt; Simulate payment notification on sandbox payment order, usually for test usage to simulate real currency payment notification.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:PAYMENT&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: notification process result&lt;/li&gt;&lt;/ul&gt;

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 (*CreateUserPaymentOrderBadRequest) GetPayload

func (*CreateUserPaymentOrderBadRequest) ToJSONString added in v0.25.0

func (o *CreateUserPaymentOrderBadRequest) ToJSONString() string

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 (*CreateUserPaymentOrderConflict) GetPayload

func (*CreateUserPaymentOrderConflict) ToJSONString added in v0.25.0

func (o *CreateUserPaymentOrderConflict) ToJSONString() string

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 (*CreateUserPaymentOrderCreated) GetPayload

func (*CreateUserPaymentOrderCreated) ToJSONString added in v0.25.0

func (o *CreateUserPaymentOrderCreated) ToJSONString() string

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 (*CreateUserPaymentOrderForbidden) GetPayload

func (*CreateUserPaymentOrderForbidden) ToJSONString added in v0.25.0

func (o *CreateUserPaymentOrderForbidden) ToJSONString() string

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 (*CreateUserPaymentOrderNotFound) GetPayload

func (*CreateUserPaymentOrderNotFound) ToJSONString added in v0.25.0

func (o *CreateUserPaymentOrderNotFound) ToJSONString() string

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

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

WithBody adds the body to the create user payment order params

func (*CreateUserPaymentOrderParams) WithContext

WithContext adds the context to the create user payment order params

func (*CreateUserPaymentOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create user payment order params

func (*CreateUserPaymentOrderParams) WithNamespace

WithNamespace adds the namespace to the create user payment order params

func (*CreateUserPaymentOrderParams) WithTimeout

WithTimeout adds the timeout to the create user payment order params

func (*CreateUserPaymentOrderParams) WithUserID

WithUserID adds the userID to the create user payment order params

func (*CreateUserPaymentOrderParams) WriteToRequest

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 (*CreateUserPaymentOrderUnprocessableEntity) GetPayload

func (*CreateUserPaymentOrderUnprocessableEntity) ToJSONString added in v0.25.0

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 (*GetPaymentOrderChargeStatusNotFound) GetPayload

func (*GetPaymentOrderChargeStatusNotFound) ToJSONString added in v0.25.0

func (o *GetPaymentOrderChargeStatusNotFound) ToJSONString() string

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 (*GetPaymentOrderChargeStatusOK) GetPayload

func (*GetPaymentOrderChargeStatusOK) ToJSONString added in v0.25.0

func (o *GetPaymentOrderChargeStatusOK) ToJSONString() string

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

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

WithContext adds the context to the get payment order charge status params

func (*GetPaymentOrderChargeStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment order charge status params

func (*GetPaymentOrderChargeStatusParams) WithNamespace

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

WithTimeout adds the timeout to the get payment order charge status params

func (*GetPaymentOrderChargeStatusParams) WriteToRequest

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 (*GetPaymentOrderNotFound) ToJSONString added in v0.25.0

func (o *GetPaymentOrderNotFound) ToJSONString() string

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 (*GetPaymentOrderOK) ToJSONString added in v0.25.0

func (o *GetPaymentOrderOK) ToJSONString() string

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

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

func (*ListExtOrderNoByExtTxIDOK) ToJSONString added in v0.25.0

func (o *ListExtOrderNoByExtTxIDOK) ToJSONString() 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

WithContext adds the context to the list ext order no by ext tx Id params

func (*ListExtOrderNoByExtTxIDParams) WithExtTxID

WithExtTxID adds the extTxID to the list ext order no by ext tx Id params

func (*ListExtOrderNoByExtTxIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list ext order no by ext tx Id params

func (*ListExtOrderNoByExtTxIDParams) WithNamespace

WithNamespace adds the namespace to the list ext order no by ext tx Id params

func (*ListExtOrderNoByExtTxIDParams) WithTimeout

WithTimeout adds the timeout to the list ext order no by ext tx Id params

func (*ListExtOrderNoByExtTxIDParams) WriteToRequest

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 (*QueryPaymentNotificationsOK) GetPayload

func (*QueryPaymentNotificationsOK) ToJSONString added in v0.25.0

func (o *QueryPaymentNotificationsOK) ToJSONString() string

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

WithContext adds the context to the query payment notifications params

func (*QueryPaymentNotificationsParams) WithEndDate

WithEndDate adds the endDate to the query payment notifications params

func (*QueryPaymentNotificationsParams) WithExternalID

WithExternalID adds the externalID to the query payment notifications params

func (*QueryPaymentNotificationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query payment notifications params

func (*QueryPaymentNotificationsParams) WithLimit

WithLimit adds the limit to the query payment notifications params

func (*QueryPaymentNotificationsParams) WithNamespace

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

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

WithStartDate adds the startDate to the query payment notifications params

func (*QueryPaymentNotificationsParams) WithStatus

WithStatus adds the status to the query payment notifications params

func (*QueryPaymentNotificationsParams) WithTimeout

WithTimeout adds the timeout to the query payment notifications params

func (*QueryPaymentNotificationsParams) WriteToRequest

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 (*QueryPaymentOrdersOK) ToJSONString added in v0.25.0

func (o *QueryPaymentOrdersOK) ToJSONString() string

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

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

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

WithOffset adds the offset to the query payment orders params

func (*QueryPaymentOrdersParams) WithStatus

WithStatus adds the status to the query payment orders params

func (*QueryPaymentOrdersParams) WithTimeout

WithTimeout adds the timeout to the query payment orders params

func (*QueryPaymentOrdersParams) WriteToRequest

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 (*RefundUserPaymentOrderConflict) GetPayload

func (*RefundUserPaymentOrderConflict) ToJSONString added in v0.25.0

func (o *RefundUserPaymentOrderConflict) ToJSONString() string

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 (*RefundUserPaymentOrderNotFound) GetPayload

func (*RefundUserPaymentOrderNotFound) ToJSONString added in v0.25.0

func (o *RefundUserPaymentOrderNotFound) ToJSONString() string

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 (*RefundUserPaymentOrderOK) ToJSONString added in v0.25.0

func (o *RefundUserPaymentOrderOK) ToJSONString() string

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

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

WithBody adds the body to the refund user payment order params

func (*RefundUserPaymentOrderParams) WithContext

WithContext adds the context to the refund user payment order params

func (*RefundUserPaymentOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the refund user payment order params

func (*RefundUserPaymentOrderParams) WithNamespace

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

WithTimeout adds the timeout to the refund user payment order params

func (*RefundUserPaymentOrderParams) WithUserID

WithUserID adds the userID to the refund user payment order params

func (*RefundUserPaymentOrderParams) WriteToRequest

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 (*RefundUserPaymentOrderUnprocessableEntity) GetPayload

func (*RefundUserPaymentOrderUnprocessableEntity) ToJSONString added in v0.25.0

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 (*SimulatePaymentOrderNotificationBadRequest) GetPayload added in v0.7.0

func (*SimulatePaymentOrderNotificationBadRequest) ToJSONString added in v0.25.0

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 (*SimulatePaymentOrderNotificationNotFound) GetPayload added in v0.7.0

func (*SimulatePaymentOrderNotificationNotFound) ToJSONString added in v0.25.0

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 (*SimulatePaymentOrderNotificationOK) GetPayload added in v0.7.0

func (*SimulatePaymentOrderNotificationOK) ToJSONString added in v0.25.0

func (o *SimulatePaymentOrderNotificationOK) ToJSONString() string

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

SetBody adds the body to the simulate payment order notification params

func (*SimulatePaymentOrderNotificationParams) SetContext added in v0.7.0

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

WithBody adds the body to the simulate payment order notification params

func (*SimulatePaymentOrderNotificationParams) WithContext added in v0.7.0

WithContext adds the context to the simulate payment order notification params

func (*SimulatePaymentOrderNotificationParams) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the simulate payment order notification params

func (*SimulatePaymentOrderNotificationParams) WithNamespace added in v0.7.0

WithNamespace adds the namespace to the simulate payment order notification params

func (*SimulatePaymentOrderNotificationParams) WithPaymentOrderNo added in v0.7.0

WithPaymentOrderNo adds the paymentOrderNo to the simulate payment order notification params

func (*SimulatePaymentOrderNotificationParams) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the simulate payment order notification params

func (*SimulatePaymentOrderNotificationParams) WriteToRequest added in v0.7.0

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.

Jump to

Keyboard shortcuts

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