payment

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 13 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 {
	HttpResponse runtime.ClientResponse
}

CancelScheduledPaymentTransactionByExternalKeyBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CancelScheduledPaymentTransactionByExternalKeyNoContent handles this case 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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithContext

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithContext(ctx context.Context) *CancelScheduledPaymentTransactionByExternalKeyParams

NewCancelScheduledPaymentTransactionByExternalKeyParamsWithContext creates a new CancelScheduledPaymentTransactionByExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

CancelScheduledPaymentTransactionByIDBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CancelScheduledPaymentTransactionByIDNoContent handles this case 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*/
	PaymentTransactionID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCancelScheduledPaymentTransactionByIDParamsWithContext

func NewCancelScheduledPaymentTransactionByIDParamsWithContext(ctx context.Context) *CancelScheduledPaymentTransactionByIDParams

NewCancelScheduledPaymentTransactionByIDParamsWithContext creates a new CancelScheduledPaymentTransactionByIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyBadGateway handles this case 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

	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyCreated handles this case with default header values.

Payment transaction created successfully

func NewCaptureAuthorizationByExternalKeyCreated

func NewCaptureAuthorizationByExternalKeyCreated() *CaptureAuthorizationByExternalKeyCreated

NewCaptureAuthorizationByExternalKeyCreated creates a CaptureAuthorizationByExternalKeyCreated with default headers values

func (*CaptureAuthorizationByExternalKeyCreated) Error

type CaptureAuthorizationByExternalKeyGatewayTimeout

type CaptureAuthorizationByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyNotFound handles this case 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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCaptureAuthorizationByExternalKeyParamsWithContext

func NewCaptureAuthorizationByExternalKeyParamsWithContext(ctx context.Context) *CaptureAuthorizationByExternalKeyParams

NewCaptureAuthorizationByExternalKeyParamsWithContext creates a new CaptureAuthorizationByExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyUnprocessableEntity handles this case 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

	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationCreated handles this case with default header values.

Payment transaction created successfully

func NewCaptureAuthorizationCreated

func NewCaptureAuthorizationCreated() *CaptureAuthorizationCreated

NewCaptureAuthorizationCreated creates a CaptureAuthorizationCreated with default headers values

func (*CaptureAuthorizationCreated) Error

type CaptureAuthorizationGatewayTimeout

type CaptureAuthorizationGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationNotFound handles this case 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*/
	PaymentID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCaptureAuthorizationParamsWithContext

func NewCaptureAuthorizationParamsWithContext(ctx context.Context) *CaptureAuthorizationParams

NewCaptureAuthorizationParamsWithContext creates a new CaptureAuthorizationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationUnprocessableEntity handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyBadGateway handles this case 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

	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyCreated handles this case with default header values.

Payment transaction created successfully

func NewChargebackPaymentByExternalKeyCreated

func NewChargebackPaymentByExternalKeyCreated() *ChargebackPaymentByExternalKeyCreated

NewChargebackPaymentByExternalKeyCreated creates a ChargebackPaymentByExternalKeyCreated with default headers values

func (*ChargebackPaymentByExternalKeyCreated) Error

type ChargebackPaymentByExternalKeyGatewayTimeout

type ChargebackPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyNotFound handles this case 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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewChargebackPaymentByExternalKeyParamsWithContext

func NewChargebackPaymentByExternalKeyParamsWithContext(ctx context.Context) *ChargebackPaymentByExternalKeyParams

NewChargebackPaymentByExternalKeyParamsWithContext creates a new ChargebackPaymentByExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyUnprocessableEntity handles this case 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

	HttpResponse runtime.ClientResponse
}

ChargebackPaymentCreated handles this case 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

type ChargebackPaymentGatewayTimeout

type ChargebackPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentNotFound handles this case 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*/
	PaymentID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewChargebackPaymentParamsWithContext

func NewChargebackPaymentParamsWithContext(ctx context.Context) *ChargebackPaymentParams

NewChargebackPaymentParamsWithContext creates a new ChargebackPaymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentUnprocessableEntity handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyBadGateway handles this case 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

	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyCreated handles this case with default header values.

Payment transaction created successfully

func NewChargebackReversalPaymentByExternalKeyCreated

func NewChargebackReversalPaymentByExternalKeyCreated() *ChargebackReversalPaymentByExternalKeyCreated

NewChargebackReversalPaymentByExternalKeyCreated creates a ChargebackReversalPaymentByExternalKeyCreated with default headers values

func (*ChargebackReversalPaymentByExternalKeyCreated) Error

type ChargebackReversalPaymentByExternalKeyGatewayTimeout

type ChargebackReversalPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyNotFound handles this case 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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewChargebackReversalPaymentByExternalKeyParamsWithContext

func NewChargebackReversalPaymentByExternalKeyParamsWithContext(ctx context.Context) *ChargebackReversalPaymentByExternalKeyParams

NewChargebackReversalPaymentByExternalKeyParamsWithContext creates a new ChargebackReversalPaymentByExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyUnprocessableEntity handles this case 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

	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentCreated handles this case with default header values.

Payment transaction created successfully

func NewChargebackReversalPaymentCreated

func NewChargebackReversalPaymentCreated() *ChargebackReversalPaymentCreated

NewChargebackReversalPaymentCreated creates a ChargebackReversalPaymentCreated with default headers values

func (*ChargebackReversalPaymentCreated) Error

type ChargebackReversalPaymentGatewayTimeout

type ChargebackReversalPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentNotFound handles this case 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*/
	PaymentID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewChargebackReversalPaymentParamsWithContext

func NewChargebackReversalPaymentParamsWithContext(ctx context.Context) *ChargebackReversalPaymentParams

NewChargebackReversalPaymentParamsWithContext creates a new ChargebackReversalPaymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentUnprocessableEntity handles this case 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 New

func New(transport runtime.ClientTransport,
	formats strfmt.Registry,
	authInfo runtime.ClientAuthInfoWriter,
	defaults KillbillDefaults) *Client

New creates a new payment API client.

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(ctx context.Context, params *CaptureAuthorizationParams) (*CaptureAuthorizationCreated, error)

CaptureAuthorization captures an existing authorization

func (*Client) CaptureAuthorizationByExternalKey

CaptureAuthorizationByExternalKey captures an existing authorization

func (*Client) ChargebackPayment

func (a *Client) ChargebackPayment(ctx context.Context, params *ChargebackPaymentParams) (*ChargebackPaymentCreated, error)

ChargebackPayment records a chargeback

func (*Client) ChargebackPaymentByExternalKey

func (a *Client) ChargebackPaymentByExternalKey(ctx context.Context, params *ChargebackPaymentByExternalKeyParams) (*ChargebackPaymentByExternalKeyCreated, error)

ChargebackPaymentByExternalKey records a chargeback

func (*Client) ChargebackReversalPayment

func (a *Client) ChargebackReversalPayment(ctx context.Context, params *ChargebackReversalPaymentParams) (*ChargebackReversalPaymentCreated, error)

ChargebackReversalPayment records a chargeback reversal

func (*Client) ChargebackReversalPaymentByExternalKey

ChargebackReversalPaymentByExternalKey records a chargeback reversal

func (*Client) CompleteTransaction

func (a *Client) CompleteTransaction(ctx context.Context, params *CompleteTransactionParams) (*CompleteTransactionNoContent, error)

CompleteTransaction completes an existing transaction

func (*Client) CompleteTransactionByExternalKey

CompleteTransactionByExternalKey completes an existing transaction

func (*Client) CreateComboPayment

func (a *Client) CreateComboPayment(ctx context.Context, params *CreateComboPaymentParams) (*CreateComboPaymentCreated, error)

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

