Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) GetPaymentCustomization(params *GetPaymentCustomizationParams) (*GetPaymentCustomizationOK, error)deprecated
- func (a *Client) GetPaymentCustomizationShort(params *GetPaymentCustomizationParams) (*GetPaymentCustomizationOK, error)
- func (a *Client) GetPaymentPublicConfig(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error)deprecated
- func (a *Client) GetPaymentPublicConfigShort(params *GetPaymentPublicConfigParams) (*GetPaymentPublicConfigOK, error)
- func (a *Client) GetPaymentTaxValue(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, *GetPaymentTaxValueBadRequest, ...)deprecated
- func (a *Client) GetPaymentTaxValueShort(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, error)
- func (a *Client) Pay(params *PayParams) (*PayOK, *PayBadRequest, *PayNotFound, *PayConflict, error)deprecated
- func (a *Client) PayShort(params *PayParams) (*PayOK, error)
- func (a *Client) PublicCheckPaymentOrderPaidStatus(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, ...)deprecated
- func (a *Client) PublicCheckPaymentOrderPaidStatusShort(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, error)
- func (a *Client) PublicGetPaymentMethods(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, *PublicGetPaymentMethodsNotFound, error)deprecated
- func (a *Client) PublicGetPaymentMethodsShort(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, error)
- func (a *Client) PublicGetPaymentURL(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, *PublicGetPaymentURLBadRequest, ...)deprecated
- func (a *Client) PublicGetPaymentURLShort(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, error)
- func (a *Client) PublicGetQRCode(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error)deprecated
- func (a *Client) PublicGetQRCodeShort(params *PublicGetQRCodeParams, writer io.Writer) (*PublicGetQRCodeOK, error)
- func (a *Client) PublicGetUnpaidPaymentOrder(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, *PublicGetUnpaidPaymentOrderNotFound, ...)deprecated
- func (a *Client) PublicGetUnpaidPaymentOrderShort(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, error)
- func (a *Client) PublicNormalizePaymentReturnURL(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, ...)deprecated
- func (a *Client) PublicNormalizePaymentReturnURLShort(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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPaymentCustomizationParams) SetContext(ctx context.Context)
- func (o *GetPaymentCustomizationParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentCustomizationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPaymentPublicConfigParams) SetContext(ctx context.Context)
- func (o *GetPaymentPublicConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentPublicConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPaymentTaxValueParams) SetContext(ctx context.Context)
- func (o *GetPaymentTaxValueParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentTaxValueParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PayParams) SetBody(body *platformclientmodels.PaymentToken)
- func (o *PayParams) SetContext(ctx context.Context)
- func (o *PayParams) SetHTTPClient(client *http.Client)
- func (o *PayParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicCheckPaymentOrderPaidStatusParams) SetContext(ctx context.Context)
- func (o *PublicCheckPaymentOrderPaidStatusParams) SetHTTPClient(client *http.Client)
- func (o *PublicCheckPaymentOrderPaidStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetPaymentMethodsParams) SetContext(ctx context.Context)
- func (o *PublicGetPaymentMethodsParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetPaymentMethodsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetPaymentURLParams) SetBody(body *platformclientmodels.PaymentURLCreate)
- func (o *PublicGetPaymentURLParams) SetContext(ctx context.Context)
- func (o *PublicGetPaymentURLParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetPaymentURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetQRCodeParams) SetCode(code string)
- func (o *PublicGetQRCodeParams) SetContext(ctx context.Context)
- func (o *PublicGetQRCodeParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetQRCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUnpaidPaymentOrderParams) SetContext(ctx context.Context)
- func (o *PublicGetUnpaidPaymentOrderParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUnpaidPaymentOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicNormalizePaymentReturnURLParams) SetContext(ctx context.Context)
- func (o *PublicNormalizePaymentReturnURLParams) SetForeinginvoice(foreinginvoice *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetHTTPClient(client *http.Client)
- func (o *PublicNormalizePaymentReturnURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetRedirectResult(redirectResult *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetResultCode(resultCode *string)
- func (o *PublicNormalizePaymentReturnURLParams) SetReturnURL(returnURL string)
- func (o *PublicNormalizePaymentReturnURLParams) SetSessionID(sessionID *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) WithRedirectResult(redirectResult *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithResultCode(resultCode *string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithReturnURL(returnURL string) *PublicNormalizePaymentReturnURLParams
- func (o *PublicNormalizePaymentReturnURLParams) WithSessionID(sessionID *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
- type PublicNormalizePaymentReturnURLTemporaryRedirect
Constants ¶
const ( GetPaymentCustomizationADYENConstant = "ADYEN" GetPaymentCustomizationALIPAYConstant = "ALIPAY" GetPaymentCustomizationCHECKOUTConstant = "CHECKOUT" GetPaymentCustomizationPAYPALConstant = "PAYPAL" GetPaymentCustomizationSTRIPEConstant = "STRIPE" GetPaymentCustomizationWALLETConstant = "WALLET" GetPaymentCustomizationWXPAYConstant = "WXPAY" GetPaymentCustomizationXSOLLAConstant = "XSOLLA" )
Get the enum in GetPaymentCustomizationParams
const ( GetPaymentPublicConfigADYENConstant = "ADYEN" GetPaymentPublicConfigALIPAYConstant = "ALIPAY" GetPaymentPublicConfigCHECKOUTConstant = "CHECKOUT" GetPaymentPublicConfigPAYPALConstant = "PAYPAL" GetPaymentPublicConfigSTRIPEConstant = "STRIPE" GetPaymentPublicConfigWALLETConstant = "WALLET" GetPaymentPublicConfigWXPAYConstant = "WXPAY" GetPaymentPublicConfigXSOLLAConstant = "XSOLLA" )
Get the enum in GetPaymentPublicConfigParams
const ( GetPaymentTaxValueADYENConstant = "ADYEN" GetPaymentTaxValueALIPAYConstant = "ALIPAY" GetPaymentTaxValueCHECKOUTConstant = "CHECKOUT" GetPaymentTaxValuePAYPALConstant = "PAYPAL" GetPaymentTaxValueSTRIPEConstant = "STRIPE" GetPaymentTaxValueWALLETConstant = "WALLET" GetPaymentTaxValueWXPAYConstant = "WXPAY" GetPaymentTaxValueXSOLLAConstant = "XSOLLA" )
Get the enum in GetPaymentTaxValueParams
const ( PayADYENConstant = "ADYEN" PayALIPAYConstant = "ALIPAY" PayCHECKOUTConstant = "CHECKOUT" PayPAYPALConstant = "PAYPAL" PaySTRIPEConstant = "STRIPE" PayWALLETConstant = "WALLET" PayWXPAYConstant = "WXPAY" PayXSOLLAConstant = "XSOLLA" )
Get the enum in PayParams
const ( PublicNormalizePaymentReturnURLADYENConstant = "ADYEN" PublicNormalizePaymentReturnURLALIPAYConstant = "ALIPAY" PublicNormalizePaymentReturnURLCHECKOUTConstant = "CHECKOUT" 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 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 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 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 Get payment provider public config, at current only Strip provide public config. Other detail info:
- Returns : Public config
func (*Client) GetPaymentTaxValue
deprecated
func (a *Client) GetPaymentTaxValue(params *GetPaymentTaxValueParams) (*GetPaymentTaxValueOK, *GetPaymentTaxValueBadRequest, *GetPaymentTaxValueNotFound, error)
Deprecated: 2022-08-10 - Use GetPaymentTaxValueShort instead.
GetPaymentTaxValue get tax result of a payment order 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 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 Do payment(For now, this only support checkout.com). Other detail info:
- Returns : Payment process result
func (*Client) PayShort ¶ added in v0.8.0
PayShort do payment Do payment(For now, this only support checkout.com). Other detail info:
- Returns : Payment process result
func (*Client) PublicCheckPaymentOrderPaidStatus
deprecated
func (a *Client) PublicCheckPaymentOrderPaidStatus(params *PublicCheckPaymentOrderPaidStatusParams) (*PublicCheckPaymentOrderPaidStatusOK, *PublicCheckPaymentOrderPaidStatusNotFound, error)
Deprecated: 2022-08-10 - Use PublicCheckPaymentOrderPaidStatusShort instead.
PublicCheckPaymentOrderPaidStatus check payment order paid status 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 Check payment order paid status. Other detail info:
- Returns : Payment order paid result
func (*Client) PublicGetPaymentMethods
deprecated
func (a *Client) PublicGetPaymentMethods(params *PublicGetPaymentMethodsParams) (*PublicGetPaymentMethodsOK, *PublicGetPaymentMethodsNotFound, error)
Deprecated: 2022-08-10 - Use PublicGetPaymentMethodsShort instead.
PublicGetPaymentMethods get payment methods 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 Get payment methods. Other detail info:
- Returns : Payment method list
func (*Client) PublicGetPaymentURL
deprecated
func (a *Client) PublicGetPaymentURL(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, *PublicGetPaymentURLBadRequest, *PublicGetPaymentURLForbidden, *PublicGetPaymentURLNotFound, error)
Deprecated: 2022-08-10 - Use PublicGetPaymentURLShort instead.
PublicGetPaymentURL get payment url Get payment url. Other detail info:
- Returns : Get payment link
func (*Client) PublicGetPaymentURLShort ¶ added in v0.8.0
func (a *Client) PublicGetPaymentURLShort(params *PublicGetPaymentURLParams) (*PublicGetPaymentURLOK, error)
PublicGetPaymentURLShort get payment url Get payment url. Other detail info:
- 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 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 Get qrcode. Other detail info:
- Returns : QRCode image stream
func (*Client) PublicGetUnpaidPaymentOrder
deprecated
func (a *Client) PublicGetUnpaidPaymentOrder(params *PublicGetUnpaidPaymentOrderParams) (*PublicGetUnpaidPaymentOrderOK, *PublicGetUnpaidPaymentOrderNotFound, *PublicGetUnpaidPaymentOrderConflict, error)
Deprecated: 2022-08-10 - Use PublicGetUnpaidPaymentOrderShort instead.
PublicGetUnpaidPaymentOrder get payment order info 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 Get payment order info. Other detail info:
- Returns : Payment order details
func (*Client) PublicNormalizePaymentReturnURL
deprecated
func (a *Client) PublicNormalizePaymentReturnURL(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, *PublicNormalizePaymentReturnURLTemporaryRedirect, error)
Deprecated: 2022-08-10 - Use PublicNormalizePaymentReturnURLShort instead.
PublicNormalizePaymentReturnURL normalize payment return url 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:
- xsolla : parameters 'user_id', 'foreinginvoice', 'invoice_id' and 'status' will be automatically added to the link
- adyen : https://docs.adyen.com/developers/checkout/web-sdk
func (*Client) PublicNormalizePaymentReturnURLShort ¶ added in v0.8.0
func (a *Client) PublicNormalizePaymentReturnURLShort(params *PublicNormalizePaymentReturnURLParams) (*PublicNormalizePaymentReturnURLNoContent, error)
PublicNormalizePaymentReturnURLShort normalize payment return url 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:
- xsolla : parameters 'user_id', 'foreinginvoice', 'invoice_id' and 'status' will be automatically added to the link
- adyen : https://docs.adyen.com/developers/checkout/web-sdk
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 (o *GetPaymentCustomizationOK) GetPayload() *platformclientmodels.Customization
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 // 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) 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 ¶
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{}
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 // 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) 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 ¶
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
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 (o *GetPaymentTaxValueNotFound) Error() string
func (*GetPaymentTaxValueNotFound) GetPayload ¶
func (o *GetPaymentTaxValueNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *GetPaymentTaxValueOK) GetPayload() *platformclientmodels.TaxResult
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 // 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) 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 ¶
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
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 (*PayOK) GetPayload ¶
func (o *PayOK) GetPayload() *platformclientmodels.PaymentProcessResult
func (*PayOK) ToJSONString ¶ added in v0.25.0
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 // 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) 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 ¶
SetContext adds the context to the pay params
func (*PayParams) SetHTTPClient ¶
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 ¶
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
func (*PublicCheckPaymentOrderPaidStatusNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicCheckPaymentOrderPaidStatusNotFound) ToJSONString() string
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
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 // 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 ¶
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) 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 ¶
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
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 (o *PublicGetPaymentMethodsOK) GetPayload() []*platformclientmodels.PaymentMethod
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 // 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) 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 ¶
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><tr><td>33332</td><td>Amount too small, please contact administrator</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
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 (o *PublicGetPaymentURLForbidden) Error() string
func (*PublicGetPaymentURLForbidden) GetPayload ¶
func (o *PublicGetPaymentURLForbidden) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PublicGetPaymentURLNotFound) Error() string
func (*PublicGetPaymentURLNotFound) GetPayload ¶
func (o *PublicGetPaymentURLNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PublicGetPaymentURLOK) GetPayload() *platformclientmodels.PaymentURL
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 // 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 ¶
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) 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 ¶
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
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 // 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) 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 ¶
func (o *PublicGetQRCodeParams) WithCode(code string) *PublicGetQRCodeParams
WithCode adds the code to the public get qr code params
func (*PublicGetQRCodeParams) WithContext ¶
func (o *PublicGetQRCodeParams) WithContext(ctx context.Context) *PublicGetQRCodeParams
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 (o *PublicGetUnpaidPaymentOrderConflict) Error() string
func (*PublicGetUnpaidPaymentOrderConflict) GetPayload ¶
func (o *PublicGetUnpaidPaymentOrderConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PublicGetUnpaidPaymentOrderNotFound) Error() string
func (*PublicGetUnpaidPaymentOrderNotFound) GetPayload ¶
func (o *PublicGetUnpaidPaymentOrderNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PublicGetUnpaidPaymentOrderOK) Error() string
func (*PublicGetUnpaidPaymentOrderOK) GetPayload ¶
func (o *PublicGetUnpaidPaymentOrderOK) GetPayload() *platformclientmodels.PaymentOrderDetails
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 // 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 ¶
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) 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 ¶
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.
no content.(if query param 'returnUrl' is empty)
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 { /*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 // 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 ¶
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) 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 ¶
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) WithRedirectResult ¶ added in v0.14.0
func (o *PublicNormalizePaymentReturnURLParams) WithRedirectResult(redirectResult *string) *PublicNormalizePaymentReturnURLParams
WithRedirectResult adds the redirectResult 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) WithSessionID ¶ added in v0.14.0
func (o *PublicNormalizePaymentReturnURLParams) WithSessionID(sessionID *string) *PublicNormalizePaymentReturnURLParams
WithSessionID adds the sessionID 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.
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
func (o *PublicNormalizePaymentReturnURLTemporaryRedirect) Error() string
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