Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPaymentCustomization(params *GetPaymentCustomizationParams) (*GetPaymentCustomizationOK, error)
- func (a *Client) GetPaymentPublicConfig(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error)
- func (a *Client) GetPaymentTaxValue(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, *GetPaymentTaxValueBadRequest, ...)
- func (a *Client) Pay(params *PayParams) (*PayOK, *PayBadRequest, *PayNotFound, *PayConflict, error)
- func (a *Client) PublicCheckPaymentOrderPaidStatus(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, ...)
- func (a *Client) PublicGetPaymentMethods(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, *PublicGetPaymentMethodsNotFound, error)
- func (a *Client) PublicGetPaymentURL(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, *PublicGetPaymentURLBadRequest, ...)
- func (a *Client) PublicGetQRCode(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error)
- func (a *Client) PublicGetUnpaidPaymentOrder(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, *PublicGetUnpaidPaymentOrderNotFound, ...)
- func (a *Client) PublicNormalizePaymentReturnURL(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetPaymentCustomizationOK
- type GetPaymentCustomizationParams
- func NewGetPaymentCustomizationParams() *GetPaymentCustomizationParams
- func NewGetPaymentCustomizationParamsWithContext(ctx context.Context) *GetPaymentCustomizationParams
- func NewGetPaymentCustomizationParamsWithHTTPClient(client *http.Client) *GetPaymentCustomizationParams
- func NewGetPaymentCustomizationParamsWithTimeout(timeout time.Duration) *GetPaymentCustomizationParams
- func (o *GetPaymentCustomizationParams) SetContext(ctx context.Context)
- func (o *GetPaymentCustomizationParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentCustomizationParams) SetNamespace(namespace string)
- func (o *GetPaymentCustomizationParams) SetPaymentProvider(paymentProvider string)
- func (o *GetPaymentCustomizationParams) SetRegion(region string)
- func (o *GetPaymentCustomizationParams) SetSandbox(sandbox *bool)
- func (o *GetPaymentCustomizationParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentCustomizationParams) WithContext(ctx context.Context) *GetPaymentCustomizationParams
- func (o *GetPaymentCustomizationParams) WithHTTPClient(client *http.Client) *GetPaymentCustomizationParams
- func (o *GetPaymentCustomizationParams) WithNamespace(namespace string) *GetPaymentCustomizationParams
- func (o *GetPaymentCustomizationParams) WithPaymentProvider(paymentProvider string) *GetPaymentCustomizationParams
- func (o *GetPaymentCustomizationParams) WithRegion(region string) *GetPaymentCustomizationParams
- func (o *GetPaymentCustomizationParams) WithSandbox(sandbox *bool) *GetPaymentCustomizationParams
- func (o *GetPaymentCustomizationParams) WithTimeout(timeout time.Duration) *GetPaymentCustomizationParams
- func (o *GetPaymentCustomizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentCustomizationReader
- type GetPaymentPublicConfigOK
- type GetPaymentPublicConfigParams
- func NewGetPaymentPublicConfigParams() *GetPaymentPublicConfigParams
- func NewGetPaymentPublicConfigParamsWithContext(ctx context.Context) *GetPaymentPublicConfigParams
- func NewGetPaymentPublicConfigParamsWithHTTPClient(client *http.Client) *GetPaymentPublicConfigParams
- func NewGetPaymentPublicConfigParamsWithTimeout(timeout time.Duration) *GetPaymentPublicConfigParams
- func (o *GetPaymentPublicConfigParams) SetContext(ctx context.Context)
- func (o *GetPaymentPublicConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentPublicConfigParams) SetNamespace(namespace string)
- func (o *GetPaymentPublicConfigParams) SetPaymentProvider(paymentProvider string)
- func (o *GetPaymentPublicConfigParams) SetRegion(region string)
- func (o *GetPaymentPublicConfigParams) SetSandbox(sandbox *bool)
- func (o *GetPaymentPublicConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentPublicConfigParams) WithContext(ctx context.Context) *GetPaymentPublicConfigParams
- func (o *GetPaymentPublicConfigParams) WithHTTPClient(client *http.Client) *GetPaymentPublicConfigParams
- func (o *GetPaymentPublicConfigParams) WithNamespace(namespace string) *GetPaymentPublicConfigParams
- func (o *GetPaymentPublicConfigParams) WithPaymentProvider(paymentProvider string) *GetPaymentPublicConfigParams
- func (o *GetPaymentPublicConfigParams) WithRegion(region string) *GetPaymentPublicConfigParams
- func (o *GetPaymentPublicConfigParams) WithSandbox(sandbox *bool) *GetPaymentPublicConfigParams
- func (o *GetPaymentPublicConfigParams) WithTimeout(timeout time.Duration) *GetPaymentPublicConfigParams
- func (o *GetPaymentPublicConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentPublicConfigReader
- type GetPaymentTaxValueBadRequest
- type GetPaymentTaxValueNotFound
- type GetPaymentTaxValueOK
- type GetPaymentTaxValueParams
- func NewGetPaymentTaxValueParams() *GetPaymentTaxValueParams
- func NewGetPaymentTaxValueParamsWithContext(ctx context.Context) *GetPaymentTaxValueParams
- func NewGetPaymentTaxValueParamsWithHTTPClient(client *http.Client) *GetPaymentTaxValueParams
- func NewGetPaymentTaxValueParamsWithTimeout(timeout time.Duration) *GetPaymentTaxValueParams
- func (o *GetPaymentTaxValueParams) SetContext(ctx context.Context)
- func (o *GetPaymentTaxValueParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentTaxValueParams) SetNamespace(namespace string)
- func (o *GetPaymentTaxValueParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *GetPaymentTaxValueParams) SetPaymentProvider(paymentProvider string)
- func (o *GetPaymentTaxValueParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentTaxValueParams) SetZipCode(zipCode *string)
- func (o *GetPaymentTaxValueParams) WithContext(ctx context.Context) *GetPaymentTaxValueParams
- func (o *GetPaymentTaxValueParams) WithHTTPClient(client *http.Client) *GetPaymentTaxValueParams
- func (o *GetPaymentTaxValueParams) WithNamespace(namespace string) *GetPaymentTaxValueParams
- func (o *GetPaymentTaxValueParams) WithPaymentOrderNo(paymentOrderNo string) *GetPaymentTaxValueParams
- func (o *GetPaymentTaxValueParams) WithPaymentProvider(paymentProvider string) *GetPaymentTaxValueParams
- func (o *GetPaymentTaxValueParams) WithTimeout(timeout time.Duration) *GetPaymentTaxValueParams
- func (o *GetPaymentTaxValueParams) WithZipCode(zipCode *string) *GetPaymentTaxValueParams
- func (o *GetPaymentTaxValueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentTaxValueReader
- type PayBadRequest
- type PayConflict
- type PayNotFound
- type PayOK
- type PayParams
- func (o *PayParams) SetBody(body *platformclientmodels.PaymentToken)
- func (o *PayParams) SetContext(ctx context.Context)
- func (o *PayParams) SetHTTPClient(client *http.Client)
- func (o *PayParams) SetNamespace(namespace string)
- func (o *PayParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *PayParams) SetPaymentProvider(paymentProvider *string)
- func (o *PayParams) SetTimeout(timeout time.Duration)
- func (o *PayParams) SetZipCode(zipCode *string)
- func (o *PayParams) WithBody(body *platformclientmodels.PaymentToken) *PayParams
- func (o *PayParams) WithContext(ctx context.Context) *PayParams
- func (o *PayParams) WithHTTPClient(client *http.Client) *PayParams
- func (o *PayParams) WithNamespace(namespace string) *PayParams
- func (o *PayParams) WithPaymentOrderNo(paymentOrderNo string) *PayParams
- func (o *PayParams) WithPaymentProvider(paymentProvider *string) *PayParams
- func (o *PayParams) WithTimeout(timeout time.Duration) *PayParams
- func (o *PayParams) WithZipCode(zipCode *string) *PayParams
- func (o *PayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PayReader
- type PublicCheckPaymentOrderPaidStatusNotFound
- type PublicCheckPaymentOrderPaidStatusOK
- type PublicCheckPaymentOrderPaidStatusParams
- func NewPublicCheckPaymentOrderPaidStatusParams() *PublicCheckPaymentOrderPaidStatusParams
- func NewPublicCheckPaymentOrderPaidStatusParamsWithContext(ctx context.Context) *PublicCheckPaymentOrderPaidStatusParams
- func NewPublicCheckPaymentOrderPaidStatusParamsWithHTTPClient(client *http.Client) *PublicCheckPaymentOrderPaidStatusParams
- func NewPublicCheckPaymentOrderPaidStatusParamsWithTimeout(timeout time.Duration) *PublicCheckPaymentOrderPaidStatusParams
- func (o *PublicCheckPaymentOrderPaidStatusParams) SetContext(ctx context.Context)
- func (o *PublicCheckPaymentOrderPaidStatusParams) SetHTTPClient(client *http.Client)
- func (o *PublicCheckPaymentOrderPaidStatusParams) SetNamespace(namespace string)
- func (o *PublicCheckPaymentOrderPaidStatusParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *PublicCheckPaymentOrderPaidStatusParams) SetTimeout(timeout time.Duration)
- func (o *PublicCheckPaymentOrderPaidStatusParams) WithContext(ctx context.Context) *PublicCheckPaymentOrderPaidStatusParams
- func (o *PublicCheckPaymentOrderPaidStatusParams) WithHTTPClient(client *http.Client) *PublicCheckPaymentOrderPaidStatusParams
- func (o *PublicCheckPaymentOrderPaidStatusParams) WithNamespace(namespace string) *PublicCheckPaymentOrderPaidStatusParams
- func (o *PublicCheckPaymentOrderPaidStatusParams) WithPaymentOrderNo(paymentOrderNo string) *PublicCheckPaymentOrderPaidStatusParams
- func (o *PublicCheckPaymentOrderPaidStatusParams) WithTimeout(timeout time.Duration) *PublicCheckPaymentOrderPaidStatusParams
- func (o *PublicCheckPaymentOrderPaidStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCheckPaymentOrderPaidStatusReader
- type PublicGetPaymentMethodsNotFound
- type PublicGetPaymentMethodsOK
- type PublicGetPaymentMethodsParams
- func NewPublicGetPaymentMethodsParams() *PublicGetPaymentMethodsParams
- func NewPublicGetPaymentMethodsParamsWithContext(ctx context.Context) *PublicGetPaymentMethodsParams
- func NewPublicGetPaymentMethodsParamsWithHTTPClient(client *http.Client) *PublicGetPaymentMethodsParams
- func NewPublicGetPaymentMethodsParamsWithTimeout(timeout time.Duration) *PublicGetPaymentMethodsParams
- func (o *PublicGetPaymentMethodsParams) SetContext(ctx context.Context)
- func (o *PublicGetPaymentMethodsParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetPaymentMethodsParams) SetNamespace(namespace string)
- func (o *PublicGetPaymentMethodsParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *PublicGetPaymentMethodsParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetPaymentMethodsParams) WithContext(ctx context.Context) *PublicGetPaymentMethodsParams
- func (o *PublicGetPaymentMethodsParams) WithHTTPClient(client *http.Client) *PublicGetPaymentMethodsParams
- func (o *PublicGetPaymentMethodsParams) WithNamespace(namespace string) *PublicGetPaymentMethodsParams
- func (o *PublicGetPaymentMethodsParams) WithPaymentOrderNo(paymentOrderNo string) *PublicGetPaymentMethodsParams
- func (o *PublicGetPaymentMethodsParams) WithTimeout(timeout time.Duration) *PublicGetPaymentMethodsParams
- func (o *PublicGetPaymentMethodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetPaymentMethodsReader
- type PublicGetPaymentURLBadRequest
- type PublicGetPaymentURLForbidden
- type PublicGetPaymentURLNotFound
- type PublicGetPaymentURLOK
- type PublicGetPaymentURLParams
- func NewPublicGetPaymentURLParams() *PublicGetPaymentURLParams
- func NewPublicGetPaymentURLParamsWithContext(ctx context.Context) *PublicGetPaymentURLParams
- func NewPublicGetPaymentURLParamsWithHTTPClient(client *http.Client) *PublicGetPaymentURLParams
- func NewPublicGetPaymentURLParamsWithTimeout(timeout time.Duration) *PublicGetPaymentURLParams
- func (o *PublicGetPaymentURLParams) SetBody(body *platformclientmodels.PaymentURLCreate)
- func (o *PublicGetPaymentURLParams) SetContext(ctx context.Context)
- func (o *PublicGetPaymentURLParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetPaymentURLParams) SetNamespace(namespace string)
- func (o *PublicGetPaymentURLParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetPaymentURLParams) WithBody(body *platformclientmodels.PaymentURLCreate) *PublicGetPaymentURLParams
- func (o *PublicGetPaymentURLParams) WithContext(ctx context.Context) *PublicGetPaymentURLParams
- func (o *PublicGetPaymentURLParams) WithHTTPClient(client *http.Client) *PublicGetPaymentURLParams
- func (o *PublicGetPaymentURLParams) WithNamespace(namespace string) *PublicGetPaymentURLParams
- func (o *PublicGetPaymentURLParams) WithTimeout(timeout time.Duration) *PublicGetPaymentURLParams
- func (o *PublicGetPaymentURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetPaymentURLReader
- type PublicGetQRCodeOK
- type PublicGetQRCodeParams
- func NewPublicGetQRCodeParams() *PublicGetQRCodeParams
- func NewPublicGetQRCodeParamsWithContext(ctx context.Context) *PublicGetQRCodeParams
- func NewPublicGetQRCodeParamsWithHTTPClient(client *http.Client) *PublicGetQRCodeParams
- func NewPublicGetQRCodeParamsWithTimeout(timeout time.Duration) *PublicGetQRCodeParams
- func (o *PublicGetQRCodeParams) SetCode(code string)
- func (o *PublicGetQRCodeParams) SetContext(ctx context.Context)
- func (o *PublicGetQRCodeParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetQRCodeParams) SetNamespace(namespace string)
- func (o *PublicGetQRCodeParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetQRCodeParams) WithCode(code string) *PublicGetQRCodeParams
- func (o *PublicGetQRCodeParams) WithContext(ctx context.Context) *PublicGetQRCodeParams
- func (o *PublicGetQRCodeParams) WithHTTPClient(client *http.Client) *PublicGetQRCodeParams
- func (o *PublicGetQRCodeParams) WithNamespace(namespace string) *PublicGetQRCodeParams
- func (o *PublicGetQRCodeParams) WithTimeout(timeout time.Duration) *PublicGetQRCodeParams
- func (o *PublicGetQRCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetQRCodeReader
- type PublicGetUnpaidPaymentOrderConflict
- type PublicGetUnpaidPaymentOrderNotFound
- type PublicGetUnpaidPaymentOrderOK
- type PublicGetUnpaidPaymentOrderParams
- func NewPublicGetUnpaidPaymentOrderParams() *PublicGetUnpaidPaymentOrderParams
- func NewPublicGetUnpaidPaymentOrderParamsWithContext(ctx context.Context) *PublicGetUnpaidPaymentOrderParams
- func NewPublicGetUnpaidPaymentOrderParamsWithHTTPClient(client *http.Client) *PublicGetUnpaidPaymentOrderParams
- func NewPublicGetUnpaidPaymentOrderParamsWithTimeout(timeout time.Duration) *PublicGetUnpaidPaymentOrderParams
- func (o *PublicGetUnpaidPaymentOrderParams) SetContext(ctx context.Context)
- func (o *PublicGetUnpaidPaymentOrderParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUnpaidPaymentOrderParams) SetNamespace(namespace string)
- func (o *PublicGetUnpaidPaymentOrderParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *PublicGetUnpaidPaymentOrderParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUnpaidPaymentOrderParams) WithContext(ctx context.Context) *PublicGetUnpaidPaymentOrderParams
- func (o *PublicGetUnpaidPaymentOrderParams) WithHTTPClient(client *http.Client) *PublicGetUnpaidPaymentOrderParams
- func (o *PublicGetUnpaidPaymentOrderParams) WithNamespace(namespace string) *PublicGetUnpaidPaymentOrderParams
- func (o *PublicGetUnpaidPaymentOrderParams) WithPaymentOrderNo(paymentOrderNo string) *PublicGetUnpaidPaymentOrderParams
- func (o *PublicGetUnpaidPaymentOrderParams) WithTimeout(timeout time.Duration) *PublicGetUnpaidPaymentOrderParams
- func (o *PublicGetUnpaidPaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUnpaidPaymentOrderReader
- type PublicNormalizePaymentReturnURLNoContent
- type PublicNormalizePaymentReturnURLParams
- func NewPublicNormalizePaymentReturnURLParams() *PublicNormalizePaymentReturnURLParams
- func NewPublicNormalizePaymentReturnURLParamsWithContext(ctx context.Context) *PublicNormalizePaymentReturnURLParams
- func NewPublicNormalizePaymentReturnURLParamsWithHTTPClient(client *http.Client) *PublicNormalizePaymentReturnURLParams
- func NewPublicNormalizePaymentReturnURLParamsWithTimeout(timeout time.Duration) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) SetContext(ctx context.Context)
- func (o *PublicNormalizePaymentReturnURLParams) SetForeinginvoice(foreinginvoice *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetHTTPClient(client *http.Client)
- func (o *PublicNormalizePaymentReturnURLParams) SetInvoiceID(invoiceID *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetNamespace(namespace string)
- func (o *PublicNormalizePaymentReturnURLParams) SetOrderNo(orderNo string)
- func (o *PublicNormalizePaymentReturnURLParams) SetPayerID(payerID *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetPayload(payload *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetPaymentOrderNo(paymentOrderNo string)
- func (o *PublicNormalizePaymentReturnURLParams) SetPaymentProvider(paymentProvider string)
- func (o *PublicNormalizePaymentReturnURLParams) SetResultCode(resultCode *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetReturnURL(returnURL string)
- func (o *PublicNormalizePaymentReturnURLParams) SetStatus(status *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetTimeout(timeout time.Duration)
- func (o *PublicNormalizePaymentReturnURLParams) SetToken(token *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetType(typeVar *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetUserID(userID *string)
- func (o *PublicNormalizePaymentReturnURLParams) WithContext(ctx context.Context) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithForeinginvoice(foreinginvoice *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithHTTPClient(client *http.Client) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithInvoiceID(invoiceID *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithNamespace(namespace string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithOrderNo(orderNo string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithPayerID(payerID *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithPayload(payload *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithPaymentOrderNo(paymentOrderNo string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithPaymentProvider(paymentProvider string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithResultCode(resultCode *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithReturnURL(returnURL string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithStatus(status *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithTimeout(timeout time.Duration) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithToken(token *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithType(typeVar *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithUserID(userID *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicNormalizePaymentReturnURLReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for payment station API
func (*Client) GetPaymentCustomization ¶
func (a *Client) GetPaymentCustomization(params *GetPaymentCustomizationParams) (*GetPaymentCustomizationOK, error)
GetPaymentCustomization gets payment provider customization
Get payment provider customization, at current only Adyen provide customization.<br>Other detail info: <ul><li><i>Returns</i>: customization</li></ul>
func (*Client) GetPaymentPublicConfig ¶
func (a *Client) GetPaymentPublicConfig(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error)
GetPaymentPublicConfig gets payment provider public config
Get payment provider public config, at current only Strip provide public config.<br>Other detail info: <ul><li><i>Returns</i>: Public config</li></ul>
func (*Client) GetPaymentTaxValue ¶
func (a *Client) GetPaymentTaxValue(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, *GetPaymentTaxValueBadRequest, *GetPaymentTaxValueNotFound, error)
GetPaymentTaxValue gets tax result of a payment order
Check and get a payment order's should pay tax.<br>Other detail info: <ul><li><i>Returns</i>: tax result</li></ul>
func (*Client) Pay ¶
func (a *Client) Pay(params *PayParams) (*PayOK, *PayBadRequest, *PayNotFound, *PayConflict, error)
Pay dos payment
Do payment(For now, this only support checkout.com).<br>Other detail info: <ul><li><i>Returns</i>: Payment process result</li></ul>
func (*Client) PublicCheckPaymentOrderPaidStatus ¶
func (a *Client) PublicCheckPaymentOrderPaidStatus(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, *PublicCheckPaymentOrderPaidStatusNotFound, error)
PublicCheckPaymentOrderPaidStatus checks payment order paid status
Check payment order paid status.<br>Other detail info: <ul><li><i>Returns</i>: Payment order paid result</li></ul>
func (*Client) PublicGetPaymentMethods ¶
func (a *Client) PublicGetPaymentMethods(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, *PublicGetPaymentMethodsNotFound, error)
PublicGetPaymentMethods gets payment methods
Get payment methods.<br>Other detail info: <ul><li><i>Returns</i>: Payment method list</li></ul>
func (*Client) PublicGetPaymentURL ¶
func (a *Client) PublicGetPaymentURL(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, *PublicGetPaymentURLBadRequest, *PublicGetPaymentURLForbidden, *PublicGetPaymentURLNotFound, error)
PublicGetPaymentURL gets payment url
Get payment url.<br>Other detail info: <ul><li><i>Returns</i>: Get payment link</li></ul>
func (*Client) PublicGetQRCode ¶
func (a *Client) PublicGetQRCode(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error)
PublicGetQRCode gets qrcode
Get qrcode.<br>Other detail info: <ul><li><i>Returns</i>: QRCode image stream</li></ul>
func (*Client) PublicGetUnpaidPaymentOrder ¶
func (a *Client) PublicGetUnpaidPaymentOrder(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, *PublicGetUnpaidPaymentOrderNotFound, *PublicGetUnpaidPaymentOrderConflict, error)
PublicGetUnpaidPaymentOrder gets payment order info
Get payment order info.<br>Other detail info: <ul><li><i>Returns</i>: Payment order details</li></ul>
func (*Client) PublicNormalizePaymentReturnURL ¶
func (a *Client) PublicNormalizePaymentReturnURL(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, error)
PublicNormalizePaymentReturnURL normalizes payment return url Normalize payment return url for payment provider<br>Payment response: <table><tr><td>Field</td><td>Type</td><td>Required</td><td>Description</td></tr><tr><td>orderNo</td><td>String</td><td>Yes</td><td>order no</td></tr><tr><td>paymentStatus</td><td>String</td><td>Yes</td><td><ul><li>DONE: The payment was successfully completed.</li><li>CANCELLED: The payment was cancelled by the shopper before completion, or the shopper returned to the merchant's site before completing the transaction.</li><li>PENDING: Inform the shopper that you've received their order, and are waiting for the payment to be completed.
When the shopper has completed the payment you will receive a successful AUTHORISATION.</li><li>RECEIVED: Inform the shopper that you've received their order, and are waiting for the payment to clear.</li><li>UNKNOWN: An error occurred during the payment processing.</li><li>FAILED: Shopper paid failed because of various reasons.</li></ul></td></tr><tr><td>reason</td><td>String</td><td>No</td><td>payment status reason</td></tr></table>Other detail info: <ul><li><i>xsolla</i>: parameters 'user_id', 'foreinginvoice', 'invoice_id' and 'status' will be automatically added to the link</li><li><i>adyen</i>: https://docs.adyen.com/developers/checkout/web-sdk</li></ul>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetPaymentCustomization(params *GetPaymentCustomizationParams) (*GetPaymentCustomizationOK, error) GetPaymentPublicConfig(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error) GetPaymentTaxValue(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, *GetPaymentTaxValueBadRequest, *GetPaymentTaxValueNotFound, error) Pay(params *PayParams) (*PayOK, *PayBadRequest, *PayNotFound, *PayConflict, error) PublicCheckPaymentOrderPaidStatus(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, *PublicCheckPaymentOrderPaidStatusNotFound, error) PublicGetPaymentMethods(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, *PublicGetPaymentMethodsNotFound, error) PublicGetPaymentURL(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, *PublicGetPaymentURLBadRequest, *PublicGetPaymentURLForbidden, *PublicGetPaymentURLNotFound, error) PublicGetQRCode(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error) PublicGetUnpaidPaymentOrder(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, *PublicGetUnpaidPaymentOrderNotFound, *PublicGetUnpaidPaymentOrderConflict, error) PublicNormalizePaymentReturnURL(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, 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 station API client.
type GetPaymentCustomizationOK ¶
type GetPaymentCustomizationOK struct {
Payload *platformclientmodels.Customization
}
GetPaymentCustomizationOK handles this case with default header values.
successful operation
func NewGetPaymentCustomizationOK ¶
func NewGetPaymentCustomizationOK() *GetPaymentCustomizationOK
NewGetPaymentCustomizationOK creates a GetPaymentCustomizationOK with default headers values
func (*GetPaymentCustomizationOK) Error ¶
func (o *GetPaymentCustomizationOK) Error() string
func (*GetPaymentCustomizationOK) GetPayload ¶
func (o *GetPaymentCustomizationOK) GetPayload() *platformclientmodels.Customization
type GetPaymentCustomizationParams ¶
type GetPaymentCustomizationParams struct { /*Namespace*/ Namespace string /*PaymentProvider*/ PaymentProvider string /*Region*/ Region string /*Sandbox*/ Sandbox *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPaymentCustomizationParams contains all the parameters to send to the API endpoint for the get payment customization operation typically these are written to a http.Request
func NewGetPaymentCustomizationParams ¶
func NewGetPaymentCustomizationParams() *GetPaymentCustomizationParams
NewGetPaymentCustomizationParams creates a new GetPaymentCustomizationParams object with the default values initialized.
func NewGetPaymentCustomizationParamsWithContext ¶
func NewGetPaymentCustomizationParamsWithContext(ctx context.Context) *GetPaymentCustomizationParams
NewGetPaymentCustomizationParamsWithContext creates a new GetPaymentCustomizationParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentCustomizationParamsWithHTTPClient ¶
func NewGetPaymentCustomizationParamsWithHTTPClient(client *http.Client) *GetPaymentCustomizationParams
NewGetPaymentCustomizationParamsWithHTTPClient creates a new GetPaymentCustomizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentCustomizationParamsWithTimeout ¶
func NewGetPaymentCustomizationParamsWithTimeout(timeout time.Duration) *GetPaymentCustomizationParams
NewGetPaymentCustomizationParamsWithTimeout creates a new GetPaymentCustomizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentCustomizationParams) SetContext ¶
func (o *GetPaymentCustomizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment customization params
func (*GetPaymentCustomizationParams) SetHTTPClient ¶
func (o *GetPaymentCustomizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment customization params
func (*GetPaymentCustomizationParams) SetNamespace ¶
func (o *GetPaymentCustomizationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get payment customization params
func (*GetPaymentCustomizationParams) SetPaymentProvider ¶
func (o *GetPaymentCustomizationParams) SetPaymentProvider(paymentProvider string)
SetPaymentProvider adds the paymentProvider to the get payment customization params
func (*GetPaymentCustomizationParams) SetRegion ¶
func (o *GetPaymentCustomizationParams) SetRegion(region string)
SetRegion adds the region to the get payment customization params
func (*GetPaymentCustomizationParams) SetSandbox ¶
func (o *GetPaymentCustomizationParams) SetSandbox(sandbox *bool)
SetSandbox adds the sandbox to the get payment customization params
func (*GetPaymentCustomizationParams) SetTimeout ¶
func (o *GetPaymentCustomizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment customization params
func (*GetPaymentCustomizationParams) WithContext ¶
func (o *GetPaymentCustomizationParams) WithContext(ctx context.Context) *GetPaymentCustomizationParams
WithContext adds the context to the get payment customization params
func (*GetPaymentCustomizationParams) WithHTTPClient ¶
func (o *GetPaymentCustomizationParams) WithHTTPClient(client *http.Client) *GetPaymentCustomizationParams
WithHTTPClient adds the HTTPClient to the get payment customization params
func (*GetPaymentCustomizationParams) WithNamespace ¶
func (o *GetPaymentCustomizationParams) WithNamespace(namespace string) *GetPaymentCustomizationParams
WithNamespace adds the namespace to the get payment customization params
func (*GetPaymentCustomizationParams) WithPaymentProvider ¶
func (o *GetPaymentCustomizationParams) WithPaymentProvider(paymentProvider string) *GetPaymentCustomizationParams
WithPaymentProvider adds the paymentProvider to the get payment customization params
func (*GetPaymentCustomizationParams) WithRegion ¶
func (o *GetPaymentCustomizationParams) WithRegion(region string) *GetPaymentCustomizationParams
WithRegion adds the region to the get payment customization params
func (*GetPaymentCustomizationParams) WithSandbox ¶
func (o *GetPaymentCustomizationParams) WithSandbox(sandbox *bool) *GetPaymentCustomizationParams
WithSandbox adds the sandbox to the get payment customization params
func (*GetPaymentCustomizationParams) WithTimeout ¶
func (o *GetPaymentCustomizationParams) WithTimeout(timeout time.Duration) *GetPaymentCustomizationParams
WithTimeout adds the timeout to the get payment customization params
func (*GetPaymentCustomizationParams) WriteToRequest ¶
func (o *GetPaymentCustomizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentCustomizationReader ¶
type GetPaymentCustomizationReader struct {
// contains filtered or unexported fields
}
GetPaymentCustomizationReader is a Reader for the GetPaymentCustomization structure.
func (*GetPaymentCustomizationReader) ReadResponse ¶
func (o *GetPaymentCustomizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentPublicConfigOK ¶
type GetPaymentPublicConfigOK struct {
Payload map[string]interface{}
}
GetPaymentPublicConfigOK handles this case with default header values.
successful operation
func NewGetPaymentPublicConfigOK ¶
func NewGetPaymentPublicConfigOK() *GetPaymentPublicConfigOK
NewGetPaymentPublicConfigOK creates a GetPaymentPublicConfigOK with default headers values
func (*GetPaymentPublicConfigOK) Error ¶
func (o *GetPaymentPublicConfigOK) Error() string
func (*GetPaymentPublicConfigOK) GetPayload ¶
func (o *GetPaymentPublicConfigOK) GetPayload() map[string]interface{}
type GetPaymentPublicConfigParams ¶
type GetPaymentPublicConfigParams struct { /*Namespace*/ Namespace string /*PaymentProvider*/ PaymentProvider string /*Region*/ Region string /*Sandbox*/ Sandbox *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPaymentPublicConfigParams contains all the parameters to send to the API endpoint for the get payment public config operation typically these are written to a http.Request
func NewGetPaymentPublicConfigParams ¶
func NewGetPaymentPublicConfigParams() *GetPaymentPublicConfigParams
NewGetPaymentPublicConfigParams creates a new GetPaymentPublicConfigParams object with the default values initialized.
func NewGetPaymentPublicConfigParamsWithContext ¶
func NewGetPaymentPublicConfigParamsWithContext(ctx context.Context) *GetPaymentPublicConfigParams
NewGetPaymentPublicConfigParamsWithContext creates a new GetPaymentPublicConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentPublicConfigParamsWithHTTPClient ¶
func NewGetPaymentPublicConfigParamsWithHTTPClient(client *http.Client) *GetPaymentPublicConfigParams
NewGetPaymentPublicConfigParamsWithHTTPClient creates a new GetPaymentPublicConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentPublicConfigParamsWithTimeout ¶
func NewGetPaymentPublicConfigParamsWithTimeout(timeout time.Duration) *GetPaymentPublicConfigParams
NewGetPaymentPublicConfigParamsWithTimeout creates a new GetPaymentPublicConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentPublicConfigParams) SetContext ¶
func (o *GetPaymentPublicConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment public config params
func (*GetPaymentPublicConfigParams) SetHTTPClient ¶
func (o *GetPaymentPublicConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment public config params
func (*GetPaymentPublicConfigParams) SetNamespace ¶
func (o *GetPaymentPublicConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get payment public config params
func (*GetPaymentPublicConfigParams) SetPaymentProvider ¶
func (o *GetPaymentPublicConfigParams) SetPaymentProvider(paymentProvider string)
SetPaymentProvider adds the paymentProvider to the get payment public config params
func (*GetPaymentPublicConfigParams) SetRegion ¶
func (o *GetPaymentPublicConfigParams) SetRegion(region string)
SetRegion adds the region to the get payment public config params
func (*GetPaymentPublicConfigParams) SetSandbox ¶
func (o *GetPaymentPublicConfigParams) SetSandbox(sandbox *bool)
SetSandbox adds the sandbox to the get payment public config params
func (*GetPaymentPublicConfigParams) SetTimeout ¶
func (o *GetPaymentPublicConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment public config params
func (*GetPaymentPublicConfigParams) WithContext ¶
func (o *GetPaymentPublicConfigParams) WithContext(ctx context.Context) *GetPaymentPublicConfigParams
WithContext adds the context to the get payment public config params
func (*GetPaymentPublicConfigParams) WithHTTPClient ¶
func (o *GetPaymentPublicConfigParams) WithHTTPClient(client *http.Client) *GetPaymentPublicConfigParams
WithHTTPClient adds the HTTPClient to the get payment public config params
func (*GetPaymentPublicConfigParams) WithNamespace ¶
func (o *GetPaymentPublicConfigParams) WithNamespace(namespace string) *GetPaymentPublicConfigParams
WithNamespace adds the namespace to the get payment public config params
func (*GetPaymentPublicConfigParams) WithPaymentProvider ¶
func (o *GetPaymentPublicConfigParams) WithPaymentProvider(paymentProvider string) *GetPaymentPublicConfigParams
WithPaymentProvider adds the paymentProvider to the get payment public config params
func (*GetPaymentPublicConfigParams) WithRegion ¶
func (o *GetPaymentPublicConfigParams) WithRegion(region string) *GetPaymentPublicConfigParams
WithRegion adds the region to the get payment public config params
func (*GetPaymentPublicConfigParams) WithSandbox ¶
func (o *GetPaymentPublicConfigParams) WithSandbox(sandbox *bool) *GetPaymentPublicConfigParams
WithSandbox adds the sandbox to the get payment public config params
func (*GetPaymentPublicConfigParams) WithTimeout ¶
func (o *GetPaymentPublicConfigParams) WithTimeout(timeout time.Duration) *GetPaymentPublicConfigParams
WithTimeout adds the timeout to the get payment public config params
func (*GetPaymentPublicConfigParams) WriteToRequest ¶
func (o *GetPaymentPublicConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentPublicConfigReader ¶
type GetPaymentPublicConfigReader struct {
// contains filtered or unexported fields
}
GetPaymentPublicConfigReader is a Reader for the GetPaymentPublicConfig structure.
func (*GetPaymentPublicConfigReader) ReadResponse ¶
func (o *GetPaymentPublicConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentTaxValueBadRequest ¶
type GetPaymentTaxValueBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
GetPaymentTaxValueBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33123</td><td>Invalid zipcode</td></tr></table>
func NewGetPaymentTaxValueBadRequest ¶
func NewGetPaymentTaxValueBadRequest() *GetPaymentTaxValueBadRequest
NewGetPaymentTaxValueBadRequest creates a GetPaymentTaxValueBadRequest with default headers values
func (*GetPaymentTaxValueBadRequest) Error ¶
func (o *GetPaymentTaxValueBadRequest) Error() string
func (*GetPaymentTaxValueBadRequest) GetPayload ¶
func (o *GetPaymentTaxValueBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type GetPaymentTaxValueNotFound ¶
type GetPaymentTaxValueNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetPaymentTaxValueNotFound 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 NewGetPaymentTaxValueNotFound ¶
func NewGetPaymentTaxValueNotFound() *GetPaymentTaxValueNotFound
NewGetPaymentTaxValueNotFound creates a GetPaymentTaxValueNotFound with default headers values
func (*GetPaymentTaxValueNotFound) Error ¶
func (o *GetPaymentTaxValueNotFound) Error() string
func (*GetPaymentTaxValueNotFound) GetPayload ¶
func (o *GetPaymentTaxValueNotFound) GetPayload() *platformclientmodels.ErrorEntity
type GetPaymentTaxValueOK ¶
type GetPaymentTaxValueOK struct {
Payload *platformclientmodels.TaxResult
}
GetPaymentTaxValueOK handles this case with default header values.
successful operation
func NewGetPaymentTaxValueOK ¶
func NewGetPaymentTaxValueOK() *GetPaymentTaxValueOK
NewGetPaymentTaxValueOK creates a GetPaymentTaxValueOK with default headers values
func (*GetPaymentTaxValueOK) Error ¶
func (o *GetPaymentTaxValueOK) Error() string
func (*GetPaymentTaxValueOK) GetPayload ¶
func (o *GetPaymentTaxValueOK) GetPayload() *platformclientmodels.TaxResult
type GetPaymentTaxValueParams ¶
type GetPaymentTaxValueParams struct { /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string /*PaymentProvider*/ PaymentProvider string /*ZipCode*/ ZipCode *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPaymentTaxValueParams contains all the parameters to send to the API endpoint for the get payment tax value operation typically these are written to a http.Request
func NewGetPaymentTaxValueParams ¶
func NewGetPaymentTaxValueParams() *GetPaymentTaxValueParams
NewGetPaymentTaxValueParams creates a new GetPaymentTaxValueParams object with the default values initialized.
func NewGetPaymentTaxValueParamsWithContext ¶
func NewGetPaymentTaxValueParamsWithContext(ctx context.Context) *GetPaymentTaxValueParams
NewGetPaymentTaxValueParamsWithContext creates a new GetPaymentTaxValueParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentTaxValueParamsWithHTTPClient ¶
func NewGetPaymentTaxValueParamsWithHTTPClient(client *http.Client) *GetPaymentTaxValueParams
NewGetPaymentTaxValueParamsWithHTTPClient creates a new GetPaymentTaxValueParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentTaxValueParamsWithTimeout ¶
func NewGetPaymentTaxValueParamsWithTimeout(timeout time.Duration) *GetPaymentTaxValueParams
NewGetPaymentTaxValueParamsWithTimeout creates a new GetPaymentTaxValueParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentTaxValueParams) SetContext ¶
func (o *GetPaymentTaxValueParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment tax value params
func (*GetPaymentTaxValueParams) SetHTTPClient ¶
func (o *GetPaymentTaxValueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment tax value params
func (*GetPaymentTaxValueParams) SetNamespace ¶
func (o *GetPaymentTaxValueParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get payment tax value params
func (*GetPaymentTaxValueParams) SetPaymentOrderNo ¶
func (o *GetPaymentTaxValueParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the get payment tax value params
func (*GetPaymentTaxValueParams) SetPaymentProvider ¶
func (o *GetPaymentTaxValueParams) SetPaymentProvider(paymentProvider string)
SetPaymentProvider adds the paymentProvider to the get payment tax value params
func (*GetPaymentTaxValueParams) SetTimeout ¶
func (o *GetPaymentTaxValueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment tax value params
func (*GetPaymentTaxValueParams) SetZipCode ¶
func (o *GetPaymentTaxValueParams) SetZipCode(zipCode *string)
SetZipCode adds the zipCode to the get payment tax value params
func (*GetPaymentTaxValueParams) WithContext ¶
func (o *GetPaymentTaxValueParams) WithContext(ctx context.Context) *GetPaymentTaxValueParams
WithContext adds the context to the get payment tax value params
func (*GetPaymentTaxValueParams) WithHTTPClient ¶
func (o *GetPaymentTaxValueParams) WithHTTPClient(client *http.Client) *GetPaymentTaxValueParams
WithHTTPClient adds the HTTPClient to the get payment tax value params
func (*GetPaymentTaxValueParams) WithNamespace ¶
func (o *GetPaymentTaxValueParams) WithNamespace(namespace string) *GetPaymentTaxValueParams
WithNamespace adds the namespace to the get payment tax value params
func (*GetPaymentTaxValueParams) WithPaymentOrderNo ¶
func (o *GetPaymentTaxValueParams) WithPaymentOrderNo(paymentOrderNo string) *GetPaymentTaxValueParams
WithPaymentOrderNo adds the paymentOrderNo to the get payment tax value params
func (*GetPaymentTaxValueParams) WithPaymentProvider ¶
func (o *GetPaymentTaxValueParams) WithPaymentProvider(paymentProvider string) *GetPaymentTaxValueParams
WithPaymentProvider adds the paymentProvider to the get payment tax value params
func (*GetPaymentTaxValueParams) WithTimeout ¶
func (o *GetPaymentTaxValueParams) WithTimeout(timeout time.Duration) *GetPaymentTaxValueParams
WithTimeout adds the timeout to the get payment tax value params
func (*GetPaymentTaxValueParams) WithZipCode ¶
func (o *GetPaymentTaxValueParams) WithZipCode(zipCode *string) *GetPaymentTaxValueParams
WithZipCode adds the zipCode to the get payment tax value params
func (*GetPaymentTaxValueParams) WriteToRequest ¶
func (o *GetPaymentTaxValueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentTaxValueReader ¶
type GetPaymentTaxValueReader struct {
// contains filtered or unexported fields
}
GetPaymentTaxValueReader is a Reader for the GetPaymentTaxValue structure.
func (*GetPaymentTaxValueReader) ReadResponse ¶
func (o *GetPaymentTaxValueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PayBadRequest ¶
type PayBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PayBadRequest 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 NewPayBadRequest ¶
func NewPayBadRequest() *PayBadRequest
NewPayBadRequest creates a PayBadRequest with default headers values
func (*PayBadRequest) Error ¶
func (o *PayBadRequest) Error() string
func (*PayBadRequest) GetPayload ¶
func (o *PayBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type PayConflict ¶
type PayConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PayConflict 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 NewPayConflict ¶
func NewPayConflict() *PayConflict
NewPayConflict creates a PayConflict with default headers values
func (*PayConflict) Error ¶
func (o *PayConflict) Error() string
func (*PayConflict) GetPayload ¶
func (o *PayConflict) GetPayload() *platformclientmodels.ErrorEntity
type PayNotFound ¶
type PayNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PayNotFound 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 NewPayNotFound ¶
func NewPayNotFound() *PayNotFound
NewPayNotFound creates a PayNotFound with default headers values
func (*PayNotFound) Error ¶
func (o *PayNotFound) Error() string
func (*PayNotFound) GetPayload ¶
func (o *PayNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PayOK ¶
type PayOK struct {
Payload *platformclientmodels.PaymentProcessResult
}
PayOK handles this case with default header values.
successful operation
func (*PayOK) GetPayload ¶
func (o *PayOK) GetPayload() *platformclientmodels.PaymentProcessResult
type PayParams ¶
type PayParams struct { /*Body*/ Body *platformclientmodels.PaymentToken /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string /*PaymentProvider payment provider */ PaymentProvider *string /*ZipCode zip code */ ZipCode *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PayParams contains all the parameters to send to the API endpoint for the pay operation typically these are written to a http.Request
func NewPayParams ¶
func NewPayParams() *PayParams
NewPayParams creates a new PayParams object with the default values initialized.
func NewPayParamsWithContext ¶
NewPayParamsWithContext creates a new PayParams object with the default values initialized, and the ability to set a context for a request
func NewPayParamsWithHTTPClient ¶
NewPayParamsWithHTTPClient creates a new PayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPayParamsWithTimeout ¶
NewPayParamsWithTimeout creates a new PayParams object with the default values initialized, and the ability to set a timeout on a request
func (*PayParams) SetBody ¶
func (o *PayParams) SetBody(body *platformclientmodels.PaymentToken)
SetBody adds the body to the pay params
func (*PayParams) SetContext ¶
SetContext adds the context to the pay params
func (*PayParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the pay params
func (*PayParams) SetNamespace ¶
SetNamespace adds the namespace to the pay params
func (*PayParams) SetPaymentOrderNo ¶
SetPaymentOrderNo adds the paymentOrderNo to the pay params
func (*PayParams) SetPaymentProvider ¶
SetPaymentProvider adds the paymentProvider to the pay params
func (*PayParams) SetTimeout ¶
SetTimeout adds the timeout to the pay params
func (*PayParams) SetZipCode ¶
SetZipCode adds the zipCode to the pay params
func (*PayParams) WithBody ¶
func (o *PayParams) WithBody(body *platformclientmodels.PaymentToken) *PayParams
WithBody adds the body to the pay params
func (*PayParams) WithContext ¶
WithContext adds the context to the pay params
func (*PayParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the pay params
func (*PayParams) WithNamespace ¶
WithNamespace adds the namespace to the pay params
func (*PayParams) WithPaymentOrderNo ¶
WithPaymentOrderNo adds the paymentOrderNo to the pay params
func (*PayParams) WithPaymentProvider ¶
WithPaymentProvider adds the paymentProvider to the pay params
func (*PayParams) WithTimeout ¶
WithTimeout adds the timeout to the pay params
func (*PayParams) WithZipCode ¶
WithZipCode adds the zipCode to the pay params
func (*PayParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PayReader ¶
type PayReader struct {
// contains filtered or unexported fields
}
PayReader is a Reader for the Pay structure.
func (*PayReader) ReadResponse ¶
func (o *PayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicCheckPaymentOrderPaidStatusNotFound ¶
type PublicCheckPaymentOrderPaidStatusNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCheckPaymentOrderPaidStatusNotFound 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 NewPublicCheckPaymentOrderPaidStatusNotFound ¶
func NewPublicCheckPaymentOrderPaidStatusNotFound() *PublicCheckPaymentOrderPaidStatusNotFound
NewPublicCheckPaymentOrderPaidStatusNotFound creates a PublicCheckPaymentOrderPaidStatusNotFound with default headers values
func (*PublicCheckPaymentOrderPaidStatusNotFound) Error ¶
func (o *PublicCheckPaymentOrderPaidStatusNotFound) Error() string
func (*PublicCheckPaymentOrderPaidStatusNotFound) GetPayload ¶
func (o *PublicCheckPaymentOrderPaidStatusNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PublicCheckPaymentOrderPaidStatusOK ¶
type PublicCheckPaymentOrderPaidStatusOK struct {
Payload *platformclientmodels.PaymentOrderPaidResult
}
PublicCheckPaymentOrderPaidStatusOK handles this case with default header values.
successful operation
func NewPublicCheckPaymentOrderPaidStatusOK ¶
func NewPublicCheckPaymentOrderPaidStatusOK() *PublicCheckPaymentOrderPaidStatusOK
NewPublicCheckPaymentOrderPaidStatusOK creates a PublicCheckPaymentOrderPaidStatusOK with default headers values
func (*PublicCheckPaymentOrderPaidStatusOK) Error ¶
func (o *PublicCheckPaymentOrderPaidStatusOK) Error() string
func (*PublicCheckPaymentOrderPaidStatusOK) GetPayload ¶
func (o *PublicCheckPaymentOrderPaidStatusOK) GetPayload() *platformclientmodels.PaymentOrderPaidResult
type PublicCheckPaymentOrderPaidStatusParams ¶
type PublicCheckPaymentOrderPaidStatusParams struct { /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicCheckPaymentOrderPaidStatusParams contains all the parameters to send to the API endpoint for the public check payment order paid status operation typically these are written to a http.Request
func NewPublicCheckPaymentOrderPaidStatusParams ¶
func NewPublicCheckPaymentOrderPaidStatusParams() *PublicCheckPaymentOrderPaidStatusParams
NewPublicCheckPaymentOrderPaidStatusParams creates a new PublicCheckPaymentOrderPaidStatusParams object with the default values initialized.
func NewPublicCheckPaymentOrderPaidStatusParamsWithContext ¶
func NewPublicCheckPaymentOrderPaidStatusParamsWithContext(ctx context.Context) *PublicCheckPaymentOrderPaidStatusParams
NewPublicCheckPaymentOrderPaidStatusParamsWithContext creates a new PublicCheckPaymentOrderPaidStatusParams object with the default values initialized, and the ability to set a context for a request
func NewPublicCheckPaymentOrderPaidStatusParamsWithHTTPClient ¶
func NewPublicCheckPaymentOrderPaidStatusParamsWithHTTPClient(client *http.Client) *PublicCheckPaymentOrderPaidStatusParams
NewPublicCheckPaymentOrderPaidStatusParamsWithHTTPClient creates a new PublicCheckPaymentOrderPaidStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicCheckPaymentOrderPaidStatusParamsWithTimeout ¶
func NewPublicCheckPaymentOrderPaidStatusParamsWithTimeout(timeout time.Duration) *PublicCheckPaymentOrderPaidStatusParams
NewPublicCheckPaymentOrderPaidStatusParamsWithTimeout creates a new PublicCheckPaymentOrderPaidStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicCheckPaymentOrderPaidStatusParams) SetContext ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) SetHTTPClient ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) SetNamespace ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) SetPaymentOrderNo ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) SetTimeout ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) WithContext ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) WithContext(ctx context.Context) *PublicCheckPaymentOrderPaidStatusParams
WithContext adds the context to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) WithHTTPClient ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) WithHTTPClient(client *http.Client) *PublicCheckPaymentOrderPaidStatusParams
WithHTTPClient adds the HTTPClient to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) WithNamespace ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) WithNamespace(namespace string) *PublicCheckPaymentOrderPaidStatusParams
WithNamespace adds the namespace to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) WithPaymentOrderNo ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) WithPaymentOrderNo(paymentOrderNo string) *PublicCheckPaymentOrderPaidStatusParams
WithPaymentOrderNo adds the paymentOrderNo to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) WithTimeout ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) WithTimeout(timeout time.Duration) *PublicCheckPaymentOrderPaidStatusParams
WithTimeout adds the timeout to the public check payment order paid status params
func (*PublicCheckPaymentOrderPaidStatusParams) WriteToRequest ¶
func (o *PublicCheckPaymentOrderPaidStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicCheckPaymentOrderPaidStatusReader ¶
type PublicCheckPaymentOrderPaidStatusReader struct {
// contains filtered or unexported fields
}
PublicCheckPaymentOrderPaidStatusReader is a Reader for the PublicCheckPaymentOrderPaidStatus structure.
func (*PublicCheckPaymentOrderPaidStatusReader) ReadResponse ¶
func (o *PublicCheckPaymentOrderPaidStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetPaymentMethodsNotFound ¶
type PublicGetPaymentMethodsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetPaymentMethodsNotFound 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 NewPublicGetPaymentMethodsNotFound ¶
func NewPublicGetPaymentMethodsNotFound() *PublicGetPaymentMethodsNotFound
NewPublicGetPaymentMethodsNotFound creates a PublicGetPaymentMethodsNotFound with default headers values
func (*PublicGetPaymentMethodsNotFound) Error ¶
func (o *PublicGetPaymentMethodsNotFound) Error() string
func (*PublicGetPaymentMethodsNotFound) GetPayload ¶
func (o *PublicGetPaymentMethodsNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PublicGetPaymentMethodsOK ¶
type PublicGetPaymentMethodsOK struct {
Payload []*platformclientmodels.PaymentMethod
}
PublicGetPaymentMethodsOK handles this case with default header values.
successful operation
func NewPublicGetPaymentMethodsOK ¶
func NewPublicGetPaymentMethodsOK() *PublicGetPaymentMethodsOK
NewPublicGetPaymentMethodsOK creates a PublicGetPaymentMethodsOK with default headers values
func (*PublicGetPaymentMethodsOK) Error ¶
func (o *PublicGetPaymentMethodsOK) Error() string
func (*PublicGetPaymentMethodsOK) GetPayload ¶
func (o *PublicGetPaymentMethodsOK) GetPayload() []*platformclientmodels.PaymentMethod
type PublicGetPaymentMethodsParams ¶
type PublicGetPaymentMethodsParams struct { /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetPaymentMethodsParams contains all the parameters to send to the API endpoint for the public get payment methods operation typically these are written to a http.Request
func NewPublicGetPaymentMethodsParams ¶
func NewPublicGetPaymentMethodsParams() *PublicGetPaymentMethodsParams
NewPublicGetPaymentMethodsParams creates a new PublicGetPaymentMethodsParams object with the default values initialized.
func NewPublicGetPaymentMethodsParamsWithContext ¶
func NewPublicGetPaymentMethodsParamsWithContext(ctx context.Context) *PublicGetPaymentMethodsParams
NewPublicGetPaymentMethodsParamsWithContext creates a new PublicGetPaymentMethodsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetPaymentMethodsParamsWithHTTPClient ¶
func NewPublicGetPaymentMethodsParamsWithHTTPClient(client *http.Client) *PublicGetPaymentMethodsParams
NewPublicGetPaymentMethodsParamsWithHTTPClient creates a new PublicGetPaymentMethodsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetPaymentMethodsParamsWithTimeout ¶
func NewPublicGetPaymentMethodsParamsWithTimeout(timeout time.Duration) *PublicGetPaymentMethodsParams
NewPublicGetPaymentMethodsParamsWithTimeout creates a new PublicGetPaymentMethodsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetPaymentMethodsParams) SetContext ¶
func (o *PublicGetPaymentMethodsParams) SetContext(ctx context.Context)
SetContext adds the context to the public get payment methods params
func (*PublicGetPaymentMethodsParams) SetHTTPClient ¶
func (o *PublicGetPaymentMethodsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get payment methods params
func (*PublicGetPaymentMethodsParams) SetNamespace ¶
func (o *PublicGetPaymentMethodsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get payment methods params
func (*PublicGetPaymentMethodsParams) SetPaymentOrderNo ¶
func (o *PublicGetPaymentMethodsParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the public get payment methods params
func (*PublicGetPaymentMethodsParams) SetTimeout ¶
func (o *PublicGetPaymentMethodsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get payment methods params
func (*PublicGetPaymentMethodsParams) WithContext ¶
func (o *PublicGetPaymentMethodsParams) WithContext(ctx context.Context) *PublicGetPaymentMethodsParams
WithContext adds the context to the public get payment methods params
func (*PublicGetPaymentMethodsParams) WithHTTPClient ¶
func (o *PublicGetPaymentMethodsParams) WithHTTPClient(client *http.Client) *PublicGetPaymentMethodsParams
WithHTTPClient adds the HTTPClient to the public get payment methods params
func (*PublicGetPaymentMethodsParams) WithNamespace ¶
func (o *PublicGetPaymentMethodsParams) WithNamespace(namespace string) *PublicGetPaymentMethodsParams
WithNamespace adds the namespace to the public get payment methods params
func (*PublicGetPaymentMethodsParams) WithPaymentOrderNo ¶
func (o *PublicGetPaymentMethodsParams) WithPaymentOrderNo(paymentOrderNo string) *PublicGetPaymentMethodsParams
WithPaymentOrderNo adds the paymentOrderNo to the public get payment methods params
func (*PublicGetPaymentMethodsParams) WithTimeout ¶
func (o *PublicGetPaymentMethodsParams) WithTimeout(timeout time.Duration) *PublicGetPaymentMethodsParams
WithTimeout adds the timeout to the public get payment methods params
func (*PublicGetPaymentMethodsParams) WriteToRequest ¶
func (o *PublicGetPaymentMethodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetPaymentMethodsReader ¶
type PublicGetPaymentMethodsReader struct {
// contains filtered or unexported fields
}
PublicGetPaymentMethodsReader is a Reader for the PublicGetPaymentMethods structure.
func (*PublicGetPaymentMethodsReader) ReadResponse ¶
func (o *PublicGetPaymentMethodsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetPaymentURLBadRequest ¶
type PublicGetPaymentURLBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetPaymentURLBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33321</td><td>Payment provider [{paymentProvider}] not support currency [{currency}]</td></tr><tr><td>33322</td><td>Payment provider [{paymentProvider}] not supported</td></tr></table>
func NewPublicGetPaymentURLBadRequest ¶
func NewPublicGetPaymentURLBadRequest() *PublicGetPaymentURLBadRequest
NewPublicGetPaymentURLBadRequest creates a PublicGetPaymentURLBadRequest with default headers values
func (*PublicGetPaymentURLBadRequest) Error ¶
func (o *PublicGetPaymentURLBadRequest) Error() string
func (*PublicGetPaymentURLBadRequest) GetPayload ¶
func (o *PublicGetPaymentURLBadRequest) GetPayload() *platformclientmodels.ErrorEntity
type PublicGetPaymentURLForbidden ¶
type PublicGetPaymentURLForbidden struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetPaymentURLForbidden 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 NewPublicGetPaymentURLForbidden ¶
func NewPublicGetPaymentURLForbidden() *PublicGetPaymentURLForbidden
NewPublicGetPaymentURLForbidden creates a PublicGetPaymentURLForbidden with default headers values
func (*PublicGetPaymentURLForbidden) Error ¶
func (o *PublicGetPaymentURLForbidden) Error() string
func (*PublicGetPaymentURLForbidden) GetPayload ¶
func (o *PublicGetPaymentURLForbidden) GetPayload() *platformclientmodels.ErrorEntity
type PublicGetPaymentURLNotFound ¶
type PublicGetPaymentURLNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetPaymentURLNotFound 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><tr><td>20008</td><td>user [{userId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicGetPaymentURLNotFound ¶
func NewPublicGetPaymentURLNotFound() *PublicGetPaymentURLNotFound
NewPublicGetPaymentURLNotFound creates a PublicGetPaymentURLNotFound with default headers values
func (*PublicGetPaymentURLNotFound) Error ¶
func (o *PublicGetPaymentURLNotFound) Error() string
func (*PublicGetPaymentURLNotFound) GetPayload ¶
func (o *PublicGetPaymentURLNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PublicGetPaymentURLOK ¶
type PublicGetPaymentURLOK struct {
Payload *platformclientmodels.PaymentURL
}
PublicGetPaymentURLOK handles this case with default header values.
successful operation
func NewPublicGetPaymentURLOK ¶
func NewPublicGetPaymentURLOK() *PublicGetPaymentURLOK
NewPublicGetPaymentURLOK creates a PublicGetPaymentURLOK with default headers values
func (*PublicGetPaymentURLOK) Error ¶
func (o *PublicGetPaymentURLOK) Error() string
func (*PublicGetPaymentURLOK) GetPayload ¶
func (o *PublicGetPaymentURLOK) GetPayload() *platformclientmodels.PaymentURL
type PublicGetPaymentURLParams ¶
type PublicGetPaymentURLParams struct { /*Body*/ Body *platformclientmodels.PaymentURLCreate /*Namespace*/ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetPaymentURLParams contains all the parameters to send to the API endpoint for the public get payment Url operation typically these are written to a http.Request
func NewPublicGetPaymentURLParams ¶
func NewPublicGetPaymentURLParams() *PublicGetPaymentURLParams
NewPublicGetPaymentURLParams creates a new PublicGetPaymentURLParams object with the default values initialized.
func NewPublicGetPaymentURLParamsWithContext ¶
func NewPublicGetPaymentURLParamsWithContext(ctx context.Context) *PublicGetPaymentURLParams
NewPublicGetPaymentURLParamsWithContext creates a new PublicGetPaymentURLParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetPaymentURLParamsWithHTTPClient ¶
func NewPublicGetPaymentURLParamsWithHTTPClient(client *http.Client) *PublicGetPaymentURLParams
NewPublicGetPaymentURLParamsWithHTTPClient creates a new PublicGetPaymentURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetPaymentURLParamsWithTimeout ¶
func NewPublicGetPaymentURLParamsWithTimeout(timeout time.Duration) *PublicGetPaymentURLParams
NewPublicGetPaymentURLParamsWithTimeout creates a new PublicGetPaymentURLParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetPaymentURLParams) SetBody ¶
func (o *PublicGetPaymentURLParams) SetBody(body *platformclientmodels.PaymentURLCreate)
SetBody adds the body to the public get payment Url params
func (*PublicGetPaymentURLParams) SetContext ¶
func (o *PublicGetPaymentURLParams) SetContext(ctx context.Context)
SetContext adds the context to the public get payment Url params
func (*PublicGetPaymentURLParams) SetHTTPClient ¶
func (o *PublicGetPaymentURLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get payment Url params
func (*PublicGetPaymentURLParams) SetNamespace ¶
func (o *PublicGetPaymentURLParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get payment Url params
func (*PublicGetPaymentURLParams) SetTimeout ¶
func (o *PublicGetPaymentURLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get payment Url params
func (*PublicGetPaymentURLParams) WithBody ¶
func (o *PublicGetPaymentURLParams) WithBody(body *platformclientmodels.PaymentURLCreate) *PublicGetPaymentURLParams
WithBody adds the body to the public get payment Url params
func (*PublicGetPaymentURLParams) WithContext ¶
func (o *PublicGetPaymentURLParams) WithContext(ctx context.Context) *PublicGetPaymentURLParams
WithContext adds the context to the public get payment Url params
func (*PublicGetPaymentURLParams) WithHTTPClient ¶
func (o *PublicGetPaymentURLParams) WithHTTPClient(client *http.Client) *PublicGetPaymentURLParams
WithHTTPClient adds the HTTPClient to the public get payment Url params
func (*PublicGetPaymentURLParams) WithNamespace ¶
func (o *PublicGetPaymentURLParams) WithNamespace(namespace string) *PublicGetPaymentURLParams
WithNamespace adds the namespace to the public get payment Url params
func (*PublicGetPaymentURLParams) WithTimeout ¶
func (o *PublicGetPaymentURLParams) WithTimeout(timeout time.Duration) *PublicGetPaymentURLParams
WithTimeout adds the timeout to the public get payment Url params
func (*PublicGetPaymentURLParams) WriteToRequest ¶
func (o *PublicGetPaymentURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetPaymentURLReader ¶
type PublicGetPaymentURLReader struct {
// contains filtered or unexported fields
}
PublicGetPaymentURLReader is a Reader for the PublicGetPaymentURL structure.
func (*PublicGetPaymentURLReader) ReadResponse ¶
func (o *PublicGetPaymentURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetQRCodeOK ¶
PublicGetQRCodeOK handles this case with default header values.
successful operation
func NewPublicGetQRCodeOK ¶
func NewPublicGetQRCodeOK(writer io.Writer) *PublicGetQRCodeOK
NewPublicGetQRCodeOK creates a PublicGetQRCodeOK with default headers values
func (*PublicGetQRCodeOK) Error ¶
func (o *PublicGetQRCodeOK) Error() string
func (*PublicGetQRCodeOK) GetPayload ¶
func (o *PublicGetQRCodeOK) GetPayload() io.Writer
type PublicGetQRCodeParams ¶
type PublicGetQRCodeParams struct { /*Code*/ Code string /*Namespace*/ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetQRCodeParams contains all the parameters to send to the API endpoint for the public get q r code operation typically these are written to a http.Request
func NewPublicGetQRCodeParams ¶
func NewPublicGetQRCodeParams() *PublicGetQRCodeParams
NewPublicGetQRCodeParams creates a new PublicGetQRCodeParams object with the default values initialized.
func NewPublicGetQRCodeParamsWithContext ¶
func NewPublicGetQRCodeParamsWithContext(ctx context.Context) *PublicGetQRCodeParams
NewPublicGetQRCodeParamsWithContext creates a new PublicGetQRCodeParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetQRCodeParamsWithHTTPClient ¶
func NewPublicGetQRCodeParamsWithHTTPClient(client *http.Client) *PublicGetQRCodeParams
NewPublicGetQRCodeParamsWithHTTPClient creates a new PublicGetQRCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetQRCodeParamsWithTimeout ¶
func NewPublicGetQRCodeParamsWithTimeout(timeout time.Duration) *PublicGetQRCodeParams
NewPublicGetQRCodeParamsWithTimeout creates a new PublicGetQRCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetQRCodeParams) SetCode ¶
func (o *PublicGetQRCodeParams) SetCode(code string)
SetCode adds the code to the public get q r code params
func (*PublicGetQRCodeParams) SetContext ¶
func (o *PublicGetQRCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the public get q r code params
func (*PublicGetQRCodeParams) SetHTTPClient ¶
func (o *PublicGetQRCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get q r code params
func (*PublicGetQRCodeParams) SetNamespace ¶
func (o *PublicGetQRCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get q r code params
func (*PublicGetQRCodeParams) SetTimeout ¶
func (o *PublicGetQRCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get q r code params
func (*PublicGetQRCodeParams) WithCode ¶
func (o *PublicGetQRCodeParams) WithCode(code string) *PublicGetQRCodeParams
WithCode adds the code to the public get q r code params
func (*PublicGetQRCodeParams) WithContext ¶
func (o *PublicGetQRCodeParams) WithContext(ctx context.Context) *PublicGetQRCodeParams
WithContext adds the context to the public get q r code params
func (*PublicGetQRCodeParams) WithHTTPClient ¶
func (o *PublicGetQRCodeParams) WithHTTPClient(client *http.Client) *PublicGetQRCodeParams
WithHTTPClient adds the HTTPClient to the public get q r code params
func (*PublicGetQRCodeParams) WithNamespace ¶
func (o *PublicGetQRCodeParams) WithNamespace(namespace string) *PublicGetQRCodeParams
WithNamespace adds the namespace to the public get q r code params
func (*PublicGetQRCodeParams) WithTimeout ¶
func (o *PublicGetQRCodeParams) WithTimeout(timeout time.Duration) *PublicGetQRCodeParams
WithTimeout adds the timeout to the public get q r code params
func (*PublicGetQRCodeParams) WriteToRequest ¶
func (o *PublicGetQRCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetQRCodeReader ¶
type PublicGetQRCodeReader struct {
// contains filtered or unexported fields
}
PublicGetQRCodeReader is a Reader for the PublicGetQRCode structure.
func (*PublicGetQRCodeReader) ReadResponse ¶
func (o *PublicGetQRCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUnpaidPaymentOrderConflict ¶
type PublicGetUnpaidPaymentOrderConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetUnpaidPaymentOrderConflict 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 NewPublicGetUnpaidPaymentOrderConflict ¶
func NewPublicGetUnpaidPaymentOrderConflict() *PublicGetUnpaidPaymentOrderConflict
NewPublicGetUnpaidPaymentOrderConflict creates a PublicGetUnpaidPaymentOrderConflict with default headers values
func (*PublicGetUnpaidPaymentOrderConflict) Error ¶
func (o *PublicGetUnpaidPaymentOrderConflict) Error() string
func (*PublicGetUnpaidPaymentOrderConflict) GetPayload ¶
func (o *PublicGetUnpaidPaymentOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
type PublicGetUnpaidPaymentOrderNotFound ¶
type PublicGetUnpaidPaymentOrderNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetUnpaidPaymentOrderNotFound 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><tr><td>20008</td><td>user [{userId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicGetUnpaidPaymentOrderNotFound ¶
func NewPublicGetUnpaidPaymentOrderNotFound() *PublicGetUnpaidPaymentOrderNotFound
NewPublicGetUnpaidPaymentOrderNotFound creates a PublicGetUnpaidPaymentOrderNotFound with default headers values
func (*PublicGetUnpaidPaymentOrderNotFound) Error ¶
func (o *PublicGetUnpaidPaymentOrderNotFound) Error() string
func (*PublicGetUnpaidPaymentOrderNotFound) GetPayload ¶
func (o *PublicGetUnpaidPaymentOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
type PublicGetUnpaidPaymentOrderOK ¶
type PublicGetUnpaidPaymentOrderOK struct {
Payload *platformclientmodels.PaymentOrderDetails
}
PublicGetUnpaidPaymentOrderOK handles this case with default header values.
successful operation
func NewPublicGetUnpaidPaymentOrderOK ¶
func NewPublicGetUnpaidPaymentOrderOK() *PublicGetUnpaidPaymentOrderOK
NewPublicGetUnpaidPaymentOrderOK creates a PublicGetUnpaidPaymentOrderOK with default headers values
func (*PublicGetUnpaidPaymentOrderOK) Error ¶
func (o *PublicGetUnpaidPaymentOrderOK) Error() string
func (*PublicGetUnpaidPaymentOrderOK) GetPayload ¶
func (o *PublicGetUnpaidPaymentOrderOK) GetPayload() *platformclientmodels.PaymentOrderDetails
type PublicGetUnpaidPaymentOrderParams ¶
type PublicGetUnpaidPaymentOrderParams struct { /*Namespace*/ Namespace string /*PaymentOrderNo*/ PaymentOrderNo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetUnpaidPaymentOrderParams contains all the parameters to send to the API endpoint for the public get unpaid payment order operation typically these are written to a http.Request
func NewPublicGetUnpaidPaymentOrderParams ¶
func NewPublicGetUnpaidPaymentOrderParams() *PublicGetUnpaidPaymentOrderParams
NewPublicGetUnpaidPaymentOrderParams creates a new PublicGetUnpaidPaymentOrderParams object with the default values initialized.
func NewPublicGetUnpaidPaymentOrderParamsWithContext ¶
func NewPublicGetUnpaidPaymentOrderParamsWithContext(ctx context.Context) *PublicGetUnpaidPaymentOrderParams
NewPublicGetUnpaidPaymentOrderParamsWithContext creates a new PublicGetUnpaidPaymentOrderParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUnpaidPaymentOrderParamsWithHTTPClient ¶
func NewPublicGetUnpaidPaymentOrderParamsWithHTTPClient(client *http.Client) *PublicGetUnpaidPaymentOrderParams
NewPublicGetUnpaidPaymentOrderParamsWithHTTPClient creates a new PublicGetUnpaidPaymentOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUnpaidPaymentOrderParamsWithTimeout ¶
func NewPublicGetUnpaidPaymentOrderParamsWithTimeout(timeout time.Duration) *PublicGetUnpaidPaymentOrderParams
NewPublicGetUnpaidPaymentOrderParamsWithTimeout creates a new PublicGetUnpaidPaymentOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUnpaidPaymentOrderParams) SetContext ¶
func (o *PublicGetUnpaidPaymentOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) SetHTTPClient ¶
func (o *PublicGetUnpaidPaymentOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) SetNamespace ¶
func (o *PublicGetUnpaidPaymentOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) SetPaymentOrderNo ¶
func (o *PublicGetUnpaidPaymentOrderParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) SetTimeout ¶
func (o *PublicGetUnpaidPaymentOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) WithContext ¶
func (o *PublicGetUnpaidPaymentOrderParams) WithContext(ctx context.Context) *PublicGetUnpaidPaymentOrderParams
WithContext adds the context to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) WithHTTPClient ¶
func (o *PublicGetUnpaidPaymentOrderParams) WithHTTPClient(client *http.Client) *PublicGetUnpaidPaymentOrderParams
WithHTTPClient adds the HTTPClient to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) WithNamespace ¶
func (o *PublicGetUnpaidPaymentOrderParams) WithNamespace(namespace string) *PublicGetUnpaidPaymentOrderParams
WithNamespace adds the namespace to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) WithPaymentOrderNo ¶
func (o *PublicGetUnpaidPaymentOrderParams) WithPaymentOrderNo(paymentOrderNo string) *PublicGetUnpaidPaymentOrderParams
WithPaymentOrderNo adds the paymentOrderNo to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) WithTimeout ¶
func (o *PublicGetUnpaidPaymentOrderParams) WithTimeout(timeout time.Duration) *PublicGetUnpaidPaymentOrderParams
WithTimeout adds the timeout to the public get unpaid payment order params
func (*PublicGetUnpaidPaymentOrderParams) WriteToRequest ¶
func (o *PublicGetUnpaidPaymentOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUnpaidPaymentOrderReader ¶
type PublicGetUnpaidPaymentOrderReader struct {
// contains filtered or unexported fields
}
PublicGetUnpaidPaymentOrderReader is a Reader for the PublicGetUnpaidPaymentOrder structure.
func (*PublicGetUnpaidPaymentOrderReader) ReadResponse ¶
func (o *PublicGetUnpaidPaymentOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicNormalizePaymentReturnURLNoContent ¶
type PublicNormalizePaymentReturnURLNoContent struct { }
PublicNormalizePaymentReturnURLNoContent handles this case with default header values.
successful operation
func NewPublicNormalizePaymentReturnURLNoContent ¶
func NewPublicNormalizePaymentReturnURLNoContent() *PublicNormalizePaymentReturnURLNoContent
NewPublicNormalizePaymentReturnURLNoContent creates a PublicNormalizePaymentReturnURLNoContent with default headers values
func (*PublicNormalizePaymentReturnURLNoContent) Error ¶
func (o *PublicNormalizePaymentReturnURLNoContent) Error() string
type PublicNormalizePaymentReturnURLParams ¶
type PublicNormalizePaymentReturnURLParams struct { /*PayerID PayPal payer id */ PayerID *string /*Foreinginvoice*/ Foreinginvoice *string /*InvoiceID*/ InvoiceID *string /*Namespace*/ Namespace string /*OrderNo Platform order no */ OrderNo string /*Payload*/ Payload *string /*PaymentOrderNo Platform payment order no */ PaymentOrderNo string /*PaymentProvider Platform payment provider */ PaymentProvider string /*ResultCode*/ ResultCode *string /*ReturnURL*/ ReturnURL string /*Status*/ Status *string /*Token PayPal token */ Token *string /*Type*/ Type *string /*UserID*/ UserID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicNormalizePaymentReturnURLParams contains all the parameters to send to the API endpoint for the public normalize payment return Url operation typically these are written to a http.Request
func NewPublicNormalizePaymentReturnURLParams ¶
func NewPublicNormalizePaymentReturnURLParams() *PublicNormalizePaymentReturnURLParams
NewPublicNormalizePaymentReturnURLParams creates a new PublicNormalizePaymentReturnURLParams object with the default values initialized.
func NewPublicNormalizePaymentReturnURLParamsWithContext ¶
func NewPublicNormalizePaymentReturnURLParamsWithContext(ctx context.Context) *PublicNormalizePaymentReturnURLParams
NewPublicNormalizePaymentReturnURLParamsWithContext creates a new PublicNormalizePaymentReturnURLParams object with the default values initialized, and the ability to set a context for a request
func NewPublicNormalizePaymentReturnURLParamsWithHTTPClient ¶
func NewPublicNormalizePaymentReturnURLParamsWithHTTPClient(client *http.Client) *PublicNormalizePaymentReturnURLParams
NewPublicNormalizePaymentReturnURLParamsWithHTTPClient creates a new PublicNormalizePaymentReturnURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicNormalizePaymentReturnURLParamsWithTimeout ¶
func NewPublicNormalizePaymentReturnURLParamsWithTimeout(timeout time.Duration) *PublicNormalizePaymentReturnURLParams
NewPublicNormalizePaymentReturnURLParamsWithTimeout creates a new PublicNormalizePaymentReturnURLParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicNormalizePaymentReturnURLParams) SetContext ¶
func (o *PublicNormalizePaymentReturnURLParams) SetContext(ctx context.Context)
SetContext adds the context to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetForeinginvoice ¶
func (o *PublicNormalizePaymentReturnURLParams) SetForeinginvoice(foreinginvoice *string)
SetForeinginvoice adds the foreinginvoice to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetHTTPClient ¶
func (o *PublicNormalizePaymentReturnURLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetInvoiceID ¶
func (o *PublicNormalizePaymentReturnURLParams) SetInvoiceID(invoiceID *string)
SetInvoiceID adds the invoiceId to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetNamespace ¶
func (o *PublicNormalizePaymentReturnURLParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetOrderNo ¶
func (o *PublicNormalizePaymentReturnURLParams) SetOrderNo(orderNo string)
SetOrderNo adds the orderNo to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetPayerID ¶
func (o *PublicNormalizePaymentReturnURLParams) SetPayerID(payerID *string)
SetPayerID adds the payerId to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetPayload ¶
func (o *PublicNormalizePaymentReturnURLParams) SetPayload(payload *string)
SetPayload adds the payload to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetPaymentOrderNo ¶
func (o *PublicNormalizePaymentReturnURLParams) SetPaymentOrderNo(paymentOrderNo string)
SetPaymentOrderNo adds the paymentOrderNo to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetPaymentProvider ¶
func (o *PublicNormalizePaymentReturnURLParams) SetPaymentProvider(paymentProvider string)
SetPaymentProvider adds the paymentProvider to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetResultCode ¶
func (o *PublicNormalizePaymentReturnURLParams) SetResultCode(resultCode *string)
SetResultCode adds the resultCode to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetReturnURL ¶
func (o *PublicNormalizePaymentReturnURLParams) SetReturnURL(returnURL string)
SetReturnURL adds the returnUrl to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetStatus ¶
func (o *PublicNormalizePaymentReturnURLParams) SetStatus(status *string)
SetStatus adds the status to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetTimeout ¶
func (o *PublicNormalizePaymentReturnURLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetToken ¶
func (o *PublicNormalizePaymentReturnURLParams) SetToken(token *string)
SetToken adds the token to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetType ¶
func (o *PublicNormalizePaymentReturnURLParams) SetType(typeVar *string)
SetType adds the type to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) SetUserID ¶
func (o *PublicNormalizePaymentReturnURLParams) SetUserID(userID *string)
SetUserID adds the userId to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithContext ¶
func (o *PublicNormalizePaymentReturnURLParams) WithContext(ctx context.Context) *PublicNormalizePaymentReturnURLParams
WithContext adds the context to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithForeinginvoice ¶
func (o *PublicNormalizePaymentReturnURLParams) WithForeinginvoice(foreinginvoice *string) *PublicNormalizePaymentReturnURLParams
WithForeinginvoice adds the foreinginvoice to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithHTTPClient ¶
func (o *PublicNormalizePaymentReturnURLParams) WithHTTPClient(client *http.Client) *PublicNormalizePaymentReturnURLParams
WithHTTPClient adds the HTTPClient to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithInvoiceID ¶
func (o *PublicNormalizePaymentReturnURLParams) WithInvoiceID(invoiceID *string) *PublicNormalizePaymentReturnURLParams
WithInvoiceID adds the invoiceID to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithNamespace ¶
func (o *PublicNormalizePaymentReturnURLParams) WithNamespace(namespace string) *PublicNormalizePaymentReturnURLParams
WithNamespace adds the namespace to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithOrderNo ¶
func (o *PublicNormalizePaymentReturnURLParams) WithOrderNo(orderNo string) *PublicNormalizePaymentReturnURLParams
WithOrderNo adds the orderNo to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithPayerID ¶
func (o *PublicNormalizePaymentReturnURLParams) WithPayerID(payerID *string) *PublicNormalizePaymentReturnURLParams
WithPayerID adds the payerID to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithPayload ¶
func (o *PublicNormalizePaymentReturnURLParams) WithPayload(payload *string) *PublicNormalizePaymentReturnURLParams
WithPayload adds the payload to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithPaymentOrderNo ¶
func (o *PublicNormalizePaymentReturnURLParams) WithPaymentOrderNo(paymentOrderNo string) *PublicNormalizePaymentReturnURLParams
WithPaymentOrderNo adds the paymentOrderNo to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithPaymentProvider ¶
func (o *PublicNormalizePaymentReturnURLParams) WithPaymentProvider(paymentProvider string) *PublicNormalizePaymentReturnURLParams
WithPaymentProvider adds the paymentProvider to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithResultCode ¶
func (o *PublicNormalizePaymentReturnURLParams) WithResultCode(resultCode *string) *PublicNormalizePaymentReturnURLParams
WithResultCode adds the resultCode to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithReturnURL ¶
func (o *PublicNormalizePaymentReturnURLParams) WithReturnURL(returnURL string) *PublicNormalizePaymentReturnURLParams
WithReturnURL adds the returnURL to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithStatus ¶
func (o *PublicNormalizePaymentReturnURLParams) WithStatus(status *string) *PublicNormalizePaymentReturnURLParams
WithStatus adds the status to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithTimeout ¶
func (o *PublicNormalizePaymentReturnURLParams) WithTimeout(timeout time.Duration) *PublicNormalizePaymentReturnURLParams
WithTimeout adds the timeout to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithToken ¶
func (o *PublicNormalizePaymentReturnURLParams) WithToken(token *string) *PublicNormalizePaymentReturnURLParams
WithToken adds the token to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithType ¶
func (o *PublicNormalizePaymentReturnURLParams) WithType(typeVar *string) *PublicNormalizePaymentReturnURLParams
WithType adds the typeVar to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WithUserID ¶
func (o *PublicNormalizePaymentReturnURLParams) WithUserID(userID *string) *PublicNormalizePaymentReturnURLParams
WithUserID adds the userID to the public normalize payment return Url params
func (*PublicNormalizePaymentReturnURLParams) WriteToRequest ¶
func (o *PublicNormalizePaymentReturnURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicNormalizePaymentReturnURLReader ¶
type PublicNormalizePaymentReturnURLReader struct {
// contains filtered or unexported fields
}
PublicNormalizePaymentReturnURLReader is a Reader for the PublicNormalizePaymentReturnURL structure.
func (*PublicNormalizePaymentReturnURLReader) ReadResponse ¶
func (o *PublicNormalizePaymentReturnURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_payment_customization_parameters.go
- get_payment_customization_responses.go
- get_payment_public_config_parameters.go
- get_payment_public_config_responses.go
- get_payment_tax_value_parameters.go
- get_payment_tax_value_responses.go
- pay_parameters.go
- pay_responses.go
- payment_station_client.go
- public_check_payment_order_paid_status_parameters.go
- public_check_payment_order_paid_status_responses.go
- public_get_payment_methods_parameters.go
- public_get_payment_methods_responses.go
- public_get_payment_url_parameters.go
- public_get_payment_url_responses.go
- public_get_q_r_code_parameters.go
- public_get_q_r_code_responses.go
- public_get_unpaid_payment_order_parameters.go
- public_get_unpaid_payment_order_responses.go
- public_normalize_payment_return_url_parameters.go
- public_normalize_payment_return_url_responses.go