func (*Client) CreatePaymentCustomFields

func (a *Client) CreatePaymentCustomFields(ctx context.Context, params *CreatePaymentCustomFieldsParams) (*CreatePaymentCustomFieldsCreated, error)

CreatePaymentCustomFields adds custom fields to payment

func (*Client) CreatePaymentTags

func (a *Client) CreatePaymentTags(ctx context.Context, params *CreatePaymentTagsParams) (*CreatePaymentTagsCreated, error)

CreatePaymentTags adds tags to payment payment

func (*Client) DeletePaymentCustomFields

func (a *Client) DeletePaymentCustomFields(ctx context.Context, params *DeletePaymentCustomFieldsParams) (*DeletePaymentCustomFieldsNoContent, error)

DeletePaymentCustomFields removes custom fields from payment payment

func (*Client) DeletePaymentTags

func (a *Client) DeletePaymentTags(ctx context.Context, params *DeletePaymentTagsParams) (*DeletePaymentTagsNoContent, error)

DeletePaymentTags removes tags from payment payment

func (*Client) GetPayment

func (a *Client) GetPayment(ctx context.Context, params *GetPaymentParams) (*GetPaymentOK, error)

GetPayment retrieves a payment by id

func (*Client) GetPaymentAttemptAuditLogsWithHistory

func (a *Client) GetPaymentAttemptAuditLogsWithHistory(ctx context.Context, params *GetPaymentAttemptAuditLogsWithHistoryParams) (*GetPaymentAttemptAuditLogsWithHistoryOK, error)

GetPaymentAttemptAuditLogsWithHistory retrieves payment attempt audit logs with history by id

func (*Client) GetPaymentAuditLogsWithHistory

func (a *Client) GetPaymentAuditLogsWithHistory(ctx context.Context, params *GetPaymentAuditLogsWithHistoryParams) (*GetPaymentAuditLogsWithHistoryOK, error)

GetPaymentAuditLogsWithHistory retrieves payment audit logs with history by id

func (*Client) GetPaymentByExternalKey

func (a *Client) GetPaymentByExternalKey(ctx context.Context, params *GetPaymentByExternalKeyParams) (*GetPaymentByExternalKeyOK, error)

GetPaymentByExternalKey retrieves a payment by external key

func (*Client) GetPaymentCustomFields

func (a *Client) GetPaymentCustomFields(ctx context.Context, params *GetPaymentCustomFieldsParams) (*GetPaymentCustomFieldsOK, error)

GetPaymentCustomFields retrieves payment custom fields

func (*Client) GetPaymentTags

func (a *Client) GetPaymentTags(ctx context.Context, params *GetPaymentTagsParams) (*GetPaymentTagsOK, error)

GetPaymentTags retrieves payment payment tags

func (*Client) GetPayments

func (a *Client) GetPayments(ctx context.Context, params *GetPaymentsParams) (*GetPaymentsOK, error)

GetPayments gets payments

func (*Client) ModifyPaymentCustomFields

func (a *Client) ModifyPaymentCustomFields(ctx context.Context, params *ModifyPaymentCustomFieldsParams) (*ModifyPaymentCustomFieldsNoContent, error)

ModifyPaymentCustomFields modifies custom fields to payment

func (*Client) RefundPayment

func (a *Client) RefundPayment(ctx context.Context, params *RefundPaymentParams) (*RefundPaymentCreated, error)

RefundPayment refunds an existing payment

func (*Client) RefundPaymentByExternalKey

func (a *Client) RefundPaymentByExternalKey(ctx context.Context, params *RefundPaymentByExternalKeyParams) (*RefundPaymentByExternalKeyCreated, error)

RefundPaymentByExternalKey refunds an existing payment

func (*Client) SearchPayments

