payment_station

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GetPaymentCustomizationADYENConstant    = "ADYEN"
	GetPaymentCustomizationALIPAYConstant   = "ALIPAY"
	GetPaymentCustomizationCHECKOUTConstant = "CHECKOUT"
	GetPaymentCustomizationNEONPAYConstant  = "NEONPAY"
	GetPaymentCustomizationPAYPALConstant   = "PAYPAL"
	GetPaymentCustomizationSTRIPEConstant   = "STRIPE"
	GetPaymentCustomizationWALLETConstant   = "WALLET"
	GetPaymentCustomizationWXPAYConstant    = "WXPAY"
	GetPaymentCustomizationXSOLLAConstant   = "XSOLLA"
)

Get the enum in GetPaymentCustomizationParams

View Source
const (
	GetPaymentPublicConfigADYENConstant    = "ADYEN"
	GetPaymentPublicConfigALIPAYConstant   = "ALIPAY"
	GetPaymentPublicConfigCHECKOUTConstant = "CHECKOUT"
	GetPaymentPublicConfigNEONPAYConstant  = "NEONPAY"
	GetPaymentPublicConfigPAYPALConstant   = "PAYPAL"
	GetPaymentPublicConfigSTRIPEConstant   = "STRIPE"
	GetPaymentPublicConfigWALLETConstant   = "WALLET"
	GetPaymentPublicConfigWXPAYConstant    = "WXPAY"
	GetPaymentPublicConfigXSOLLAConstant   = "XSOLLA"
)

Get the enum in GetPaymentPublicConfigParams

View Source
const (
	GetPaymentTaxValueADYENConstant    = "ADYEN"
	GetPaymentTaxValueALIPAYConstant   = "ALIPAY"
	GetPaymentTaxValueCHECKOUTConstant = "CHECKOUT"
	GetPaymentTaxValueNEONPAYConstant  = "NEONPAY"
	GetPaymentTaxValuePAYPALConstant   = "PAYPAL"
	GetPaymentTaxValueSTRIPEConstant   = "STRIPE"
	GetPaymentTaxValueWALLETConstant   = "WALLET"
	GetPaymentTaxValueWXPAYConstant    = "WXPAY"
	GetPaymentTaxValueXSOLLAConstant   = "XSOLLA"
)

Get the enum in GetPaymentTaxValueParams

View Source
const (
	PayADYENConstant    = "ADYEN"
	PayALIPAYConstant   = "ALIPAY"
	PayCHECKOUTConstant = "CHECKOUT"
	PayNEONPAYConstant  = "NEONPAY"
	PayPAYPALConstant   = "PAYPAL"
	PaySTRIPEConstant   = "STRIPE"
	PayWALLETConstant   = "WALLET"
	PayWXPAYConstant    = "WXPAY"
	PayXSOLLAConstant   = "XSOLLA"
)

Get the enum in PayParams

View Source
const (
	PublicNormalizePaymentReturnURLADYENConstant    = "ADYEN"
	PublicNormalizePaymentReturnURLALIPAYConstant   = "ALIPAY"
	PublicNormalizePaymentReturnURLCHECKOUTConstant = "CHECKOUT"
	PublicNormalizePaymentReturnURLNEONPAYConstant  = "NEONPAY"
	PublicNormalizePaymentReturnURLPAYPALConstant   = "PAYPAL"
	PublicNormalizePaymentReturnURLSTRIPEConstant   = "STRIPE"
	PublicNormalizePaymentReturnURLWALLETConstant   = "WALLET"
	PublicNormalizePaymentReturnURLWXPAYConstant    = "WXPAY"
	PublicNormalizePaymentReturnURLXSOLLAConstant   = "XSOLLA"
)

Get the enum in PublicNormalizePaymentReturnURLParams

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 deprecated

func (a *Client) GetPaymentCustomization(params *GetPaymentCustomizationParams) (*GetPaymentCustomizationOK, error)

Deprecated: 2022-08-10 - Use GetPaymentCustomizationShort instead.

GetPaymentCustomization get payment provider customization

[Not supported yet in AGS Shared Cloud] Get payment provider customization, at current only Adyen provide customization. This api has been deprecated, pls use /public/namespaces/{namespace}/payment/publicconfig to get adyen config

Other detail info:

  • Returns : customization

func (*Client) GetPaymentCustomizationShort added in v0.8.0

