Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPaymentCallbackConfigShort(params *GetPaymentCallbackConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPaymentCallbackConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePaymentCallbackConfigShort(params *UpdatePaymentCallbackConfigParams, ...) (*UpdatePaymentCallbackConfigOK, error)
- type ClientService
- type GetPaymentCallbackConfigNotFound
- type GetPaymentCallbackConfigOK
- type GetPaymentCallbackConfigParams
- func NewGetPaymentCallbackConfigParams() *GetPaymentCallbackConfigParams
- func NewGetPaymentCallbackConfigParamsWithContext(ctx context.Context) *GetPaymentCallbackConfigParams
- func NewGetPaymentCallbackConfigParamsWithHTTPClient(client *http.Client) *GetPaymentCallbackConfigParams
- func NewGetPaymentCallbackConfigParamsWithTimeout(timeout time.Duration) *GetPaymentCallbackConfigParams
- func (o *GetPaymentCallbackConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPaymentCallbackConfigParams) SetContext(ctx context.Context)
- func (o *GetPaymentCallbackConfigParams) SetFlightId(flightId string)
- func (o *GetPaymentCallbackConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentCallbackConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPaymentCallbackConfigParams) SetNamespace(namespace string)
- func (o *GetPaymentCallbackConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentCallbackConfigParams) WithContext(ctx context.Context) *GetPaymentCallbackConfigParams
- func (o *GetPaymentCallbackConfigParams) WithHTTPClient(client *http.Client) *GetPaymentCallbackConfigParams
- func (o *GetPaymentCallbackConfigParams) WithNamespace(namespace string) *GetPaymentCallbackConfigParams
- func (o *GetPaymentCallbackConfigParams) WithTimeout(timeout time.Duration) *GetPaymentCallbackConfigParams
- func (o *GetPaymentCallbackConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentCallbackConfigReader
- type UpdatePaymentCallbackConfigOK
- type UpdatePaymentCallbackConfigParams
- func NewUpdatePaymentCallbackConfigParams() *UpdatePaymentCallbackConfigParams
- func NewUpdatePaymentCallbackConfigParamsWithContext(ctx context.Context) *UpdatePaymentCallbackConfigParams
- func NewUpdatePaymentCallbackConfigParamsWithHTTPClient(client *http.Client) *UpdatePaymentCallbackConfigParams
- func NewUpdatePaymentCallbackConfigParamsWithTimeout(timeout time.Duration) *UpdatePaymentCallbackConfigParams
- func (o *UpdatePaymentCallbackConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdatePaymentCallbackConfigParams) SetBody(body *platformclientmodels.PaymentCallbackConfigUpdate)
- func (o *UpdatePaymentCallbackConfigParams) SetContext(ctx context.Context)
- func (o *UpdatePaymentCallbackConfigParams) SetFlightId(flightId string)
- func (o *UpdatePaymentCallbackConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePaymentCallbackConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdatePaymentCallbackConfigParams) SetNamespace(namespace string)
- func (o *UpdatePaymentCallbackConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePaymentCallbackConfigParams) WithBody(body *platformclientmodels.PaymentCallbackConfigUpdate) *UpdatePaymentCallbackConfigParams
- func (o *UpdatePaymentCallbackConfigParams) WithContext(ctx context.Context) *UpdatePaymentCallbackConfigParams
- func (o *UpdatePaymentCallbackConfigParams) WithHTTPClient(client *http.Client) *UpdatePaymentCallbackConfigParams
- func (o *UpdatePaymentCallbackConfigParams) WithNamespace(namespace string) *UpdatePaymentCallbackConfigParams
- func (o *UpdatePaymentCallbackConfigParams) WithTimeout(timeout time.Duration) *UpdatePaymentCallbackConfigParams
- func (o *UpdatePaymentCallbackConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePaymentCallbackConfigReader
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 (o *GetPaymentCallbackConfigNotFound) Error() string
func (*GetPaymentCallbackConfigNotFound) GetPayload ¶
func (o *GetPaymentCallbackConfigNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *GetPaymentCallbackConfigOK) Error() string
func (*GetPaymentCallbackConfigOK) GetPayload ¶
func (o *GetPaymentCallbackConfigOK) GetPayload() *platformclientmodels.PaymentCallbackConfigInfo
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 ¶
func (o *GetPaymentCallbackConfigParams) WithContext(ctx context.Context) *GetPaymentCallbackConfigParams
WithContext adds the context to the get payment callback config params
func (*GetPaymentCallbackConfigParams) WithHTTPClient ¶
func (o *GetPaymentCallbackConfigParams) WithHTTPClient(client *http.Client) *GetPaymentCallbackConfigParams
WithHTTPClient adds the HTTPClient to the get payment callback config params
func (*GetPaymentCallbackConfigParams) WithNamespace ¶
func (o *GetPaymentCallbackConfigParams) WithNamespace(namespace string) *GetPaymentCallbackConfigParams
WithNamespace adds the namespace to the get payment callback config params
func (*GetPaymentCallbackConfigParams) WithTimeout ¶
func (o *GetPaymentCallbackConfigParams) WithTimeout(timeout time.Duration) *GetPaymentCallbackConfigParams
WithTimeout adds the timeout to the get payment callback config params
func (*GetPaymentCallbackConfigParams) WriteToRequest ¶
func (o *GetPaymentCallbackConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdatePaymentCallbackConfigOK) Error() string
func (*UpdatePaymentCallbackConfigOK) GetPayload ¶
func (o *UpdatePaymentCallbackConfigOK) GetPayload() *platformclientmodels.PaymentCallbackConfigInfo
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 ¶
func (o *UpdatePaymentCallbackConfigParams) SetBody(body *platformclientmodels.PaymentCallbackConfigUpdate)
SetBody adds the body to the update payment callback config params
func (*UpdatePaymentCallbackConfigParams) SetContext ¶
func (o *UpdatePaymentCallbackConfigParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdatePaymentCallbackConfigParams) WithBody(body *platformclientmodels.PaymentCallbackConfigUpdate) *UpdatePaymentCallbackConfigParams
WithBody adds the body to the update payment callback config params
func (*UpdatePaymentCallbackConfigParams) WithContext ¶
func (o *UpdatePaymentCallbackConfigParams) WithContext(ctx context.Context) *UpdatePaymentCallbackConfigParams
WithContext adds the context to the update payment callback config params
func (*UpdatePaymentCallbackConfigParams) WithHTTPClient ¶
func (o *UpdatePaymentCallbackConfigParams) WithHTTPClient(client *http.Client) *UpdatePaymentCallbackConfigParams
WithHTTPClient adds the HTTPClient to the update payment callback config params
func (*UpdatePaymentCallbackConfigParams) WithNamespace ¶
func (o *UpdatePaymentCallbackConfigParams) WithNamespace(namespace string) *UpdatePaymentCallbackConfigParams
WithNamespace adds the namespace to the update payment callback config params
func (*UpdatePaymentCallbackConfigParams) WithTimeout ¶
func (o *UpdatePaymentCallbackConfigParams) WithTimeout(timeout time.Duration) *UpdatePaymentCallbackConfigParams
WithTimeout adds the timeout to the update payment callback config params
func (*UpdatePaymentCallbackConfigParams) WriteToRequest ¶
func (o *UpdatePaymentCallbackConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.