func (a *Client) SearchPayments(ctx context.Context, params *SearchPaymentsParams) (*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(ctx context.Context, params *VoidPaymentParams) (*VoidPaymentNoContent, error)

VoidPayment voids an existing payment

func (*Client) VoidPaymentByExternalKey

func (a *Client) VoidPaymentByExternalKey(ctx context.Context, params *VoidPaymentByExternalKeyParams) (*VoidPaymentByExternalKeyNoContent, error)

VoidPaymentByExternalKey voids an existing payment

type CompleteTransactionBadGateway

type CompleteTransactionBadGateway struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyNoContent handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyNotFound handles this case 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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCompleteTransactionByExternalKeyParamsWithContext

func NewCompleteTransactionByExternalKeyParamsWithContext(ctx context.Context) *CompleteTransactionByExternalKeyParams

NewCompleteTransactionByExternalKeyParamsWithContext creates a new CompleteTransactionByExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyUnprocessableEntity handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionNoContent handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionNotFound handles this case 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*/
	PaymentID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCompleteTransactionParamsWithContext

func NewCompleteTransactionParamsWithContext(ctx context.Context) *CompleteTransactionParams

NewCompleteTransactionParamsWithContext creates a new CompleteTransactionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionUnprocessableEntity handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentBadRequest handles this case 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

	HttpResponse runtime.ClientResponse
}

CreateComboPaymentCreated handles this case 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

type CreateComboPaymentGatewayTimeout

type CreateComboPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentGatewayTimeout handles this case 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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCreateComboPaymentParamsWithContext

func NewCreateComboPaymentParamsWithContext(ctx context.Context) *CreateComboPaymentParams

NewCreateComboPaymentParamsWithContext creates a new CreateComboPaymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentUnprocessableEntity handles this case 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 {
	HttpResponse runtime.ClientResponse
}

CreatePaymentCustomFieldsBadRequest handles this case 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

	HttpResponse runtime.ClientResponse
}

CreatePaymentCustomFieldsCreated handles this case with default header values.

Custom field created successfully

func NewCreatePaymentCustomFieldsCreated

func NewCreatePaymentCustomFieldsCreated() *CreatePaymentCustomFieldsCreated

NewCreatePaymentCustomFieldsCreated creates a CreatePaymentCustomFieldsCreated with default headers values

func (*CreatePaymentCustomFieldsCreated) Error

type CreatePaymentCustomFieldsParams

type CreatePaymentCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*PaymentID*/
	PaymentID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCreatePaymentCustomFieldsParamsWithContext

func NewCreatePaymentCustomFieldsParamsWithContext(ctx context.Context) *CreatePaymentCustomFieldsParams

NewCreatePaymentCustomFieldsParamsWithContext creates a new CreatePaymentCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

CreatePaymentTagsBadRequest handles this case 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

	HttpResponse runtime.ClientResponse
}

CreatePaymentTagsCreated handles this case 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

type CreatePaymentTagsParams

type CreatePaymentTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []strfmt.UUID
	/*PaymentID*/
	PaymentID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewCreatePaymentTagsParamsWithContext

func NewCreatePaymentTagsParamsWithContext(ctx context.Context) *CreatePaymentTagsParams

NewCreatePaymentTagsParamsWithContext creates a new CreatePaymentTagsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

DeletePaymentCustomFieldsBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

DeletePaymentCustomFieldsNoContent handles this case 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*/
	PaymentID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewDeletePaymentCustomFieldsParamsWithContext

func NewDeletePaymentCustomFieldsParamsWithContext(ctx context.Context) *DeletePaymentCustomFieldsParams

NewDeletePaymentCustomFieldsParamsWithContext creates a new DeletePaymentCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

DeletePaymentTagsBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

DeletePaymentTagsNoContent handles this case 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*/
	PaymentID strfmt.UUID
	/*TagDef*/
	TagDef []strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewDeletePaymentTagsParamsWithContext

func NewDeletePaymentTagsParamsWithContext(ctx context.Context) *DeletePaymentTagsParams

