payment_callback_config

package
v0.1.0-alpha.16 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 15 Imported by: 1

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) GetPaymentCallbackConfigShort

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

GetPaymentCallbackConfigShort get payment callback configuration

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

Other detail info:

  • Returns : Payment callback config

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePaymentCallbackConfigShort

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

UpdatePaymentCallbackConfigShort update payment callback configuration

[Not supported yet in AGS Shared Cloud] Update payment callback configuration.

Other detail info:

  • Returns : Payment callback config

type ClientService

type ClientService interface {
	GetPaymentCallbackConfigShort(params *GetPaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentCallbackConfigOK, 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

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

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

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

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

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

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

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

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

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