payment_callback_config

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 deprecated

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

GetPaymentCallbackConfig get payment callback configuration

[Not Supported Yet In Starter] Get payment callback configuration.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:PAYMENT:CONFIG", action=2 (READ)
  • Returns : Payment callback config

func (*Client) GetPaymentCallbackConfigShort

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

GetPaymentCallbackConfigShort get payment callback configuration

[Not Supported Yet In Starter] Get payment callback configuration.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:PAYMENT:CONFIG", action=2 (READ)
  • Returns : Payment callback config

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePaymentCallbackConfig deprecated

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

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

UpdatePaymentCallbackConfig update payment callback configuration

[Not Supported Yet In Starter] Update payment callback configuration.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:PAYMENT:CONFIG", action=4 (UPDATE)
  • Returns : Payment callback config

func (*Client) UpdatePaymentCallbackConfigShort

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

UpdatePaymentCallbackConfigShort update payment callback configuration

[Not Supported Yet In Starter] Update payment callback configuration.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:PAYMENT:CONFIG", action=4 (UPDATE)
  • Returns : Payment callback config

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

func (*GetPaymentCallbackConfigNotFound) ToJSONString added in v0.25.0

func (o *GetPaymentCallbackConfigNotFound) ToJSONString() string

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

func (*GetPaymentCallbackConfigOK) ToJSONString added in v0.25.0

func (o *GetPaymentCallbackConfigOK) ToJSONString() string

type GetPaymentCallbackConfigParams

type GetPaymentCallbackConfigParams struct {

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

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

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

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

func (o *GetPaymentCallbackConfigParams) SetFlightId(flightId string)

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

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

func (*UpdatePaymentCallbackConfigOK) ToJSONString added in v0.25.0

func (o *UpdatePaymentCallbackConfigOK) ToJSONString() string

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

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

func (o *UpdatePaymentCallbackConfigParams) SetFlightId(flightId string)

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

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