NewDeletePaymentTagsParamsWithContext creates a new DeletePaymentTagsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

GetPaymentAttemptAuditLogsWithHistoryNotFound handles this case 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

	HttpResponse runtime.ClientResponse
}

GetPaymentAttemptAuditLogsWithHistoryOK handles this case with default header values.

successful operation

func NewGetPaymentAttemptAuditLogsWithHistoryOK

func NewGetPaymentAttemptAuditLogsWithHistoryOK() *GetPaymentAttemptAuditLogsWithHistoryOK

NewGetPaymentAttemptAuditLogsWithHistoryOK creates a GetPaymentAttemptAuditLogsWithHistoryOK with default headers values

func (*GetPaymentAttemptAuditLogsWithHistoryOK) Error

type GetPaymentAttemptAuditLogsWithHistoryParams

type GetPaymentAttemptAuditLogsWithHistoryParams struct {

	/*PaymentAttemptID*/
	PaymentAttemptID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithContext

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentAttemptAuditLogsWithHistoryParams

NewGetPaymentAttemptAuditLogsWithHistoryParamsWithContext creates a new GetPaymentAttemptAuditLogsWithHistoryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

GetPaymentAuditLogsWithHistoryNotFound handles this case 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

	HttpResponse runtime.ClientResponse
}

GetPaymentAuditLogsWithHistoryOK handles this case with default header values.

successful operation

func NewGetPaymentAuditLogsWithHistoryOK

func NewGetPaymentAuditLogsWithHistoryOK() *GetPaymentAuditLogsWithHistoryOK

NewGetPaymentAuditLogsWithHistoryOK creates a GetPaymentAuditLogsWithHistoryOK with default headers values

func (*GetPaymentAuditLogsWithHistoryOK) Error

type GetPaymentAuditLogsWithHistoryParams

type GetPaymentAuditLogsWithHistoryParams struct {

	/*PaymentID*/
	PaymentID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewGetPaymentAuditLogsWithHistoryParamsWithContext

func NewGetPaymentAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentAuditLogsWithHistoryParams

NewGetPaymentAuditLogsWithHistoryParamsWithContext creates a new GetPaymentAuditLogsWithHistoryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

GetPaymentBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

GetPaymentByExternalKeyNotFound handles this case 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

	HttpResponse runtime.ClientResponse
}

GetPaymentByExternalKeyOK handles this case 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

type GetPaymentByExternalKeyParams

type GetPaymentByExternalKeyParams struct {

	/*Audit*/
	Audit *string
	/*ExternalKey*/
	ExternalKey string
	/*PluginProperty*/
	PluginProperty []string
	/*WithAttempts*/
	WithAttempts *bool
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewGetPaymentByExternalKeyParamsWithContext

func NewGetPaymentByExternalKeyParamsWithContext(ctx context.Context) *GetPaymentByExternalKeyParams

NewGetPaymentByExternalKeyParamsWithContext creates a new GetPaymentByExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

GetPaymentCustomFieldsBadRequest handles this case 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

	HttpResponse runtime.ClientResponse
}

GetPaymentCustomFieldsOK handles this case 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

type GetPaymentCustomFieldsParams

type GetPaymentCustomFieldsParams struct {

	/*Audit*/
	Audit *string
	/*PaymentID*/
	PaymentID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewGetPaymentCustomFieldsParamsWithContext

func NewGetPaymentCustomFieldsParamsWithContext(ctx context.Context) *GetPaymentCustomFieldsParams

NewGetPaymentCustomFieldsParamsWithContext creates a new GetPaymentCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

GetPaymentNotFound handles this case 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

	HttpResponse runtime.ClientResponse
}

GetPaymentOK handles this case 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

type GetPaymentParams

