payment

package
v3.0.3-draft Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelScheduledPaymentTransactionByExternalKeyBadRequest

type CancelScheduledPaymentTransactionByExternalKeyBadRequest struct {
}
CancelScheduledPaymentTransactionByExternalKeyBadRequest describes a response with status code 400, with default header values.

Invalid paymentTransactionExternalKey supplied

func NewCancelScheduledPaymentTransactionByExternalKeyBadRequest

func NewCancelScheduledPaymentTransactionByExternalKeyBadRequest() *CancelScheduledPaymentTransactionByExternalKeyBadRequest

NewCancelScheduledPaymentTransactionByExternalKeyBadRequest creates a CancelScheduledPaymentTransactionByExternalKeyBadRequest with default headers values

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) Error

type CancelScheduledPaymentTransactionByExternalKeyNoContent

type CancelScheduledPaymentTransactionByExternalKeyNoContent struct {
}
CancelScheduledPaymentTransactionByExternalKeyNoContent describes a response with status code 204, with default header values.

Successful operation

func NewCancelScheduledPaymentTransactionByExternalKeyNoContent

func NewCancelScheduledPaymentTransactionByExternalKeyNoContent() *CancelScheduledPaymentTransactionByExternalKeyNoContent

NewCancelScheduledPaymentTransactionByExternalKeyNoContent creates a CancelScheduledPaymentTransactionByExternalKeyNoContent with default headers values

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) Error

type CancelScheduledPaymentTransactionByExternalKeyParams

type CancelScheduledPaymentTransactionByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// TransactionExternalKey.
	TransactionExternalKey string

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

CancelScheduledPaymentTransactionByExternalKeyParams contains all the parameters to send to the API endpoint

for the cancel scheduled payment transaction by external key operation.

Typically these are written to a http.Request.

func NewCancelScheduledPaymentTransactionByExternalKeyParams

func NewCancelScheduledPaymentTransactionByExternalKeyParams() *CancelScheduledPaymentTransactionByExternalKeyParams

NewCancelScheduledPaymentTransactionByExternalKeyParams creates a new CancelScheduledPaymentTransactionByExternalKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithContext

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithContext(ctx context.Context) *CancelScheduledPaymentTransactionByExternalKeyParams

NewCancelScheduledPaymentTransactionByExternalKeyParamsWithContext creates a new CancelScheduledPaymentTransactionByExternalKeyParams object with the ability to set a context for a request.

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithHTTPClient

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithHTTPClient(client *http.Client) *CancelScheduledPaymentTransactionByExternalKeyParams

NewCancelScheduledPaymentTransactionByExternalKeyParamsWithHTTPClient creates a new CancelScheduledPaymentTransactionByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithTimeout

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithTimeout(timeout time.Duration) *CancelScheduledPaymentTransactionByExternalKeyParams

NewCancelScheduledPaymentTransactionByExternalKeyParamsWithTimeout creates a new CancelScheduledPaymentTransactionByExternalKeyParams object with the ability to set a timeout on a request.

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetContext

SetContext adds the context to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetDefaults

SetDefaults hydrates default values in the cancel scheduled payment transaction by external key params (not the query body).

All values with no default are reset to their zero value.

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetTimeout

SetTimeout adds the timeout to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetTransactionExternalKey

func (o *CancelScheduledPaymentTransactionByExternalKeyParams) SetTransactionExternalKey(transactionExternalKey string)

SetTransactionExternalKey adds the transactionExternalKey to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillComment

func (o *CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillCreatedBy

func (o *CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillReason

func (o *CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithContext

WithContext adds the context to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the cancel scheduled payment transaction by external key params (not the query body).

All values with no default are reset to their zero value.

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithTransactionExternalKey

WithTransactionExternalKey adds the transactionExternalKey to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithXKillbillComment

WithXKillbillComment adds the xKillbillComment to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithXKillbillCreatedBy

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the cancel scheduled payment transaction by external key params

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelScheduledPaymentTransactionByExternalKeyReader

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

CancelScheduledPaymentTransactionByExternalKeyReader is a Reader for the CancelScheduledPaymentTransactionByExternalKey structure.

func (*CancelScheduledPaymentTransactionByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelScheduledPaymentTransactionByIDBadRequest

type CancelScheduledPaymentTransactionByIDBadRequest struct {
}
CancelScheduledPaymentTransactionByIDBadRequest describes a response with status code 400, with default header values.

Invalid paymentTransactionId supplied

func NewCancelScheduledPaymentTransactionByIDBadRequest

func NewCancelScheduledPaymentTransactionByIDBadRequest() *CancelScheduledPaymentTransactionByIDBadRequest

NewCancelScheduledPaymentTransactionByIDBadRequest creates a CancelScheduledPaymentTransactionByIDBadRequest with default headers values

func (*CancelScheduledPaymentTransactionByIDBadRequest) Error

type CancelScheduledPaymentTransactionByIDNoContent

type CancelScheduledPaymentTransactionByIDNoContent struct {
}
CancelScheduledPaymentTransactionByIDNoContent describes a response with status code 204, with default header values.

Successful operation

func NewCancelScheduledPaymentTransactionByIDNoContent

func NewCancelScheduledPaymentTransactionByIDNoContent() *CancelScheduledPaymentTransactionByIDNoContent

NewCancelScheduledPaymentTransactionByIDNoContent creates a CancelScheduledPaymentTransactionByIDNoContent with default headers values

func (*CancelScheduledPaymentTransactionByIDNoContent) Error

type CancelScheduledPaymentTransactionByIDParams

type CancelScheduledPaymentTransactionByIDParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// PaymentTransactionID.
	//
	// Format: uuid
	PaymentTransactionID strfmt.UUID

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

CancelScheduledPaymentTransactionByIDParams contains all the parameters to send to the API endpoint

for the cancel scheduled payment transaction by Id operation.

Typically these are written to a http.Request.

func NewCancelScheduledPaymentTransactionByIDParams

func NewCancelScheduledPaymentTransactionByIDParams() *CancelScheduledPaymentTransactionByIDParams

NewCancelScheduledPaymentTransactionByIDParams creates a new CancelScheduledPaymentTransactionByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCancelScheduledPaymentTransactionByIDParamsWithContext

func NewCancelScheduledPaymentTransactionByIDParamsWithContext(ctx context.Context) *CancelScheduledPaymentTransactionByIDParams

NewCancelScheduledPaymentTransactionByIDParamsWithContext creates a new CancelScheduledPaymentTransactionByIDParams object with the ability to set a context for a request.

func NewCancelScheduledPaymentTransactionByIDParamsWithHTTPClient

func NewCancelScheduledPaymentTransactionByIDParamsWithHTTPClient(client *http.Client) *CancelScheduledPaymentTransactionByIDParams

NewCancelScheduledPaymentTransactionByIDParamsWithHTTPClient creates a new CancelScheduledPaymentTransactionByIDParams object with the ability to set a custom HTTPClient for a request.

func NewCancelScheduledPaymentTransactionByIDParamsWithTimeout

func NewCancelScheduledPaymentTransactionByIDParamsWithTimeout(timeout time.Duration) *CancelScheduledPaymentTransactionByIDParams

NewCancelScheduledPaymentTransactionByIDParamsWithTimeout creates a new CancelScheduledPaymentTransactionByIDParams object with the ability to set a timeout on a request.

func (*CancelScheduledPaymentTransactionByIDParams) SetContext

SetContext adds the context to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) SetDefaults

SetDefaults hydrates default values in the cancel scheduled payment transaction by Id params (not the query body).

All values with no default are reset to their zero value.

func (*CancelScheduledPaymentTransactionByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) SetPaymentTransactionID

func (o *CancelScheduledPaymentTransactionByIDParams) SetPaymentTransactionID(paymentTransactionID strfmt.UUID)

SetPaymentTransactionID adds the paymentTransactionId to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) SetTimeout

SetTimeout adds the timeout to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) SetXKillbillComment

func (o *CancelScheduledPaymentTransactionByIDParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) SetXKillbillCreatedBy

func (o *CancelScheduledPaymentTransactionByIDParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) SetXKillbillReason

func (o *CancelScheduledPaymentTransactionByIDParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) WithContext

WithContext adds the context to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) WithDefaults

WithDefaults hydrates default values in the cancel scheduled payment transaction by Id params (not the query body).

All values with no default are reset to their zero value.

func (*CancelScheduledPaymentTransactionByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) WithPaymentTransactionID

WithPaymentTransactionID adds the paymentTransactionID to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) WithTimeout

WithTimeout adds the timeout to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) WithXKillbillComment

WithXKillbillComment adds the xKillbillComment to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) WithXKillbillCreatedBy

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the cancel scheduled payment transaction by Id params

func (*CancelScheduledPaymentTransactionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelScheduledPaymentTransactionByIDReader

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

CancelScheduledPaymentTransactionByIDReader is a Reader for the CancelScheduledPaymentTransactionByID structure.

func (*CancelScheduledPaymentTransactionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CaptureAuthorizationBadGateway

type CaptureAuthorizationBadGateway struct {
}
CaptureAuthorizationBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCaptureAuthorizationBadGateway

func NewCaptureAuthorizationBadGateway() *CaptureAuthorizationBadGateway

NewCaptureAuthorizationBadGateway creates a CaptureAuthorizationBadGateway with default headers values

func (*CaptureAuthorizationBadGateway) Error

type CaptureAuthorizationBadRequest

type CaptureAuthorizationBadRequest struct {
}
CaptureAuthorizationBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewCaptureAuthorizationBadRequest

func NewCaptureAuthorizationBadRequest() *CaptureAuthorizationBadRequest

NewCaptureAuthorizationBadRequest creates a CaptureAuthorizationBadRequest with default headers values

func (*CaptureAuthorizationBadRequest) Error

type CaptureAuthorizationByExternalKeyBadGateway

type CaptureAuthorizationByExternalKeyBadGateway struct {
}
CaptureAuthorizationByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCaptureAuthorizationByExternalKeyBadGateway

func NewCaptureAuthorizationByExternalKeyBadGateway() *CaptureAuthorizationByExternalKeyBadGateway

NewCaptureAuthorizationByExternalKeyBadGateway creates a CaptureAuthorizationByExternalKeyBadGateway with default headers values

func (*CaptureAuthorizationByExternalKeyBadGateway) Error

type CaptureAuthorizationByExternalKeyCreated

type CaptureAuthorizationByExternalKeyCreated struct {
	Payload *kbmodel.Payment
}
CaptureAuthorizationByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewCaptureAuthorizationByExternalKeyCreated

func NewCaptureAuthorizationByExternalKeyCreated() *CaptureAuthorizationByExternalKeyCreated

NewCaptureAuthorizationByExternalKeyCreated creates a CaptureAuthorizationByExternalKeyCreated with default headers values

func (*CaptureAuthorizationByExternalKeyCreated) Error

func (*CaptureAuthorizationByExternalKeyCreated) GetPayload

type CaptureAuthorizationByExternalKeyGatewayTimeout

type CaptureAuthorizationByExternalKeyGatewayTimeout struct {
}
CaptureAuthorizationByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCaptureAuthorizationByExternalKeyGatewayTimeout

func NewCaptureAuthorizationByExternalKeyGatewayTimeout() *CaptureAuthorizationByExternalKeyGatewayTimeout

NewCaptureAuthorizationByExternalKeyGatewayTimeout creates a CaptureAuthorizationByExternalKeyGatewayTimeout with default headers values

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) Error

type CaptureAuthorizationByExternalKeyNotFound

type CaptureAuthorizationByExternalKeyNotFound struct {
}
CaptureAuthorizationByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewCaptureAuthorizationByExternalKeyNotFound

func NewCaptureAuthorizationByExternalKeyNotFound() *CaptureAuthorizationByExternalKeyNotFound

NewCaptureAuthorizationByExternalKeyNotFound creates a CaptureAuthorizationByExternalKeyNotFound with default headers values

func (*CaptureAuthorizationByExternalKeyNotFound) Error

type CaptureAuthorizationByExternalKeyParams

type CaptureAuthorizationByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

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

CaptureAuthorizationByExternalKeyParams contains all the parameters to send to the API endpoint

for the capture authorization by external key operation.

Typically these are written to a http.Request.

func NewCaptureAuthorizationByExternalKeyParams

func NewCaptureAuthorizationByExternalKeyParams() *CaptureAuthorizationByExternalKeyParams

NewCaptureAuthorizationByExternalKeyParams creates a new CaptureAuthorizationByExternalKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCaptureAuthorizationByExternalKeyParamsWithContext

func NewCaptureAuthorizationByExternalKeyParamsWithContext(ctx context.Context) *CaptureAuthorizationByExternalKeyParams

NewCaptureAuthorizationByExternalKeyParamsWithContext creates a new CaptureAuthorizationByExternalKeyParams object with the ability to set a context for a request.

func NewCaptureAuthorizationByExternalKeyParamsWithHTTPClient

func NewCaptureAuthorizationByExternalKeyParamsWithHTTPClient(client *http.Client) *CaptureAuthorizationByExternalKeyParams

NewCaptureAuthorizationByExternalKeyParamsWithHTTPClient creates a new CaptureAuthorizationByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewCaptureAuthorizationByExternalKeyParamsWithTimeout

func NewCaptureAuthorizationByExternalKeyParamsWithTimeout(timeout time.Duration) *CaptureAuthorizationByExternalKeyParams

NewCaptureAuthorizationByExternalKeyParamsWithTimeout creates a new CaptureAuthorizationByExternalKeyParams object with the ability to set a timeout on a request.

func (*CaptureAuthorizationByExternalKeyParams) SetBody

SetBody adds the body to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) SetContext

SetContext adds the context to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) SetControlPluginName

func (o *CaptureAuthorizationByExternalKeyParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) SetDefaults

func (o *CaptureAuthorizationByExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the capture authorization by external key params (not the query body).

All values with no default are reset to their zero value.

func (*CaptureAuthorizationByExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) SetPluginProperty

func (o *CaptureAuthorizationByExternalKeyParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) SetTimeout

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

SetTimeout adds the timeout to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) SetXKillbillComment

func (o *CaptureAuthorizationByExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) SetXKillbillCreatedBy

func (o *CaptureAuthorizationByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) SetXKillbillReason