func (a *Client) GetPaymentCustomizationShort(params *GetPaymentCustomizationParams) (*GetPaymentCustomizationOK, error)

GetPaymentCustomizationShort get payment provider customization

[Not supported yet in AGS Shared Cloud] Get payment provider customization, at current only Adyen provide customization. This api has been deprecated, pls use /public/namespaces/{namespace}/payment/publicconfig to get adyen config

Other detail info:

  • Returns : customization

func (*Client) GetPaymentPublicConfig deprecated

func (a *Client) GetPaymentPublicConfig(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error)

Deprecated: 2022-08-10 - Use GetPaymentPublicConfigShort instead.

GetPaymentPublicConfig get payment provider public config

[Not supported yet in AGS Shared Cloud] Get payment provider public config, at current only Strip provide public config.

Other detail info:

  • Returns : Public config

func (*Client) GetPaymentPublicConfigShort added in v0.8.0

func (a *Client) GetPaymentPublicConfigShort(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error)

GetPaymentPublicConfigShort get payment provider public config

[Not supported yet in AGS Shared Cloud] Get payment provider public config, at current only Strip provide public config.

Other detail info:

  • Returns : Public config

func (*Client) GetPaymentTaxValue deprecated

Deprecated: 2022-08-10 - Use GetPaymentTaxValueShort instead.

GetPaymentTaxValue get tax result of a payment order

[Not supported yet in AGS Shared Cloud] Check and get a payment order's should pay tax.

Other detail info:

  • Returns : tax result

func (*Client) GetPaymentTaxValueShort added in v0.8.0

func (a *Client) GetPaymentTaxValueShort(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, error)

GetPaymentTaxValueShort get tax result of a payment order

[Not supported yet in AGS Shared Cloud] Check and get a payment order's should pay tax.

Other detail info:

  • Returns : tax result

func (*Client) Pay deprecated

func (a *Client) Pay(params *PayParams) (*PayOK, *PayBadRequest, *PayNotFound, *PayConflict, error)

Deprecated: 2022-08-10 - Use PayShort instead.

Pay do payment

[Not supported yet in AGS Shared Cloud] Do payment(For now, this only support checkout.com).

Other detail info:

  • Returns : Payment process result

func (*Client) PayShort added in v0.8.0

func (a *Client) PayShort(params *PayParams) (*PayOK, error)

PayShort do payment

[Not supported yet in AGS Shared Cloud] Do payment(For now, this only support checkout.com).

Other detail info:

  • Returns : Payment process result

func (*Client) PublicCheckPaymentOrderPaidStatus deprecated

Deprecated: 2022-08-10 - Use PublicCheckPaymentOrderPaidStatusShort instead.

PublicCheckPaymentOrderPaidStatus check payment order paid status

[Not supported yet in AGS Shared Cloud] Check payment order paid status.

Other detail info:

  • Returns : Payment order paid result

func (*Client) PublicCheckPaymentOrderPaidStatusShort added in v0.8.0

func (a *Client) PublicCheckPaymentOrderPaidStatusShort(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, error)

PublicCheckPaymentOrderPaidStatusShort check payment order paid status

[Not supported yet in AGS Shared Cloud] Check payment order paid status.

Other detail info:

  • Returns : Payment order paid result

func (*Client) PublicGetPaymentMethods deprecated

Deprecated: 2022-08-10 - Use PublicGetPaymentMethodsShort instead.

PublicGetPaymentMethods get payment methods

[Not supported yet in AGS Shared Cloud] Get payment methods.

Other detail info:

  • Returns : Payment method list

func (*Client) PublicGetPaymentMethodsShort added in v0.8.0

func (a *Client) PublicGetPaymentMethodsShort(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, error)

PublicGetPaymentMethodsShort get payment methods

[Not supported yet in AGS Shared Cloud] Get payment methods.

Other detail info:

  • Returns : Payment method list

func (*Client) PublicGetPaymentURL deprecated

Deprecated: 2022-08-10 - Use PublicGetPaymentURLShort instead.

PublicGetPaymentURL get payment url

[Not supported yet in AGS Shared Cloud] Get payment url.

Other detail info:

  • For Neon Pay payment provider, the 'neonPayConfig' field can be used to provide success and cancel URL. If 'neonPayConfig' field is not present, the 'returnUrl' will be used for both success and cancel URL.
  • Returns : Get payment link

func (*Client) PublicGetPaymentURLShort added in v0.8.0