type GetPaymentParams struct {

	/*Audit*/
	Audit *string
	/*PaymentID*/
	PaymentID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string
	/*WithAttempts*/
	WithAttempts *bool
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewGetPaymentParamsWithContext

func NewGetPaymentParamsWithContext(ctx context.Context) *GetPaymentParams

NewGetPaymentParamsWithContext creates a new GetPaymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

GetPaymentTagsBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

GetPaymentTagsNotFound handles this case 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

	HttpResponse runtime.ClientResponse
}

GetPaymentTagsOK handles this case 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

type GetPaymentTagsParams

type GetPaymentTagsParams struct {

	/*Audit*/
	Audit *string
	/*IncludedDeleted*/
	IncludedDeleted *bool
	/*PaymentID*/
	PaymentID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewGetPaymentTagsParamsWithContext

func NewGetPaymentTagsParamsWithContext(ctx context.Context) *GetPaymentTagsParams

NewGetPaymentTagsParamsWithContext creates a new GetPaymentTagsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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

	HttpResponse runtime.ClientResponse
}

GetPaymentsOK handles this case 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

type GetPaymentsParams

type GetPaymentsParams struct {

	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*PluginName*/
	PluginName *string
	/*PluginProperty*/
	PluginProperty []string
	/*WithAttempts*/
	WithAttempts *bool
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewGetPaymentsParamsWithContext

func NewGetPaymentsParamsWithContext(ctx context.Context) *GetPaymentsParams

NewGetPaymentsParamsWithContext creates a new GetPaymentsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 IPayment

type IPayment interface {
	/*
		CancelScheduledPaymentTransactionByExternalKey cancels a scheduled payment attempt retry
	*/
	CancelScheduledPaymentTransactionByExternalKey(ctx context.Context, params *CancelScheduledPaymentTransactionByExternalKeyParams) (*CancelScheduledPaymentTransactionByExternalKeyNoContent, error)

	/*
		CancelScheduledPaymentTransactionByID cancels a scheduled payment attempt retry
	*/
	CancelScheduledPaymentTransactionByID(ctx context.Context, params *CancelScheduledPaymentTransactionByIDParams) (*CancelScheduledPaymentTransactionByIDNoContent, error)

	/*
		CaptureAuthorization captures an existing authorization
	*/
	CaptureAuthorization(ctx context.Context, params *CaptureAuthorizationParams) (*CaptureAuthorizationCreated, error)

	/*
		CaptureAuthorizationByExternalKey captures an existing authorization
	*/
	CaptureAuthorizationByExternalKey(ctx context.Context, params *CaptureAuthorizationByExternalKeyParams) (*CaptureAuthorizationByExternalKeyCreated, error)

	/*
		ChargebackPayment records a chargeback
	*/
	ChargebackPayment(ctx context.Context, params *ChargebackPaymentParams) (*ChargebackPaymentCreated, error)

	/*
		ChargebackPaymentByExternalKey records a chargeback
	*/
	ChargebackPaymentByExternalKey(ctx context.Context, params *ChargebackPaymentByExternalKeyParams) (*ChargebackPaymentByExternalKeyCreated, error)

	/*
		ChargebackReversalPayment records a chargeback reversal
	*/
	ChargebackReversalPayment(ctx context.Context, params *ChargebackReversalPaymentParams) (*ChargebackReversalPaymentCreated, error)

	/*
		ChargebackReversalPaymentByExternalKey records a chargeback reversal
	*/
	ChargebackReversalPaymentByExternalKey(ctx context.Context, params *ChargebackReversalPaymentByExternalKeyParams) (*ChargebackReversalPaymentByExternalKeyCreated, error)

	/*
		CompleteTransaction completes an existing transaction
	*/
	CompleteTransaction(ctx context.Context, params *CompleteTransactionParams) (*CompleteTransactionNoContent, error)

	/*
		CompleteTransactionByExternalKey completes an existing transaction
	*/
	CompleteTransactionByExternalKey(ctx context.Context, params *CompleteTransactionByExternalKeyParams) (*CompleteTransactionByExternalKeyNoContent, error)

	/*
		CreateComboPayment combos api to create a new payment transaction on a existing or not account
	*/
	CreateComboPayment(ctx context.Context, params *CreateComboPaymentParams) (*CreateComboPaymentCreated, error)

	/*
		CreatePaymentCustomFields adds custom fields to payment
	*/
	CreatePaymentCustomFields(ctx context.Context, params *CreatePaymentCustomFieldsParams) (*CreatePaymentCustomFieldsCreated, error)

	/*
		CreatePaymentTags adds tags to payment payment
	*/
	CreatePaymentTags(ctx context.Context, params *CreatePaymentTagsParams) (*CreatePaymentTagsCreated, error)

	/*
		DeletePaymentCustomFields removes custom fields from payment payment
	*/
	DeletePaymentCustomFields(ctx context.Context, params *DeletePaymentCustomFieldsParams) (*DeletePaymentCustomFieldsNoContent, error)

	/*
		DeletePaymentTags removes tags from payment payment
	*/
	DeletePaymentTags(ctx context.Context, params *DeletePaymentTagsParams) (*DeletePaymentTagsNoContent, error)

	/*
		GetPayment retrieves a payment by id
	*/
	GetPayment(ctx context.Context, params *GetPaymentParams) (*GetPaymentOK, error)

	/*
		GetPaymentAttemptAuditLogsWithHistory retrieves payment attempt audit logs with history by id
	*/
	GetPaymentAttemptAuditLogsWithHistory(ctx context.Context, params *GetPaymentAttemptAuditLogsWithHistoryParams) (*GetPaymentAttemptAuditLogsWithHistoryOK, error)

	/*
		GetPaymentAuditLogsWithHistory retrieves payment audit logs with history by id
	*/
	GetPaymentAuditLogsWithHistory(ctx context.Context, params *GetPaymentAuditLogsWithHistoryParams) (*GetPaymentAuditLogsWithHistoryOK, error)

	/*
		GetPaymentByExternalKey retrieves a payment by external key
	*/
	GetPaymentByExternalKey(ctx context.Context, params *GetPaymentByExternalKeyParams) (*GetPaymentByExternalKeyOK, error)

	/*
		GetPaymentCustomFields retrieves payment custom fields
	*/
	GetPaymentCustomFields(ctx context.Context, params *GetPaymentCustomFieldsParams) (*GetPaymentCustomFieldsOK, error)

	/*
		GetPaymentTags retrieves payment payment tags
	*/
	GetPaymentTags(ctx context.Context, params *GetPaymentTagsParams) (*GetPaymentTagsOK, error)

	/*
		GetPayments gets payments
	*/
	GetPayments(ctx context.Context, params *GetPaymentsParams) (*GetPaymentsOK, error)

	/*
		ModifyPaymentCustomFields modifies custom fields to payment
	*/
	ModifyPaymentCustomFields(ctx context.Context, params *ModifyPaymentCustomFieldsParams) (*ModifyPaymentCustomFieldsNoContent, error)

	/*
		RefundPayment refunds an existing payment
	*/
	RefundPayment(ctx context.Context, params *RefundPaymentParams) (*RefundPaymentCreated, error)

	/*
		RefundPaymentByExternalKey refunds an existing payment
	*/
	RefundPaymentByExternalKey(ctx context.Context, params *RefundPaymentByExternalKeyParams) (*RefundPaymentByExternalKeyCreated, error)

	/*
		SearchPayments searches payments
	*/
	SearchPayments(ctx context.Context, params *SearchPaymentsParams) (*SearchPaymentsOK, error)

	/*
		VoidPayment voids an existing payment
	*/
	VoidPayment(ctx context.Context, params *VoidPaymentParams) (*VoidPaymentNoContent, error)

	/*
		VoidPaymentByExternalKey voids an existing payment
	*/
	VoidPaymentByExternalKey(ctx context.Context, params *VoidPaymentByExternalKeyParams) (*VoidPaymentByExternalKeyNoContent, error)
}

IPayment - interface for Payment client.

type KillbillDefaults

type KillbillDefaults interface {
	// Default CreatedBy. If not set explicitly in params, this will be used.
	XKillbillCreatedBy() *string
	// Default Comment. If not set explicitly in params, this will be used.
	XKillbillComment() *string
	// Default Reason. If not set explicitly in params, this will be used.
	XKillbillReason() *string
	// Default WithStackTrace. If not set explicitly in params, this will be used.
	KillbillWithStackTrace() *bool
}

killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.

type ModifyPaymentCustomFieldsBadRequest

type ModifyPaymentCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifyPaymentCustomFieldsBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

ModifyPaymentCustomFieldsNoContent handles this case 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*/
	PaymentID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewModifyPaymentCustomFieldsParamsWithContext

func NewModifyPaymentCustomFieldsParamsWithContext(ctx context.Context) *ModifyPaymentCustomFieldsParams

NewModifyPaymentCustomFieldsParamsWithContext creates a new ModifyPaymentCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyBadGateway handles this case 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

	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyCreated handles this case with default header values.

Payment transaction created successfully

func NewRefundPaymentByExternalKeyCreated

func NewRefundPaymentByExternalKeyCreated() *RefundPaymentByExternalKeyCreated

NewRefundPaymentByExternalKeyCreated creates a RefundPaymentByExternalKeyCreated with default headers values

func (*RefundPaymentByExternalKeyCreated) Error

type RefundPaymentByExternalKeyGatewayTimeout

type RefundPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyNotFound handles this case 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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewRefundPaymentByExternalKeyParamsWithContext

func NewRefundPaymentByExternalKeyParamsWithContext(ctx context.Context) *RefundPaymentByExternalKeyParams

NewRefundPaymentByExternalKeyParamsWithContext creates a new RefundPaymentByExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyUnprocessableEntity handles this case 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

	HttpResponse runtime.ClientResponse
}