func (o *CaptureAuthorizationByExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithBody

WithBody adds the body to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithContext

WithContext adds the context to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithControlPluginName

func (o *CaptureAuthorizationByExternalKeyParams) WithControlPluginName(controlPluginName []string) *CaptureAuthorizationByExternalKeyParams

WithControlPluginName adds the controlPluginName to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the capture authorization by external key params (not the query body).

All values with no default are reset to their zero value.

func (*CaptureAuthorizationByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithPluginProperty

WithPluginProperty adds the pluginProperty to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithXKillbillComment

WithXKillbillComment adds the xKillbillComment to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithXKillbillCreatedBy

func (o *CaptureAuthorizationByExternalKeyParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CaptureAuthorizationByExternalKeyParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the capture authorization by external key params

func (*CaptureAuthorizationByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CaptureAuthorizationByExternalKeyPaymentRequired

type CaptureAuthorizationByExternalKeyPaymentRequired struct {
}
CaptureAuthorizationByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCaptureAuthorizationByExternalKeyPaymentRequired

func NewCaptureAuthorizationByExternalKeyPaymentRequired() *CaptureAuthorizationByExternalKeyPaymentRequired

NewCaptureAuthorizationByExternalKeyPaymentRequired creates a CaptureAuthorizationByExternalKeyPaymentRequired with default headers values

func (*CaptureAuthorizationByExternalKeyPaymentRequired) Error

type CaptureAuthorizationByExternalKeyReader

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

CaptureAuthorizationByExternalKeyReader is a Reader for the CaptureAuthorizationByExternalKey structure.

func (*CaptureAuthorizationByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CaptureAuthorizationByExternalKeyServiceUnavailable

type CaptureAuthorizationByExternalKeyServiceUnavailable struct {
}
CaptureAuthorizationByExternalKeyServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCaptureAuthorizationByExternalKeyServiceUnavailable

func NewCaptureAuthorizationByExternalKeyServiceUnavailable() *CaptureAuthorizationByExternalKeyServiceUnavailable

NewCaptureAuthorizationByExternalKeyServiceUnavailable creates a CaptureAuthorizationByExternalKeyServiceUnavailable with default headers values

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) Error

type CaptureAuthorizationByExternalKeyUnprocessableEntity

type CaptureAuthorizationByExternalKeyUnprocessableEntity struct {
}
CaptureAuthorizationByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCaptureAuthorizationByExternalKeyUnprocessableEntity

func NewCaptureAuthorizationByExternalKeyUnprocessableEntity() *CaptureAuthorizationByExternalKeyUnprocessableEntity

NewCaptureAuthorizationByExternalKeyUnprocessableEntity creates a CaptureAuthorizationByExternalKeyUnprocessableEntity with default headers values

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) Error

type CaptureAuthorizationCreated

type CaptureAuthorizationCreated struct {
	Payload *kbmodel.Payment
}
CaptureAuthorizationCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewCaptureAuthorizationCreated

func NewCaptureAuthorizationCreated() *CaptureAuthorizationCreated

NewCaptureAuthorizationCreated creates a CaptureAuthorizationCreated with default headers values

func (*CaptureAuthorizationCreated) Error

func (*CaptureAuthorizationCreated) GetPayload

func (o *CaptureAuthorizationCreated) GetPayload() *kbmodel.Payment

type CaptureAuthorizationGatewayTimeout

type CaptureAuthorizationGatewayTimeout struct {
}
CaptureAuthorizationGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCaptureAuthorizationGatewayTimeout

func NewCaptureAuthorizationGatewayTimeout() *CaptureAuthorizationGatewayTimeout

NewCaptureAuthorizationGatewayTimeout creates a CaptureAuthorizationGatewayTimeout with default headers values

func (*CaptureAuthorizationGatewayTimeout) Error

type CaptureAuthorizationNotFound

type CaptureAuthorizationNotFound struct {
}
CaptureAuthorizationNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewCaptureAuthorizationNotFound

func NewCaptureAuthorizationNotFound() *CaptureAuthorizationNotFound

NewCaptureAuthorizationNotFound creates a CaptureAuthorizationNotFound with default headers values

func (*CaptureAuthorizationNotFound) Error

type CaptureAuthorizationParams

type CaptureAuthorizationParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

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

CaptureAuthorizationParams contains all the parameters to send to the API endpoint

for the capture authorization operation.

Typically these are written to a http.Request.

func NewCaptureAuthorizationParams

func NewCaptureAuthorizationParams() *CaptureAuthorizationParams

NewCaptureAuthorizationParams creates a new CaptureAuthorizationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCaptureAuthorizationParamsWithContext

func NewCaptureAuthorizationParamsWithContext(ctx context.Context) *CaptureAuthorizationParams

NewCaptureAuthorizationParamsWithContext creates a new CaptureAuthorizationParams object with the ability to set a context for a request.

func NewCaptureAuthorizationParamsWithHTTPClient

func NewCaptureAuthorizationParamsWithHTTPClient(client *http.Client) *CaptureAuthorizationParams

NewCaptureAuthorizationParamsWithHTTPClient creates a new CaptureAuthorizationParams object with the ability to set a custom HTTPClient for a request.

func NewCaptureAuthorizationParamsWithTimeout

func NewCaptureAuthorizationParamsWithTimeout(timeout time.Duration) *CaptureAuthorizationParams

NewCaptureAuthorizationParamsWithTimeout creates a new CaptureAuthorizationParams object with the ability to set a timeout on a request.

func (*CaptureAuthorizationParams) SetBody

SetBody adds the body to the capture authorization params

func (*CaptureAuthorizationParams) SetContext

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

SetContext adds the context to the capture authorization params

func (*CaptureAuthorizationParams) SetControlPluginName

func (o *CaptureAuthorizationParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the capture authorization params

func (*CaptureAuthorizationParams) SetDefaults

func (o *CaptureAuthorizationParams) SetDefaults()

SetDefaults hydrates default values in the capture authorization params (not the query body).

All values with no default are reset to their zero value.

func (*CaptureAuthorizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the capture authorization params

func (*CaptureAuthorizationParams) SetPaymentID

func (o *CaptureAuthorizationParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the capture authorization params

func (*CaptureAuthorizationParams) SetPluginProperty

func (o *CaptureAuthorizationParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the capture authorization params

func (*CaptureAuthorizationParams) SetTimeout

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

SetTimeout adds the timeout to the capture authorization params

func (*CaptureAuthorizationParams) SetXKillbillComment

func (o *CaptureAuthorizationParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the capture authorization params

func (*CaptureAuthorizationParams) SetXKillbillCreatedBy

func (o *CaptureAuthorizationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the capture authorization params

func (*CaptureAuthorizationParams) SetXKillbillReason

func (o *CaptureAuthorizationParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the capture authorization params

func (*CaptureAuthorizationParams) WithBody

WithBody adds the body to the capture authorization params

func (*CaptureAuthorizationParams) WithContext

WithContext adds the context to the capture authorization params

func (*CaptureAuthorizationParams) WithControlPluginName

func (o *CaptureAuthorizationParams) WithControlPluginName(controlPluginName []string) *CaptureAuthorizationParams

WithControlPluginName adds the controlPluginName to the capture authorization params

func (*CaptureAuthorizationParams) WithDefaults

WithDefaults hydrates default values in the capture authorization params (not the query body).

All values with no default are reset to their zero value.

func (*CaptureAuthorizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the capture authorization params

func (*CaptureAuthorizationParams) WithPaymentID

WithPaymentID adds the paymentID to the capture authorization params

func (*CaptureAuthorizationParams) WithPluginProperty

func (o *CaptureAuthorizationParams) WithPluginProperty(pluginProperty []string) *CaptureAuthorizationParams

WithPluginProperty adds the pluginProperty to the capture authorization params

func (*CaptureAuthorizationParams) WithTimeout

WithTimeout adds the timeout to the capture authorization params

func (*CaptureAuthorizationParams) WithXKillbillComment

func (o *CaptureAuthorizationParams) WithXKillbillComment(xKillbillComment *string) *CaptureAuthorizationParams

WithXKillbillComment adds the xKillbillComment to the capture authorization params

func (*CaptureAuthorizationParams) WithXKillbillCreatedBy

func (o *CaptureAuthorizationParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CaptureAuthorizationParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the capture authorization params

func (*CaptureAuthorizationParams) WithXKillbillReason

func (o *CaptureAuthorizationParams) WithXKillbillReason(xKillbillReason *string) *CaptureAuthorizationParams

WithXKillbillReason adds the xKillbillReason to the capture authorization params

func (*CaptureAuthorizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CaptureAuthorizationPaymentRequired

type CaptureAuthorizationPaymentRequired struct {
}
CaptureAuthorizationPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCaptureAuthorizationPaymentRequired

func NewCaptureAuthorizationPaymentRequired() *CaptureAuthorizationPaymentRequired

NewCaptureAuthorizationPaymentRequired creates a CaptureAuthorizationPaymentRequired with default headers values

func (*CaptureAuthorizationPaymentRequired) Error

type CaptureAuthorizationReader

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

CaptureAuthorizationReader is a Reader for the CaptureAuthorization structure.

func (*CaptureAuthorizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CaptureAuthorizationServiceUnavailable

type CaptureAuthorizationServiceUnavailable struct {
}
CaptureAuthorizationServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCaptureAuthorizationServiceUnavailable

func NewCaptureAuthorizationServiceUnavailable() *CaptureAuthorizationServiceUnavailable

NewCaptureAuthorizationServiceUnavailable creates a CaptureAuthorizationServiceUnavailable with default headers values

func (*CaptureAuthorizationServiceUnavailable) Error

type CaptureAuthorizationUnprocessableEntity

type CaptureAuthorizationUnprocessableEntity struct {
}
CaptureAuthorizationUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCaptureAuthorizationUnprocessableEntity

func NewCaptureAuthorizationUnprocessableEntity() *CaptureAuthorizationUnprocessableEntity

NewCaptureAuthorizationUnprocessableEntity creates a CaptureAuthorizationUnprocessableEntity with default headers values

func (*CaptureAuthorizationUnprocessableEntity) Error

type ChargebackPaymentBadGateway

type ChargebackPaymentBadGateway struct {
}
ChargebackPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewChargebackPaymentBadGateway

func NewChargebackPaymentBadGateway() *ChargebackPaymentBadGateway

NewChargebackPaymentBadGateway creates a ChargebackPaymentBadGateway with default headers values

func (*ChargebackPaymentBadGateway) Error

type ChargebackPaymentBadRequest

type ChargebackPaymentBadRequest struct {
}
ChargebackPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewChargebackPaymentBadRequest

func NewChargebackPaymentBadRequest() *ChargebackPaymentBadRequest

NewChargebackPaymentBadRequest creates a ChargebackPaymentBadRequest with default headers values

func (*ChargebackPaymentBadRequest) Error

type ChargebackPaymentByExternalKeyBadGateway

type ChargebackPaymentByExternalKeyBadGateway struct {
}
ChargebackPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewChargebackPaymentByExternalKeyBadGateway

func NewChargebackPaymentByExternalKeyBadGateway() *ChargebackPaymentByExternalKeyBadGateway

NewChargebackPaymentByExternalKeyBadGateway creates a ChargebackPaymentByExternalKeyBadGateway with default headers values

func (*ChargebackPaymentByExternalKeyBadGateway) Error

type ChargebackPaymentByExternalKeyCreated

type ChargebackPaymentByExternalKeyCreated struct {
	Payload *kbmodel.Payment
}
ChargebackPaymentByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewChargebackPaymentByExternalKeyCreated

func NewChargebackPaymentByExternalKeyCreated() *ChargebackPaymentByExternalKeyCreated

NewChargebackPaymentByExternalKeyCreated creates a ChargebackPaymentByExternalKeyCreated with default headers values

func (*ChargebackPaymentByExternalKeyCreated) Error

func (*ChargebackPaymentByExternalKeyCreated) GetPayload

type ChargebackPaymentByExternalKeyGatewayTimeout

type ChargebackPaymentByExternalKeyGatewayTimeout struct {
}
ChargebackPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewChargebackPaymentByExternalKeyGatewayTimeout

func NewChargebackPaymentByExternalKeyGatewayTimeout() *ChargebackPaymentByExternalKeyGatewayTimeout

NewChargebackPaymentByExternalKeyGatewayTimeout creates a ChargebackPaymentByExternalKeyGatewayTimeout with default headers values

func (*ChargebackPaymentByExternalKeyGatewayTimeout) Error

type ChargebackPaymentByExternalKeyNotFound

type ChargebackPaymentByExternalKeyNotFound struct {
}
ChargebackPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewChargebackPaymentByExternalKeyNotFound

func NewChargebackPaymentByExternalKeyNotFound() *ChargebackPaymentByExternalKeyNotFound

NewChargebackPaymentByExternalKeyNotFound creates a ChargebackPaymentByExternalKeyNotFound with default headers values

func (*ChargebackPaymentByExternalKeyNotFound) Error

type ChargebackPaymentByExternalKeyParams

type ChargebackPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

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

ChargebackPaymentByExternalKeyParams contains all the parameters to send to the API endpoint

for the chargeback payment by external key operation.

Typically these are written to a http.Request.

func NewChargebackPaymentByExternalKeyParams

func NewChargebackPaymentByExternalKeyParams() *ChargebackPaymentByExternalKeyParams

NewChargebackPaymentByExternalKeyParams creates a new ChargebackPaymentByExternalKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewChargebackPaymentByExternalKeyParamsWithContext

func NewChargebackPaymentByExternalKeyParamsWithContext(ctx context.Context) *ChargebackPaymentByExternalKeyParams

NewChargebackPaymentByExternalKeyParamsWithContext creates a new ChargebackPaymentByExternalKeyParams object with the ability to set a context for a request.

func NewChargebackPaymentByExternalKeyParamsWithHTTPClient

func NewChargebackPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *ChargebackPaymentByExternalKeyParams

NewChargebackPaymentByExternalKeyParamsWithHTTPClient creates a new ChargebackPaymentByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewChargebackPaymentByExternalKeyParamsWithTimeout

func NewChargebackPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *ChargebackPaymentByExternalKeyParams

NewChargebackPaymentByExternalKeyParamsWithTimeout creates a new ChargebackPaymentByExternalKeyParams object with the ability to set a timeout on a request.

func (*ChargebackPaymentByExternalKeyParams) SetBody

SetBody adds the body to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) SetContext

SetContext adds the context to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) SetControlPluginName

func (o *ChargebackPaymentByExternalKeyParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) SetDefaults

func (o *ChargebackPaymentByExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the chargeback payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*ChargebackPaymentByExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) SetPluginProperty

func (o *ChargebackPaymentByExternalKeyParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) SetTimeout

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

SetTimeout adds the timeout to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) SetXKillbillComment

func (o *ChargebackPaymentByExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *ChargebackPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) SetXKillbillReason

func (o *ChargebackPaymentByExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithBody

WithBody adds the body to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithContext

WithContext adds the context to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithControlPluginName

func (o *ChargebackPaymentByExternalKeyParams) WithControlPluginName(controlPluginName []string) *ChargebackPaymentByExternalKeyParams

WithControlPluginName adds the controlPluginName to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the chargeback payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*ChargebackPaymentByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithPluginProperty

func (o *ChargebackPaymentByExternalKeyParams) WithPluginProperty(pluginProperty []string) *ChargebackPaymentByExternalKeyParams

WithPluginProperty adds the pluginProperty to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithXKillbillComment

func (o *ChargebackPaymentByExternalKeyParams) WithXKillbillComment(xKillbillComment *string) *ChargebackPaymentByExternalKeyParams

WithXKillbillComment adds the xKillbillComment to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithXKillbillCreatedBy

func (o *ChargebackPaymentByExternalKeyParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ChargebackPaymentByExternalKeyParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WithXKillbillReason

func (o *ChargebackPaymentByExternalKeyParams) WithXKillbillReason(xKillbillReason *string) *ChargebackPaymentByExternalKeyParams

WithXKillbillReason adds the xKillbillReason to the chargeback payment by external key params

func (*ChargebackPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargebackPaymentByExternalKeyPaymentRequired

type ChargebackPaymentByExternalKeyPaymentRequired struct {
}
ChargebackPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewChargebackPaymentByExternalKeyPaymentRequired

func NewChargebackPaymentByExternalKeyPaymentRequired() *ChargebackPaymentByExternalKeyPaymentRequired

NewChargebackPaymentByExternalKeyPaymentRequired creates a ChargebackPaymentByExternalKeyPaymentRequired with default headers values

func (*ChargebackPaymentByExternalKeyPaymentRequired) Error

type ChargebackPaymentByExternalKeyReader

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

ChargebackPaymentByExternalKeyReader is a Reader for the ChargebackPaymentByExternalKey structure.

func (*ChargebackPaymentByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargebackPaymentByExternalKeyServiceUnavailable

type ChargebackPaymentByExternalKeyServiceUnavailable struct {
}
ChargebackPaymentByExternalKeyServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewChargebackPaymentByExternalKeyServiceUnavailable

func NewChargebackPaymentByExternalKeyServiceUnavailable() *ChargebackPaymentByExternalKeyServiceUnavailable

NewChargebackPaymentByExternalKeyServiceUnavailable creates a ChargebackPaymentByExternalKeyServiceUnavailable with default headers values

func (*ChargebackPaymentByExternalKeyServiceUnavailable) Error

type ChargebackPaymentByExternalKeyUnprocessableEntity

type ChargebackPaymentByExternalKeyUnprocessableEntity struct {
}
ChargebackPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewChargebackPaymentByExternalKeyUnprocessableEntity

func NewChargebackPaymentByExternalKeyUnprocessableEntity() *ChargebackPaymentByExternalKeyUnprocessableEntity

NewChargebackPaymentByExternalKeyUnprocessableEntity creates a ChargebackPaymentByExternalKeyUnprocessableEntity with default headers values

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) Error

type ChargebackPaymentCreated

type ChargebackPaymentCreated struct {
	Payload *kbmodel.Payment
}
ChargebackPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewChargebackPaymentCreated

func NewChargebackPaymentCreated() *ChargebackPaymentCreated

NewChargebackPaymentCreated creates a ChargebackPaymentCreated with default headers values

func (*ChargebackPaymentCreated) Error

func (o *ChargebackPaymentCreated) Error() string

func (*ChargebackPaymentCreated) GetPayload

func (o *ChargebackPaymentCreated) GetPayload() *kbmodel.Payment

type ChargebackPaymentGatewayTimeout

type ChargebackPaymentGatewayTimeout struct {
}
ChargebackPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewChargebackPaymentGatewayTimeout

func NewChargebackPaymentGatewayTimeout() *ChargebackPaymentGatewayTimeout

NewChargebackPaymentGatewayTimeout creates a ChargebackPaymentGatewayTimeout with default headers values

func (*ChargebackPaymentGatewayTimeout) Error

type ChargebackPaymentNotFound

type ChargebackPaymentNotFound struct {
}
ChargebackPaymentNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewChargebackPaymentNotFound

func NewChargebackPaymentNotFound() *ChargebackPaymentNotFound

NewChargebackPaymentNotFound creates a ChargebackPaymentNotFound with default headers values

func (*ChargebackPaymentNotFound) Error

func (o *ChargebackPaymentNotFound) Error() string

type ChargebackPaymentParams

type ChargebackPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

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

ChargebackPaymentParams contains all the parameters to send to the API endpoint

for the chargeback payment operation.

Typically these are written to a http.Request.

func NewChargebackPaymentParams

func NewChargebackPaymentParams() *ChargebackPaymentParams

NewChargebackPaymentParams creates a new ChargebackPaymentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewChargebackPaymentParamsWithContext

func NewChargebackPaymentParamsWithContext(ctx context.Context) *ChargebackPaymentParams

NewChargebackPaymentParamsWithContext creates a new ChargebackPaymentParams object with the ability to set a context for a request.

func NewChargebackPaymentParamsWithHTTPClient

func NewChargebackPaymentParamsWithHTTPClient(client *http.Client) *ChargebackPaymentParams

NewChargebackPaymentParamsWithHTTPClient creates a new ChargebackPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewChargebackPaymentParamsWithTimeout

func NewChargebackPaymentParamsWithTimeout(timeout time.Duration) *ChargebackPaymentParams

NewChargebackPaymentParamsWithTimeout creates a new ChargebackPaymentParams object with the ability to set a timeout on a request.

func (*ChargebackPaymentParams) SetBody

SetBody adds the body to the chargeback payment params

func (*ChargebackPaymentParams) SetContext

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

SetContext adds the context to the chargeback payment params

func (*ChargebackPaymentParams) SetControlPluginName

func (o *ChargebackPaymentParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the chargeback payment params

func (*ChargebackPaymentParams) SetDefaults

func (o *ChargebackPaymentParams) SetDefaults()

SetDefaults hydrates default values in the chargeback payment params (not the query body).

All values with no default are reset to their zero value.

func (*ChargebackPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the chargeback payment params

func (*ChargebackPaymentParams) SetPaymentID

func (o *ChargebackPaymentParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the chargeback payment params

func (*ChargebackPaymentParams) SetPluginProperty

func (o *ChargebackPaymentParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the chargeback payment params

func (*ChargebackPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the chargeback payment params

func (*ChargebackPaymentParams) SetXKillbillComment

func (o *ChargebackPaymentParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the chargeback payment params

func (*ChargebackPaymentParams) SetXKillbillCreatedBy

func (o *ChargebackPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback payment params

func (*ChargebackPaymentParams) SetXKillbillReason

func (o *ChargebackPaymentParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the chargeback payment params

func (*ChargebackPaymentParams) WithBody

WithBody adds the body to the chargeback payment params

func (*ChargebackPaymentParams) WithContext

WithContext adds the context to the chargeback payment params

func (*ChargebackPaymentParams) WithControlPluginName

func (o *ChargebackPaymentParams) WithControlPluginName(controlPluginName []string) *ChargebackPaymentParams

WithControlPluginName adds the controlPluginName to the chargeback payment params

func (*ChargebackPaymentParams) WithDefaults

WithDefaults hydrates default values in the chargeback payment params (not the query body).

All values with no default are reset to their zero value.

func (*ChargebackPaymentParams) WithHTTPClient

func (o *ChargebackPaymentParams) WithHTTPClient(client *http.Client) *ChargebackPaymentParams

WithHTTPClient adds the HTTPClient to the chargeback payment params

func (*ChargebackPaymentParams) WithPaymentID

func (o *ChargebackPaymentParams) WithPaymentID(paymentID strfmt.UUID) *ChargebackPaymentParams

WithPaymentID adds the paymentID to the chargeback payment params

func (*ChargebackPaymentParams) WithPluginProperty

func (o *ChargebackPaymentParams) WithPluginProperty(pluginProperty []string) *ChargebackPaymentParams

WithPluginProperty adds the pluginProperty to the chargeback payment params

func (*ChargebackPaymentParams) WithTimeout

WithTimeout adds the timeout to the chargeback payment params

func (*ChargebackPaymentParams) WithXKillbillComment

func (o *ChargebackPaymentParams) WithXKillbillComment(xKillbillComment *string) *ChargebackPaymentParams

WithXKillbillComment adds the xKillbillComment to the chargeback payment params

func (*ChargebackPaymentParams) WithXKillbillCreatedBy

func (o *ChargebackPaymentParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ChargebackPaymentParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback payment params

func (*ChargebackPaymentParams) WithXKillbillReason

func (o *ChargebackPaymentParams) WithXKillbillReason(xKillbillReason *string) *ChargebackPaymentParams

WithXKillbillReason adds the xKillbillReason to the chargeback payment params

func (*ChargebackPaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargebackPaymentPaymentRequired

type ChargebackPaymentPaymentRequired struct {
}
ChargebackPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewChargebackPaymentPaymentRequired

func NewChargebackPaymentPaymentRequired() *ChargebackPaymentPaymentRequired

NewChargebackPaymentPaymentRequired creates a ChargebackPaymentPaymentRequired with default headers values

func (*ChargebackPaymentPaymentRequired) Error

type ChargebackPaymentReader

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

ChargebackPaymentReader is a Reader for the ChargebackPayment structure.

func (*ChargebackPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargebackPaymentServiceUnavailable

type ChargebackPaymentServiceUnavailable struct {
}
ChargebackPaymentServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewChargebackPaymentServiceUnavailable

func NewChargebackPaymentServiceUnavailable() *ChargebackPaymentServiceUnavailable

NewChargebackPaymentServiceUnavailable creates a ChargebackPaymentServiceUnavailable with default headers values

func (*ChargebackPaymentServiceUnavailable) Error

type ChargebackPaymentUnprocessableEntity

type ChargebackPaymentUnprocessableEntity struct {
}
ChargebackPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewChargebackPaymentUnprocessableEntity

func NewChargebackPaymentUnprocessableEntity() *ChargebackPaymentUnprocessableEntity

NewChargebackPaymentUnprocessableEntity creates a ChargebackPaymentUnprocessableEntity with default headers values

func (*ChargebackPaymentUnprocessableEntity) Error

type ChargebackReversalPaymentBadGateway

type ChargebackReversalPaymentBadGateway struct {
}
ChargebackReversalPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewChargebackReversalPaymentBadGateway

func NewChargebackReversalPaymentBadGateway() *ChargebackReversalPaymentBadGateway

NewChargebackReversalPaymentBadGateway creates a ChargebackReversalPaymentBadGateway with default headers values

func (*ChargebackReversalPaymentBadGateway) Error

type ChargebackReversalPaymentBadRequest

type ChargebackReversalPaymentBadRequest struct {
}
ChargebackReversalPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewChargebackReversalPaymentBadRequest

func NewChargebackReversalPaymentBadRequest() *ChargebackReversalPaymentBadRequest

NewChargebackReversalPaymentBadRequest creates a ChargebackReversalPaymentBadRequest with default headers values

func (*ChargebackReversalPaymentBadRequest) Error

type ChargebackReversalPaymentByExternalKeyBadGateway

type ChargebackReversalPaymentByExternalKeyBadGateway struct {
}
ChargebackReversalPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewChargebackReversalPaymentByExternalKeyBadGateway

func NewChargebackReversalPaymentByExternalKeyBadGateway() *ChargebackReversalPaymentByExternalKeyBadGateway

NewChargebackReversalPaymentByExternalKeyBadGateway creates a ChargebackReversalPaymentByExternalKeyBadGateway with default headers values

func (*ChargebackReversalPaymentByExternalKeyBadGateway) Error

type ChargebackReversalPaymentByExternalKeyCreated

type ChargebackReversalPaymentByExternalKeyCreated struct {
	Payload *kbmodel.Payment
}
ChargebackReversalPaymentByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewChargebackReversalPaymentByExternalKeyCreated

func NewChargebackReversalPaymentByExternalKeyCreated() *ChargebackReversalPaymentByExternalKeyCreated

NewChargebackReversalPaymentByExternalKeyCreated creates a ChargebackReversalPaymentByExternalKeyCreated with default headers values

func (*ChargebackReversalPaymentByExternalKeyCreated) Error

func (*ChargebackReversalPaymentByExternalKeyCreated) GetPayload

type ChargebackReversalPaymentByExternalKeyGatewayTimeout

type ChargebackReversalPaymentByExternalKeyGatewayTimeout struct {
}
ChargebackReversalPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewChargebackReversalPaymentByExternalKeyGatewayTimeout

func NewChargebackReversalPaymentByExternalKeyGatewayTimeout() *ChargebackReversalPaymentByExternalKeyGatewayTimeout

NewChargebackReversalPaymentByExternalKeyGatewayTimeout creates a ChargebackReversalPaymentByExternalKeyGatewayTimeout with default headers values

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) Error

type ChargebackReversalPaymentByExternalKeyNotFound

type ChargebackReversalPaymentByExternalKeyNotFound struct {
}
ChargebackReversalPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewChargebackReversalPaymentByExternalKeyNotFound

func NewChargebackReversalPaymentByExternalKeyNotFound() *ChargebackReversalPaymentByExternalKeyNotFound

NewChargebackReversalPaymentByExternalKeyNotFound creates a ChargebackReversalPaymentByExternalKeyNotFound with default headers values

func (*ChargebackReversalPaymentByExternalKeyNotFound) Error

type ChargebackReversalPaymentByExternalKeyParams

type ChargebackReversalPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

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

ChargebackReversalPaymentByExternalKeyParams contains all the parameters to send to the API endpoint

for the chargeback reversal payment by external key operation.

Typically these are written to a http.Request.

func NewChargebackReversalPaymentByExternalKeyParams

func NewChargebackReversalPaymentByExternalKeyParams() *ChargebackReversalPaymentByExternalKeyParams

NewChargebackReversalPaymentByExternalKeyParams creates a new ChargebackReversalPaymentByExternalKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewChargebackReversalPaymentByExternalKeyParamsWithContext

func NewChargebackReversalPaymentByExternalKeyParamsWithContext(ctx context.Context) *ChargebackReversalPaymentByExternalKeyParams

NewChargebackReversalPaymentByExternalKeyParamsWithContext creates a new ChargebackReversalPaymentByExternalKeyParams object with the ability to set a context for a request.

func NewChargebackReversalPaymentByExternalKeyParamsWithHTTPClient

func NewChargebackReversalPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *ChargebackReversalPaymentByExternalKeyParams

NewChargebackReversalPaymentByExternalKeyParamsWithHTTPClient creates a new ChargebackReversalPaymentByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewChargebackReversalPaymentByExternalKeyParamsWithTimeout

func NewChargebackReversalPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *ChargebackReversalPaymentByExternalKeyParams

NewChargebackReversalPaymentByExternalKeyParamsWithTimeout creates a new ChargebackReversalPaymentByExternalKeyParams object with the ability to set a timeout on a request.

func (*ChargebackReversalPaymentByExternalKeyParams) SetBody

SetBody adds the body to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) SetContext

SetContext adds the context to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) SetControlPluginName

func (o *ChargebackReversalPaymentByExternalKeyParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) SetDefaults

SetDefaults hydrates default values in the chargeback reversal payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*ChargebackReversalPaymentByExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) SetPluginProperty

func (o *ChargebackReversalPaymentByExternalKeyParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) SetTimeout

SetTimeout adds the timeout to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) SetXKillbillComment

func (o *ChargebackReversalPaymentByExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *ChargebackReversalPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) SetXKillbillReason

func (o *ChargebackReversalPaymentByExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithBody

WithBody adds the body to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithContext

WithContext adds the context to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithControlPluginName

WithControlPluginName adds the controlPluginName to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the chargeback reversal payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*ChargebackReversalPaymentByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithPluginProperty

WithPluginProperty adds the pluginProperty to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithXKillbillComment

WithXKillbillComment adds the xKillbillComment to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithXKillbillCreatedBy

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the chargeback reversal payment by external key params

func (*ChargebackReversalPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargebackReversalPaymentByExternalKeyPaymentRequired

type ChargebackReversalPaymentByExternalKeyPaymentRequired struct {
}
ChargebackReversalPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewChargebackReversalPaymentByExternalKeyPaymentRequired

func NewChargebackReversalPaymentByExternalKeyPaymentRequired() *ChargebackReversalPaymentByExternalKeyPaymentRequired

NewChargebackReversalPaymentByExternalKeyPaymentRequired creates a ChargebackReversalPaymentByExternalKeyPaymentRequired with default headers values

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) Error

type ChargebackReversalPaymentByExternalKeyReader

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

ChargebackReversalPaymentByExternalKeyReader is a Reader for the ChargebackReversalPaymentByExternalKey structure.

func (*ChargebackReversalPaymentByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargebackReversalPaymentByExternalKeyServiceUnavailable

type ChargebackReversalPaymentByExternalKeyServiceUnavailable struct {
}
ChargebackReversalPaymentByExternalKeyServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewChargebackReversalPaymentByExternalKeyServiceUnavailable

func NewChargebackReversalPaymentByExternalKeyServiceUnavailable() *ChargebackReversalPaymentByExternalKeyServiceUnavailable

NewChargebackReversalPaymentByExternalKeyServiceUnavailable creates a ChargebackReversalPaymentByExternalKeyServiceUnavailable with default headers values

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) Error

type ChargebackReversalPaymentByExternalKeyUnprocessableEntity

type ChargebackReversalPaymentByExternalKeyUnprocessableEntity struct {
}
ChargebackReversalPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewChargebackReversalPaymentByExternalKeyUnprocessableEntity

func NewChargebackReversalPaymentByExternalKeyUnprocessableEntity() *ChargebackReversalPaymentByExternalKeyUnprocessableEntity

NewChargebackReversalPaymentByExternalKeyUnprocessableEntity creates a ChargebackReversalPaymentByExternalKeyUnprocessableEntity with default headers values

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) Error

type ChargebackReversalPaymentCreated

type ChargebackReversalPaymentCreated struct {
	Payload *kbmodel.Payment
}
ChargebackReversalPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewChargebackReversalPaymentCreated

func NewChargebackReversalPaymentCreated() *ChargebackReversalPaymentCreated

NewChargebackReversalPaymentCreated creates a ChargebackReversalPaymentCreated with default headers values

func (*ChargebackReversalPaymentCreated) Error

func (*ChargebackReversalPaymentCreated) GetPayload

type ChargebackReversalPaymentGatewayTimeout

type ChargebackReversalPaymentGatewayTimeout struct {
}
ChargebackReversalPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewChargebackReversalPaymentGatewayTimeout

func NewChargebackReversalPaymentGatewayTimeout() *ChargebackReversalPaymentGatewayTimeout

NewChargebackReversalPaymentGatewayTimeout creates a ChargebackReversalPaymentGatewayTimeout with default headers values

func (*ChargebackReversalPaymentGatewayTimeout) Error

type ChargebackReversalPaymentNotFound

type ChargebackReversalPaymentNotFound struct {
}
ChargebackReversalPaymentNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewChargebackReversalPaymentNotFound

func NewChargebackReversalPaymentNotFound() *ChargebackReversalPaymentNotFound

NewChargebackReversalPaymentNotFound creates a ChargebackReversalPaymentNotFound with default headers values

func (*ChargebackReversalPaymentNotFound) Error

type ChargebackReversalPaymentParams

type ChargebackReversalPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

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

ChargebackReversalPaymentParams contains all the parameters to send to the API endpoint

for the chargeback reversal payment operation.

Typically these are written to a http.Request.

func NewChargebackReversalPaymentParams

func NewChargebackReversalPaymentParams() *ChargebackReversalPaymentParams

NewChargebackReversalPaymentParams creates a new ChargebackReversalPaymentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewChargebackReversalPaymentParamsWithContext

func NewChargebackReversalPaymentParamsWithContext(ctx context.Context) *ChargebackReversalPaymentParams

NewChargebackReversalPaymentParamsWithContext creates a new ChargebackReversalPaymentParams object with the ability to set a context for a request.

func NewChargebackReversalPaymentParamsWithHTTPClient

func NewChargebackReversalPaymentParamsWithHTTPClient(client *http.Client) *ChargebackReversalPaymentParams

NewChargebackReversalPaymentParamsWithHTTPClient creates a new ChargebackReversalPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewChargebackReversalPaymentParamsWithTimeout

func NewChargebackReversalPaymentParamsWithTimeout(timeout time.Duration) *ChargebackReversalPaymentParams

NewChargebackReversalPaymentParamsWithTimeout creates a new ChargebackReversalPaymentParams object with the ability to set a timeout on a request.

func (*ChargebackReversalPaymentParams) SetBody

SetBody adds the body to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetContext

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

SetContext adds the context to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetControlPluginName

func (o *ChargebackReversalPaymentParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetDefaults

func (o *ChargebackReversalPaymentParams) SetDefaults()

SetDefaults hydrates default values in the chargeback reversal payment params (not the query body).

All values with no default are reset to their zero value.

func (*ChargebackReversalPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetPaymentID

func (o *ChargebackReversalPaymentParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetPluginProperty

func (o *ChargebackReversalPaymentParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetXKillbillComment

func (o *ChargebackReversalPaymentParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetXKillbillCreatedBy

func (o *ChargebackReversalPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetXKillbillReason

func (o *ChargebackReversalPaymentParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithBody

WithBody adds the body to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithContext

WithContext adds the context to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithControlPluginName

func (o *ChargebackReversalPaymentParams) WithControlPluginName(controlPluginName []string) *ChargebackReversalPaymentParams

WithControlPluginName adds the controlPluginName to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithDefaults

WithDefaults hydrates default values in the chargeback reversal payment params (not the query body).

All values with no default are reset to their zero value.

func (*ChargebackReversalPaymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithPaymentID

WithPaymentID adds the paymentID to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithPluginProperty

func (o *ChargebackReversalPaymentParams) WithPluginProperty(pluginProperty []string) *ChargebackReversalPaymentParams

WithPluginProperty adds the pluginProperty to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithTimeout

WithTimeout adds the timeout to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithXKillbillComment

func (o *ChargebackReversalPaymentParams) WithXKillbillComment(xKillbillComment *string) *ChargebackReversalPaymentParams

WithXKillbillComment adds the xKillbillComment to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithXKillbillCreatedBy

func (o *ChargebackReversalPaymentParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ChargebackReversalPaymentParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithXKillbillReason

func (o *ChargebackReversalPaymentParams) WithXKillbillReason(xKillbillReason *string) *ChargebackReversalPaymentParams

WithXKillbillReason adds the xKillbillReason to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargebackReversalPaymentPaymentRequired

type ChargebackReversalPaymentPaymentRequired struct {
}
ChargebackReversalPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewChargebackReversalPaymentPaymentRequired

func NewChargebackReversalPaymentPaymentRequired() *ChargebackReversalPaymentPaymentRequired

NewChargebackReversalPaymentPaymentRequired creates a ChargebackReversalPaymentPaymentRequired with default headers values

func (*ChargebackReversalPaymentPaymentRequired) Error

type ChargebackReversalPaymentReader

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

ChargebackReversalPaymentReader is a Reader for the ChargebackReversalPayment structure.

func (*ChargebackReversalPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargebackReversalPaymentServiceUnavailable

type ChargebackReversalPaymentServiceUnavailable struct {
}
ChargebackReversalPaymentServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewChargebackReversalPaymentServiceUnavailable

func NewChargebackReversalPaymentServiceUnavailable() *ChargebackReversalPaymentServiceUnavailable

NewChargebackReversalPaymentServiceUnavailable creates a ChargebackReversalPaymentServiceUnavailable with default headers values

func (*ChargebackReversalPaymentServiceUnavailable) Error

type ChargebackReversalPaymentUnprocessableEntity

type ChargebackReversalPaymentUnprocessableEntity struct {
}
ChargebackReversalPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewChargebackReversalPaymentUnprocessableEntity

func NewChargebackReversalPaymentUnprocessableEntity() *ChargebackReversalPaymentUnprocessableEntity

NewChargebackReversalPaymentUnprocessableEntity creates a ChargebackReversalPaymentUnprocessableEntity with default headers values

func (*ChargebackReversalPaymentUnprocessableEntity) Error

type Client

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

Client for payment API

func (*Client) CancelScheduledPaymentTransactionByExternalKey

CancelScheduledPaymentTransactionByExternalKey cancels a scheduled payment attempt retry

func (*Client) CancelScheduledPaymentTransactionByID

CancelScheduledPaymentTransactionByID cancels a scheduled payment attempt retry

func (*Client) CaptureAuthorization

func (a *Client) CaptureAuthorization(params *CaptureAuthorizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CaptureAuthorizationCreated, error)

CaptureAuthorization captures an existing authorization

func (*Client) CaptureAuthorizationByExternalKey

CaptureAuthorizationByExternalKey captures an existing authorization

func (*Client) ChargebackPayment

func (a *Client) ChargebackPayment(params *ChargebackPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargebackPaymentCreated, error)

ChargebackPayment records a chargeback

func (*Client) ChargebackPaymentByExternalKey

ChargebackPaymentByExternalKey records a chargeback

func (*Client) ChargebackReversalPayment

func (a *Client) ChargebackReversalPayment(params *ChargebackReversalPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargebackReversalPaymentCreated, error)

ChargebackReversalPayment records a chargeback reversal

func (*Client) ChargebackReversalPaymentByExternalKey

ChargebackReversalPaymentByExternalKey records a chargeback reversal

func (*Client) CompleteTransaction

func (a *Client) CompleteTransaction(params *CompleteTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompleteTransactionNoContent, error)

CompleteTransaction completes an existing transaction

func (*Client) CompleteTransactionByExternalKey

CompleteTransactionByExternalKey completes an existing transaction

func (*Client) CreateComboPayment

func (a *Client) CreateComboPayment(params *CreateComboPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateComboPaymentCreated, error)

CreateComboPayment combos api to create a new payment transaction on a existing or not account

func (*Client) CreatePaymentCustomFields

func (a *Client) CreatePaymentCustomFields(params *CreatePaymentCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePaymentCustomFieldsCreated, error)

CreatePaymentCustomFields adds custom fields to payment

func (*Client) CreatePaymentTags

func (a *Client) CreatePaymentTags(params *CreatePaymentTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePaymentTagsCreated, error)

CreatePaymentTags adds tags to payment payment

func (*Client) DeletePaymentCustomFields

DeletePaymentCustomFields removes custom fields from payment payment

func (*Client) DeletePaymentTags

func (a *Client) DeletePaymentTags(params *DeletePaymentTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePaymentTagsNoContent, error)

DeletePaymentTags removes tags from payment payment

func (*Client) GetPayment

func (a *Client) GetPayment(params *GetPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentOK, error)

GetPayment retrieves a payment by id

func (*Client) GetPaymentAttemptAuditLogsWithHistory

func (a *Client) GetPaymentAttemptAuditLogsWithHistory(params *GetPaymentAttemptAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentAttemptAuditLogsWithHistoryOK, error)

GetPaymentAttemptAuditLogsWithHistory retrieves payment attempt audit logs with history by id

func (*Client) GetPaymentAuditLogsWithHistory

func (a *Client) GetPaymentAuditLogsWithHistory(params *GetPaymentAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentAuditLogsWithHistoryOK, error)

GetPaymentAuditLogsWithHistory retrieves payment audit logs with history by id

func (*Client) GetPaymentByExternalKey

func (a *Client) GetPaymentByExternalKey(params *GetPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentByExternalKeyOK, error)

GetPaymentByExternalKey retrieves a payment by external key

func (*Client) GetPaymentCustomFields

func (a *Client) GetPaymentCustomFields(params *GetPaymentCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentCustomFieldsOK, error)

GetPaymentCustomFields retrieves payment custom fields

func (*Client) GetPaymentTags

func (a *Client) GetPaymentTags(params *GetPaymentTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentTagsOK, error)

GetPaymentTags retrieves payment payment tags

func (*Client) GetPayments

func (a *Client) GetPayments(params *GetPaymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentsOK, error)

GetPayments gets payments

func (*Client) ModifyPaymentCustomFields

ModifyPaymentCustomFields modifies custom fields to payment

func (*Client) RefundPayment

func (a *Client) RefundPayment(params *RefundPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefundPaymentCreated, error)

RefundPayment refunds an existing payment

func (*Client) RefundPaymentByExternalKey

func (a *Client) RefundPaymentByExternalKey(params *RefundPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefundPaymentByExternalKeyCreated, error)

RefundPaymentByExternalKey refunds an existing payment

func (*Client) SearchPayments

func (a *Client) SearchPayments(params *SearchPaymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchPaymentsOK, error)

SearchPayments searches payments

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VoidPayment

func (a *Client) VoidPayment(params *VoidPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VoidPaymentNoContent, error)

VoidPayment voids an existing payment

func (*Client) VoidPaymentByExternalKey

VoidPaymentByExternalKey voids an existing payment

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CancelScheduledPaymentTransactionByExternalKey(params *CancelScheduledPaymentTransactionByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelScheduledPaymentTransactionByExternalKeyNoContent, error)

	CancelScheduledPaymentTransactionByID(params *CancelScheduledPaymentTransactionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelScheduledPaymentTransactionByIDNoContent, error)

	CaptureAuthorization(params *CaptureAuthorizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CaptureAuthorizationCreated, error)

	CaptureAuthorizationByExternalKey(params *CaptureAuthorizationByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CaptureAuthorizationByExternalKeyCreated, error)

	ChargebackPayment(params *ChargebackPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargebackPaymentCreated, error)

	ChargebackPaymentByExternalKey(params *ChargebackPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargebackPaymentByExternalKeyCreated, error)

	ChargebackReversalPayment(params *ChargebackReversalPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargebackReversalPaymentCreated, error)

	ChargebackReversalPaymentByExternalKey(params *ChargebackReversalPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargebackReversalPaymentByExternalKeyCreated, error)

	CompleteTransaction(params *CompleteTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompleteTransactionNoContent, error)

	CompleteTransactionByExternalKey(params *CompleteTransactionByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompleteTransactionByExternalKeyNoContent, error)

	CreateComboPayment(params *CreateComboPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateComboPaymentCreated, error)

	CreatePaymentCustomFields(params *CreatePaymentCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePaymentCustomFieldsCreated, error)

	CreatePaymentTags(params *CreatePaymentTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePaymentTagsCreated, error)

	DeletePaymentCustomFields(params *DeletePaymentCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePaymentCustomFieldsNoContent, error)

	DeletePaymentTags(params *DeletePaymentTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePaymentTagsNoContent, error)

	GetPayment(params *GetPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentOK, error)

	GetPaymentAttemptAuditLogsWithHistory(params *GetPaymentAttemptAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentAttemptAuditLogsWithHistoryOK, error)

	GetPaymentAuditLogsWithHistory(params *GetPaymentAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentAuditLogsWithHistoryOK, error)

	GetPaymentByExternalKey(params *GetPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentByExternalKeyOK, error)

	GetPaymentCustomFields(params *GetPaymentCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentCustomFieldsOK, error)

	GetPaymentTags(params *GetPaymentTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentTagsOK, error)

	GetPayments(params *GetPaymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentsOK, error)

	ModifyPaymentCustomFields(params *ModifyPaymentCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ModifyPaymentCustomFieldsNoContent, error)

	RefundPayment(params *RefundPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefundPaymentCreated, error)

	RefundPaymentByExternalKey(params *RefundPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefundPaymentByExternalKeyCreated, error)

	SearchPayments(params *SearchPaymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchPaymentsOK, error)

	VoidPayment(params *VoidPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VoidPaymentNoContent, error)

	VoidPaymentByExternalKey(params *VoidPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VoidPaymentByExternalKeyNoContent, 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 API client.

type CompleteTransactionBadGateway

type CompleteTransactionBadGateway struct {
}
CompleteTransactionBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCompleteTransactionBadGateway

func NewCompleteTransactionBadGateway() *CompleteTransactionBadGateway

NewCompleteTransactionBadGateway creates a CompleteTransactionBadGateway with default headers values

func (*CompleteTransactionBadGateway) Error

type CompleteTransactionBadRequest

type CompleteTransactionBadRequest struct {
}
CompleteTransactionBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewCompleteTransactionBadRequest

func NewCompleteTransactionBadRequest() *CompleteTransactionBadRequest

NewCompleteTransactionBadRequest creates a CompleteTransactionBadRequest with default headers values

func (*CompleteTransactionBadRequest) Error

type CompleteTransactionByExternalKeyBadGateway

type CompleteTransactionByExternalKeyBadGateway struct {
}
CompleteTransactionByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCompleteTransactionByExternalKeyBadGateway

func NewCompleteTransactionByExternalKeyBadGateway() *CompleteTransactionByExternalKeyBadGateway

NewCompleteTransactionByExternalKeyBadGateway creates a CompleteTransactionByExternalKeyBadGateway with default headers values

func (*CompleteTransactionByExternalKeyBadGateway) Error

type CompleteTransactionByExternalKeyGatewayTimeout

type CompleteTransactionByExternalKeyGatewayTimeout struct {
}
CompleteTransactionByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCompleteTransactionByExternalKeyGatewayTimeout

func NewCompleteTransactionByExternalKeyGatewayTimeout() *CompleteTransactionByExternalKeyGatewayTimeout

NewCompleteTransactionByExternalKeyGatewayTimeout creates a CompleteTransactionByExternalKeyGatewayTimeout with default headers values

func (*CompleteTransactionByExternalKeyGatewayTimeout) Error

type CompleteTransactionByExternalKeyNoContent

type CompleteTransactionByExternalKeyNoContent struct {
}
CompleteTransactionByExternalKeyNoContent describes a response with status code 204, with default header values.

Successful operation

func NewCompleteTransactionByExternalKeyNoContent

func NewCompleteTransactionByExternalKeyNoContent() *CompleteTransactionByExternalKeyNoContent

NewCompleteTransactionByExternalKeyNoContent creates a CompleteTransactionByExternalKeyNoContent with default headers values

func (*CompleteTransactionByExternalKeyNoContent) Error

type CompleteTransactionByExternalKeyNotFound

type CompleteTransactionByExternalKeyNotFound struct {
}
CompleteTransactionByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewCompleteTransactionByExternalKeyNotFound

func NewCompleteTransactionByExternalKeyNotFound() *CompleteTransactionByExternalKeyNotFound

NewCompleteTransactionByExternalKeyNotFound creates a CompleteTransactionByExternalKeyNotFound with default headers values

func (*CompleteTransactionByExternalKeyNotFound) Error

type CompleteTransactionByExternalKeyParams

type CompleteTransactionByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

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

CompleteTransactionByExternalKeyParams contains all the parameters to send to the API endpoint

for the complete transaction by external key operation.

Typically these are written to a http.Request.

func NewCompleteTransactionByExternalKeyParams

func NewCompleteTransactionByExternalKeyParams() *CompleteTransactionByExternalKeyParams

NewCompleteTransactionByExternalKeyParams creates a new CompleteTransactionByExternalKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCompleteTransactionByExternalKeyParamsWithContext

func NewCompleteTransactionByExternalKeyParamsWithContext(ctx context.Context) *CompleteTransactionByExternalKeyParams

NewCompleteTransactionByExternalKeyParamsWithContext creates a new CompleteTransactionByExternalKeyParams object with the ability to set a context for a request.

func NewCompleteTransactionByExternalKeyParamsWithHTTPClient

func NewCompleteTransactionByExternalKeyParamsWithHTTPClient(client *http.Client) *CompleteTransactionByExternalKeyParams

NewCompleteTransactionByExternalKeyParamsWithHTTPClient creates a new CompleteTransactionByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewCompleteTransactionByExternalKeyParamsWithTimeout

func NewCompleteTransactionByExternalKeyParamsWithTimeout(timeout time.Duration) *CompleteTransactionByExternalKeyParams

NewCompleteTransactionByExternalKeyParamsWithTimeout creates a new CompleteTransactionByExternalKeyParams object with the ability to set a timeout on a request.

func (*CompleteTransactionByExternalKeyParams) SetBody

SetBody adds the body to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) SetContext

SetContext adds the context to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) SetControlPluginName

func (o *CompleteTransactionByExternalKeyParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) SetDefaults

func (o *CompleteTransactionByExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the complete transaction by external key params (not the query body).

All values with no default are reset to their zero value.

func (*CompleteTransactionByExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) SetPluginProperty

func (o *CompleteTransactionByExternalKeyParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) SetTimeout

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

SetTimeout adds the timeout to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) SetXKillbillComment

func (o *CompleteTransactionByExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) SetXKillbillCreatedBy

func (o *CompleteTransactionByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) SetXKillbillReason

func (o *CompleteTransactionByExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithBody

WithBody adds the body to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithContext

WithContext adds the context to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithControlPluginName

func (o *CompleteTransactionByExternalKeyParams) WithControlPluginName(controlPluginName []string) *CompleteTransactionByExternalKeyParams

WithControlPluginName adds the controlPluginName to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the complete transaction by external key params (not the query body).

All values with no default are reset to their zero value.

func (*CompleteTransactionByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithPluginProperty

WithPluginProperty adds the pluginProperty to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithXKillbillComment

func (o *CompleteTransactionByExternalKeyParams) WithXKillbillComment(xKillbillComment *string) *CompleteTransactionByExternalKeyParams

WithXKillbillComment adds the xKillbillComment to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithXKillbillCreatedBy

func (o *CompleteTransactionByExternalKeyParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CompleteTransactionByExternalKeyParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the complete transaction by external key params

func (*CompleteTransactionByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteTransactionByExternalKeyPaymentRequired

type CompleteTransactionByExternalKeyPaymentRequired struct {
}
CompleteTransactionByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCompleteTransactionByExternalKeyPaymentRequired

func NewCompleteTransactionByExternalKeyPaymentRequired() *CompleteTransactionByExternalKeyPaymentRequired

NewCompleteTransactionByExternalKeyPaymentRequired creates a CompleteTransactionByExternalKeyPaymentRequired with default headers values

func (*CompleteTransactionByExternalKeyPaymentRequired) Error

type CompleteTransactionByExternalKeyReader

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

CompleteTransactionByExternalKeyReader is a Reader for the CompleteTransactionByExternalKey structure.

func (*CompleteTransactionByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CompleteTransactionByExternalKeyServiceUnavailable

type CompleteTransactionByExternalKeyServiceUnavailable struct {
}
CompleteTransactionByExternalKeyServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCompleteTransactionByExternalKeyServiceUnavailable

func NewCompleteTransactionByExternalKeyServiceUnavailable() *CompleteTransactionByExternalKeyServiceUnavailable

NewCompleteTransactionByExternalKeyServiceUnavailable creates a CompleteTransactionByExternalKeyServiceUnavailable with default headers values

func (*CompleteTransactionByExternalKeyServiceUnavailable) Error

type CompleteTransactionByExternalKeyUnprocessableEntity

type CompleteTransactionByExternalKeyUnprocessableEntity struct {
}
CompleteTransactionByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCompleteTransactionByExternalKeyUnprocessableEntity

func NewCompleteTransactionByExternalKeyUnprocessableEntity() *CompleteTransactionByExternalKeyUnprocessableEntity

NewCompleteTransactionByExternalKeyUnprocessableEntity creates a CompleteTransactionByExternalKeyUnprocessableEntity with default headers values

func (*CompleteTransactionByExternalKeyUnprocessableEntity) Error

type CompleteTransactionGatewayTimeout

type CompleteTransactionGatewayTimeout struct {
}
CompleteTransactionGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCompleteTransactionGatewayTimeout

func NewCompleteTransactionGatewayTimeout() *CompleteTransactionGatewayTimeout

NewCompleteTransactionGatewayTimeout creates a CompleteTransactionGatewayTimeout with default headers values

func (*CompleteTransactionGatewayTimeout) Error

type CompleteTransactionNoContent

type CompleteTransactionNoContent struct {
}
CompleteTransactionNoContent describes a response with status code 204, with default header values.

Successful operation

func NewCompleteTransactionNoContent

func NewCompleteTransactionNoContent() *CompleteTransactionNoContent

NewCompleteTransactionNoContent creates a CompleteTransactionNoContent with default headers values

func (*CompleteTransactionNoContent) Error

type CompleteTransactionNotFound

type CompleteTransactionNotFound struct {
}
CompleteTransactionNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewCompleteTransactionNotFound

func NewCompleteTransactionNotFound() *CompleteTransactionNotFound

NewCompleteTransactionNotFound creates a CompleteTransactionNotFound with default headers values

func (*CompleteTransactionNotFound) Error

type CompleteTransactionParams

type CompleteTransactionParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

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

CompleteTransactionParams contains all the parameters to send to the API endpoint

for the complete transaction operation.

Typically these are written to a http.Request.

func NewCompleteTransactionParams

func NewCompleteTransactionParams() *CompleteTransactionParams

NewCompleteTransactionParams creates a new CompleteTransactionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCompleteTransactionParamsWithContext

func NewCompleteTransactionParamsWithContext(ctx context.Context) *CompleteTransactionParams

NewCompleteTransactionParamsWithContext creates a new CompleteTransactionParams object with the ability to set a context for a request.

func NewCompleteTransactionParamsWithHTTPClient

func NewCompleteTransactionParamsWithHTTPClient(client *http.Client) *CompleteTransactionParams

NewCompleteTransactionParamsWithHTTPClient creates a new CompleteTransactionParams object with the ability to set a custom HTTPClient for a request.

func NewCompleteTransactionParamsWithTimeout

func NewCompleteTransactionParamsWithTimeout(timeout time.Duration) *CompleteTransactionParams

NewCompleteTransactionParamsWithTimeout creates a new CompleteTransactionParams object with the ability to set a timeout on a request.

func (*CompleteTransactionParams) SetBody

SetBody adds the body to the complete transaction params

func (*CompleteTransactionParams) SetContext

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

SetContext adds the context to the complete transaction params

func (*CompleteTransactionParams) SetControlPluginName

func (o *CompleteTransactionParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the complete transaction params

func (*CompleteTransactionParams) SetDefaults

func (o *CompleteTransactionParams) SetDefaults()

SetDefaults hydrates default values in the complete transaction params (not the query body).

All values with no default are reset to their zero value.

func (*CompleteTransactionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete transaction params

func (*CompleteTransactionParams) SetPaymentID

func (o *CompleteTransactionParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the complete transaction params

func (*CompleteTransactionParams) SetPluginProperty

func (o *CompleteTransactionParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the complete transaction params

func (*CompleteTransactionParams) SetTimeout

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

SetTimeout adds the timeout to the complete transaction params

func (*CompleteTransactionParams) SetXKillbillComment

func (o *CompleteTransactionParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the complete transaction params

func (*CompleteTransactionParams) SetXKillbillCreatedBy

func (o *CompleteTransactionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the complete transaction params

func (*CompleteTransactionParams) SetXKillbillReason

func (o *CompleteTransactionParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the complete transaction params

func (*CompleteTransactionParams) WithBody

WithBody adds the body to the complete transaction params

func (*CompleteTransactionParams) WithContext

WithContext adds the context to the complete transaction params

func (*CompleteTransactionParams) WithControlPluginName

func (o *CompleteTransactionParams) WithControlPluginName(controlPluginName []string) *CompleteTransactionParams

WithControlPluginName adds the controlPluginName to the complete transaction params

func (*CompleteTransactionParams) WithDefaults

WithDefaults hydrates default values in the complete transaction params (not the query body).

All values with no default are reset to their zero value.

func (*CompleteTransactionParams) WithHTTPClient

func (o *CompleteTransactionParams) WithHTTPClient(client *http.Client) *CompleteTransactionParams

WithHTTPClient adds the HTTPClient to the complete transaction params

func (*CompleteTransactionParams) WithPaymentID

func (o *CompleteTransactionParams) WithPaymentID(paymentID strfmt.UUID) *CompleteTransactionParams

WithPaymentID adds the paymentID to the complete transaction params

func (*CompleteTransactionParams) WithPluginProperty

func (o *CompleteTransactionParams) WithPluginProperty(pluginProperty []string) *CompleteTransactionParams

WithPluginProperty adds the pluginProperty to the complete transaction params

func (*CompleteTransactionParams) WithTimeout

WithTimeout adds the timeout to the complete transaction params

func (*CompleteTransactionParams) WithXKillbillComment

func (o *CompleteTransactionParams) WithXKillbillComment(xKillbillComment *string) *CompleteTransactionParams

WithXKillbillComment adds the xKillbillComment to the complete transaction params

func (*CompleteTransactionParams) WithXKillbillCreatedBy

func (o *CompleteTransactionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CompleteTransactionParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the complete transaction params

func (*CompleteTransactionParams) WithXKillbillReason

func (o *CompleteTransactionParams) WithXKillbillReason(xKillbillReason *string) *CompleteTransactionParams

WithXKillbillReason adds the xKillbillReason to the complete transaction params

func (*CompleteTransactionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteTransactionPaymentRequired

type CompleteTransactionPaymentRequired struct {
}
CompleteTransactionPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCompleteTransactionPaymentRequired

func NewCompleteTransactionPaymentRequired() *CompleteTransactionPaymentRequired

NewCompleteTransactionPaymentRequired creates a CompleteTransactionPaymentRequired with default headers values

func (*CompleteTransactionPaymentRequired) Error

type CompleteTransactionReader

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

CompleteTransactionReader is a Reader for the CompleteTransaction structure.

func (*CompleteTransactionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CompleteTransactionServiceUnavailable

type CompleteTransactionServiceUnavailable struct {
}
CompleteTransactionServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCompleteTransactionServiceUnavailable

func NewCompleteTransactionServiceUnavailable() *CompleteTransactionServiceUnavailable

NewCompleteTransactionServiceUnavailable creates a CompleteTransactionServiceUnavailable with default headers values

func (*CompleteTransactionServiceUnavailable) Error

type CompleteTransactionUnprocessableEntity

type CompleteTransactionUnprocessableEntity struct {
}
CompleteTransactionUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCompleteTransactionUnprocessableEntity

func NewCompleteTransactionUnprocessableEntity() *CompleteTransactionUnprocessableEntity

NewCompleteTransactionUnprocessableEntity creates a CompleteTransactionUnprocessableEntity with default headers values

func (*CompleteTransactionUnprocessableEntity) Error

type CreateComboPaymentBadGateway

type CreateComboPaymentBadGateway struct {
}
CreateComboPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCreateComboPaymentBadGateway

func NewCreateComboPaymentBadGateway() *CreateComboPaymentBadGateway

NewCreateComboPaymentBadGateway creates a CreateComboPaymentBadGateway with default headers values

func (*CreateComboPaymentBadGateway) Error

type CreateComboPaymentBadRequest

type CreateComboPaymentBadRequest struct {
}
CreateComboPaymentBadRequest describes a response with status code 400, with default header values.

Invalid data for Account or PaymentMethod

func NewCreateComboPaymentBadRequest

func NewCreateComboPaymentBadRequest() *CreateComboPaymentBadRequest

NewCreateComboPaymentBadRequest creates a CreateComboPaymentBadRequest with default headers values

func (*CreateComboPaymentBadRequest) Error

type CreateComboPaymentCreated

type CreateComboPaymentCreated struct {
	Payload *kbmodel.Payment
}
CreateComboPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewCreateComboPaymentCreated

func NewCreateComboPaymentCreated() *CreateComboPaymentCreated

NewCreateComboPaymentCreated creates a CreateComboPaymentCreated with default headers values

func (*CreateComboPaymentCreated) Error

func (o *CreateComboPaymentCreated) Error() string

func (*CreateComboPaymentCreated) GetPayload

func (o *CreateComboPaymentCreated) GetPayload() *kbmodel.Payment

type CreateComboPaymentGatewayTimeout

type CreateComboPaymentGatewayTimeout struct {
}
CreateComboPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCreateComboPaymentGatewayTimeout

func NewCreateComboPaymentGatewayTimeout() *CreateComboPaymentGatewayTimeout

NewCreateComboPaymentGatewayTimeout creates a CreateComboPaymentGatewayTimeout with default headers values

func (*CreateComboPaymentGatewayTimeout) Error

type CreateComboPaymentParams

type CreateComboPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.ComboPaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

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

CreateComboPaymentParams contains all the parameters to send to the API endpoint

for the create combo payment operation.

Typically these are written to a http.Request.

func NewCreateComboPaymentParams

func NewCreateComboPaymentParams() *CreateComboPaymentParams

NewCreateComboPaymentParams creates a new CreateComboPaymentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateComboPaymentParamsWithContext

func NewCreateComboPaymentParamsWithContext(ctx context.Context) *CreateComboPaymentParams

NewCreateComboPaymentParamsWithContext creates a new CreateComboPaymentParams object with the ability to set a context for a request.

func NewCreateComboPaymentParamsWithHTTPClient

func NewCreateComboPaymentParamsWithHTTPClient(client *http.Client) *CreateComboPaymentParams

NewCreateComboPaymentParamsWithHTTPClient creates a new CreateComboPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateComboPaymentParamsWithTimeout

func NewCreateComboPaymentParamsWithTimeout(timeout time.Duration) *CreateComboPaymentParams

NewCreateComboPaymentParamsWithTimeout creates a new CreateComboPaymentParams object with the ability to set a timeout on a request.

func (*CreateComboPaymentParams) SetBody

SetBody adds the body to the create combo payment params

func (*CreateComboPaymentParams) SetContext

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

SetContext adds the context to the create combo payment params

func (*CreateComboPaymentParams) SetControlPluginName

func (o *CreateComboPaymentParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the create combo payment params

func (*CreateComboPaymentParams) SetDefaults

func (o *CreateComboPaymentParams) SetDefaults()

SetDefaults hydrates default values in the create combo payment params (not the query body).

All values with no default are reset to their zero value.

func (*CreateComboPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create combo payment params

func (*CreateComboPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the create combo payment params

func (*CreateComboPaymentParams) SetXKillbillComment

func (o *CreateComboPaymentParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the create combo payment params

func (*CreateComboPaymentParams) SetXKillbillCreatedBy

func (o *CreateComboPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create combo payment params

func (*CreateComboPaymentParams) SetXKillbillReason

func (o *CreateComboPaymentParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the create combo payment params

func (*CreateComboPaymentParams) WithBody

WithBody adds the body to the create combo payment params

func (*CreateComboPaymentParams) WithContext

WithContext adds the context to the create combo payment params

func (*CreateComboPaymentParams) WithControlPluginName

func (o *CreateComboPaymentParams) WithControlPluginName(controlPluginName []string) *CreateComboPaymentParams

WithControlPluginName adds the controlPluginName to the create combo payment params

func (*CreateComboPaymentParams) WithDefaults

WithDefaults hydrates default values in the create combo payment params (not the query body).

All values with no default are reset to their zero value.

func (*CreateComboPaymentParams) WithHTTPClient

func (o *CreateComboPaymentParams) WithHTTPClient(client *http.Client) *CreateComboPaymentParams

WithHTTPClient adds the HTTPClient to the create combo payment params

func (*CreateComboPaymentParams) WithTimeout

WithTimeout adds the timeout to the create combo payment params

func (*CreateComboPaymentParams) WithXKillbillComment

func (o *CreateComboPaymentParams) WithXKillbillComment(xKillbillComment *string) *CreateComboPaymentParams

WithXKillbillComment adds the xKillbillComment to the create combo payment params

func (*CreateComboPaymentParams) WithXKillbillCreatedBy

func (o *CreateComboPaymentParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateComboPaymentParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create combo payment params

func (*CreateComboPaymentParams) WithXKillbillReason

func (o *CreateComboPaymentParams) WithXKillbillReason(xKillbillReason *string) *CreateComboPaymentParams

WithXKillbillReason adds the xKillbillReason to the create combo payment params

func (*CreateComboPaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateComboPaymentPaymentRequired

type CreateComboPaymentPaymentRequired struct {
}
CreateComboPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCreateComboPaymentPaymentRequired

func NewCreateComboPaymentPaymentRequired() *CreateComboPaymentPaymentRequired

NewCreateComboPaymentPaymentRequired creates a CreateComboPaymentPaymentRequired with default headers values

func (*CreateComboPaymentPaymentRequired) Error

type CreateComboPaymentReader

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

CreateComboPaymentReader is a Reader for the CreateComboPayment structure.

func (*CreateComboPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateComboPaymentServiceUnavailable

type CreateComboPaymentServiceUnavailable struct {
}
CreateComboPaymentServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCreateComboPaymentServiceUnavailable

func NewCreateComboPaymentServiceUnavailable() *CreateComboPaymentServiceUnavailable

NewCreateComboPaymentServiceUnavailable creates a CreateComboPaymentServiceUnavailable with default headers values

func (*CreateComboPaymentServiceUnavailable) Error

type CreateComboPaymentUnprocessableEntity

type CreateComboPaymentUnprocessableEntity struct {
}
CreateComboPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCreateComboPaymentUnprocessableEntity

func NewCreateComboPaymentUnprocessableEntity() *CreateComboPaymentUnprocessableEntity

NewCreateComboPaymentUnprocessableEntity creates a CreateComboPaymentUnprocessableEntity with default headers values

func (*CreateComboPaymentUnprocessableEntity) Error

type CreatePaymentCustomFieldsBadRequest

type CreatePaymentCustomFieldsBadRequest struct {
}
CreatePaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewCreatePaymentCustomFieldsBadRequest

func NewCreatePaymentCustomFieldsBadRequest() *CreatePaymentCustomFieldsBadRequest

NewCreatePaymentCustomFieldsBadRequest creates a CreatePaymentCustomFieldsBadRequest with default headers values

func (*CreatePaymentCustomFieldsBadRequest) Error

type CreatePaymentCustomFieldsCreated

type CreatePaymentCustomFieldsCreated struct {
	Payload []*kbmodel.CustomField
}
CreatePaymentCustomFieldsCreated describes a response with status code 201, with default header values.

Custom field created successfully

func NewCreatePaymentCustomFieldsCreated

func NewCreatePaymentCustomFieldsCreated() *CreatePaymentCustomFieldsCreated

NewCreatePaymentCustomFieldsCreated creates a CreatePaymentCustomFieldsCreated with default headers values

func (*CreatePaymentCustomFieldsCreated) Error

func (*CreatePaymentCustomFieldsCreated) GetPayload

type CreatePaymentCustomFieldsParams

type CreatePaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

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

CreatePaymentCustomFieldsParams contains all the parameters to send to the API endpoint

for the create payment custom fields operation.

Typically these are written to a http.Request.

func NewCreatePaymentCustomFieldsParams

func NewCreatePaymentCustomFieldsParams() *CreatePaymentCustomFieldsParams

NewCreatePaymentCustomFieldsParams creates a new CreatePaymentCustomFieldsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePaymentCustomFieldsParamsWithContext

func NewCreatePaymentCustomFieldsParamsWithContext(ctx context.Context) *CreatePaymentCustomFieldsParams

NewCreatePaymentCustomFieldsParamsWithContext creates a new CreatePaymentCustomFieldsParams object with the ability to set a context for a request.

func NewCreatePaymentCustomFieldsParamsWithHTTPClient

func NewCreatePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *CreatePaymentCustomFieldsParams

NewCreatePaymentCustomFieldsParamsWithHTTPClient creates a new CreatePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePaymentCustomFieldsParamsWithTimeout

func NewCreatePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *CreatePaymentCustomFieldsParams

NewCreatePaymentCustomFieldsParamsWithTimeout creates a new CreatePaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*CreatePaymentCustomFieldsParams) SetBody

SetBody adds the body to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetContext

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

SetContext adds the context to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetDefaults

func (o *CreatePaymentCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the create payment custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetPaymentID

func (o *CreatePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetXKillbillComment

func (o *CreatePaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreatePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetXKillbillReason

func (o *CreatePaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithBody

WithBody adds the body to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithContext

WithContext adds the context to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithDefaults

WithDefaults hydrates default values in the create payment custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithXKillbillComment

func (o *CreatePaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreatePaymentCustomFieldsParams

WithXKillbillComment adds the xKillbillComment to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithXKillbillCreatedBy

func (o *CreatePaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreatePaymentCustomFieldsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithXKillbillReason

func (o *CreatePaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreatePaymentCustomFieldsParams

WithXKillbillReason adds the xKillbillReason to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePaymentCustomFieldsReader

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

CreatePaymentCustomFieldsReader is a Reader for the CreatePaymentCustomFields structure.

func (*CreatePaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePaymentTagsBadRequest

type CreatePaymentTagsBadRequest struct {
}
CreatePaymentTagsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewCreatePaymentTagsBadRequest

func NewCreatePaymentTagsBadRequest() *CreatePaymentTagsBadRequest

NewCreatePaymentTagsBadRequest creates a CreatePaymentTagsBadRequest with default headers values

func (*CreatePaymentTagsBadRequest) Error

type CreatePaymentTagsCreated

type CreatePaymentTagsCreated struct {
	Payload []*kbmodel.Tag
}
CreatePaymentTagsCreated describes a response with status code 201, with default header values.

Tag created successfully

func NewCreatePaymentTagsCreated

func NewCreatePaymentTagsCreated() *CreatePaymentTagsCreated

NewCreatePaymentTagsCreated creates a CreatePaymentTagsCreated with default headers values

func (*CreatePaymentTagsCreated) Error

func (o *CreatePaymentTagsCreated) Error() string

func (*CreatePaymentTagsCreated) GetPayload

func (o *CreatePaymentTagsCreated) GetPayload() []*kbmodel.Tag

type CreatePaymentTagsParams

type CreatePaymentTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []strfmt.UUID

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

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

CreatePaymentTagsParams contains all the parameters to send to the API endpoint

for the create payment tags operation.

Typically these are written to a http.Request.

func NewCreatePaymentTagsParams

func NewCreatePaymentTagsParams() *CreatePaymentTagsParams

NewCreatePaymentTagsParams creates a new CreatePaymentTagsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePaymentTagsParamsWithContext

func NewCreatePaymentTagsParamsWithContext(ctx context.Context) *CreatePaymentTagsParams

NewCreatePaymentTagsParamsWithContext creates a new CreatePaymentTagsParams object with the ability to set a context for a request.

func NewCreatePaymentTagsParamsWithHTTPClient

func NewCreatePaymentTagsParamsWithHTTPClient(client *http.Client) *CreatePaymentTagsParams

NewCreatePaymentTagsParamsWithHTTPClient creates a new CreatePaymentTagsParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePaymentTagsParamsWithTimeout

func NewCreatePaymentTagsParamsWithTimeout(timeout time.Duration) *CreatePaymentTagsParams

NewCreatePaymentTagsParamsWithTimeout creates a new CreatePaymentTagsParams object with the ability to set a timeout on a request.

func (*CreatePaymentTagsParams) SetBody

func (o *CreatePaymentTagsParams) SetBody(body []strfmt.UUID)

SetBody adds the body to the create payment tags params

func (*CreatePaymentTagsParams) SetContext

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

SetContext adds the context to the create payment tags params

func (*CreatePaymentTagsParams) SetDefaults

func (o *CreatePaymentTagsParams) SetDefaults()

SetDefaults hydrates default values in the create payment tags params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create payment tags params

func (*CreatePaymentTagsParams) SetPaymentID

func (o *CreatePaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the create payment tags params

func (*CreatePaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create payment tags params

func (*CreatePaymentTagsParams) SetXKillbillComment

func (o *CreatePaymentTagsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the create payment tags params

func (*CreatePaymentTagsParams) SetXKillbillCreatedBy

func (o *CreatePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment tags params

func (*CreatePaymentTagsParams) SetXKillbillReason

func (o *CreatePaymentTagsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the create payment tags params

func (*CreatePaymentTagsParams) WithBody

WithBody adds the body to the create payment tags params

func (*CreatePaymentTagsParams) WithContext

WithContext adds the context to the create payment tags params

func (*CreatePaymentTagsParams) WithDefaults

WithDefaults hydrates default values in the create payment tags params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePaymentTagsParams) WithHTTPClient

func (o *CreatePaymentTagsParams) WithHTTPClient(client *http.Client) *CreatePaymentTagsParams

WithHTTPClient adds the HTTPClient to the create payment tags params

func (*CreatePaymentTagsParams) WithPaymentID

func (o *CreatePaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *CreatePaymentTagsParams

WithPaymentID adds the paymentID to the create payment tags params

func (*CreatePaymentTagsParams) WithTimeout

WithTimeout adds the timeout to the create payment tags params

func (*CreatePaymentTagsParams) WithXKillbillComment

func (o *CreatePaymentTagsParams) WithXKillbillComment(xKillbillComment *string) *CreatePaymentTagsParams

WithXKillbillComment adds the xKillbillComment to the create payment tags params

func (*CreatePaymentTagsParams) WithXKillbillCreatedBy

func (o *CreatePaymentTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreatePaymentTagsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment tags params

func (*CreatePaymentTagsParams) WithXKillbillReason

func (o *CreatePaymentTagsParams) WithXKillbillReason(xKillbillReason *string) *CreatePaymentTagsParams

WithXKillbillReason adds the xKillbillReason to the create payment tags params

func (*CreatePaymentTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePaymentTagsReader

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

CreatePaymentTagsReader is a Reader for the CreatePaymentTags structure.

func (*CreatePaymentTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePaymentCustomFieldsBadRequest

type DeletePaymentCustomFieldsBadRequest struct {
}
DeletePaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewDeletePaymentCustomFieldsBadRequest

func NewDeletePaymentCustomFieldsBadRequest() *DeletePaymentCustomFieldsBadRequest

NewDeletePaymentCustomFieldsBadRequest creates a DeletePaymentCustomFieldsBadRequest with default headers values

func (*DeletePaymentCustomFieldsBadRequest) Error

type DeletePaymentCustomFieldsNoContent

type DeletePaymentCustomFieldsNoContent struct {
}
DeletePaymentCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeletePaymentCustomFieldsNoContent

func NewDeletePaymentCustomFieldsNoContent() *DeletePaymentCustomFieldsNoContent

NewDeletePaymentCustomFieldsNoContent creates a DeletePaymentCustomFieldsNoContent with default headers values

func (*DeletePaymentCustomFieldsNoContent) Error

type DeletePaymentCustomFieldsParams

type DeletePaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// CustomField.
	CustomField []strfmt.UUID

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

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

DeletePaymentCustomFieldsParams contains all the parameters to send to the API endpoint

for the delete payment custom fields operation.

Typically these are written to a http.Request.

func NewDeletePaymentCustomFieldsParams

func NewDeletePaymentCustomFieldsParams() *DeletePaymentCustomFieldsParams

NewDeletePaymentCustomFieldsParams creates a new DeletePaymentCustomFieldsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeletePaymentCustomFieldsParamsWithContext

func NewDeletePaymentCustomFieldsParamsWithContext(ctx context.Context) *DeletePaymentCustomFieldsParams

NewDeletePaymentCustomFieldsParamsWithContext creates a new DeletePaymentCustomFieldsParams object with the ability to set a context for a request.

func NewDeletePaymentCustomFieldsParamsWithHTTPClient

func NewDeletePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *DeletePaymentCustomFieldsParams

NewDeletePaymentCustomFieldsParamsWithHTTPClient creates a new DeletePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePaymentCustomFieldsParamsWithTimeout

func NewDeletePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *DeletePaymentCustomFieldsParams

NewDeletePaymentCustomFieldsParamsWithTimeout creates a new DeletePaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*DeletePaymentCustomFieldsParams) SetContext

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

SetContext adds the context to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetCustomField

func (o *DeletePaymentCustomFieldsParams) SetCustomField(customField []strfmt.UUID)

SetCustomField adds the customField to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetDefaults

func (o *DeletePaymentCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the delete payment custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetPaymentID

func (o *DeletePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetXKillbillComment

func (o *DeletePaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeletePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetXKillbillReason

func (o *DeletePaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithContext

WithContext adds the context to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithDefaults

WithDefaults hydrates default values in the delete payment custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithXKillbillComment

func (o *DeletePaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeletePaymentCustomFieldsParams

WithXKillbillComment adds the xKillbillComment to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithXKillbillCreatedBy

func (o *DeletePaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeletePaymentCustomFieldsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithXKillbillReason

func (o *DeletePaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeletePaymentCustomFieldsParams

WithXKillbillReason adds the xKillbillReason to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePaymentCustomFieldsReader

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

DeletePaymentCustomFieldsReader is a Reader for the DeletePaymentCustomFields structure.

func (*DeletePaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePaymentTagsBadRequest

type DeletePaymentTagsBadRequest struct {
}
DeletePaymentTagsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewDeletePaymentTagsBadRequest

func NewDeletePaymentTagsBadRequest() *DeletePaymentTagsBadRequest

NewDeletePaymentTagsBadRequest creates a DeletePaymentTagsBadRequest with default headers values

func (*DeletePaymentTagsBadRequest) Error

type DeletePaymentTagsNoContent

type DeletePaymentTagsNoContent struct {
}
DeletePaymentTagsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeletePaymentTagsNoContent

func NewDeletePaymentTagsNoContent() *DeletePaymentTagsNoContent

NewDeletePaymentTagsNoContent creates a DeletePaymentTagsNoContent with default headers values

func (*DeletePaymentTagsNoContent) Error

type DeletePaymentTagsParams

type DeletePaymentTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// TagDef.
	TagDef []strfmt.UUID

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

DeletePaymentTagsParams contains all the parameters to send to the API endpoint

for the delete payment tags operation.

Typically these are written to a http.Request.

func NewDeletePaymentTagsParams

func NewDeletePaymentTagsParams() *DeletePaymentTagsParams

NewDeletePaymentTagsParams creates a new DeletePaymentTagsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeletePaymentTagsParamsWithContext

func NewDeletePaymentTagsParamsWithContext(ctx context.Context) *DeletePaymentTagsParams

NewDeletePaymentTagsParamsWithContext creates a new DeletePaymentTagsParams object with the ability to set a context for a request.

func NewDeletePaymentTagsParamsWithHTTPClient

func NewDeletePaymentTagsParamsWithHTTPClient(client *http.Client) *DeletePaymentTagsParams

NewDeletePaymentTagsParamsWithHTTPClient creates a new DeletePaymentTagsParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePaymentTagsParamsWithTimeout

func NewDeletePaymentTagsParamsWithTimeout(timeout time.Duration) *DeletePaymentTagsParams

NewDeletePaymentTagsParamsWithTimeout creates a new DeletePaymentTagsParams object with the ability to set a timeout on a request.

func (*DeletePaymentTagsParams) SetContext

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

SetContext adds the context to the delete payment tags params

func (*DeletePaymentTagsParams) SetDefaults

func (o *DeletePaymentTagsParams) SetDefaults()

SetDefaults hydrates default values in the delete payment tags params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete payment tags params

func (*DeletePaymentTagsParams) SetPaymentID

func (o *DeletePaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the delete payment tags params

func (*DeletePaymentTagsParams) SetTagDef

func (o *DeletePaymentTagsParams) SetTagDef(tagDef []strfmt.UUID)

SetTagDef adds the tagDef to the delete payment tags params

func (*DeletePaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete payment tags params

func (*DeletePaymentTagsParams) SetXKillbillComment

func (o *DeletePaymentTagsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the delete payment tags params

func (*DeletePaymentTagsParams) SetXKillbillCreatedBy

func (o *DeletePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment tags params

func (*DeletePaymentTagsParams) SetXKillbillReason

func (o *DeletePaymentTagsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the delete payment tags params

func (*DeletePaymentTagsParams) WithContext

WithContext adds the context to the delete payment tags params

func (*DeletePaymentTagsParams) WithDefaults

WithDefaults hydrates default values in the delete payment tags params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePaymentTagsParams) WithHTTPClient

func (o *DeletePaymentTagsParams) WithHTTPClient(client *http.Client) *DeletePaymentTagsParams

WithHTTPClient adds the HTTPClient to the delete payment tags params

func (*DeletePaymentTagsParams) WithPaymentID

func (o *DeletePaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *DeletePaymentTagsParams

WithPaymentID adds the paymentID to the delete payment tags params

func (*DeletePaymentTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete payment tags params

func (*DeletePaymentTagsParams) WithTimeout

WithTimeout adds the timeout to the delete payment tags params

func (*DeletePaymentTagsParams) WithXKillbillComment

func (o *DeletePaymentTagsParams) WithXKillbillComment(xKillbillComment *string) *DeletePaymentTagsParams

WithXKillbillComment adds the xKillbillComment to the delete payment tags params

func (*DeletePaymentTagsParams) WithXKillbillCreatedBy

func (o *DeletePaymentTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeletePaymentTagsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment tags params

func (*DeletePaymentTagsParams) WithXKillbillReason

func (o *DeletePaymentTagsParams) WithXKillbillReason(xKillbillReason *string) *DeletePaymentTagsParams

WithXKillbillReason adds the xKillbillReason to the delete payment tags params

func (*DeletePaymentTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePaymentTagsReader

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

DeletePaymentTagsReader is a Reader for the DeletePaymentTags structure.

func (*DeletePaymentTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentAttemptAuditLogsWithHistoryNotFound

type GetPaymentAttemptAuditLogsWithHistoryNotFound struct {
}
GetPaymentAttemptAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetPaymentAttemptAuditLogsWithHistoryNotFound

func NewGetPaymentAttemptAuditLogsWithHistoryNotFound() *GetPaymentAttemptAuditLogsWithHistoryNotFound

NewGetPaymentAttemptAuditLogsWithHistoryNotFound creates a GetPaymentAttemptAuditLogsWithHistoryNotFound with default headers values

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) Error

type GetPaymentAttemptAuditLogsWithHistoryOK

type GetPaymentAttemptAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog
}
GetPaymentAttemptAuditLogsWithHistoryOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentAttemptAuditLogsWithHistoryOK

func NewGetPaymentAttemptAuditLogsWithHistoryOK() *GetPaymentAttemptAuditLogsWithHistoryOK

NewGetPaymentAttemptAuditLogsWithHistoryOK creates a GetPaymentAttemptAuditLogsWithHistoryOK with default headers values

func (*GetPaymentAttemptAuditLogsWithHistoryOK) Error

func (*GetPaymentAttemptAuditLogsWithHistoryOK) GetPayload

type GetPaymentAttemptAuditLogsWithHistoryParams

type GetPaymentAttemptAuditLogsWithHistoryParams struct {

	// PaymentAttemptID.
	//
	// Format: uuid
	PaymentAttemptID strfmt.UUID

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

GetPaymentAttemptAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get payment attempt audit logs with history operation.

Typically these are written to a http.Request.

func NewGetPaymentAttemptAuditLogsWithHistoryParams

func NewGetPaymentAttemptAuditLogsWithHistoryParams() *GetPaymentAttemptAuditLogsWithHistoryParams

NewGetPaymentAttemptAuditLogsWithHistoryParams creates a new GetPaymentAttemptAuditLogsWithHistoryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithContext

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentAttemptAuditLogsWithHistoryParams

NewGetPaymentAttemptAuditLogsWithHistoryParamsWithContext creates a new GetPaymentAttemptAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithHTTPClient

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetPaymentAttemptAuditLogsWithHistoryParams

NewGetPaymentAttemptAuditLogsWithHistoryParamsWithHTTPClient creates a new GetPaymentAttemptAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithTimeout

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetPaymentAttemptAuditLogsWithHistoryParams

NewGetPaymentAttemptAuditLogsWithHistoryParamsWithTimeout creates a new GetPaymentAttemptAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetContext

SetContext adds the context to the get payment attempt audit logs with history params

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetDefaults

SetDefaults hydrates default values in the get payment attempt audit logs with history params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment attempt audit logs with history params

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetPaymentAttemptID

func (o *GetPaymentAttemptAuditLogsWithHistoryParams) SetPaymentAttemptID(paymentAttemptID strfmt.UUID)

SetPaymentAttemptID adds the paymentAttemptId to the get payment attempt audit logs with history params

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetTimeout

SetTimeout adds the timeout to the get payment attempt audit logs with history params

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get payment attempt audit logs with history params

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithDefaults

WithDefaults hydrates default values in the get payment attempt audit logs with history params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment attempt audit logs with history params

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithPaymentAttemptID

WithPaymentAttemptID adds the paymentAttemptID to the get payment attempt audit logs with history params

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get payment attempt audit logs with history params

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentAttemptAuditLogsWithHistoryReader

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

GetPaymentAttemptAuditLogsWithHistoryReader is a Reader for the GetPaymentAttemptAuditLogsWithHistory structure.

func (*GetPaymentAttemptAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentAuditLogsWithHistoryNotFound

type GetPaymentAuditLogsWithHistoryNotFound struct {
}
GetPaymentAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetPaymentAuditLogsWithHistoryNotFound

func NewGetPaymentAuditLogsWithHistoryNotFound() *GetPaymentAuditLogsWithHistoryNotFound

NewGetPaymentAuditLogsWithHistoryNotFound creates a GetPaymentAuditLogsWithHistoryNotFound with default headers values

func (*GetPaymentAuditLogsWithHistoryNotFound) Error

type GetPaymentAuditLogsWithHistoryOK

type GetPaymentAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog
}
GetPaymentAuditLogsWithHistoryOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentAuditLogsWithHistoryOK

func NewGetPaymentAuditLogsWithHistoryOK() *GetPaymentAuditLogsWithHistoryOK

NewGetPaymentAuditLogsWithHistoryOK creates a GetPaymentAuditLogsWithHistoryOK with default headers values

func (*GetPaymentAuditLogsWithHistoryOK) Error

func (*GetPaymentAuditLogsWithHistoryOK) GetPayload

type GetPaymentAuditLogsWithHistoryParams

type GetPaymentAuditLogsWithHistoryParams struct {

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

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

GetPaymentAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get payment audit logs with history operation.

Typically these are written to a http.Request.

func NewGetPaymentAuditLogsWithHistoryParams

func NewGetPaymentAuditLogsWithHistoryParams() *GetPaymentAuditLogsWithHistoryParams

NewGetPaymentAuditLogsWithHistoryParams creates a new GetPaymentAuditLogsWithHistoryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentAuditLogsWithHistoryParamsWithContext

func NewGetPaymentAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentAuditLogsWithHistoryParams

NewGetPaymentAuditLogsWithHistoryParamsWithContext creates a new GetPaymentAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetPaymentAuditLogsWithHistoryParamsWithHTTPClient

func NewGetPaymentAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetPaymentAuditLogsWithHistoryParams

NewGetPaymentAuditLogsWithHistoryParamsWithHTTPClient creates a new GetPaymentAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentAuditLogsWithHistoryParamsWithTimeout

func NewGetPaymentAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetPaymentAuditLogsWithHistoryParams

NewGetPaymentAuditLogsWithHistoryParamsWithTimeout creates a new GetPaymentAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetPaymentAuditLogsWithHistoryParams) SetContext

SetContext adds the context to the get payment audit logs with history params

func (*GetPaymentAuditLogsWithHistoryParams) SetDefaults

func (o *GetPaymentAuditLogsWithHistoryParams) SetDefaults()

SetDefaults hydrates default values in the get payment audit logs with history params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment audit logs with history params

func (*GetPaymentAuditLogsWithHistoryParams) SetPaymentID

func (o *GetPaymentAuditLogsWithHistoryParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the get payment audit logs with history params

func (*GetPaymentAuditLogsWithHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the get payment audit logs with history params

func (*GetPaymentAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get payment audit logs with history params

func (*GetPaymentAuditLogsWithHistoryParams) WithDefaults

WithDefaults hydrates default values in the get payment audit logs with history params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment audit logs with history params

func (*GetPaymentAuditLogsWithHistoryParams) WithPaymentID

WithPaymentID adds the paymentID to the get payment audit logs with history params

func (*GetPaymentAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get payment audit logs with history params

func (*GetPaymentAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentAuditLogsWithHistoryReader

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

GetPaymentAuditLogsWithHistoryReader is a Reader for the GetPaymentAuditLogsWithHistory structure.

func (*GetPaymentAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentBadRequest

type GetPaymentBadRequest struct {
}
GetPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewGetPaymentBadRequest

func NewGetPaymentBadRequest() *GetPaymentBadRequest

NewGetPaymentBadRequest creates a GetPaymentBadRequest with default headers values

func (*GetPaymentBadRequest) Error

func (o *GetPaymentBadRequest) Error() string

type GetPaymentByExternalKeyNotFound

type GetPaymentByExternalKeyNotFound struct {
}
GetPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Payment not found

func NewGetPaymentByExternalKeyNotFound

func NewGetPaymentByExternalKeyNotFound() *GetPaymentByExternalKeyNotFound

NewGetPaymentByExternalKeyNotFound creates a GetPaymentByExternalKeyNotFound with default headers values

func (*GetPaymentByExternalKeyNotFound) Error

type GetPaymentByExternalKeyOK

type GetPaymentByExternalKeyOK struct {
	Payload *kbmodel.Payment
}
GetPaymentByExternalKeyOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentByExternalKeyOK

func NewGetPaymentByExternalKeyOK() *GetPaymentByExternalKeyOK

NewGetPaymentByExternalKeyOK creates a GetPaymentByExternalKeyOK with default headers values

func (*GetPaymentByExternalKeyOK) Error

func (o *GetPaymentByExternalKeyOK) Error() string

func (*GetPaymentByExternalKeyOK) GetPayload

func (o *GetPaymentByExternalKeyOK) GetPayload() *kbmodel.Payment

type GetPaymentByExternalKeyParams

type GetPaymentByExternalKeyParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// ExternalKey.
	ExternalKey string

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

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

GetPaymentByExternalKeyParams contains all the parameters to send to the API endpoint

for the get payment by external key operation.

Typically these are written to a http.Request.

func NewGetPaymentByExternalKeyParams

func NewGetPaymentByExternalKeyParams() *GetPaymentByExternalKeyParams

NewGetPaymentByExternalKeyParams creates a new GetPaymentByExternalKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentByExternalKeyParamsWithContext

func NewGetPaymentByExternalKeyParamsWithContext(ctx context.Context) *GetPaymentByExternalKeyParams

NewGetPaymentByExternalKeyParamsWithContext creates a new GetPaymentByExternalKeyParams object with the ability to set a context for a request.

func NewGetPaymentByExternalKeyParamsWithHTTPClient

func NewGetPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *GetPaymentByExternalKeyParams

NewGetPaymentByExternalKeyParamsWithHTTPClient creates a new GetPaymentByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentByExternalKeyParamsWithTimeout

func NewGetPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *GetPaymentByExternalKeyParams

NewGetPaymentByExternalKeyParamsWithTimeout creates a new GetPaymentByExternalKeyParams object with the ability to set a timeout on a request.

func (*GetPaymentByExternalKeyParams) SetAudit

func (o *GetPaymentByExternalKeyParams) SetAudit(audit *string)

SetAudit adds the audit to the get payment by external key params

func (*GetPaymentByExternalKeyParams) SetContext

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

SetContext adds the context to the get payment by external key params

func (*GetPaymentByExternalKeyParams) SetDefaults

func (o *GetPaymentByExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the get payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentByExternalKeyParams) SetExternalKey

func (o *GetPaymentByExternalKeyParams) SetExternalKey(externalKey string)

SetExternalKey adds the externalKey to the get payment by external key params

func (*GetPaymentByExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment by external key params

func (*GetPaymentByExternalKeyParams) SetPluginProperty

func (o *GetPaymentByExternalKeyParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the get payment by external key params

func (*GetPaymentByExternalKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get payment by external key params

func (*GetPaymentByExternalKeyParams) SetWithAttempts

func (o *GetPaymentByExternalKeyParams) SetWithAttempts(withAttempts *bool)

SetWithAttempts adds the withAttempts to the get payment by external key params

func (*GetPaymentByExternalKeyParams) SetWithPluginInfo

func (o *GetPaymentByExternalKeyParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WithAudit

WithAudit adds the audit to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WithContext

WithContext adds the context to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the get payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentByExternalKeyParams) WithExternalKey

func (o *GetPaymentByExternalKeyParams) WithExternalKey(externalKey string) *GetPaymentByExternalKeyParams

WithExternalKey adds the externalKey to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WithPluginProperty

func (o *GetPaymentByExternalKeyParams) WithPluginProperty(pluginProperty []string) *GetPaymentByExternalKeyParams

WithPluginProperty adds the pluginProperty to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WithWithAttempts

func (o *GetPaymentByExternalKeyParams) WithWithAttempts(withAttempts *bool) *GetPaymentByExternalKeyParams

WithWithAttempts adds the withAttempts to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WithWithPluginInfo

func (o *GetPaymentByExternalKeyParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentByExternalKeyParams

WithWithPluginInfo adds the withPluginInfo to the get payment by external key params

func (*GetPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentByExternalKeyReader

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

GetPaymentByExternalKeyReader is a Reader for the GetPaymentByExternalKey structure.

func (*GetPaymentByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentCustomFieldsBadRequest

type GetPaymentCustomFieldsBadRequest struct {
}
GetPaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewGetPaymentCustomFieldsBadRequest

func NewGetPaymentCustomFieldsBadRequest() *GetPaymentCustomFieldsBadRequest

NewGetPaymentCustomFieldsBadRequest creates a GetPaymentCustomFieldsBadRequest with default headers values

func (*GetPaymentCustomFieldsBadRequest) Error

type GetPaymentCustomFieldsOK

type GetPaymentCustomFieldsOK struct {
	Payload []*kbmodel.CustomField
}
GetPaymentCustomFieldsOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentCustomFieldsOK

func NewGetPaymentCustomFieldsOK() *GetPaymentCustomFieldsOK

NewGetPaymentCustomFieldsOK creates a GetPaymentCustomFieldsOK with default headers values

func (*GetPaymentCustomFieldsOK) Error

func (o *GetPaymentCustomFieldsOK) Error() string

func (*GetPaymentCustomFieldsOK) GetPayload

func (o *GetPaymentCustomFieldsOK) GetPayload() []*kbmodel.CustomField

type GetPaymentCustomFieldsParams

type GetPaymentCustomFieldsParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

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

GetPaymentCustomFieldsParams contains all the parameters to send to the API endpoint

for the get payment custom fields operation.

Typically these are written to a http.Request.

func NewGetPaymentCustomFieldsParams

func NewGetPaymentCustomFieldsParams() *GetPaymentCustomFieldsParams

NewGetPaymentCustomFieldsParams creates a new GetPaymentCustomFieldsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentCustomFieldsParamsWithContext

func NewGetPaymentCustomFieldsParamsWithContext(ctx context.Context) *GetPaymentCustomFieldsParams

NewGetPaymentCustomFieldsParamsWithContext creates a new GetPaymentCustomFieldsParams object with the ability to set a context for a request.

func NewGetPaymentCustomFieldsParamsWithHTTPClient

func NewGetPaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *GetPaymentCustomFieldsParams

NewGetPaymentCustomFieldsParamsWithHTTPClient creates a new GetPaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentCustomFieldsParamsWithTimeout

func NewGetPaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *GetPaymentCustomFieldsParams

NewGetPaymentCustomFieldsParamsWithTimeout creates a new GetPaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*GetPaymentCustomFieldsParams) SetAudit

func (o *GetPaymentCustomFieldsParams) SetAudit(audit *string)

SetAudit adds the audit to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) SetContext

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

SetContext adds the context to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) SetDefaults

func (o *GetPaymentCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the get payment custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) SetPaymentID

func (o *GetPaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithAudit

WithAudit adds the audit to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithContext

WithContext adds the context to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithDefaults

WithDefaults hydrates default values in the get payment custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentCustomFieldsReader

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

GetPaymentCustomFieldsReader is a Reader for the GetPaymentCustomFields structure.

func (*GetPaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentNotFound

type GetPaymentNotFound struct {
}
GetPaymentNotFound describes a response with status code 404, with default header values.

Payment not found

func NewGetPaymentNotFound

func NewGetPaymentNotFound() *GetPaymentNotFound

NewGetPaymentNotFound creates a GetPaymentNotFound with default headers values

func (*GetPaymentNotFound) Error

func (o *GetPaymentNotFound) Error() string

type GetPaymentOK

type GetPaymentOK struct {
	Payload *kbmodel.Payment
}
GetPaymentOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentOK

func NewGetPaymentOK() *GetPaymentOK

NewGetPaymentOK creates a GetPaymentOK with default headers values

func (*GetPaymentOK) Error

func (o *GetPaymentOK) Error() string

func (*GetPaymentOK) GetPayload

func (o *GetPaymentOK) GetPayload() *kbmodel.Payment

type GetPaymentParams

type GetPaymentParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

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

GetPaymentParams contains all the parameters to send to the API endpoint

for the get payment operation.

Typically these are written to a http.Request.

func NewGetPaymentParams

func NewGetPaymentParams() *GetPaymentParams

NewGetPaymentParams creates a new GetPaymentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentParamsWithContext

func NewGetPaymentParamsWithContext(ctx context.Context) *GetPaymentParams

NewGetPaymentParamsWithContext creates a new GetPaymentParams object with the ability to set a context for a request.

func NewGetPaymentParamsWithHTTPClient

func NewGetPaymentParamsWithHTTPClient(client *http.Client) *GetPaymentParams

NewGetPaymentParamsWithHTTPClient creates a new GetPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentParamsWithTimeout

func NewGetPaymentParamsWithTimeout(timeout time.Duration) *GetPaymentParams

NewGetPaymentParamsWithTimeout creates a new GetPaymentParams object with the ability to set a timeout on a request.

func (*GetPaymentParams) SetAudit

func (o *GetPaymentParams) SetAudit(audit *string)

SetAudit adds the audit to the get payment params

func (*GetPaymentParams) SetContext

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

SetContext adds the context to the get payment params

func (*GetPaymentParams) SetDefaults

func (o *GetPaymentParams) SetDefaults()

SetDefaults hydrates default values in the get payment params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment params

func (*GetPaymentParams) SetPaymentID

func (o *GetPaymentParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the get payment params

func (*GetPaymentParams) SetPluginProperty

func (o *GetPaymentParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the get payment params

func (*GetPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the get payment params

func (*GetPaymentParams) SetWithAttempts

func (o *GetPaymentParams) SetWithAttempts(withAttempts *bool)

SetWithAttempts adds the withAttempts to the get payment params

func (*GetPaymentParams) SetWithPluginInfo

func (o *GetPaymentParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get payment params

func (*GetPaymentParams) WithAudit

func (o *GetPaymentParams) WithAudit(audit *string) *GetPaymentParams

WithAudit adds the audit to the get payment params

func (*GetPaymentParams) WithContext

func (o *GetPaymentParams) WithContext(ctx context.Context) *GetPaymentParams

WithContext adds the context to the get payment params

func (*GetPaymentParams) WithDefaults

func (o *GetPaymentParams) WithDefaults() *GetPaymentParams

WithDefaults hydrates default values in the get payment params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentParams) WithHTTPClient

func (o *GetPaymentParams) WithHTTPClient(client *http.Client) *GetPaymentParams

WithHTTPClient adds the HTTPClient to the get payment params

func (*GetPaymentParams) WithPaymentID

func (o *GetPaymentParams) WithPaymentID(paymentID strfmt.UUID) *GetPaymentParams

WithPaymentID adds the paymentID to the get payment params

func (*GetPaymentParams) WithPluginProperty

func (o *GetPaymentParams) WithPluginProperty(pluginProperty []string) *GetPaymentParams

WithPluginProperty adds the pluginProperty to the get payment params

func (*GetPaymentParams) WithTimeout

func (o *GetPaymentParams) WithTimeout(timeout time.Duration) *GetPaymentParams

WithTimeout adds the timeout to the get payment params

func (*GetPaymentParams) WithWithAttempts

func (o *GetPaymentParams) WithWithAttempts(withAttempts *bool) *GetPaymentParams

WithWithAttempts adds the withAttempts to the get payment params

func (*GetPaymentParams) WithWithPluginInfo

func (o *GetPaymentParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentParams

WithWithPluginInfo adds the withPluginInfo to the get payment params

func (*GetPaymentParams) WriteToRequest

func (o *GetPaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPaymentReader

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

GetPaymentReader is a Reader for the GetPayment structure.

func (*GetPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentTagsBadRequest

type GetPaymentTagsBadRequest struct {
}
GetPaymentTagsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewGetPaymentTagsBadRequest

func NewGetPaymentTagsBadRequest() *GetPaymentTagsBadRequest

NewGetPaymentTagsBadRequest creates a GetPaymentTagsBadRequest with default headers values

func (*GetPaymentTagsBadRequest) Error

func (o *GetPaymentTagsBadRequest) Error() string

type GetPaymentTagsNotFound

type GetPaymentTagsNotFound struct {
}
GetPaymentTagsNotFound describes a response with status code 404, with default header values.

Invoice not found

func NewGetPaymentTagsNotFound

func NewGetPaymentTagsNotFound() *GetPaymentTagsNotFound

NewGetPaymentTagsNotFound creates a GetPaymentTagsNotFound with default headers values

func (*GetPaymentTagsNotFound) Error

func (o *GetPaymentTagsNotFound) Error() string

type GetPaymentTagsOK

type GetPaymentTagsOK struct {
	Payload []*kbmodel.Tag
}
GetPaymentTagsOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentTagsOK

func NewGetPaymentTagsOK() *GetPaymentTagsOK

NewGetPaymentTagsOK creates a GetPaymentTagsOK with default headers values

func (*GetPaymentTagsOK) Error

func (o *GetPaymentTagsOK) Error() string

func (*GetPaymentTagsOK) GetPayload

func (o *GetPaymentTagsOK) GetPayload() []*kbmodel.Tag

type GetPaymentTagsParams

type GetPaymentTagsParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// IncludedDeleted.
	IncludedDeleted *bool

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

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

GetPaymentTagsParams contains all the parameters to send to the API endpoint

for the get payment tags operation.

Typically these are written to a http.Request.

func NewGetPaymentTagsParams

func NewGetPaymentTagsParams() *GetPaymentTagsParams

NewGetPaymentTagsParams creates a new GetPaymentTagsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentTagsParamsWithContext

func NewGetPaymentTagsParamsWithContext(ctx context.Context) *GetPaymentTagsParams

NewGetPaymentTagsParamsWithContext creates a new GetPaymentTagsParams object with the ability to set a context for a request.

func NewGetPaymentTagsParamsWithHTTPClient

func NewGetPaymentTagsParamsWithHTTPClient(client *http.Client) *GetPaymentTagsParams

NewGetPaymentTagsParamsWithHTTPClient creates a new GetPaymentTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentTagsParamsWithTimeout

func NewGetPaymentTagsParamsWithTimeout(timeout time.Duration) *GetPaymentTagsParams

NewGetPaymentTagsParamsWithTimeout creates a new GetPaymentTagsParams object with the ability to set a timeout on a request.

func (*GetPaymentTagsParams) SetAudit

func (o *GetPaymentTagsParams) SetAudit(audit *string)

SetAudit adds the audit to the get payment tags params

func (*GetPaymentTagsParams) SetContext

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

SetContext adds the context to the get payment tags params

func (*GetPaymentTagsParams) SetDefaults

func (o *GetPaymentTagsParams) SetDefaults()

SetDefaults hydrates default values in the get payment tags params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment tags params

func (*GetPaymentTagsParams) SetIncludedDeleted

func (o *GetPaymentTagsParams) SetIncludedDeleted(includedDeleted *bool)

SetIncludedDeleted adds the includedDeleted to the get payment tags params

func (*GetPaymentTagsParams) SetPaymentID

func (o *GetPaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the get payment tags params

func (*GetPaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get payment tags params

func (*GetPaymentTagsParams) WithAudit

func (o *GetPaymentTagsParams) WithAudit(audit *string) *GetPaymentTagsParams

WithAudit adds the audit to the get payment tags params

func (*GetPaymentTagsParams) WithContext

WithContext adds the context to the get payment tags params

func (*GetPaymentTagsParams) WithDefaults

func (o *GetPaymentTagsParams) WithDefaults() *GetPaymentTagsParams

WithDefaults hydrates default values in the get payment tags params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentTagsParams) WithHTTPClient

func (o *GetPaymentTagsParams) WithHTTPClient(client *http.Client) *GetPaymentTagsParams

WithHTTPClient adds the HTTPClient to the get payment tags params

func (*GetPaymentTagsParams) WithIncludedDeleted

func (o *GetPaymentTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetPaymentTagsParams

WithIncludedDeleted adds the includedDeleted to the get payment tags params

func (*GetPaymentTagsParams) WithPaymentID

func (o *GetPaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *GetPaymentTagsParams

WithPaymentID adds the paymentID to the get payment tags params

func (*GetPaymentTagsParams) WithTimeout

func (o *GetPaymentTagsParams) WithTimeout(timeout time.Duration) *GetPaymentTagsParams

WithTimeout adds the timeout to the get payment tags params

func (*GetPaymentTagsParams) WriteToRequest

func (o *GetPaymentTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPaymentTagsReader

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

GetPaymentTagsReader is a Reader for the GetPaymentTags structure.

func (*GetPaymentTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentsOK

type GetPaymentsOK struct {
	Payload []*kbmodel.Payment
}
GetPaymentsOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentsOK

func NewGetPaymentsOK() *GetPaymentsOK

NewGetPaymentsOK creates a GetPaymentsOK with default headers values

func (*GetPaymentsOK) Error

func (o *GetPaymentsOK) Error() string

func (*GetPaymentsOK) GetPayload

func (o *GetPaymentsOK) GetPayload() []*kbmodel.Payment

type GetPaymentsParams

type GetPaymentsParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	// PluginName.
	PluginName *string

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

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

GetPaymentsParams contains all the parameters to send to the API endpoint

for the get payments operation.

Typically these are written to a http.Request.

func NewGetPaymentsParams

func NewGetPaymentsParams() *GetPaymentsParams

NewGetPaymentsParams creates a new GetPaymentsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentsParamsWithContext

func NewGetPaymentsParamsWithContext(ctx context.Context) *GetPaymentsParams

NewGetPaymentsParamsWithContext creates a new GetPaymentsParams object with the ability to set a context for a request.

func NewGetPaymentsParamsWithHTTPClient

func NewGetPaymentsParamsWithHTTPClient(client *http.Client) *GetPaymentsParams

NewGetPaymentsParamsWithHTTPClient creates a new GetPaymentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentsParamsWithTimeout

func NewGetPaymentsParamsWithTimeout(timeout time.Duration) *GetPaymentsParams

NewGetPaymentsParamsWithTimeout creates a new GetPaymentsParams object with the ability to set a timeout on a request.

func (*GetPaymentsParams) SetAudit

func (o *GetPaymentsParams) SetAudit(audit *string)

SetAudit adds the audit to the get payments params

func (*GetPaymentsParams) SetContext

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

SetContext adds the context to the get payments params

func (*GetPaymentsParams) SetDefaults

func (o *GetPaymentsParams) SetDefaults()

SetDefaults hydrates default values in the get payments params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payments params

func (*GetPaymentsParams) SetLimit

func (o *GetPaymentsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get payments params

func (*GetPaymentsParams) SetOffset

func (o *GetPaymentsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get payments params

func (*GetPaymentsParams) SetPluginName

func (o *GetPaymentsParams) SetPluginName(pluginName *string)

SetPluginName adds the pluginName to the get payments params

func (*GetPaymentsParams) SetPluginProperty

func (o *GetPaymentsParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the get payments params

func (*GetPaymentsParams) SetTimeout

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

SetTimeout adds the timeout to the get payments params

func (*GetPaymentsParams) SetWithAttempts

func (o *GetPaymentsParams) SetWithAttempts(withAttempts *bool)

SetWithAttempts adds the withAttempts to the get payments params

func (*GetPaymentsParams) SetWithPluginInfo

func (o *GetPaymentsParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get payments params

func (*GetPaymentsParams) WithAudit

func (o *GetPaymentsParams) WithAudit(audit *string) *GetPaymentsParams

WithAudit adds the audit to the get payments params

func (*GetPaymentsParams) WithContext

func (o *GetPaymentsParams) WithContext(ctx context.Context) *GetPaymentsParams

WithContext adds the context to the get payments params

func (*GetPaymentsParams) WithDefaults

func (o *GetPaymentsParams) WithDefaults() *GetPaymentsParams

WithDefaults hydrates default values in the get payments params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentsParams) WithHTTPClient

func (o *GetPaymentsParams) WithHTTPClient(client *http.Client) *GetPaymentsParams

WithHTTPClient adds the HTTPClient to the get payments params

func (*GetPaymentsParams) WithLimit

func (o *GetPaymentsParams) WithLimit(limit *int64) *GetPaymentsParams

WithLimit adds the limit to the get payments params

func (*GetPaymentsParams) WithOffset

func (o *GetPaymentsParams) WithOffset(offset *int64) *GetPaymentsParams

WithOffset adds the offset to the get payments params

func (*GetPaymentsParams) WithPluginName

func (o *GetPaymentsParams) WithPluginName(pluginName *string) *GetPaymentsParams

WithPluginName adds the pluginName to the get payments params

func (*GetPaymentsParams) WithPluginProperty

func (o *GetPaymentsParams) WithPluginProperty(pluginProperty []string) *GetPaymentsParams

WithPluginProperty adds the pluginProperty to the get payments params

func (*GetPaymentsParams) WithTimeout

func (o *GetPaymentsParams) WithTimeout(timeout time.Duration) *GetPaymentsParams

WithTimeout adds the timeout to the get payments params

func (*GetPaymentsParams) WithWithAttempts

func (o *GetPaymentsParams) WithWithAttempts(withAttempts *bool) *GetPaymentsParams

WithWithAttempts adds the withAttempts to the get payments params

func (*GetPaymentsParams) WithWithPluginInfo

func (o *GetPaymentsParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentsParams

WithWithPluginInfo adds the withPluginInfo to the get payments params

func (*GetPaymentsParams) WriteToRequest

func (o *GetPaymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPaymentsReader

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

GetPaymentsReader is a Reader for the GetPayments structure.

func (*GetPaymentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyPaymentCustomFieldsBadRequest

type ModifyPaymentCustomFieldsBadRequest struct {
}
ModifyPaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewModifyPaymentCustomFieldsBadRequest

func NewModifyPaymentCustomFieldsBadRequest() *ModifyPaymentCustomFieldsBadRequest

NewModifyPaymentCustomFieldsBadRequest creates a ModifyPaymentCustomFieldsBadRequest with default headers values

func (*ModifyPaymentCustomFieldsBadRequest) Error

type ModifyPaymentCustomFieldsNoContent

type ModifyPaymentCustomFieldsNoContent struct {
}
ModifyPaymentCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewModifyPaymentCustomFieldsNoContent

func NewModifyPaymentCustomFieldsNoContent() *ModifyPaymentCustomFieldsNoContent

NewModifyPaymentCustomFieldsNoContent creates a ModifyPaymentCustomFieldsNoContent with default headers values

func (*ModifyPaymentCustomFieldsNoContent) Error

type ModifyPaymentCustomFieldsParams

type ModifyPaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

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

ModifyPaymentCustomFieldsParams contains all the parameters to send to the API endpoint

for the modify payment custom fields operation.

Typically these are written to a http.Request.

func NewModifyPaymentCustomFieldsParams

func NewModifyPaymentCustomFieldsParams() *ModifyPaymentCustomFieldsParams

NewModifyPaymentCustomFieldsParams creates a new ModifyPaymentCustomFieldsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewModifyPaymentCustomFieldsParamsWithContext

func NewModifyPaymentCustomFieldsParamsWithContext(ctx context.Context) *ModifyPaymentCustomFieldsParams

NewModifyPaymentCustomFieldsParamsWithContext creates a new ModifyPaymentCustomFieldsParams object with the ability to set a context for a request.

func NewModifyPaymentCustomFieldsParamsWithHTTPClient

func NewModifyPaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyPaymentCustomFieldsParams

NewModifyPaymentCustomFieldsParamsWithHTTPClient creates a new ModifyPaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewModifyPaymentCustomFieldsParamsWithTimeout

func NewModifyPaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyPaymentCustomFieldsParams

NewModifyPaymentCustomFieldsParamsWithTimeout creates a new ModifyPaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*ModifyPaymentCustomFieldsParams) SetBody

SetBody adds the body to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetContext

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

SetContext adds the context to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetDefaults

func (o *ModifyPaymentCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the modify payment custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyPaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetPaymentID

func (o *ModifyPaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetXKillbillComment

func (o *ModifyPaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyPaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetXKillbillReason

func (o *ModifyPaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithBody

WithBody adds the body to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithContext

WithContext adds the context to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithDefaults

WithDefaults hydrates default values in the modify payment custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyPaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithXKillbillComment

func (o *ModifyPaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyPaymentCustomFieldsParams

WithXKillbillComment adds the xKillbillComment to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithXKillbillCreatedBy

func (o *ModifyPaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyPaymentCustomFieldsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithXKillbillReason

func (o *ModifyPaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyPaymentCustomFieldsParams

WithXKillbillReason adds the xKillbillReason to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyPaymentCustomFieldsReader

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

ModifyPaymentCustomFieldsReader is a Reader for the ModifyPaymentCustomFields structure.

func (*ModifyPaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefundPaymentBadGateway

type RefundPaymentBadGateway struct {
}
RefundPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewRefundPaymentBadGateway

func NewRefundPaymentBadGateway() *RefundPaymentBadGateway

NewRefundPaymentBadGateway creates a RefundPaymentBadGateway with default headers values

func (*RefundPaymentBadGateway) Error

func (o *RefundPaymentBadGateway) Error() string

type RefundPaymentBadRequest

type RefundPaymentBadRequest struct {
}
RefundPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewRefundPaymentBadRequest

func NewRefundPaymentBadRequest() *RefundPaymentBadRequest

NewRefundPaymentBadRequest creates a RefundPaymentBadRequest with default headers values

func (*RefundPaymentBadRequest) Error

func (o *RefundPaymentBadRequest) Error() string

type RefundPaymentByExternalKeyBadGateway

type RefundPaymentByExternalKeyBadGateway struct {
}
RefundPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewRefundPaymentByExternalKeyBadGateway

func NewRefundPaymentByExternalKeyBadGateway() *RefundPaymentByExternalKeyBadGateway

NewRefundPaymentByExternalKeyBadGateway creates a RefundPaymentByExternalKeyBadGateway with default headers values

func (*RefundPaymentByExternalKeyBadGateway) Error

type RefundPaymentByExternalKeyCreated

type RefundPaymentByExternalKeyCreated struct {
	Payload *kbmodel.Payment
}
RefundPaymentByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewRefundPaymentByExternalKeyCreated

func NewRefundPaymentByExternalKeyCreated() *RefundPaymentByExternalKeyCreated

NewRefundPaymentByExternalKeyCreated creates a RefundPaymentByExternalKeyCreated with default headers values

func (*RefundPaymentByExternalKeyCreated) Error

func (*RefundPaymentByExternalKeyCreated) GetPayload

type RefundPaymentByExternalKeyGatewayTimeout

type RefundPaymentByExternalKeyGatewayTimeout struct {
}
RefundPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewRefundPaymentByExternalKeyGatewayTimeout

func NewRefundPaymentByExternalKeyGatewayTimeout() *RefundPaymentByExternalKeyGatewayTimeout

NewRefundPaymentByExternalKeyGatewayTimeout creates a RefundPaymentByExternalKeyGatewayTimeout with default headers values

func (*RefundPaymentByExternalKeyGatewayTimeout) Error

type RefundPaymentByExternalKeyNotFound

type RefundPaymentByExternalKeyNotFound struct {
}
RefundPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewRefundPaymentByExternalKeyNotFound

func NewRefundPaymentByExternalKeyNotFound() *RefundPaymentByExternalKeyNotFound

NewRefundPaymentByExternalKeyNotFound creates a RefundPaymentByExternalKeyNotFound with default headers values

func (*RefundPaymentByExternalKeyNotFound) Error

type RefundPaymentByExternalKeyParams

type RefundPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

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

RefundPaymentByExternalKeyParams contains all the parameters to send to the API endpoint

for the refund payment by external key operation.

Typically these are written to a http.Request.

func NewRefundPaymentByExternalKeyParams

func NewRefundPaymentByExternalKeyParams() *RefundPaymentByExternalKeyParams

NewRefundPaymentByExternalKeyParams creates a new RefundPaymentByExternalKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRefundPaymentByExternalKeyParamsWithContext

func NewRefundPaymentByExternalKeyParamsWithContext(ctx context.Context) *RefundPaymentByExternalKeyParams

NewRefundPaymentByExternalKeyParamsWithContext creates a new RefundPaymentByExternalKeyParams object with the ability to set a context for a request.

func NewRefundPaymentByExternalKeyParamsWithHTTPClient

func NewRefundPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *RefundPaymentByExternalKeyParams

NewRefundPaymentByExternalKeyParamsWithHTTPClient creates a new RefundPaymentByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewRefundPaymentByExternalKeyParamsWithTimeout

func NewRefundPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *RefundPaymentByExternalKeyParams

NewRefundPaymentByExternalKeyParamsWithTimeout creates a new RefundPaymentByExternalKeyParams object with the ability to set a timeout on a request.

func (*RefundPaymentByExternalKeyParams) SetBody

SetBody adds the body to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) SetContext

SetContext adds the context to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) SetControlPluginName

func (o *RefundPaymentByExternalKeyParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) SetDefaults

func (o *RefundPaymentByExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the refund payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*RefundPaymentByExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) SetPluginProperty

func (o *RefundPaymentByExternalKeyParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) SetTimeout

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

SetTimeout adds the timeout to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) SetXKillbillComment

func (o *RefundPaymentByExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *RefundPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) SetXKillbillReason

func (o *RefundPaymentByExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithBody

WithBody adds the body to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithContext

WithContext adds the context to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithControlPluginName

func (o *RefundPaymentByExternalKeyParams) WithControlPluginName(controlPluginName []string) *RefundPaymentByExternalKeyParams

WithControlPluginName adds the controlPluginName to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the refund payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*RefundPaymentByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithPluginProperty

func (o *RefundPaymentByExternalKeyParams) WithPluginProperty(pluginProperty []string) *RefundPaymentByExternalKeyParams

WithPluginProperty adds the pluginProperty to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithXKillbillComment

func (o *RefundPaymentByExternalKeyParams) WithXKillbillComment(xKillbillComment *string) *RefundPaymentByExternalKeyParams

WithXKillbillComment adds the xKillbillComment to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithXKillbillCreatedBy

func (o *RefundPaymentByExternalKeyParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *RefundPaymentByExternalKeyParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WithXKillbillReason

func (o *RefundPaymentByExternalKeyParams) WithXKillbillReason(xKillbillReason *string) *RefundPaymentByExternalKeyParams

WithXKillbillReason adds the xKillbillReason to the refund payment by external key params

func (*RefundPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RefundPaymentByExternalKeyPaymentRequired

type RefundPaymentByExternalKeyPaymentRequired struct {
}
RefundPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewRefundPaymentByExternalKeyPaymentRequired

func NewRefundPaymentByExternalKeyPaymentRequired() *RefundPaymentByExternalKeyPaymentRequired

NewRefundPaymentByExternalKeyPaymentRequired creates a RefundPaymentByExternalKeyPaymentRequired with default headers values

func (*RefundPaymentByExternalKeyPaymentRequired) Error

type RefundPaymentByExternalKeyReader

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

RefundPaymentByExternalKeyReader is a Reader for the RefundPaymentByExternalKey structure.

func (*RefundPaymentByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefundPaymentByExternalKeyServiceUnavailable

type RefundPaymentByExternalKeyServiceUnavailable struct {
}
RefundPaymentByExternalKeyServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewRefundPaymentByExternalKeyServiceUnavailable

func NewRefundPaymentByExternalKeyServiceUnavailable() *RefundPaymentByExternalKeyServiceUnavailable

NewRefundPaymentByExternalKeyServiceUnavailable creates a RefundPaymentByExternalKeyServiceUnavailable with default headers values

func (*RefundPaymentByExternalKeyServiceUnavailable) Error

type RefundPaymentByExternalKeyUnprocessableEntity

type RefundPaymentByExternalKeyUnprocessableEntity struct {
}
RefundPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewRefundPaymentByExternalKeyUnprocessableEntity

func NewRefundPaymentByExternalKeyUnprocessableEntity() *RefundPaymentByExternalKeyUnprocessableEntity

NewRefundPaymentByExternalKeyUnprocessableEntity creates a RefundPaymentByExternalKeyUnprocessableEntity with default headers values

func (*RefundPaymentByExternalKeyUnprocessableEntity) Error

type RefundPaymentCreated

type RefundPaymentCreated struct {
	Payload *kbmodel.Payment
}
RefundPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewRefundPaymentCreated

func NewRefundPaymentCreated() *RefundPaymentCreated

NewRefundPaymentCreated creates a RefundPaymentCreated with default headers values

func (*RefundPaymentCreated) Error

func (o *RefundPaymentCreated) Error() string

func (*RefundPaymentCreated) GetPayload

func (o *RefundPaymentCreated) GetPayload() *kbmodel.Payment

type RefundPaymentGatewayTimeout

type RefundPaymentGatewayTimeout struct {
}
RefundPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewRefundPaymentGatewayTimeout

func NewRefundPaymentGatewayTimeout() *RefundPaymentGatewayTimeout

NewRefundPaymentGatewayTimeout creates a RefundPaymentGatewayTimeout with default headers values

func (*RefundPaymentGatewayTimeout) Error

type RefundPaymentNotFound

type RefundPaymentNotFound struct {
}
RefundPaymentNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewRefundPaymentNotFound

func NewRefundPaymentNotFound() *RefundPaymentNotFound

NewRefundPaymentNotFound creates a RefundPaymentNotFound with default headers values

func (*RefundPaymentNotFound) Error

func (o *RefundPaymentNotFound) Error() string

type RefundPaymentParams

type RefundPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

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

RefundPaymentParams contains all the parameters to send to the API endpoint

for the refund payment operation.

Typically these are written to a http.Request.

func NewRefundPaymentParams

func NewRefundPaymentParams() *RefundPaymentParams

NewRefundPaymentParams creates a new RefundPaymentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRefundPaymentParamsWithContext

func NewRefundPaymentParamsWithContext(ctx context.Context) *RefundPaymentParams

NewRefundPaymentParamsWithContext creates a new RefundPaymentParams object with the ability to set a context for a request.

func NewRefundPaymentParamsWithHTTPClient

func NewRefundPaymentParamsWithHTTPClient(client *http.Client) *RefundPaymentParams

NewRefundPaymentParamsWithHTTPClient creates a new RefundPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewRefundPaymentParamsWithTimeout

func NewRefundPaymentParamsWithTimeout(timeout time.Duration) *RefundPaymentParams

NewRefundPaymentParamsWithTimeout creates a new RefundPaymentParams object with the ability to set a timeout on a request.

func (*RefundPaymentParams) SetBody

SetBody adds the body to the refund payment params

func (*RefundPaymentParams) SetContext

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

SetContext adds the context to the refund payment params

func (*RefundPaymentParams) SetControlPluginName

func (o *RefundPaymentParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the refund payment params

func (*RefundPaymentParams) SetDefaults

func (o *RefundPaymentParams) SetDefaults()

SetDefaults hydrates default values in the refund payment params (not the query body).

All values with no default are reset to their zero value.

func (*RefundPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refund payment params

func (*RefundPaymentParams) SetPaymentID

func (o *RefundPaymentParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the refund payment params

func (*RefundPaymentParams) SetPluginProperty

func (o *RefundPaymentParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the refund payment params

func (*RefundPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the refund payment params

func (*RefundPaymentParams) SetXKillbillComment

func (o *RefundPaymentParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the refund payment params

func (*RefundPaymentParams) SetXKillbillCreatedBy

func (o *RefundPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the refund payment params

func (*RefundPaymentParams) SetXKillbillReason

func (o *RefundPaymentParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the refund payment params

func (*RefundPaymentParams) WithBody

WithBody adds the body to the refund payment params

func (*RefundPaymentParams) WithContext

WithContext adds the context to the refund payment params

func (*RefundPaymentParams) WithControlPluginName

func (o *RefundPaymentParams) WithControlPluginName(controlPluginName []string) *RefundPaymentParams

WithControlPluginName adds the controlPluginName to the refund payment params

func (*RefundPaymentParams) WithDefaults

func (o *RefundPaymentParams) WithDefaults() *RefundPaymentParams

WithDefaults hydrates default values in the refund payment params (not the query body).

All values with no default are reset to their zero value.

func (*RefundPaymentParams) WithHTTPClient

func (o *RefundPaymentParams) WithHTTPClient(client *http.Client) *RefundPaymentParams

WithHTTPClient adds the HTTPClient to the refund payment params

func (*RefundPaymentParams) WithPaymentID

func (o *RefundPaymentParams) WithPaymentID(paymentID strfmt.UUID) *RefundPaymentParams

WithPaymentID adds the paymentID to the refund payment params

func (*RefundPaymentParams) WithPluginProperty

func (o *RefundPaymentParams) WithPluginProperty(pluginProperty []string) *RefundPaymentParams

WithPluginProperty adds the pluginProperty to the refund payment params

func (*RefundPaymentParams) WithTimeout

func (o *RefundPaymentParams) WithTimeout(timeout time.Duration) *RefundPaymentParams

WithTimeout adds the timeout to the refund payment params

func (*RefundPaymentParams) WithXKillbillComment

func (o *RefundPaymentParams) WithXKillbillComment(xKillbillComment *string) *RefundPaymentParams

WithXKillbillComment adds the xKillbillComment to the refund payment params

func (*RefundPaymentParams) WithXKillbillCreatedBy

func (o *RefundPaymentParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *RefundPaymentParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the refund payment params

func (*RefundPaymentParams) WithXKillbillReason

func (o *RefundPaymentParams) WithXKillbillReason(xKillbillReason *string) *RefundPaymentParams

WithXKillbillReason adds the xKillbillReason to the refund payment params

func (*RefundPaymentParams) WriteToRequest

func (o *RefundPaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RefundPaymentPaymentRequired

type RefundPaymentPaymentRequired struct {
}
RefundPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewRefundPaymentPaymentRequired

func NewRefundPaymentPaymentRequired() *RefundPaymentPaymentRequired

NewRefundPaymentPaymentRequired creates a RefundPaymentPaymentRequired with default headers values

func (*RefundPaymentPaymentRequired) Error

type RefundPaymentReader

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

RefundPaymentReader is a Reader for the RefundPayment structure.

func (*RefundPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefundPaymentServiceUnavailable

type RefundPaymentServiceUnavailable struct {
}
RefundPaymentServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewRefundPaymentServiceUnavailable

func NewRefundPaymentServiceUnavailable() *RefundPaymentServiceUnavailable

NewRefundPaymentServiceUnavailable creates a RefundPaymentServiceUnavailable with default headers values

func (*RefundPaymentServiceUnavailable) Error

type RefundPaymentUnprocessableEntity

type RefundPaymentUnprocessableEntity struct {
}
RefundPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewRefundPaymentUnprocessableEntity

func NewRefundPaymentUnprocessableEntity() *RefundPaymentUnprocessableEntity

NewRefundPaymentUnprocessableEntity creates a RefundPaymentUnprocessableEntity with default headers values

func (*RefundPaymentUnprocessableEntity) Error

type SearchPaymentsOK

type SearchPaymentsOK struct {
	Payload []*kbmodel.Payment
}
SearchPaymentsOK describes a response with status code 200, with default header values.

successful operation

func NewSearchPaymentsOK

func NewSearchPaymentsOK() *SearchPaymentsOK

NewSearchPaymentsOK creates a SearchPaymentsOK with default headers values

func (*SearchPaymentsOK) Error

func (o *SearchPaymentsOK) Error() string

func (*SearchPaymentsOK) GetPayload

func (o *SearchPaymentsOK) GetPayload() []*kbmodel.Payment

type SearchPaymentsParams

type SearchPaymentsParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	// PluginName.
	PluginName *string

	// PluginProperty.
	PluginProperty []string

	// SearchKey.
	SearchKey string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

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

SearchPaymentsParams contains all the parameters to send to the API endpoint

for the search payments operation.

Typically these are written to a http.Request.

func NewSearchPaymentsParams

func NewSearchPaymentsParams() *SearchPaymentsParams

NewSearchPaymentsParams creates a new SearchPaymentsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchPaymentsParamsWithContext

func NewSearchPaymentsParamsWithContext(ctx context.Context) *SearchPaymentsParams

NewSearchPaymentsParamsWithContext creates a new SearchPaymentsParams object with the ability to set a context for a request.

func NewSearchPaymentsParamsWithHTTPClient

func NewSearchPaymentsParamsWithHTTPClient(client *http.Client) *SearchPaymentsParams

NewSearchPaymentsParamsWithHTTPClient creates a new SearchPaymentsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchPaymentsParamsWithTimeout

func NewSearchPaymentsParamsWithTimeout(timeout time.Duration) *SearchPaymentsParams

NewSearchPaymentsParamsWithTimeout creates a new SearchPaymentsParams object with the ability to set a timeout on a request.

func (*SearchPaymentsParams) SetAudit

func (o *SearchPaymentsParams) SetAudit(audit *string)

SetAudit adds the audit to the search payments params

func (*SearchPaymentsParams) SetContext

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

SetContext adds the context to the search payments params

func (*SearchPaymentsParams) SetDefaults

func (o *SearchPaymentsParams) SetDefaults()

SetDefaults hydrates default values in the search payments params (not the query body).

All values with no default are reset to their zero value.

func (*SearchPaymentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search payments params

func (*SearchPaymentsParams) SetLimit

func (o *SearchPaymentsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search payments params

func (*SearchPaymentsParams) SetOffset

func (o *SearchPaymentsParams) SetOffset(offset *int64)

SetOffset adds the offset to the search payments params

func (*SearchPaymentsParams) SetPluginName

func (o *SearchPaymentsParams) SetPluginName(pluginName *string)

SetPluginName adds the pluginName to the search payments params

func (*SearchPaymentsParams) SetPluginProperty

func (o *SearchPaymentsParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the search payments params

func (*SearchPaymentsParams) SetSearchKey

func (o *SearchPaymentsParams) SetSearchKey(searchKey string)

SetSearchKey adds the searchKey to the search payments params

func (*SearchPaymentsParams) SetTimeout

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

SetTimeout adds the timeout to the search payments params

func (*SearchPaymentsParams) SetWithAttempts

func (o *SearchPaymentsParams) SetWithAttempts(withAttempts *bool)

SetWithAttempts adds the withAttempts to the search payments params

func (*SearchPaymentsParams) SetWithPluginInfo

func (o *SearchPaymentsParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the search payments params

func (*SearchPaymentsParams) WithAudit

func (o *SearchPaymentsParams) WithAudit(audit *string) *SearchPaymentsParams

WithAudit adds the audit to the search payments params

func (*SearchPaymentsParams) WithContext

WithContext adds the context to the search payments params

func (*SearchPaymentsParams) WithDefaults

func (o *SearchPaymentsParams) WithDefaults() *SearchPaymentsParams

WithDefaults hydrates default values in the search payments params (not the query body).

All values with no default are reset to their zero value.

func (*SearchPaymentsParams) WithHTTPClient

func (o *SearchPaymentsParams) WithHTTPClient(client *http.Client) *SearchPaymentsParams

WithHTTPClient adds the HTTPClient to the search payments params

func (*SearchPaymentsParams) WithLimit

func (o *SearchPaymentsParams) WithLimit(limit *int64) *SearchPaymentsParams

WithLimit adds the limit to the search payments params

func (*SearchPaymentsParams) WithOffset

func (o *SearchPaymentsParams) WithOffset(offset *int64) *SearchPaymentsParams

WithOffset adds the offset to the search payments params

func (*SearchPaymentsParams) WithPluginName

func (o *SearchPaymentsParams) WithPluginName(pluginName *string) *SearchPaymentsParams

WithPluginName adds the pluginName to the search payments params

func (*SearchPaymentsParams) WithPluginProperty

func (o *SearchPaymentsParams) WithPluginProperty(pluginProperty []string) *SearchPaymentsParams

WithPluginProperty adds the pluginProperty to the search payments params

func (*SearchPaymentsParams) WithSearchKey

func (o *SearchPaymentsParams) WithSearchKey(searchKey string) *SearchPaymentsParams

WithSearchKey adds the searchKey to the search payments params

func (*SearchPaymentsParams) WithTimeout

func (o *SearchPaymentsParams) WithTimeout(timeout time.Duration) *SearchPaymentsParams

WithTimeout adds the timeout to the search payments params

func (*SearchPaymentsParams) WithWithAttempts

func (o *SearchPaymentsParams) WithWithAttempts(withAttempts *bool) *SearchPaymentsParams

WithWithAttempts adds the withAttempts to the search payments params

func (*SearchPaymentsParams) WithWithPluginInfo

func (o *SearchPaymentsParams) WithWithPluginInfo(withPluginInfo *bool) *SearchPaymentsParams

WithWithPluginInfo adds the withPluginInfo to the search payments params

func (*SearchPaymentsParams) WriteToRequest

func (o *SearchPaymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchPaymentsReader

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

SearchPaymentsReader is a Reader for the SearchPayments structure.

func (*SearchPaymentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VoidPaymentBadGateway

type VoidPaymentBadGateway struct {
}
VoidPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewVoidPaymentBadGateway

func NewVoidPaymentBadGateway() *VoidPaymentBadGateway

NewVoidPaymentBadGateway creates a VoidPaymentBadGateway with default headers values

func (*VoidPaymentBadGateway) Error

func (o *VoidPaymentBadGateway) Error() string

type VoidPaymentBadRequest

type VoidPaymentBadRequest struct {
}
VoidPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewVoidPaymentBadRequest

func NewVoidPaymentBadRequest() *VoidPaymentBadRequest

NewVoidPaymentBadRequest creates a VoidPaymentBadRequest with default headers values

func (*VoidPaymentBadRequest) Error

func (o *VoidPaymentBadRequest) Error() string

type VoidPaymentByExternalKeyBadGateway

type VoidPaymentByExternalKeyBadGateway struct {
}
VoidPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewVoidPaymentByExternalKeyBadGateway

func NewVoidPaymentByExternalKeyBadGateway() *VoidPaymentByExternalKeyBadGateway

NewVoidPaymentByExternalKeyBadGateway creates a VoidPaymentByExternalKeyBadGateway with default headers values

func (*VoidPaymentByExternalKeyBadGateway) Error

type VoidPaymentByExternalKeyGatewayTimeout

type VoidPaymentByExternalKeyGatewayTimeout struct {
}
VoidPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewVoidPaymentByExternalKeyGatewayTimeout

func NewVoidPaymentByExternalKeyGatewayTimeout() *VoidPaymentByExternalKeyGatewayTimeout

NewVoidPaymentByExternalKeyGatewayTimeout creates a VoidPaymentByExternalKeyGatewayTimeout with default headers values

func (*VoidPaymentByExternalKeyGatewayTimeout) Error

type VoidPaymentByExternalKeyNoContent

type VoidPaymentByExternalKeyNoContent struct {
}
VoidPaymentByExternalKeyNoContent describes a response with status code 204, with default header values.

Successful operation

func NewVoidPaymentByExternalKeyNoContent

func NewVoidPaymentByExternalKeyNoContent() *VoidPaymentByExternalKeyNoContent

NewVoidPaymentByExternalKeyNoContent creates a VoidPaymentByExternalKeyNoContent with default headers values

func (*VoidPaymentByExternalKeyNoContent) Error

type VoidPaymentByExternalKeyNotFound

type VoidPaymentByExternalKeyNotFound struct {
}
VoidPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewVoidPaymentByExternalKeyNotFound

func NewVoidPaymentByExternalKeyNotFound() *VoidPaymentByExternalKeyNotFound

NewVoidPaymentByExternalKeyNotFound creates a VoidPaymentByExternalKeyNotFound with default headers values

func (*VoidPaymentByExternalKeyNotFound) Error

type VoidPaymentByExternalKeyParams

type VoidPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

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

VoidPaymentByExternalKeyParams contains all the parameters to send to the API endpoint

for the void payment by external key operation.

Typically these are written to a http.Request.

func NewVoidPaymentByExternalKeyParams

func NewVoidPaymentByExternalKeyParams() *VoidPaymentByExternalKeyParams

NewVoidPaymentByExternalKeyParams creates a new VoidPaymentByExternalKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVoidPaymentByExternalKeyParamsWithContext

func NewVoidPaymentByExternalKeyParamsWithContext(ctx context.Context) *VoidPaymentByExternalKeyParams

NewVoidPaymentByExternalKeyParamsWithContext creates a new VoidPaymentByExternalKeyParams object with the ability to set a context for a request.

func NewVoidPaymentByExternalKeyParamsWithHTTPClient

func NewVoidPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *VoidPaymentByExternalKeyParams

NewVoidPaymentByExternalKeyParamsWithHTTPClient creates a new VoidPaymentByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewVoidPaymentByExternalKeyParamsWithTimeout

func NewVoidPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *VoidPaymentByExternalKeyParams

NewVoidPaymentByExternalKeyParamsWithTimeout creates a new VoidPaymentByExternalKeyParams object with the ability to set a timeout on a request.

func (*VoidPaymentByExternalKeyParams) SetBody

SetBody adds the body to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) SetContext

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

SetContext adds the context to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) SetControlPluginName

func (o *VoidPaymentByExternalKeyParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) SetDefaults

func (o *VoidPaymentByExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the void payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*VoidPaymentByExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) SetPluginProperty

func (o *VoidPaymentByExternalKeyParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) SetTimeout

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

SetTimeout adds the timeout to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) SetXKillbillComment

func (o *VoidPaymentByExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *VoidPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) SetXKillbillReason

func (o *VoidPaymentByExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithBody

WithBody adds the body to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithContext

WithContext adds the context to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithControlPluginName

func (o *VoidPaymentByExternalKeyParams) WithControlPluginName(controlPluginName []string) *VoidPaymentByExternalKeyParams

WithControlPluginName adds the controlPluginName to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the void payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*VoidPaymentByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithPluginProperty

func (o *VoidPaymentByExternalKeyParams) WithPluginProperty(pluginProperty []string) *VoidPaymentByExternalKeyParams

WithPluginProperty adds the pluginProperty to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithXKillbillComment

func (o *VoidPaymentByExternalKeyParams) WithXKillbillComment(xKillbillComment *string) *VoidPaymentByExternalKeyParams

WithXKillbillComment adds the xKillbillComment to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithXKillbillCreatedBy

func (o *VoidPaymentByExternalKeyParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *VoidPaymentByExternalKeyParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WithXKillbillReason

func (o *VoidPaymentByExternalKeyParams) WithXKillbillReason(xKillbillReason *string) *VoidPaymentByExternalKeyParams

WithXKillbillReason adds the xKillbillReason to the void payment by external key params

func (*VoidPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VoidPaymentByExternalKeyPaymentRequired

type VoidPaymentByExternalKeyPaymentRequired struct {
}
VoidPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewVoidPaymentByExternalKeyPaymentRequired

func NewVoidPaymentByExternalKeyPaymentRequired() *VoidPaymentByExternalKeyPaymentRequired

NewVoidPaymentByExternalKeyPaymentRequired creates a VoidPaymentByExternalKeyPaymentRequired with default headers values

func (*VoidPaymentByExternalKeyPaymentRequired) Error

type VoidPaymentByExternalKeyReader

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

VoidPaymentByExternalKeyReader is a Reader for the VoidPaymentByExternalKey structure.

func (*VoidPaymentByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VoidPaymentByExternalKeyServiceUnavailable

type VoidPaymentByExternalKeyServiceUnavailable struct {
}
VoidPaymentByExternalKeyServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewVoidPaymentByExternalKeyServiceUnavailable

func NewVoidPaymentByExternalKeyServiceUnavailable() *VoidPaymentByExternalKeyServiceUnavailable

NewVoidPaymentByExternalKeyServiceUnavailable creates a VoidPaymentByExternalKeyServiceUnavailable with default headers values

func (*VoidPaymentByExternalKeyServiceUnavailable) Error

type VoidPaymentByExternalKeyUnprocessableEntity

type VoidPaymentByExternalKeyUnprocessableEntity struct {
}
VoidPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewVoidPaymentByExternalKeyUnprocessableEntity

func NewVoidPaymentByExternalKeyUnprocessableEntity() *VoidPaymentByExternalKeyUnprocessableEntity

NewVoidPaymentByExternalKeyUnprocessableEntity creates a VoidPaymentByExternalKeyUnprocessableEntity with default headers values

func (*VoidPaymentByExternalKeyUnprocessableEntity) Error

type VoidPaymentGatewayTimeout

type VoidPaymentGatewayTimeout struct {
}
VoidPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewVoidPaymentGatewayTimeout

func NewVoidPaymentGatewayTimeout() *VoidPaymentGatewayTimeout

NewVoidPaymentGatewayTimeout creates a VoidPaymentGatewayTimeout with default headers values

func (*VoidPaymentGatewayTimeout) Error

func (o *VoidPaymentGatewayTimeout) Error() string

type VoidPaymentNoContent

type VoidPaymentNoContent struct {
}
VoidPaymentNoContent describes a response with status code 204, with default header values.

Successful operation

func NewVoidPaymentNoContent

func NewVoidPaymentNoContent() *VoidPaymentNoContent

NewVoidPaymentNoContent creates a VoidPaymentNoContent with default headers values

func (*VoidPaymentNoContent) Error

func (o *VoidPaymentNoContent) Error() string

type VoidPaymentNotFound

type VoidPaymentNotFound struct {
}
VoidPaymentNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewVoidPaymentNotFound

func NewVoidPaymentNotFound() *VoidPaymentNotFound

NewVoidPaymentNotFound creates a VoidPaymentNotFound with default headers values

func (*VoidPaymentNotFound) Error

func (o *VoidPaymentNotFound) Error() string

type VoidPaymentParams

type VoidPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

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

VoidPaymentParams contains all the parameters to send to the API endpoint

for the void payment operation.

Typically these are written to a http.Request.

func NewVoidPaymentParams

func NewVoidPaymentParams() *VoidPaymentParams

NewVoidPaymentParams creates a new VoidPaymentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVoidPaymentParamsWithContext

func NewVoidPaymentParamsWithContext(ctx context.Context) *VoidPaymentParams

NewVoidPaymentParamsWithContext creates a new VoidPaymentParams object with the ability to set a context for a request.

func NewVoidPaymentParamsWithHTTPClient

func NewVoidPaymentParamsWithHTTPClient(client *http.Client) *VoidPaymentParams

NewVoidPaymentParamsWithHTTPClient creates a new VoidPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewVoidPaymentParamsWithTimeout

func NewVoidPaymentParamsWithTimeout(timeout time.Duration) *VoidPaymentParams

NewVoidPaymentParamsWithTimeout creates a new VoidPaymentParams object with the ability to set a timeout on a request.

func (*VoidPaymentParams) SetBody

func (o *VoidPaymentParams) SetBody(body *kbmodel.PaymentTransaction)

SetBody adds the body to the void payment params

func (*VoidPaymentParams) SetContext

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

SetContext adds the context to the void payment params

func (*VoidPaymentParams) SetControlPluginName

func (o *VoidPaymentParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the void payment params

func (*VoidPaymentParams) SetDefaults

func (o *VoidPaymentParams) SetDefaults()

SetDefaults hydrates default values in the void payment params (not the query body).

All values with no default are reset to their zero value.

func (*VoidPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the void payment params

func (*VoidPaymentParams) SetPaymentID

func (o *VoidPaymentParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the void payment params

func (*VoidPaymentParams) SetPluginProperty

func (o *VoidPaymentParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the void payment params

func (*VoidPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the void payment params

func (*VoidPaymentParams) SetXKillbillComment

func (o *VoidPaymentParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the void payment params

func (*VoidPaymentParams) SetXKillbillCreatedBy

func (o *VoidPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the void payment params

func (*VoidPaymentParams) SetXKillbillReason

func (o *VoidPaymentParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the void payment params

func (*VoidPaymentParams) WithBody

WithBody adds the body to the void payment params

func (*VoidPaymentParams) WithContext

func (o *VoidPaymentParams) WithContext(ctx context.Context) *VoidPaymentParams

WithContext adds the context to the void payment params

func (*VoidPaymentParams) WithControlPluginName

func (o *VoidPaymentParams) WithControlPluginName(controlPluginName []string) *VoidPaymentParams

WithControlPluginName adds the controlPluginName to the void payment params

func (*VoidPaymentParams) WithDefaults

func (o *VoidPaymentParams) WithDefaults() *VoidPaymentParams

WithDefaults hydrates default values in the void payment params (not the query body).

All values with no default are reset to their zero value.

func (*VoidPaymentParams) WithHTTPClient

func (o *VoidPaymentParams) WithHTTPClient(client *http.Client) *VoidPaymentParams

WithHTTPClient adds the HTTPClient to the void payment params

func (*VoidPaymentParams) WithPaymentID

func (o *VoidPaymentParams) WithPaymentID(paymentID strfmt.UUID) *VoidPaymentParams

WithPaymentID adds the paymentID to the void payment params

func (*VoidPaymentParams) WithPluginProperty

func (o *VoidPaymentParams) WithPluginProperty(pluginProperty []string) *VoidPaymentParams

WithPluginProperty adds the pluginProperty to the void payment params

func (*VoidPaymentParams) WithTimeout

func (o *VoidPaymentParams) WithTimeout(timeout time.Duration) *VoidPaymentParams

WithTimeout adds the timeout to the void payment params

func (*VoidPaymentParams) WithXKillbillComment

func (o *VoidPaymentParams) WithXKillbillComment(xKillbillComment *string) *VoidPaymentParams

WithXKillbillComment adds the xKillbillComment to the void payment params

func (*VoidPaymentParams) WithXKillbillCreatedBy

func (o *VoidPaymentParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *VoidPaymentParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the void payment params

func (*VoidPaymentParams) WithXKillbillReason

func (o *VoidPaymentParams) WithXKillbillReason(xKillbillReason *string) *VoidPaymentParams

WithXKillbillReason adds the xKillbillReason to the void payment params

func (*VoidPaymentParams) WriteToRequest

func (o *VoidPaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type VoidPaymentPaymentRequired

type VoidPaymentPaymentRequired struct {
}
VoidPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewVoidPaymentPaymentRequired

func NewVoidPaymentPaymentRequired() *VoidPaymentPaymentRequired

NewVoidPaymentPaymentRequired creates a VoidPaymentPaymentRequired with default headers values

func (*VoidPaymentPaymentRequired) Error

type VoidPaymentReader

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

VoidPaymentReader is a Reader for the VoidPayment structure.

func (*VoidPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VoidPaymentServiceUnavailable

type VoidPaymentServiceUnavailable struct {
}
VoidPaymentServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewVoidPaymentServiceUnavailable

func NewVoidPaymentServiceUnavailable() *VoidPaymentServiceUnavailable

NewVoidPaymentServiceUnavailable creates a VoidPaymentServiceUnavailable with default headers values

func (*VoidPaymentServiceUnavailable) Error

type VoidPaymentUnprocessableEntity

type VoidPaymentUnprocessableEntity struct {
}
VoidPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewVoidPaymentUnprocessableEntity

func NewVoidPaymentUnprocessableEntity() *VoidPaymentUnprocessableEntity

NewVoidPaymentUnprocessableEntity creates a VoidPaymentUnprocessableEntity with default headers values

func (*VoidPaymentUnprocessableEntity) Error

Source Files

Jump to

Keyboard shortcuts

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