func (a *Client) PublicGetPaymentURLShort(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, error)

PublicGetPaymentURLShort get payment url

[Not supported yet in AGS Shared Cloud] Get payment url.

Other detail info:

  • For Neon Pay payment provider, the 'neonPayConfig' field can be used to provide success and cancel URL. If 'neonPayConfig' field is not present, the 'returnUrl' will be used for both success and cancel URL.
  • Returns : Get payment link

func (*Client) PublicGetQRCode deprecated

func (a *Client) PublicGetQRCode(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error)

Deprecated: 2022-08-10 - Use PublicGetQRCodeShort instead.

PublicGetQRCode get qrcode

[Not supported yet in AGS Shared Cloud] Get qrcode.

Other detail info:

  • Returns : QRCode image stream

func (*Client) PublicGetQRCodeShort added in v0.8.0

func (a *Client) PublicGetQRCodeShort(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error)

PublicGetQRCodeShort get qrcode

[Not supported yet in AGS Shared Cloud] Get qrcode.

Other detail info:

  • Returns : QRCode image stream

func (*Client) PublicGetUnpaidPaymentOrder deprecated

Deprecated: 2022-08-10 - Use PublicGetUnpaidPaymentOrderShort instead.

PublicGetUnpaidPaymentOrder get payment order info

[Not supported yet in AGS Shared Cloud] Get payment order info.

Other detail info:

  • Returns : Payment order details

func (*Client) PublicGetUnpaidPaymentOrderShort added in v0.8.0

func (a *Client) PublicGetUnpaidPaymentOrderShort(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, error)

PublicGetUnpaidPaymentOrderShort get payment order info

[Not supported yet in AGS Shared Cloud] Get payment order info.

Other detail info:

  • Returns : Payment order details

func (*Client) PublicNormalizePaymentReturnURL deprecated

Deprecated: 2022-08-10 - Use PublicNormalizePaymentReturnURLShort instead.

PublicNormalizePaymentReturnURL normalize payment return url

[Not supported yet in AGS Shared Cloud] Normalize payment return url for payment provider

Field | Type | Required | Description -------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|----------|----------------------- orderNo | String | Yes | order no paymentStatus | String | Yes |

  • DONE: The payment was successfully completed.
  • CANCELLED: The payment was cancelled by the shopper before completion, or the shopper returned to the merchant's site before completing the transaction.
  • 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.

  • RECEIVED: Inform the shopper that you've received their order, and are waiting for the payment to clear.
  • UNKNOWN: An error occurred during the payment processing.
  • FAILED: Shopper paid failed because of various reasons.

reason | String | No | payment status reason

Other detail info:

func (*Client) PublicNormalizePaymentReturnURLShort added in v0.8.0

func (a *Client) PublicNormalizePaymentReturnURLShort(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, error)

PublicNormalizePaymentReturnURLShort normalize payment return url

[Not supported yet in AGS Shared Cloud] Normalize payment return url for payment provider

Field | Type | Required | Description -------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|----------|----------------------- orderNo | String | Yes | order no paymentStatus | String | Yes |

  • DONE: The payment was successfully completed.
  • CANCELLED: The payment was cancelled by the shopper before completion, or the shopper returned to the merchant's site before completing the transaction.
  • 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.

  • RECEIVED: Inform the shopper that you've received their order, and are waiting for the payment to clear.
  • UNKNOWN: An error occurred during the payment processing.
  • FAILED: Shopper paid failed because of various reasons.

reason | String | No | payment status reason