RefundPaymentCreated handles this case 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

type RefundPaymentGatewayTimeout

type RefundPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentNotFound handles this case 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*/
	PaymentID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewRefundPaymentParamsWithContext

func NewRefundPaymentParamsWithContext(ctx context.Context) *RefundPaymentParams

NewRefundPaymentParamsWithContext creates a new RefundPaymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

RefundPaymentUnprocessableEntity handles this case 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

	HttpResponse runtime.ClientResponse
}

SearchPaymentsOK handles this case 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

type SearchPaymentsParams

type SearchPaymentsParams struct {

	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*PluginName*/
	PluginName *string
	/*PluginProperty*/
	PluginProperty []string
	/*SearchKey*/
	SearchKey string
	/*WithAttempts*/
	WithAttempts *bool
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewSearchPaymentsParamsWithContext

func NewSearchPaymentsParamsWithContext(ctx context.Context) *SearchPaymentsParams

NewSearchPaymentsParamsWithContext creates a new SearchPaymentsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentBadRequest handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyBadGateway handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyNoContent handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyNotFound handles this case 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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewVoidPaymentByExternalKeyParamsWithContext

func NewVoidPaymentByExternalKeyParamsWithContext(ctx context.Context) *VoidPaymentByExternalKeyParams

NewVoidPaymentByExternalKeyParamsWithContext creates a new VoidPaymentByExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyUnprocessableEntity handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentGatewayTimeout handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentNoContent handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentNotFound handles this case 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*/
	PaymentID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// 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 values initialized.

func NewVoidPaymentParamsWithContext

func NewVoidPaymentParamsWithContext(ctx context.Context) *VoidPaymentParams

NewVoidPaymentParamsWithContext creates a new VoidPaymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentPaymentRequired handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentServiceUnavailable handles this case 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 {
	HttpResponse runtime.ClientResponse
}

VoidPaymentUnprocessableEntity handles this case 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