payment_callback_config

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for payment callback config API

func (*Client) GetPaymentCallbackConfig

GetPaymentCallbackConfig gets payment callback configuration

Get payment callback configuration.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT:CONFIG", action=2 (READ)</li><li><i>Returns</i>: Payment callback config</li></ul>

func (*Client) GetPaymentCallbackConfigShort

func (a *Client) GetPaymentCallbackConfigShort(params *GetPaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentCallbackConfigOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePaymentCallbackConfig

func (a *Client) UpdatePaymentCallbackConfig(params *UpdatePaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePaymentCallbackConfigOK, error)

UpdatePaymentCallbackConfig updates payment callback configuration

Update payment callback configuration.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:PAYMENT:CONFIG", action=4 (UPDATE)</li><li><i>Returns</i>: Payment callback config</li></ul>

func (*Client) UpdatePaymentCallbackConfigShort

func (a *Client) UpdatePaymentCallbackConfigShort(params *UpdatePaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePaymentCallbackConfigOK, error)

type ClientService

type ClientService interface {
	GetPaymentCallbackConfig(params *GetPaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentCallbackConfigOK, *GetPaymentCallbackConfigNotFound, error)
	GetPaymentCallbackConfigShort(params *GetPaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentCallbackConfigOK, error)
	UpdatePaymentCallbackConfig(params *UpdatePaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePaymentCallbackConfigOK, error)
	UpdatePaymentCallbackConfigShort(params *UpdatePaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePaymentCallbackConfigOK, 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 callback config API client.

type GetPaymentCallbackConfigNotFound

type GetPaymentCallbackConfigNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetPaymentCallbackConfigNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33243</td><td>Payment callback config for [{namespace}] does not exist</td></tr></table>

func NewGetPaymentCallbackConfigNotFound

func NewGetPaymentCallbackConfigNotFound() *GetPaymentCallbackConfigNotFound

NewGetPaymentCallbackConfigNotFound creates a GetPaymentCallbackConfigNotFound with default headers values

func (*GetPaymentCallbackConfigNotFound) Error

func (*GetPaymentCallbackConfigNotFound) GetPayload

type GetPaymentCallbackConfigOK

type GetPaymentCallbackConfigOK struct {
	Payload *platformclientmodels.PaymentCallbackConfigInfo
}

GetPaymentCallbackConfigOK handles this case with default header values.

successful operation

func NewGetPaymentCallbackConfigOK

func NewGetPaymentCallbackConfigOK() *GetPaymentCallbackConfigOK

NewGetPaymentCallbackConfigOK creates a GetPaymentCallbackConfigOK with default headers values

func (*GetPaymentCallbackConfigOK) Error

func (*GetPaymentCallbackConfigOK) GetPayload

type GetPaymentCallbackConfigParams

type GetPaymentCallbackConfigParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetPaymentCallbackConfigParams contains all the parameters to send to the API endpoint for the get payment callback config operation typically these are written to a http.Request

func NewGetPaymentCallbackConfigParams

func NewGetPaymentCallbackConfigParams() *GetPaymentCallbackConfigParams

NewGetPaymentCallbackConfigParams creates a new GetPaymentCallbackConfigParams object with the default values initialized.

func NewGetPaymentCallbackConfigParamsWithContext

func NewGetPaymentCallbackConfigParamsWithContext(ctx context.Context) *GetPaymentCallbackConfigParams

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

func NewGetPaymentCallbackConfigParamsWithHTTPClient

func NewGetPaymentCallbackConfigParamsWithHTTPClient(client *http.Client) *GetPaymentCallbackConfigParams

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

func NewGetPaymentCallbackConfigParamsWithTimeout

func NewGetPaymentCallbackConfigParamsWithTimeout(timeout time.Duration) *GetPaymentCallbackConfigParams

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

func (*GetPaymentCallbackConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get payment callback config params

func (*GetPaymentCallbackConfigParams) SetContext

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

SetContext adds the context to the get payment callback config params

func (*GetPaymentCallbackConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment callback config params

func (*GetPaymentCallbackConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get payment callback config params

func (*GetPaymentCallbackConfigParams) SetNamespace

func (o *GetPaymentCallbackConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get payment callback config params

func (*GetPaymentCallbackConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get payment callback config params

func (*GetPaymentCallbackConfigParams) WithContext

WithContext adds the context to the get payment callback config params

func (*GetPaymentCallbackConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment callback config params

func (*GetPaymentCallbackConfigParams) WithNamespace

WithNamespace adds the namespace to the get payment callback config params

func (*GetPaymentCallbackConfigParams) WithTimeout

WithTimeout adds the timeout to the get payment callback config params

func (*GetPaymentCallbackConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentCallbackConfigReader

type GetPaymentCallbackConfigReader struct {
	// contains filtered or unexported fields
}

GetPaymentCallbackConfigReader is a Reader for the GetPaymentCallbackConfig structure.

func (*GetPaymentCallbackConfigReader) ReadResponse

func (o *GetPaymentCallbackConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatePaymentCallbackConfigOK

type UpdatePaymentCallbackConfigOK struct {
	Payload *platformclientmodels.PaymentCallbackConfigInfo
}

UpdatePaymentCallbackConfigOK handles this case with default header values.

successful operation

func NewUpdatePaymentCallbackConfigOK

func NewUpdatePaymentCallbackConfigOK() *UpdatePaymentCallbackConfigOK

NewUpdatePaymentCallbackConfigOK creates a UpdatePaymentCallbackConfigOK with default headers values

func (*UpdatePaymentCallbackConfigOK) Error

func (*UpdatePaymentCallbackConfigOK) GetPayload

type UpdatePaymentCallbackConfigParams

type UpdatePaymentCallbackConfigParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

UpdatePaymentCallbackConfigParams contains all the parameters to send to the API endpoint for the update payment callback config operation typically these are written to a http.Request

func NewUpdatePaymentCallbackConfigParams

func NewUpdatePaymentCallbackConfigParams() *UpdatePaymentCallbackConfigParams

NewUpdatePaymentCallbackConfigParams creates a new UpdatePaymentCallbackConfigParams object with the default values initialized.

func NewUpdatePaymentCallbackConfigParamsWithContext

func NewUpdatePaymentCallbackConfigParamsWithContext(ctx context.Context) *UpdatePaymentCallbackConfigParams

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

func NewUpdatePaymentCallbackConfigParamsWithHTTPClient

func NewUpdatePaymentCallbackConfigParamsWithHTTPClient(client *http.Client) *UpdatePaymentCallbackConfigParams

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

func NewUpdatePaymentCallbackConfigParamsWithTimeout

func NewUpdatePaymentCallbackConfigParamsWithTimeout(timeout time.Duration) *UpdatePaymentCallbackConfigParams

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

func (*UpdatePaymentCallbackConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) SetBody

SetBody adds the body to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) SetContext

SetContext adds the context to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) SetNamespace

func (o *UpdatePaymentCallbackConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) WithBody

WithBody adds the body to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) WithContext

WithContext adds the context to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) WithNamespace

WithNamespace adds the namespace to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) WithTimeout

WithTimeout adds the timeout to the update payment callback config params

func (*UpdatePaymentCallbackConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePaymentCallbackConfigReader

type UpdatePaymentCallbackConfigReader struct {
	// contains filtered or unexported fields
}

UpdatePaymentCallbackConfigReader is a Reader for the UpdatePaymentCallbackConfig structure.

func (*UpdatePaymentCallbackConfigReader) ReadResponse

func (o *UpdatePaymentCallbackConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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