Other detail info:

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)
	GetPaymentCustomizationShort(params *GetPaymentCustomizationParams) (*GetPaymentCustomizationOK, error)
	PublicGetPaymentURL(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, *PublicGetPaymentURLBadRequest, *PublicGetPaymentURLForbidden, *PublicGetPaymentURLNotFound, error)
	PublicGetPaymentURLShort(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, error)
	PublicGetPaymentMethods(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, *PublicGetPaymentMethodsNotFound, error)
	PublicGetPaymentMethodsShort(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, error)
	PublicGetUnpaidPaymentOrder(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, *PublicGetUnpaidPaymentOrderNotFound, *PublicGetUnpaidPaymentOrderConflict, error)
	PublicGetUnpaidPaymentOrderShort(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, error)
	Pay(params *PayParams) (*PayOK, *PayBadRequest, *PayNotFound, *PayConflict, error)
	PayShort(params *PayParams) (*PayOK, error)
	PublicCheckPaymentOrderPaidStatus(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, *PublicCheckPaymentOrderPaidStatusNotFound, error)
	PublicCheckPaymentOrderPaidStatusShort(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, error)
	GetPaymentPublicConfig(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error)
	GetPaymentPublicConfigShort(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error)
	PublicGetQRCode(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error)
	PublicGetQRCodeShort(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error)
	PublicNormalizePaymentReturnURL(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, *PublicNormalizePaymentReturnURLTemporaryRedirect, error)
	PublicNormalizePaymentReturnURLShort(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, error)
	GetPaymentTaxValue(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, *GetPaymentTaxValueBadRequest, *GetPaymentTaxValueNotFound, error)
	GetPaymentTaxValueShort(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, 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 (*GetPaymentCustomizationOK) ToJSONString added in v0.25.0

func (o *GetPaymentCustomizationOK) ToJSONString() string

type GetPaymentCustomizationParams

type GetPaymentCustomizationParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Sandbox*/
	Sandbox *bool
	/*PaymentProvider*/
	PaymentProvider string
	/*Region*/
	Region string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

func (o *GetPaymentCustomizationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get payment customization params

func (*GetPaymentCustomizationParams) SetContext

func (o *GetPaymentCustomizationParams) SetContext(ctx context.Context)

SetContext adds the context to the get payment customization params

func (*GetPaymentCustomizationParams) SetFlightId added in v0.63.0

func (o *GetPaymentCustomizationParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetPaymentCustomizationParams) SetHTTPClient

func (o *GetPaymentCustomizationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get payment customization params

func (*GetPaymentCustomizationParams) SetHTTPClientTransport added in v0.19.0

func (o *GetPaymentCustomizationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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

WithContext adds the context to the get payment customization params

func (*GetPaymentCustomizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment customization params

func (*GetPaymentCustomizationParams) WithNamespace

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

WithRegion adds the region to the get payment customization params

func (*GetPaymentCustomizationParams) WithSandbox

WithSandbox adds the sandbox to the get payment customization params

func (*GetPaymentCustomizationParams) WithTimeout

WithTimeout adds the timeout to the get payment customization params

func (*GetPaymentCustomizationParams) WriteToRequest

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{}

func (*GetPaymentPublicConfigOK) ToJSONString added in v0.25.0

func (o *GetPaymentPublicConfigOK) ToJSONString() string

type GetPaymentPublicConfigParams

type GetPaymentPublicConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Sandbox*/
	Sandbox *bool
	/*PaymentProvider*/
	PaymentProvider string
	/*Region*/
	Region string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

func (o *GetPaymentPublicConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get payment public config params

func (*GetPaymentPublicConfigParams) SetContext

func (o *GetPaymentPublicConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the get payment public config params

func (*GetPaymentPublicConfigParams) SetFlightId added in v0.63.0

func (o *GetPaymentPublicConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetPaymentPublicConfigParams) SetHTTPClient

func (o *GetPaymentPublicConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get payment public config params

func (*GetPaymentPublicConfigParams) SetHTTPClientTransport added in v0.19.0

func (o *GetPaymentPublicConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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

WithContext adds the context to the get payment public config params

func (*GetPaymentPublicConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment public config params

func (*GetPaymentPublicConfigParams) WithNamespace

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

WithRegion adds the region to the get payment public config params

func (*GetPaymentPublicConfigParams) WithSandbox

WithSandbox adds the sandbox to the get payment public config params

func (*GetPaymentPublicConfigParams) WithTimeout

WithTimeout adds the timeout to the get payment public config params

func (*GetPaymentPublicConfigParams) WriteToRequest

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

func (*GetPaymentTaxValueBadRequest) ToJSONString added in v0.25.0

func (o *GetPaymentTaxValueBadRequest) ToJSONString() string

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

func (*GetPaymentTaxValueNotFound) ToJSONString added in v0.25.0

func (o *GetPaymentTaxValueNotFound) ToJSONString() string

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

func (o *GetPaymentTaxValueOK) ToJSONString() string

type GetPaymentTaxValueParams

type GetPaymentTaxValueParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ZipCode*/
	ZipCode *string
	/*PaymentOrderNo*/
	PaymentOrderNo string
	/*PaymentProvider*/
	PaymentProvider string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

func (o *GetPaymentTaxValueParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get payment tax value params

func (*GetPaymentTaxValueParams) SetContext

func (o *GetPaymentTaxValueParams) SetContext(ctx context.Context)

SetContext adds the context to the get payment tax value params

func (*GetPaymentTaxValueParams) SetFlightId added in v0.63.0

func (o *GetPaymentTaxValueParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetPaymentTaxValueParams) SetHTTPClient

func (o *GetPaymentTaxValueParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get payment tax value params

func (*GetPaymentTaxValueParams) SetHTTPClientTransport added in v0.19.0

func (o *GetPaymentTaxValueParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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

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

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

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

func (o *PayBadRequest) ToJSONString() string

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

func (*PayConflict) ToJSONString added in v0.25.0

func (o *PayConflict) ToJSONString() string

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

func (*PayNotFound) ToJSONString added in v0.25.0

func (o *PayNotFound) ToJSONString() string

type PayOK

type PayOK struct {
	Payload *platformclientmodels.PaymentProcessResult
}

PayOK handles this case with default header values.

successful operation

func NewPayOK

func NewPayOK() *PayOK

NewPayOK creates a PayOK with default headers values

func (*PayOK) Error

func (o *PayOK) Error() string

func (*PayOK) GetPayload

func (*PayOK) ToJSONString added in v0.25.0

func (o *PayOK) ToJSONString() string

type PayParams

type PayParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.PaymentToken
	/*Namespace*/
	Namespace string
	/*PaymentOrderNo*/
	PaymentOrderNo string
	/*PaymentProvider
	  payment provider

	*/
	PaymentProvider *string
	/*ZipCode
	  zip code

	*/
	ZipCode *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewPayParamsWithContext(ctx context.Context) *PayParams

NewPayParamsWithContext creates a new PayParams object with the default values initialized, and the ability to set a context for a request

func NewPayParamsWithHTTPClient

func NewPayParamsWithHTTPClient(client *http.Client) *PayParams

NewPayParamsWithHTTPClient creates a new PayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPayParamsWithTimeout

func NewPayParamsWithTimeout(timeout time.Duration) *PayParams

NewPayParamsWithTimeout creates a new PayParams object with the default values initialized, and the ability to set a timeout on a request

func (*PayParams) SetAuthInfoWriter added in v0.17.0

func (o *PayParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the pay params

func (*PayParams) SetBody

func (o *PayParams) SetBody(body *platformclientmodels.PaymentToken)

SetBody adds the body to the pay params

func (*PayParams) SetContext

func (o *PayParams) SetContext(ctx context.Context)

SetContext adds the context to the pay params

func (*PayParams) SetFlightId added in v0.63.0

func (o *PayParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PayParams) SetHTTPClient

func (o *PayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pay params

func (*PayParams) SetHTTPClientTransport added in v0.19.0

func (o *PayParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the pay params

func (*PayParams) SetNamespace

func (o *PayParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the pay params

func (*PayParams) SetPaymentOrderNo

func (o *PayParams) SetPaymentOrderNo(paymentOrderNo string)

SetPaymentOrderNo adds the paymentOrderNo to the pay params

func (*PayParams) SetPaymentProvider

func (o *PayParams) SetPaymentProvider(paymentProvider *string)

SetPaymentProvider adds the paymentProvider to the pay params

func (*PayParams) SetTimeout

func (o *PayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pay params

func (*PayParams) SetZipCode

func (o *PayParams) SetZipCode(zipCode *string)

SetZipCode adds the zipCode to the pay params

func (*PayParams) WithBody

WithBody adds the body to the pay params

func (*PayParams) WithContext

func (o *PayParams) WithContext(ctx context.Context) *PayParams

WithContext adds the context to the pay params

func (*PayParams) WithHTTPClient

func (o *PayParams) WithHTTPClient(client *http.Client) *PayParams

WithHTTPClient adds the HTTPClient to the pay params

func (*PayParams) WithNamespace

func (o *PayParams) WithNamespace(namespace string) *PayParams

WithNamespace adds the namespace to the pay params

func (*PayParams) WithPaymentOrderNo

func (o *PayParams) WithPaymentOrderNo(paymentOrderNo string) *PayParams

WithPaymentOrderNo adds the paymentOrderNo to the pay params

func (*PayParams) WithPaymentProvider

func (o *PayParams) WithPaymentProvider(paymentProvider *string) *PayParams

WithPaymentProvider adds the paymentProvider to the pay params

func (*PayParams) WithTimeout

func (o *PayParams) WithTimeout(timeout time.Duration) *PayParams

WithTimeout adds the timeout to the pay params

func (*PayParams) WithZipCode

func (o *PayParams) WithZipCode(zipCode *string) *PayParams

WithZipCode adds the zipCode to the pay params

func (*PayParams) WriteToRequest

func (o *PayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

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

func (*PublicCheckPaymentOrderPaidStatusNotFound) ToJSONString added in v0.25.0

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

func (*PublicCheckPaymentOrderPaidStatusOK) ToJSONString added in v0.25.0

func (o *PublicCheckPaymentOrderPaidStatusOK) ToJSONString() string

type PublicCheckPaymentOrderPaidStatusParams

type PublicCheckPaymentOrderPaidStatusParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*PaymentOrderNo*/
	PaymentOrderNo string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

func (o *PublicCheckPaymentOrderPaidStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public check payment order paid status params

func (*PublicCheckPaymentOrderPaidStatusParams) SetContext

SetContext adds the context to the public check payment order paid status params

func (*PublicCheckPaymentOrderPaidStatusParams) SetFlightId added in v0.63.0

func (o *PublicCheckPaymentOrderPaidStatusParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicCheckPaymentOrderPaidStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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

WithContext adds the context to the public check payment order paid status params

func (*PublicCheckPaymentOrderPaidStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public check payment order paid status params

func (*PublicCheckPaymentOrderPaidStatusParams) WithNamespace

WithNamespace adds the namespace to the public check payment order paid status params

func (*PublicCheckPaymentOrderPaidStatusParams) WithPaymentOrderNo

WithPaymentOrderNo adds the paymentOrderNo to the public check payment order paid status params

func (*PublicCheckPaymentOrderPaidStatusParams) WithTimeout

WithTimeout adds the timeout to the public check payment order paid status params

func (*PublicCheckPaymentOrderPaidStatusParams) WriteToRequest

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

func (*PublicGetPaymentMethodsNotFound) ToJSONString added in v0.25.0

func (o *PublicGetPaymentMethodsNotFound) ToJSONString() string

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

func (o *PublicGetPaymentMethodsOK) ToJSONString() string

type PublicGetPaymentMethodsParams

type PublicGetPaymentMethodsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*PaymentOrderNo*/
	PaymentOrderNo string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetPaymentMethodsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get payment methods params

func (*PublicGetPaymentMethodsParams) SetContext

func (o *PublicGetPaymentMethodsParams) SetContext(ctx context.Context)

SetContext adds the context to the public get payment methods params

func (*PublicGetPaymentMethodsParams) SetFlightId added in v0.63.0

func (o *PublicGetPaymentMethodsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetPaymentMethodsParams) SetHTTPClient

func (o *PublicGetPaymentMethodsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get payment methods params

func (*PublicGetPaymentMethodsParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetPaymentMethodsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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

WithContext adds the context to the public get payment methods params

func (*PublicGetPaymentMethodsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get payment methods params

func (*PublicGetPaymentMethodsParams) WithNamespace

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

WithTimeout adds the timeout to the public get payment methods params

func (*PublicGetPaymentMethodsParams) WriteToRequest

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><tr><td>33332</td><td>Amount too small, please contact administrator</td></tr><tr><td>33333</td><td>Neon Pay checkout payment order [{paymentOrderNo}] failed with message [{errMsg}]</td></tr></table>

func NewPublicGetPaymentURLBadRequest

func NewPublicGetPaymentURLBadRequest() *PublicGetPaymentURLBadRequest

NewPublicGetPaymentURLBadRequest creates a PublicGetPaymentURLBadRequest with default headers values

func (*PublicGetPaymentURLBadRequest) Error

func (*PublicGetPaymentURLBadRequest) GetPayload

func (*PublicGetPaymentURLBadRequest) ToJSONString added in v0.25.0

func (o *PublicGetPaymentURLBadRequest) ToJSONString() string

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

func (*PublicGetPaymentURLForbidden) ToJSONString added in v0.25.0

func (o *PublicGetPaymentURLForbidden) ToJSONString() string

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

func (*PublicGetPaymentURLNotFound) ToJSONString added in v0.25.0

func (o *PublicGetPaymentURLNotFound) ToJSONString() string

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

func (o *PublicGetPaymentURLOK) ToJSONString() string

type PublicGetPaymentURLParams

type PublicGetPaymentURLParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.PaymentURLCreate
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetPaymentURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get payment url params

func (*PublicGetPaymentURLParams) SetBody

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) SetFlightId added in v0.63.0

func (o *PublicGetPaymentURLParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetPaymentURLParams) SetHTTPClient

func (o *PublicGetPaymentURLParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get payment url params

func (*PublicGetPaymentURLParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetPaymentURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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

WithBody adds the body to the public get payment url params

func (*PublicGetPaymentURLParams) WithContext

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

WithTimeout adds the timeout to the public get payment url params

func (*PublicGetPaymentURLParams) WriteToRequest

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

type PublicGetQRCodeOK struct {
	Payload io.Writer
}

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

func (*PublicGetQRCodeOK) ToJSONString added in v0.25.0

func (o *PublicGetQRCodeOK) ToJSONString() string

type PublicGetQRCodeParams

type PublicGetQRCodeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Code*/
	Code string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetQRCodeParams contains all the parameters to send to the API endpoint for the public get qr 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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetQRCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get qr code params

func (*PublicGetQRCodeParams) SetCode

func (o *PublicGetQRCodeParams) SetCode(code string)

SetCode adds the code to the public get qr code params

func (*PublicGetQRCodeParams) SetContext

func (o *PublicGetQRCodeParams) SetContext(ctx context.Context)

SetContext adds the context to the public get qr code params

func (*PublicGetQRCodeParams) SetFlightId added in v0.63.0

func (o *PublicGetQRCodeParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetQRCodeParams) SetHTTPClient

func (o *PublicGetQRCodeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get qr code params

func (*PublicGetQRCodeParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetQRCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get qr code params

func (*PublicGetQRCodeParams) SetNamespace

func (o *PublicGetQRCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get qr code params

func (*PublicGetQRCodeParams) SetTimeout

func (o *PublicGetQRCodeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get qr code params

func (*PublicGetQRCodeParams) WithCode

WithCode adds the code to the public get qr code params

func (*PublicGetQRCodeParams) WithContext

WithContext adds the context to the public get qr code params

func (*PublicGetQRCodeParams) WithHTTPClient

func (o *PublicGetQRCodeParams) WithHTTPClient(client *http.Client) *PublicGetQRCodeParams

WithHTTPClient adds the HTTPClient to the public get qr code params

func (*PublicGetQRCodeParams) WithNamespace

func (o *PublicGetQRCodeParams) WithNamespace(namespace string) *PublicGetQRCodeParams

WithNamespace adds the namespace to the public get qr code params

func (*PublicGetQRCodeParams) WithTimeout

func (o *PublicGetQRCodeParams) WithTimeout(timeout time.Duration) *PublicGetQRCodeParams

WithTimeout adds the timeout to the public get qr 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 (*PublicGetUnpaidPaymentOrderConflict) GetPayload

func (*PublicGetUnpaidPaymentOrderConflict) ToJSONString added in v0.25.0

func (o *PublicGetUnpaidPaymentOrderConflict) ToJSONString() string

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

func (*PublicGetUnpaidPaymentOrderNotFound) ToJSONString added in v0.25.0

func (o *PublicGetUnpaidPaymentOrderNotFound) ToJSONString() string

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

func (*PublicGetUnpaidPaymentOrderOK) ToJSONString added in v0.25.0

func (o *PublicGetUnpaidPaymentOrderOK) ToJSONString() string

type PublicGetUnpaidPaymentOrderParams

type PublicGetUnpaidPaymentOrderParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*PaymentOrderNo*/
	PaymentOrderNo string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetUnpaidPaymentOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get unpaid payment order params

func (*PublicGetUnpaidPaymentOrderParams) SetContext

SetContext adds the context to the public get unpaid payment order params

func (*PublicGetUnpaidPaymentOrderParams) SetFlightId added in v0.63.0

func (o *PublicGetUnpaidPaymentOrderParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUnpaidPaymentOrderParams) SetHTTPClient

func (o *PublicGetUnpaidPaymentOrderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get unpaid payment order params

func (*PublicGetUnpaidPaymentOrderParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUnpaidPaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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

WithContext adds the context to the public get unpaid payment order params

func (*PublicGetUnpaidPaymentOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get unpaid payment order params

func (*PublicGetUnpaidPaymentOrderParams) WithNamespace

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

WithTimeout adds the timeout to the public get unpaid payment order params

func (*PublicGetUnpaidPaymentOrderParams) WriteToRequest

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.

no content.(if query param 'returnUrl' is empty)

func NewPublicNormalizePaymentReturnURLNoContent

func NewPublicNormalizePaymentReturnURLNoContent() *PublicNormalizePaymentReturnURLNoContent

NewPublicNormalizePaymentReturnURLNoContent creates a PublicNormalizePaymentReturnURLNoContent with default headers values

func (*PublicNormalizePaymentReturnURLNoContent) Error

type PublicNormalizePaymentReturnURLParams

type PublicNormalizePaymentReturnURLParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*PayerID
	  PayPal payer id

	*/
	PayerID *string
	/*Foreinginvoice*/
	Foreinginvoice *string
	/*InvoiceID*/
	InvoiceID *string
	/*Payload
	  adyen redirect session data for checkout sdk

	*/
	Payload *string
	/*RedirectResult
	  adyen redirect session data for drop in

	*/
	RedirectResult *string
	/*ResultCode
	  adyen redirect resultCode from checkout sdk

	*/
	ResultCode *string
	/*SessionID
	  adyen redirect session Id for drop in

	*/
	SessionID *string
	/*Status
	  paypal and xsolla will return this

	*/
	Status *string
	/*Token
	  PayPal token

	*/
	Token *string
	/*Type*/
	Type *string
	/*UserID*/
	UserID *string
	/*OrderNo
	  Platform order no

	*/
	OrderNo string
	/*PaymentOrderNo
	  Platform payment order no

	*/
	PaymentOrderNo string
	/*PaymentProvider
	  Platform payment provider

	*/
	PaymentProvider string
	/*ReturnURL*/
	ReturnURL string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

func (o *PublicNormalizePaymentReturnURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) SetContext

SetContext adds the context to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) SetFlightId added in v0.63.0

func (o *PublicNormalizePaymentReturnURLParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicNormalizePaymentReturnURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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) SetRedirectResult added in v0.14.0

func (o *PublicNormalizePaymentReturnURLParams) SetRedirectResult(redirectResult *string)

SetRedirectResult adds the redirectResult 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) SetSessionID added in v0.14.0

func (o *PublicNormalizePaymentReturnURLParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId 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

WithContext adds the context to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithForeinginvoice

WithForeinginvoice adds the foreinginvoice to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithNamespace

WithNamespace adds the namespace to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithOrderNo

WithOrderNo adds the orderNo to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithPayerID

WithPayerID adds the payerID to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithPayload

WithPayload adds the payload to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithPaymentOrderNo

WithPaymentOrderNo adds the paymentOrderNo to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithPaymentProvider

WithPaymentProvider adds the paymentProvider to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithRedirectResult added in v0.14.0

WithRedirectResult adds the redirectResult to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithResultCode

WithResultCode adds the resultCode to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithReturnURL

WithReturnURL adds the returnURL to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithSessionID added in v0.14.0

WithSessionID adds the sessionID to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithStatus

WithStatus adds the status to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithTimeout

WithTimeout adds the timeout to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithToken

WithToken adds the token to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithType

WithType adds the typeVar to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WithUserID

WithUserID adds the userID to the public normalize payment return url params

func (*PublicNormalizePaymentReturnURLParams) WriteToRequest

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.

type PublicNormalizePaymentReturnURLTemporaryRedirect added in v0.7.0

type PublicNormalizePaymentReturnURLTemporaryRedirect struct {
	Location string
}

PublicNormalizePaymentReturnURLTemporaryRedirect handles this case with default header values.

successful operation.(if query param 'returnUrl' is not empty)

func NewPublicNormalizePaymentReturnURLTemporaryRedirect added in v0.7.0

func NewPublicNormalizePaymentReturnURLTemporaryRedirect() *PublicNormalizePaymentReturnURLTemporaryRedirect

NewPublicNormalizePaymentReturnURLTemporaryRedirect creates a PublicNormalizePaymentReturnURLTemporaryRedirect with default headers values

func (*PublicNormalizePaymentReturnURLTemporaryRedirect) Error added in v0.7.0

Jump to

Keyboard shortcuts

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