payment

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 12 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 describes a response with status code 400, with default header values.

Invalid paymentTransactionExternalKey supplied

func NewCancelScheduledPaymentTransactionByExternalKeyBadRequest

func NewCancelScheduledPaymentTransactionByExternalKeyBadRequest() *CancelScheduledPaymentTransactionByExternalKeyBadRequest

NewCancelScheduledPaymentTransactionByExternalKeyBadRequest creates a CancelScheduledPaymentTransactionByExternalKeyBadRequest with default headers values

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) Code

Code gets the status code for the cancel scheduled payment transaction by external key bad request response

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) Error

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) IsClientError

IsClientError returns true when this cancel scheduled payment transaction by external key bad request response has a 4xx status code

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) IsCode

IsCode returns true when this cancel scheduled payment transaction by external key bad request response a status code equal to that given

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) IsRedirect

IsRedirect returns true when this cancel scheduled payment transaction by external key bad request response has a 3xx status code

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) IsServerError

IsServerError returns true when this cancel scheduled payment transaction by external key bad request response has a 5xx status code

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) IsSuccess

IsSuccess returns true when this cancel scheduled payment transaction by external key bad request response has a 2xx status code

func (*CancelScheduledPaymentTransactionByExternalKeyBadRequest) String

type CancelScheduledPaymentTransactionByExternalKeyNoContent

type CancelScheduledPaymentTransactionByExternalKeyNoContent struct {
	HttpResponse runtime.ClientResponse
}

CancelScheduledPaymentTransactionByExternalKeyNoContent describes a response with status code 204, with default header values.

Successful operation

func NewCancelScheduledPaymentTransactionByExternalKeyNoContent

func NewCancelScheduledPaymentTransactionByExternalKeyNoContent() *CancelScheduledPaymentTransactionByExternalKeyNoContent

NewCancelScheduledPaymentTransactionByExternalKeyNoContent creates a CancelScheduledPaymentTransactionByExternalKeyNoContent with default headers values

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) Code

Code gets the status code for the cancel scheduled payment transaction by external key no content response

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) Error

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) IsClientError

IsClientError returns true when this cancel scheduled payment transaction by external key no content response has a 4xx status code

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) IsCode

IsCode returns true when this cancel scheduled payment transaction by external key no content response a status code equal to that given

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) IsRedirect

IsRedirect returns true when this cancel scheduled payment transaction by external key no content response has a 3xx status code

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) IsServerError

IsServerError returns true when this cancel scheduled payment transaction by external key no content response has a 5xx status code

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) IsSuccess

IsSuccess returns true when this cancel scheduled payment transaction by external key no content response has a 2xx status code

func (*CancelScheduledPaymentTransactionByExternalKeyNoContent) String

type CancelScheduledPaymentTransactionByExternalKeyParams

type CancelScheduledPaymentTransactionByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// TransactionExternalKey.
	TransactionExternalKey string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithContext

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithContext(ctx context.Context) *CancelScheduledPaymentTransactionByExternalKeyParams

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

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithHTTPClient

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithHTTPClient(client *http.Client) *CancelScheduledPaymentTransactionByExternalKeyParams

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

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithTimeout

func NewCancelScheduledPaymentTransactionByExternalKeyParamsWithTimeout(timeout time.Duration) *CancelScheduledPaymentTransactionByExternalKeyParams

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetContext

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetDefaults

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

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetHTTPClient

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetTimeout

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetTransactionExternalKey

func (o *CancelScheduledPaymentTransactionByExternalKeyParams) SetTransactionExternalKey(transactionExternalKey string)

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillComment

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

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillCreatedBy

func (o *CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) SetXKillbillReason

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

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithContext

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithDefaults

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

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithHTTPClient

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithTimeout

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithTransactionExternalKey

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithXKillbillComment

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithXKillbillCreatedBy

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WithXKillbillReason

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

func (*CancelScheduledPaymentTransactionByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelScheduledPaymentTransactionByExternalKeyReader

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

CancelScheduledPaymentTransactionByExternalKeyReader is a Reader for the CancelScheduledPaymentTransactionByExternalKey structure.

func (*CancelScheduledPaymentTransactionByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelScheduledPaymentTransactionByIDBadRequest

type CancelScheduledPaymentTransactionByIDBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CancelScheduledPaymentTransactionByIDBadRequest describes a response with status code 400, with default header values.

Invalid paymentTransactionId supplied

func NewCancelScheduledPaymentTransactionByIDBadRequest

func NewCancelScheduledPaymentTransactionByIDBadRequest() *CancelScheduledPaymentTransactionByIDBadRequest

NewCancelScheduledPaymentTransactionByIDBadRequest creates a CancelScheduledPaymentTransactionByIDBadRequest with default headers values

func (*CancelScheduledPaymentTransactionByIDBadRequest) Code

Code gets the status code for the cancel scheduled payment transaction by Id bad request response

func (*CancelScheduledPaymentTransactionByIDBadRequest) Error

func (*CancelScheduledPaymentTransactionByIDBadRequest) IsClientError

IsClientError returns true when this cancel scheduled payment transaction by Id bad request response has a 4xx status code

func (*CancelScheduledPaymentTransactionByIDBadRequest) IsCode

IsCode returns true when this cancel scheduled payment transaction by Id bad request response a status code equal to that given

func (*CancelScheduledPaymentTransactionByIDBadRequest) IsRedirect

IsRedirect returns true when this cancel scheduled payment transaction by Id bad request response has a 3xx status code

func (*CancelScheduledPaymentTransactionByIDBadRequest) IsServerError

IsServerError returns true when this cancel scheduled payment transaction by Id bad request response has a 5xx status code

func (*CancelScheduledPaymentTransactionByIDBadRequest) IsSuccess

IsSuccess returns true when this cancel scheduled payment transaction by Id bad request response has a 2xx status code

func (*CancelScheduledPaymentTransactionByIDBadRequest) String

type CancelScheduledPaymentTransactionByIDNoContent

type CancelScheduledPaymentTransactionByIDNoContent struct {
	HttpResponse runtime.ClientResponse
}

CancelScheduledPaymentTransactionByIDNoContent describes a response with status code 204, with default header values.

Successful operation

func NewCancelScheduledPaymentTransactionByIDNoContent

func NewCancelScheduledPaymentTransactionByIDNoContent() *CancelScheduledPaymentTransactionByIDNoContent

NewCancelScheduledPaymentTransactionByIDNoContent creates a CancelScheduledPaymentTransactionByIDNoContent with default headers values

func (*CancelScheduledPaymentTransactionByIDNoContent) Code

Code gets the status code for the cancel scheduled payment transaction by Id no content response

func (*CancelScheduledPaymentTransactionByIDNoContent) Error

func (*CancelScheduledPaymentTransactionByIDNoContent) IsClientError

IsClientError returns true when this cancel scheduled payment transaction by Id no content response has a 4xx status code

func (*CancelScheduledPaymentTransactionByIDNoContent) IsCode

IsCode returns true when this cancel scheduled payment transaction by Id no content response a status code equal to that given

func (*CancelScheduledPaymentTransactionByIDNoContent) IsRedirect

IsRedirect returns true when this cancel scheduled payment transaction by Id no content response has a 3xx status code

func (*CancelScheduledPaymentTransactionByIDNoContent) IsServerError

IsServerError returns true when this cancel scheduled payment transaction by Id no content response has a 5xx status code

func (*CancelScheduledPaymentTransactionByIDNoContent) IsSuccess

IsSuccess returns true when this cancel scheduled payment transaction by Id no content response has a 2xx status code

func (*CancelScheduledPaymentTransactionByIDNoContent) String

type CancelScheduledPaymentTransactionByIDParams

type CancelScheduledPaymentTransactionByIDParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCancelScheduledPaymentTransactionByIDParamsWithContext

func NewCancelScheduledPaymentTransactionByIDParamsWithContext(ctx context.Context) *CancelScheduledPaymentTransactionByIDParams

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

func NewCancelScheduledPaymentTransactionByIDParamsWithHTTPClient

func NewCancelScheduledPaymentTransactionByIDParamsWithHTTPClient(client *http.Client) *CancelScheduledPaymentTransactionByIDParams

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

func NewCancelScheduledPaymentTransactionByIDParamsWithTimeout

func NewCancelScheduledPaymentTransactionByIDParamsWithTimeout(timeout time.Duration) *CancelScheduledPaymentTransactionByIDParams

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

func (*CancelScheduledPaymentTransactionByIDParams) SetContext

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

func (*CancelScheduledPaymentTransactionByIDParams) SetDefaults

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

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

func (*CancelScheduledPaymentTransactionByIDParams) SetHTTPClient

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

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

func (*CancelScheduledPaymentTransactionByIDParams) SetPaymentTransactionID

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

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

func (*CancelScheduledPaymentTransactionByIDParams) SetTimeout

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

func (*CancelScheduledPaymentTransactionByIDParams) SetXKillbillComment

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

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

func (*CancelScheduledPaymentTransactionByIDParams) SetXKillbillCreatedBy

func (o *CancelScheduledPaymentTransactionByIDParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*CancelScheduledPaymentTransactionByIDParams) SetXKillbillReason

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

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

func (*CancelScheduledPaymentTransactionByIDParams) WithContext

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

func (*CancelScheduledPaymentTransactionByIDParams) WithDefaults

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

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

func (*CancelScheduledPaymentTransactionByIDParams) WithHTTPClient

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

func (*CancelScheduledPaymentTransactionByIDParams) WithPaymentTransactionID

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

func (*CancelScheduledPaymentTransactionByIDParams) WithTimeout

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

func (*CancelScheduledPaymentTransactionByIDParams) WithXKillbillComment

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

func (*CancelScheduledPaymentTransactionByIDParams) WithXKillbillCreatedBy

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

func (*CancelScheduledPaymentTransactionByIDParams) WithXKillbillReason

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

func (*CancelScheduledPaymentTransactionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelScheduledPaymentTransactionByIDReader

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

CancelScheduledPaymentTransactionByIDReader is a Reader for the CancelScheduledPaymentTransactionByID structure.

func (*CancelScheduledPaymentTransactionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CaptureAuthorizationBadGateway

type CaptureAuthorizationBadGateway struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCaptureAuthorizationBadGateway

func NewCaptureAuthorizationBadGateway() *CaptureAuthorizationBadGateway

NewCaptureAuthorizationBadGateway creates a CaptureAuthorizationBadGateway with default headers values

func (*CaptureAuthorizationBadGateway) Code

Code gets the status code for the capture authorization bad gateway response

func (*CaptureAuthorizationBadGateway) Error

func (*CaptureAuthorizationBadGateway) IsClientError

func (o *CaptureAuthorizationBadGateway) IsClientError() bool

IsClientError returns true when this capture authorization bad gateway response has a 4xx status code

func (*CaptureAuthorizationBadGateway) IsCode

func (o *CaptureAuthorizationBadGateway) IsCode(code int) bool

IsCode returns true when this capture authorization bad gateway response a status code equal to that given

func (*CaptureAuthorizationBadGateway) IsRedirect

func (o *CaptureAuthorizationBadGateway) IsRedirect() bool

IsRedirect returns true when this capture authorization bad gateway response has a 3xx status code

func (*CaptureAuthorizationBadGateway) IsServerError

func (o *CaptureAuthorizationBadGateway) IsServerError() bool

IsServerError returns true when this capture authorization bad gateway response has a 5xx status code

func (*CaptureAuthorizationBadGateway) IsSuccess

func (o *CaptureAuthorizationBadGateway) IsSuccess() bool

IsSuccess returns true when this capture authorization bad gateway response has a 2xx status code

func (*CaptureAuthorizationBadGateway) String

type CaptureAuthorizationBadRequest

type CaptureAuthorizationBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewCaptureAuthorizationBadRequest

func NewCaptureAuthorizationBadRequest() *CaptureAuthorizationBadRequest

NewCaptureAuthorizationBadRequest creates a CaptureAuthorizationBadRequest with default headers values

func (*CaptureAuthorizationBadRequest) Code

Code gets the status code for the capture authorization bad request response

func (*CaptureAuthorizationBadRequest) Error

func (*CaptureAuthorizationBadRequest) IsClientError

func (o *CaptureAuthorizationBadRequest) IsClientError() bool

IsClientError returns true when this capture authorization bad request response has a 4xx status code

func (*CaptureAuthorizationBadRequest) IsCode

func (o *CaptureAuthorizationBadRequest) IsCode(code int) bool

IsCode returns true when this capture authorization bad request response a status code equal to that given

func (*CaptureAuthorizationBadRequest) IsRedirect

func (o *CaptureAuthorizationBadRequest) IsRedirect() bool

IsRedirect returns true when this capture authorization bad request response has a 3xx status code

func (*CaptureAuthorizationBadRequest) IsServerError

func (o *CaptureAuthorizationBadRequest) IsServerError() bool

IsServerError returns true when this capture authorization bad request response has a 5xx status code

func (*CaptureAuthorizationBadRequest) IsSuccess

func (o *CaptureAuthorizationBadRequest) IsSuccess() bool

IsSuccess returns true when this capture authorization bad request response has a 2xx status code

func (*CaptureAuthorizationBadRequest) String

type CaptureAuthorizationByExternalKeyBadGateway

type CaptureAuthorizationByExternalKeyBadGateway struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCaptureAuthorizationByExternalKeyBadGateway

func NewCaptureAuthorizationByExternalKeyBadGateway() *CaptureAuthorizationByExternalKeyBadGateway

NewCaptureAuthorizationByExternalKeyBadGateway creates a CaptureAuthorizationByExternalKeyBadGateway with default headers values

func (*CaptureAuthorizationByExternalKeyBadGateway) Code

Code gets the status code for the capture authorization by external key bad gateway response

func (*CaptureAuthorizationByExternalKeyBadGateway) Error

func (*CaptureAuthorizationByExternalKeyBadGateway) IsClientError

IsClientError returns true when this capture authorization by external key bad gateway response has a 4xx status code

func (*CaptureAuthorizationByExternalKeyBadGateway) IsCode

IsCode returns true when this capture authorization by external key bad gateway response a status code equal to that given

func (*CaptureAuthorizationByExternalKeyBadGateway) IsRedirect

IsRedirect returns true when this capture authorization by external key bad gateway response has a 3xx status code

func (*CaptureAuthorizationByExternalKeyBadGateway) IsServerError

IsServerError returns true when this capture authorization by external key bad gateway response has a 5xx status code

func (*CaptureAuthorizationByExternalKeyBadGateway) IsSuccess

IsSuccess returns true when this capture authorization by external key bad gateway response has a 2xx status code

func (*CaptureAuthorizationByExternalKeyBadGateway) String

type CaptureAuthorizationByExternalKeyCreated

type CaptureAuthorizationByExternalKeyCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewCaptureAuthorizationByExternalKeyCreated

func NewCaptureAuthorizationByExternalKeyCreated() *CaptureAuthorizationByExternalKeyCreated

NewCaptureAuthorizationByExternalKeyCreated creates a CaptureAuthorizationByExternalKeyCreated with default headers values

func (*CaptureAuthorizationByExternalKeyCreated) Code

Code gets the status code for the capture authorization by external key created response

func (*CaptureAuthorizationByExternalKeyCreated) Error

func (*CaptureAuthorizationByExternalKeyCreated) GetPayload

func (*CaptureAuthorizationByExternalKeyCreated) IsClientError

IsClientError returns true when this capture authorization by external key created response has a 4xx status code

func (*CaptureAuthorizationByExternalKeyCreated) IsCode

IsCode returns true when this capture authorization by external key created response a status code equal to that given

func (*CaptureAuthorizationByExternalKeyCreated) IsRedirect

IsRedirect returns true when this capture authorization by external key created response has a 3xx status code

func (*CaptureAuthorizationByExternalKeyCreated) IsServerError

IsServerError returns true when this capture authorization by external key created response has a 5xx status code

func (*CaptureAuthorizationByExternalKeyCreated) IsSuccess

IsSuccess returns true when this capture authorization by external key created response has a 2xx status code

func (*CaptureAuthorizationByExternalKeyCreated) String

type CaptureAuthorizationByExternalKeyGatewayTimeout

type CaptureAuthorizationByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCaptureAuthorizationByExternalKeyGatewayTimeout

func NewCaptureAuthorizationByExternalKeyGatewayTimeout() *CaptureAuthorizationByExternalKeyGatewayTimeout

NewCaptureAuthorizationByExternalKeyGatewayTimeout creates a CaptureAuthorizationByExternalKeyGatewayTimeout with default headers values

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) Code

Code gets the status code for the capture authorization by external key gateway timeout response

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) Error

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) IsClientError

IsClientError returns true when this capture authorization by external key gateway timeout response has a 4xx status code

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) IsCode

IsCode returns true when this capture authorization by external key gateway timeout response a status code equal to that given

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) IsRedirect

IsRedirect returns true when this capture authorization by external key gateway timeout response has a 3xx status code

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) IsServerError

IsServerError returns true when this capture authorization by external key gateway timeout response has a 5xx status code

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) IsSuccess

IsSuccess returns true when this capture authorization by external key gateway timeout response has a 2xx status code

func (*CaptureAuthorizationByExternalKeyGatewayTimeout) String

type CaptureAuthorizationByExternalKeyNotFound

type CaptureAuthorizationByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewCaptureAuthorizationByExternalKeyNotFound

func NewCaptureAuthorizationByExternalKeyNotFound() *CaptureAuthorizationByExternalKeyNotFound

NewCaptureAuthorizationByExternalKeyNotFound creates a CaptureAuthorizationByExternalKeyNotFound with default headers values

func (*CaptureAuthorizationByExternalKeyNotFound) Code

Code gets the status code for the capture authorization by external key not found response

func (*CaptureAuthorizationByExternalKeyNotFound) Error

func (*CaptureAuthorizationByExternalKeyNotFound) IsClientError

IsClientError returns true when this capture authorization by external key not found response has a 4xx status code

func (*CaptureAuthorizationByExternalKeyNotFound) IsCode

IsCode returns true when this capture authorization by external key not found response a status code equal to that given

func (*CaptureAuthorizationByExternalKeyNotFound) IsRedirect

IsRedirect returns true when this capture authorization by external key not found response has a 3xx status code

func (*CaptureAuthorizationByExternalKeyNotFound) IsServerError

IsServerError returns true when this capture authorization by external key not found response has a 5xx status code

func (*CaptureAuthorizationByExternalKeyNotFound) IsSuccess

IsSuccess returns true when this capture authorization by external key not found response has a 2xx status code

func (*CaptureAuthorizationByExternalKeyNotFound) String

type CaptureAuthorizationByExternalKeyParams

type CaptureAuthorizationByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCaptureAuthorizationByExternalKeyParamsWithContext

func NewCaptureAuthorizationByExternalKeyParamsWithContext(ctx context.Context) *CaptureAuthorizationByExternalKeyParams

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

func NewCaptureAuthorizationByExternalKeyParamsWithHTTPClient

func NewCaptureAuthorizationByExternalKeyParamsWithHTTPClient(client *http.Client) *CaptureAuthorizationByExternalKeyParams

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

func NewCaptureAuthorizationByExternalKeyParamsWithTimeout

func NewCaptureAuthorizationByExternalKeyParamsWithTimeout(timeout time.Duration) *CaptureAuthorizationByExternalKeyParams

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

func (*CaptureAuthorizationByExternalKeyParams) SetBody

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

func (*CaptureAuthorizationByExternalKeyParams) SetContext

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

func (*CaptureAuthorizationByExternalKeyParams) SetControlPluginName

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

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

func (*CaptureAuthorizationByExternalKeyParams) SetDefaults

func (o *CaptureAuthorizationByExternalKeyParams) SetDefaults()

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

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

func (*CaptureAuthorizationByExternalKeyParams) SetHTTPClient

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

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

func (*CaptureAuthorizationByExternalKeyParams) SetPluginProperty

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

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

func (*CaptureAuthorizationByExternalKeyParams) SetTimeout

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

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

func (*CaptureAuthorizationByExternalKeyParams) SetXKillbillComment

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

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

func (*CaptureAuthorizationByExternalKeyParams) SetXKillbillCreatedBy

func (o *CaptureAuthorizationByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*CaptureAuthorizationByExternalKeyParams) SetXKillbillReason

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

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

func (*CaptureAuthorizationByExternalKeyParams) WithBody

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

func (*CaptureAuthorizationByExternalKeyParams) WithContext

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

func (*CaptureAuthorizationByExternalKeyParams) WithControlPluginName

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

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

func (*CaptureAuthorizationByExternalKeyParams) WithDefaults

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

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

func (*CaptureAuthorizationByExternalKeyParams) WithHTTPClient

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

func (*CaptureAuthorizationByExternalKeyParams) WithPluginProperty

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

func (*CaptureAuthorizationByExternalKeyParams) WithTimeout

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

func (*CaptureAuthorizationByExternalKeyParams) WithXKillbillComment

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

func (*CaptureAuthorizationByExternalKeyParams) WithXKillbillCreatedBy

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

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

func (*CaptureAuthorizationByExternalKeyParams) WithXKillbillReason

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

func (*CaptureAuthorizationByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CaptureAuthorizationByExternalKeyPaymentRequired

type CaptureAuthorizationByExternalKeyPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCaptureAuthorizationByExternalKeyPaymentRequired

func NewCaptureAuthorizationByExternalKeyPaymentRequired() *CaptureAuthorizationByExternalKeyPaymentRequired

NewCaptureAuthorizationByExternalKeyPaymentRequired creates a CaptureAuthorizationByExternalKeyPaymentRequired with default headers values

func (*CaptureAuthorizationByExternalKeyPaymentRequired) Code

Code gets the status code for the capture authorization by external key payment required response

func (*CaptureAuthorizationByExternalKeyPaymentRequired) Error

func (*CaptureAuthorizationByExternalKeyPaymentRequired) IsClientError

IsClientError returns true when this capture authorization by external key payment required response has a 4xx status code

func (*CaptureAuthorizationByExternalKeyPaymentRequired) IsCode

IsCode returns true when this capture authorization by external key payment required response a status code equal to that given

func (*CaptureAuthorizationByExternalKeyPaymentRequired) IsRedirect

IsRedirect returns true when this capture authorization by external key payment required response has a 3xx status code

func (*CaptureAuthorizationByExternalKeyPaymentRequired) IsServerError

IsServerError returns true when this capture authorization by external key payment required response has a 5xx status code

func (*CaptureAuthorizationByExternalKeyPaymentRequired) IsSuccess

IsSuccess returns true when this capture authorization by external key payment required response has a 2xx status code

func (*CaptureAuthorizationByExternalKeyPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCaptureAuthorizationByExternalKeyServiceUnavailable

func NewCaptureAuthorizationByExternalKeyServiceUnavailable() *CaptureAuthorizationByExternalKeyServiceUnavailable

NewCaptureAuthorizationByExternalKeyServiceUnavailable creates a CaptureAuthorizationByExternalKeyServiceUnavailable with default headers values

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) Code

Code gets the status code for the capture authorization by external key service unavailable response

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) Error

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) IsClientError

IsClientError returns true when this capture authorization by external key service unavailable response has a 4xx status code

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) IsCode

IsCode returns true when this capture authorization by external key service unavailable response a status code equal to that given

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) IsRedirect

IsRedirect returns true when this capture authorization by external key service unavailable response has a 3xx status code

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) IsServerError

IsServerError returns true when this capture authorization by external key service unavailable response has a 5xx status code

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) IsSuccess

IsSuccess returns true when this capture authorization by external key service unavailable response has a 2xx status code

func (*CaptureAuthorizationByExternalKeyServiceUnavailable) String

type CaptureAuthorizationByExternalKeyUnprocessableEntity

type CaptureAuthorizationByExternalKeyUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCaptureAuthorizationByExternalKeyUnprocessableEntity

func NewCaptureAuthorizationByExternalKeyUnprocessableEntity() *CaptureAuthorizationByExternalKeyUnprocessableEntity

NewCaptureAuthorizationByExternalKeyUnprocessableEntity creates a CaptureAuthorizationByExternalKeyUnprocessableEntity with default headers values

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) Code

Code gets the status code for the capture authorization by external key unprocessable entity response

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) Error

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) IsClientError

IsClientError returns true when this capture authorization by external key unprocessable entity response has a 4xx status code

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) IsCode

IsCode returns true when this capture authorization by external key unprocessable entity response a status code equal to that given

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this capture authorization by external key unprocessable entity response has a 3xx status code

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) IsServerError

IsServerError returns true when this capture authorization by external key unprocessable entity response has a 5xx status code

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this capture authorization by external key unprocessable entity response has a 2xx status code

func (*CaptureAuthorizationByExternalKeyUnprocessableEntity) String

type CaptureAuthorizationCreated

type CaptureAuthorizationCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewCaptureAuthorizationCreated

func NewCaptureAuthorizationCreated() *CaptureAuthorizationCreated

NewCaptureAuthorizationCreated creates a CaptureAuthorizationCreated with default headers values

func (*CaptureAuthorizationCreated) Code

func (o *CaptureAuthorizationCreated) Code() int

Code gets the status code for the capture authorization created response

func (*CaptureAuthorizationCreated) Error

func (*CaptureAuthorizationCreated) GetPayload

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

func (*CaptureAuthorizationCreated) IsClientError

func (o *CaptureAuthorizationCreated) IsClientError() bool

IsClientError returns true when this capture authorization created response has a 4xx status code

func (*CaptureAuthorizationCreated) IsCode

func (o *CaptureAuthorizationCreated) IsCode(code int) bool

IsCode returns true when this capture authorization created response a status code equal to that given

func (*CaptureAuthorizationCreated) IsRedirect

func (o *CaptureAuthorizationCreated) IsRedirect() bool

IsRedirect returns true when this capture authorization created response has a 3xx status code

func (*CaptureAuthorizationCreated) IsServerError

func (o *CaptureAuthorizationCreated) IsServerError() bool

IsServerError returns true when this capture authorization created response has a 5xx status code

func (*CaptureAuthorizationCreated) IsSuccess

func (o *CaptureAuthorizationCreated) IsSuccess() bool

IsSuccess returns true when this capture authorization created response has a 2xx status code

func (*CaptureAuthorizationCreated) String

func (o *CaptureAuthorizationCreated) String() string

type CaptureAuthorizationGatewayTimeout

type CaptureAuthorizationGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCaptureAuthorizationGatewayTimeout

func NewCaptureAuthorizationGatewayTimeout() *CaptureAuthorizationGatewayTimeout

NewCaptureAuthorizationGatewayTimeout creates a CaptureAuthorizationGatewayTimeout with default headers values

func (*CaptureAuthorizationGatewayTimeout) Code

Code gets the status code for the capture authorization gateway timeout response

func (*CaptureAuthorizationGatewayTimeout) Error

func (*CaptureAuthorizationGatewayTimeout) IsClientError

func (o *CaptureAuthorizationGatewayTimeout) IsClientError() bool

IsClientError returns true when this capture authorization gateway timeout response has a 4xx status code

func (*CaptureAuthorizationGatewayTimeout) IsCode

IsCode returns true when this capture authorization gateway timeout response a status code equal to that given

func (*CaptureAuthorizationGatewayTimeout) IsRedirect

func (o *CaptureAuthorizationGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this capture authorization gateway timeout response has a 3xx status code

func (*CaptureAuthorizationGatewayTimeout) IsServerError

func (o *CaptureAuthorizationGatewayTimeout) IsServerError() bool

IsServerError returns true when this capture authorization gateway timeout response has a 5xx status code

func (*CaptureAuthorizationGatewayTimeout) IsSuccess

IsSuccess returns true when this capture authorization gateway timeout response has a 2xx status code

func (*CaptureAuthorizationGatewayTimeout) String

type CaptureAuthorizationNotFound

type CaptureAuthorizationNotFound struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewCaptureAuthorizationNotFound

func NewCaptureAuthorizationNotFound() *CaptureAuthorizationNotFound

NewCaptureAuthorizationNotFound creates a CaptureAuthorizationNotFound with default headers values

func (*CaptureAuthorizationNotFound) Code

Code gets the status code for the capture authorization not found response

func (*CaptureAuthorizationNotFound) Error

func (*CaptureAuthorizationNotFound) IsClientError

func (o *CaptureAuthorizationNotFound) IsClientError() bool

IsClientError returns true when this capture authorization not found response has a 4xx status code

func (*CaptureAuthorizationNotFound) IsCode

func (o *CaptureAuthorizationNotFound) IsCode(code int) bool

IsCode returns true when this capture authorization not found response a status code equal to that given

func (*CaptureAuthorizationNotFound) IsRedirect

func (o *CaptureAuthorizationNotFound) IsRedirect() bool

IsRedirect returns true when this capture authorization not found response has a 3xx status code

func (*CaptureAuthorizationNotFound) IsServerError

func (o *CaptureAuthorizationNotFound) IsServerError() bool

IsServerError returns true when this capture authorization not found response has a 5xx status code

func (*CaptureAuthorizationNotFound) IsSuccess

func (o *CaptureAuthorizationNotFound) IsSuccess() bool

IsSuccess returns true when this capture authorization not found response has a 2xx status code

func (*CaptureAuthorizationNotFound) String

type CaptureAuthorizationParams

type CaptureAuthorizationParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCaptureAuthorizationParamsWithContext

func NewCaptureAuthorizationParamsWithContext(ctx context.Context) *CaptureAuthorizationParams

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

func NewCaptureAuthorizationParamsWithHTTPClient

func NewCaptureAuthorizationParamsWithHTTPClient(client *http.Client) *CaptureAuthorizationParams

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

func NewCaptureAuthorizationParamsWithTimeout

func NewCaptureAuthorizationParamsWithTimeout(timeout time.Duration) *CaptureAuthorizationParams

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

func (*CaptureAuthorizationParams) SetBody

SetBody adds the body to the capture authorization params

func (*CaptureAuthorizationParams) SetContext

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

SetContext adds the context to the capture authorization params

func (*CaptureAuthorizationParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the capture authorization params

func (*CaptureAuthorizationParams) SetDefaults

func (o *CaptureAuthorizationParams) SetDefaults()

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

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

func (*CaptureAuthorizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the capture authorization params

func (*CaptureAuthorizationParams) SetPaymentID

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

SetPaymentID adds the paymentId to the capture authorization params

func (*CaptureAuthorizationParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the capture authorization params

func (*CaptureAuthorizationParams) SetTimeout

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

SetTimeout adds the timeout to the capture authorization params

func (*CaptureAuthorizationParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the capture authorization params

func (*CaptureAuthorizationParams) SetXKillbillCreatedBy

func (o *CaptureAuthorizationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the capture authorization params

func (*CaptureAuthorizationParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the capture authorization params

func (*CaptureAuthorizationParams) WithBody

WithBody adds the body to the capture authorization params

func (*CaptureAuthorizationParams) WithContext

WithContext adds the context to the capture authorization params

func (*CaptureAuthorizationParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the capture authorization params

func (*CaptureAuthorizationParams) WithDefaults

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

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

func (*CaptureAuthorizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the capture authorization params

func (*CaptureAuthorizationParams) WithPaymentID

WithPaymentID adds the paymentID to the capture authorization params

func (*CaptureAuthorizationParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the capture authorization params

func (*CaptureAuthorizationParams) WithTimeout

WithTimeout adds the timeout to the capture authorization params

func (*CaptureAuthorizationParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the capture authorization params

func (*CaptureAuthorizationParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the capture authorization params

func (*CaptureAuthorizationParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the capture authorization params

func (*CaptureAuthorizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CaptureAuthorizationPaymentRequired

type CaptureAuthorizationPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCaptureAuthorizationPaymentRequired

func NewCaptureAuthorizationPaymentRequired() *CaptureAuthorizationPaymentRequired

NewCaptureAuthorizationPaymentRequired creates a CaptureAuthorizationPaymentRequired with default headers values

func (*CaptureAuthorizationPaymentRequired) Code

Code gets the status code for the capture authorization payment required response

func (*CaptureAuthorizationPaymentRequired) Error

func (*CaptureAuthorizationPaymentRequired) IsClientError

func (o *CaptureAuthorizationPaymentRequired) IsClientError() bool

IsClientError returns true when this capture authorization payment required response has a 4xx status code

func (*CaptureAuthorizationPaymentRequired) IsCode

IsCode returns true when this capture authorization payment required response a status code equal to that given

func (*CaptureAuthorizationPaymentRequired) IsRedirect

func (o *CaptureAuthorizationPaymentRequired) IsRedirect() bool

IsRedirect returns true when this capture authorization payment required response has a 3xx status code

func (*CaptureAuthorizationPaymentRequired) IsServerError

func (o *CaptureAuthorizationPaymentRequired) IsServerError() bool

IsServerError returns true when this capture authorization payment required response has a 5xx status code

func (*CaptureAuthorizationPaymentRequired) IsSuccess

IsSuccess returns true when this capture authorization payment required response has a 2xx status code

func (*CaptureAuthorizationPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCaptureAuthorizationServiceUnavailable

func NewCaptureAuthorizationServiceUnavailable() *CaptureAuthorizationServiceUnavailable

NewCaptureAuthorizationServiceUnavailable creates a CaptureAuthorizationServiceUnavailable with default headers values

func (*CaptureAuthorizationServiceUnavailable) Code

Code gets the status code for the capture authorization service unavailable response

func (*CaptureAuthorizationServiceUnavailable) Error

func (*CaptureAuthorizationServiceUnavailable) IsClientError

func (o *CaptureAuthorizationServiceUnavailable) IsClientError() bool

IsClientError returns true when this capture authorization service unavailable response has a 4xx status code

func (*CaptureAuthorizationServiceUnavailable) IsCode

IsCode returns true when this capture authorization service unavailable response a status code equal to that given

func (*CaptureAuthorizationServiceUnavailable) IsRedirect

IsRedirect returns true when this capture authorization service unavailable response has a 3xx status code

func (*CaptureAuthorizationServiceUnavailable) IsServerError

func (o *CaptureAuthorizationServiceUnavailable) IsServerError() bool

IsServerError returns true when this capture authorization service unavailable response has a 5xx status code

func (*CaptureAuthorizationServiceUnavailable) IsSuccess

IsSuccess returns true when this capture authorization service unavailable response has a 2xx status code

func (*CaptureAuthorizationServiceUnavailable) String

type CaptureAuthorizationUnprocessableEntity

type CaptureAuthorizationUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

CaptureAuthorizationUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCaptureAuthorizationUnprocessableEntity

func NewCaptureAuthorizationUnprocessableEntity() *CaptureAuthorizationUnprocessableEntity

NewCaptureAuthorizationUnprocessableEntity creates a CaptureAuthorizationUnprocessableEntity with default headers values

func (*CaptureAuthorizationUnprocessableEntity) Code

Code gets the status code for the capture authorization unprocessable entity response

func (*CaptureAuthorizationUnprocessableEntity) Error

func (*CaptureAuthorizationUnprocessableEntity) IsClientError

func (o *CaptureAuthorizationUnprocessableEntity) IsClientError() bool

IsClientError returns true when this capture authorization unprocessable entity response has a 4xx status code

func (*CaptureAuthorizationUnprocessableEntity) IsCode

IsCode returns true when this capture authorization unprocessable entity response a status code equal to that given

func (*CaptureAuthorizationUnprocessableEntity) IsRedirect

IsRedirect returns true when this capture authorization unprocessable entity response has a 3xx status code

func (*CaptureAuthorizationUnprocessableEntity) IsServerError

func (o *CaptureAuthorizationUnprocessableEntity) IsServerError() bool

IsServerError returns true when this capture authorization unprocessable entity response has a 5xx status code

func (*CaptureAuthorizationUnprocessableEntity) IsSuccess

IsSuccess returns true when this capture authorization unprocessable entity response has a 2xx status code

func (*CaptureAuthorizationUnprocessableEntity) String

type ChargebackPaymentBadGateway

type ChargebackPaymentBadGateway struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewChargebackPaymentBadGateway

func NewChargebackPaymentBadGateway() *ChargebackPaymentBadGateway

NewChargebackPaymentBadGateway creates a ChargebackPaymentBadGateway with default headers values

func (*ChargebackPaymentBadGateway) Code

func (o *ChargebackPaymentBadGateway) Code() int

Code gets the status code for the chargeback payment bad gateway response

func (*ChargebackPaymentBadGateway) Error

func (*ChargebackPaymentBadGateway) IsClientError

func (o *ChargebackPaymentBadGateway) IsClientError() bool

IsClientError returns true when this chargeback payment bad gateway response has a 4xx status code

func (*ChargebackPaymentBadGateway) IsCode

func (o *ChargebackPaymentBadGateway) IsCode(code int) bool

IsCode returns true when this chargeback payment bad gateway response a status code equal to that given

func (*ChargebackPaymentBadGateway) IsRedirect

func (o *ChargebackPaymentBadGateway) IsRedirect() bool

IsRedirect returns true when this chargeback payment bad gateway response has a 3xx status code

func (*ChargebackPaymentBadGateway) IsServerError

func (o *ChargebackPaymentBadGateway) IsServerError() bool

IsServerError returns true when this chargeback payment bad gateway response has a 5xx status code

func (*ChargebackPaymentBadGateway) IsSuccess

func (o *ChargebackPaymentBadGateway) IsSuccess() bool

IsSuccess returns true when this chargeback payment bad gateway response has a 2xx status code

func (*ChargebackPaymentBadGateway) String

func (o *ChargebackPaymentBadGateway) String() string

type ChargebackPaymentBadRequest

type ChargebackPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewChargebackPaymentBadRequest

func NewChargebackPaymentBadRequest() *ChargebackPaymentBadRequest

NewChargebackPaymentBadRequest creates a ChargebackPaymentBadRequest with default headers values

func (*ChargebackPaymentBadRequest) Code

func (o *ChargebackPaymentBadRequest) Code() int

Code gets the status code for the chargeback payment bad request response

func (*ChargebackPaymentBadRequest) Error

func (*ChargebackPaymentBadRequest) IsClientError

func (o *ChargebackPaymentBadRequest) IsClientError() bool

IsClientError returns true when this chargeback payment bad request response has a 4xx status code

func (*ChargebackPaymentBadRequest) IsCode

func (o *ChargebackPaymentBadRequest) IsCode(code int) bool

IsCode returns true when this chargeback payment bad request response a status code equal to that given

func (*ChargebackPaymentBadRequest) IsRedirect

func (o *ChargebackPaymentBadRequest) IsRedirect() bool

IsRedirect returns true when this chargeback payment bad request response has a 3xx status code

func (*ChargebackPaymentBadRequest) IsServerError

func (o *ChargebackPaymentBadRequest) IsServerError() bool

IsServerError returns true when this chargeback payment bad request response has a 5xx status code

func (*ChargebackPaymentBadRequest) IsSuccess

func (o *ChargebackPaymentBadRequest) IsSuccess() bool

IsSuccess returns true when this chargeback payment bad request response has a 2xx status code

func (*ChargebackPaymentBadRequest) String

func (o *ChargebackPaymentBadRequest) String() string

type ChargebackPaymentByExternalKeyBadGateway

type ChargebackPaymentByExternalKeyBadGateway struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewChargebackPaymentByExternalKeyBadGateway

func NewChargebackPaymentByExternalKeyBadGateway() *ChargebackPaymentByExternalKeyBadGateway

NewChargebackPaymentByExternalKeyBadGateway creates a ChargebackPaymentByExternalKeyBadGateway with default headers values

func (*ChargebackPaymentByExternalKeyBadGateway) Code

Code gets the status code for the chargeback payment by external key bad gateway response

func (*ChargebackPaymentByExternalKeyBadGateway) Error

func (*ChargebackPaymentByExternalKeyBadGateway) IsClientError

IsClientError returns true when this chargeback payment by external key bad gateway response has a 4xx status code

func (*ChargebackPaymentByExternalKeyBadGateway) IsCode

IsCode returns true when this chargeback payment by external key bad gateway response a status code equal to that given

func (*ChargebackPaymentByExternalKeyBadGateway) IsRedirect

IsRedirect returns true when this chargeback payment by external key bad gateway response has a 3xx status code

func (*ChargebackPaymentByExternalKeyBadGateway) IsServerError

IsServerError returns true when this chargeback payment by external key bad gateway response has a 5xx status code

func (*ChargebackPaymentByExternalKeyBadGateway) IsSuccess

IsSuccess returns true when this chargeback payment by external key bad gateway response has a 2xx status code

func (*ChargebackPaymentByExternalKeyBadGateway) String

type ChargebackPaymentByExternalKeyCreated

type ChargebackPaymentByExternalKeyCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewChargebackPaymentByExternalKeyCreated

func NewChargebackPaymentByExternalKeyCreated() *ChargebackPaymentByExternalKeyCreated

NewChargebackPaymentByExternalKeyCreated creates a ChargebackPaymentByExternalKeyCreated with default headers values

func (*ChargebackPaymentByExternalKeyCreated) Code

Code gets the status code for the chargeback payment by external key created response

func (*ChargebackPaymentByExternalKeyCreated) Error

func (*ChargebackPaymentByExternalKeyCreated) GetPayload

func (*ChargebackPaymentByExternalKeyCreated) IsClientError

func (o *ChargebackPaymentByExternalKeyCreated) IsClientError() bool

IsClientError returns true when this chargeback payment by external key created response has a 4xx status code

func (*ChargebackPaymentByExternalKeyCreated) IsCode

IsCode returns true when this chargeback payment by external key created response a status code equal to that given

func (*ChargebackPaymentByExternalKeyCreated) IsRedirect

IsRedirect returns true when this chargeback payment by external key created response has a 3xx status code

func (*ChargebackPaymentByExternalKeyCreated) IsServerError

func (o *ChargebackPaymentByExternalKeyCreated) IsServerError() bool

IsServerError returns true when this chargeback payment by external key created response has a 5xx status code

func (*ChargebackPaymentByExternalKeyCreated) IsSuccess

IsSuccess returns true when this chargeback payment by external key created response has a 2xx status code

func (*ChargebackPaymentByExternalKeyCreated) String

type ChargebackPaymentByExternalKeyGatewayTimeout

type ChargebackPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewChargebackPaymentByExternalKeyGatewayTimeout

func NewChargebackPaymentByExternalKeyGatewayTimeout() *ChargebackPaymentByExternalKeyGatewayTimeout

NewChargebackPaymentByExternalKeyGatewayTimeout creates a ChargebackPaymentByExternalKeyGatewayTimeout with default headers values

func (*ChargebackPaymentByExternalKeyGatewayTimeout) Code

Code gets the status code for the chargeback payment by external key gateway timeout response

func (*ChargebackPaymentByExternalKeyGatewayTimeout) Error

func (*ChargebackPaymentByExternalKeyGatewayTimeout) IsClientError

IsClientError returns true when this chargeback payment by external key gateway timeout response has a 4xx status code

func (*ChargebackPaymentByExternalKeyGatewayTimeout) IsCode

IsCode returns true when this chargeback payment by external key gateway timeout response a status code equal to that given

func (*ChargebackPaymentByExternalKeyGatewayTimeout) IsRedirect

IsRedirect returns true when this chargeback payment by external key gateway timeout response has a 3xx status code

func (*ChargebackPaymentByExternalKeyGatewayTimeout) IsServerError

IsServerError returns true when this chargeback payment by external key gateway timeout response has a 5xx status code

func (*ChargebackPaymentByExternalKeyGatewayTimeout) IsSuccess

IsSuccess returns true when this chargeback payment by external key gateway timeout response has a 2xx status code

func (*ChargebackPaymentByExternalKeyGatewayTimeout) String

type ChargebackPaymentByExternalKeyNotFound

type ChargebackPaymentByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewChargebackPaymentByExternalKeyNotFound

func NewChargebackPaymentByExternalKeyNotFound() *ChargebackPaymentByExternalKeyNotFound

NewChargebackPaymentByExternalKeyNotFound creates a ChargebackPaymentByExternalKeyNotFound with default headers values

func (*ChargebackPaymentByExternalKeyNotFound) Code

Code gets the status code for the chargeback payment by external key not found response

func (*ChargebackPaymentByExternalKeyNotFound) Error

func (*ChargebackPaymentByExternalKeyNotFound) IsClientError

func (o *ChargebackPaymentByExternalKeyNotFound) IsClientError() bool

IsClientError returns true when this chargeback payment by external key not found response has a 4xx status code

func (*ChargebackPaymentByExternalKeyNotFound) IsCode

IsCode returns true when this chargeback payment by external key not found response a status code equal to that given

func (*ChargebackPaymentByExternalKeyNotFound) IsRedirect

IsRedirect returns true when this chargeback payment by external key not found response has a 3xx status code

func (*ChargebackPaymentByExternalKeyNotFound) IsServerError

func (o *ChargebackPaymentByExternalKeyNotFound) IsServerError() bool

IsServerError returns true when this chargeback payment by external key not found response has a 5xx status code

func (*ChargebackPaymentByExternalKeyNotFound) IsSuccess

IsSuccess returns true when this chargeback payment by external key not found response has a 2xx status code

func (*ChargebackPaymentByExternalKeyNotFound) String

type ChargebackPaymentByExternalKeyParams

type ChargebackPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewChargebackPaymentByExternalKeyParamsWithContext

func NewChargebackPaymentByExternalKeyParamsWithContext(ctx context.Context) *ChargebackPaymentByExternalKeyParams

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

func NewChargebackPaymentByExternalKeyParamsWithHTTPClient

func NewChargebackPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *ChargebackPaymentByExternalKeyParams

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

func NewChargebackPaymentByExternalKeyParamsWithTimeout

func NewChargebackPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *ChargebackPaymentByExternalKeyParams

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

func (*ChargebackPaymentByExternalKeyParams) SetBody

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

func (*ChargebackPaymentByExternalKeyParams) SetContext

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

func (*ChargebackPaymentByExternalKeyParams) SetControlPluginName

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

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

func (*ChargebackPaymentByExternalKeyParams) SetDefaults

func (o *ChargebackPaymentByExternalKeyParams) SetDefaults()

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

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

func (*ChargebackPaymentByExternalKeyParams) SetHTTPClient

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

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

func (*ChargebackPaymentByExternalKeyParams) SetPluginProperty

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

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

func (*ChargebackPaymentByExternalKeyParams) SetTimeout

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

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

func (*ChargebackPaymentByExternalKeyParams) SetXKillbillComment

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

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

func (*ChargebackPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *ChargebackPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*ChargebackPaymentByExternalKeyParams) SetXKillbillReason

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

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

func (*ChargebackPaymentByExternalKeyParams) WithBody

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

func (*ChargebackPaymentByExternalKeyParams) WithContext

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

func (*ChargebackPaymentByExternalKeyParams) WithControlPluginName

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

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

func (*ChargebackPaymentByExternalKeyParams) WithDefaults

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

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

func (*ChargebackPaymentByExternalKeyParams) WithHTTPClient

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

func (*ChargebackPaymentByExternalKeyParams) WithPluginProperty

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

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

func (*ChargebackPaymentByExternalKeyParams) WithTimeout

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

func (*ChargebackPaymentByExternalKeyParams) WithXKillbillComment

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

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

func (*ChargebackPaymentByExternalKeyParams) WithXKillbillCreatedBy

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

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

func (*ChargebackPaymentByExternalKeyParams) WithXKillbillReason

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

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

func (*ChargebackPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargebackPaymentByExternalKeyPaymentRequired

type ChargebackPaymentByExternalKeyPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewChargebackPaymentByExternalKeyPaymentRequired

func NewChargebackPaymentByExternalKeyPaymentRequired() *ChargebackPaymentByExternalKeyPaymentRequired

NewChargebackPaymentByExternalKeyPaymentRequired creates a ChargebackPaymentByExternalKeyPaymentRequired with default headers values

func (*ChargebackPaymentByExternalKeyPaymentRequired) Code

Code gets the status code for the chargeback payment by external key payment required response

func (*ChargebackPaymentByExternalKeyPaymentRequired) Error

func (*ChargebackPaymentByExternalKeyPaymentRequired) IsClientError

IsClientError returns true when this chargeback payment by external key payment required response has a 4xx status code

func (*ChargebackPaymentByExternalKeyPaymentRequired) IsCode

IsCode returns true when this chargeback payment by external key payment required response a status code equal to that given

func (*ChargebackPaymentByExternalKeyPaymentRequired) IsRedirect

IsRedirect returns true when this chargeback payment by external key payment required response has a 3xx status code

func (*ChargebackPaymentByExternalKeyPaymentRequired) IsServerError

IsServerError returns true when this chargeback payment by external key payment required response has a 5xx status code

func (*ChargebackPaymentByExternalKeyPaymentRequired) IsSuccess

IsSuccess returns true when this chargeback payment by external key payment required response has a 2xx status code

func (*ChargebackPaymentByExternalKeyPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewChargebackPaymentByExternalKeyServiceUnavailable

func NewChargebackPaymentByExternalKeyServiceUnavailable() *ChargebackPaymentByExternalKeyServiceUnavailable

NewChargebackPaymentByExternalKeyServiceUnavailable creates a ChargebackPaymentByExternalKeyServiceUnavailable with default headers values

func (*ChargebackPaymentByExternalKeyServiceUnavailable) Code

Code gets the status code for the chargeback payment by external key service unavailable response

func (*ChargebackPaymentByExternalKeyServiceUnavailable) Error

func (*ChargebackPaymentByExternalKeyServiceUnavailable) IsClientError

IsClientError returns true when this chargeback payment by external key service unavailable response has a 4xx status code

func (*ChargebackPaymentByExternalKeyServiceUnavailable) IsCode

IsCode returns true when this chargeback payment by external key service unavailable response a status code equal to that given

func (*ChargebackPaymentByExternalKeyServiceUnavailable) IsRedirect

IsRedirect returns true when this chargeback payment by external key service unavailable response has a 3xx status code

func (*ChargebackPaymentByExternalKeyServiceUnavailable) IsServerError

IsServerError returns true when this chargeback payment by external key service unavailable response has a 5xx status code

func (*ChargebackPaymentByExternalKeyServiceUnavailable) IsSuccess

IsSuccess returns true when this chargeback payment by external key service unavailable response has a 2xx status code

func (*ChargebackPaymentByExternalKeyServiceUnavailable) String

type ChargebackPaymentByExternalKeyUnprocessableEntity

type ChargebackPaymentByExternalKeyUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewChargebackPaymentByExternalKeyUnprocessableEntity

func NewChargebackPaymentByExternalKeyUnprocessableEntity() *ChargebackPaymentByExternalKeyUnprocessableEntity

NewChargebackPaymentByExternalKeyUnprocessableEntity creates a ChargebackPaymentByExternalKeyUnprocessableEntity with default headers values

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) Code

Code gets the status code for the chargeback payment by external key unprocessable entity response

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) Error

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) IsClientError

IsClientError returns true when this chargeback payment by external key unprocessable entity response has a 4xx status code

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) IsCode

IsCode returns true when this chargeback payment by external key unprocessable entity response a status code equal to that given

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this chargeback payment by external key unprocessable entity response has a 3xx status code

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) IsServerError

IsServerError returns true when this chargeback payment by external key unprocessable entity response has a 5xx status code

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this chargeback payment by external key unprocessable entity response has a 2xx status code

func (*ChargebackPaymentByExternalKeyUnprocessableEntity) String

type ChargebackPaymentCreated

type ChargebackPaymentCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewChargebackPaymentCreated

func NewChargebackPaymentCreated() *ChargebackPaymentCreated

NewChargebackPaymentCreated creates a ChargebackPaymentCreated with default headers values

func (*ChargebackPaymentCreated) Code

func (o *ChargebackPaymentCreated) Code() int

Code gets the status code for the chargeback payment created response

func (*ChargebackPaymentCreated) Error

func (o *ChargebackPaymentCreated) Error() string

func (*ChargebackPaymentCreated) GetPayload

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

func (*ChargebackPaymentCreated) IsClientError

func (o *ChargebackPaymentCreated) IsClientError() bool

IsClientError returns true when this chargeback payment created response has a 4xx status code

func (*ChargebackPaymentCreated) IsCode

func (o *ChargebackPaymentCreated) IsCode(code int) bool

IsCode returns true when this chargeback payment created response a status code equal to that given

func (*ChargebackPaymentCreated) IsRedirect

func (o *ChargebackPaymentCreated) IsRedirect() bool

IsRedirect returns true when this chargeback payment created response has a 3xx status code

func (*ChargebackPaymentCreated) IsServerError

func (o *ChargebackPaymentCreated) IsServerError() bool

IsServerError returns true when this chargeback payment created response has a 5xx status code

func (*ChargebackPaymentCreated) IsSuccess

func (o *ChargebackPaymentCreated) IsSuccess() bool

IsSuccess returns true when this chargeback payment created response has a 2xx status code

func (*ChargebackPaymentCreated) String

func (o *ChargebackPaymentCreated) String() string

type ChargebackPaymentGatewayTimeout

type ChargebackPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewChargebackPaymentGatewayTimeout

func NewChargebackPaymentGatewayTimeout() *ChargebackPaymentGatewayTimeout

NewChargebackPaymentGatewayTimeout creates a ChargebackPaymentGatewayTimeout with default headers values

func (*ChargebackPaymentGatewayTimeout) Code

Code gets the status code for the chargeback payment gateway timeout response

func (*ChargebackPaymentGatewayTimeout) Error

func (*ChargebackPaymentGatewayTimeout) IsClientError

func (o *ChargebackPaymentGatewayTimeout) IsClientError() bool

IsClientError returns true when this chargeback payment gateway timeout response has a 4xx status code

func (*ChargebackPaymentGatewayTimeout) IsCode

func (o *ChargebackPaymentGatewayTimeout) IsCode(code int) bool

IsCode returns true when this chargeback payment gateway timeout response a status code equal to that given

func (*ChargebackPaymentGatewayTimeout) IsRedirect

func (o *ChargebackPaymentGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this chargeback payment gateway timeout response has a 3xx status code

func (*ChargebackPaymentGatewayTimeout) IsServerError

func (o *ChargebackPaymentGatewayTimeout) IsServerError() bool

IsServerError returns true when this chargeback payment gateway timeout response has a 5xx status code

func (*ChargebackPaymentGatewayTimeout) IsSuccess

func (o *ChargebackPaymentGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this chargeback payment gateway timeout response has a 2xx status code

func (*ChargebackPaymentGatewayTimeout) String

type ChargebackPaymentNotFound

type ChargebackPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewChargebackPaymentNotFound

func NewChargebackPaymentNotFound() *ChargebackPaymentNotFound

NewChargebackPaymentNotFound creates a ChargebackPaymentNotFound with default headers values

func (*ChargebackPaymentNotFound) Code

func (o *ChargebackPaymentNotFound) Code() int

Code gets the status code for the chargeback payment not found response

func (*ChargebackPaymentNotFound) Error

func (o *ChargebackPaymentNotFound) Error() string

func (*ChargebackPaymentNotFound) IsClientError

func (o *ChargebackPaymentNotFound) IsClientError() bool

IsClientError returns true when this chargeback payment not found response has a 4xx status code

func (*ChargebackPaymentNotFound) IsCode

func (o *ChargebackPaymentNotFound) IsCode(code int) bool

IsCode returns true when this chargeback payment not found response a status code equal to that given

func (*ChargebackPaymentNotFound) IsRedirect

func (o *ChargebackPaymentNotFound) IsRedirect() bool

IsRedirect returns true when this chargeback payment not found response has a 3xx status code

func (*ChargebackPaymentNotFound) IsServerError

func (o *ChargebackPaymentNotFound) IsServerError() bool

IsServerError returns true when this chargeback payment not found response has a 5xx status code

func (*ChargebackPaymentNotFound) IsSuccess

func (o *ChargebackPaymentNotFound) IsSuccess() bool

IsSuccess returns true when this chargeback payment not found response has a 2xx status code

func (*ChargebackPaymentNotFound) String

func (o *ChargebackPaymentNotFound) String() string

type ChargebackPaymentParams

type ChargebackPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewChargebackPaymentParamsWithContext

func NewChargebackPaymentParamsWithContext(ctx context.Context) *ChargebackPaymentParams

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

func NewChargebackPaymentParamsWithHTTPClient

func NewChargebackPaymentParamsWithHTTPClient(client *http.Client) *ChargebackPaymentParams

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

func NewChargebackPaymentParamsWithTimeout

func NewChargebackPaymentParamsWithTimeout(timeout time.Duration) *ChargebackPaymentParams

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

func (*ChargebackPaymentParams) SetBody

SetBody adds the body to the chargeback payment params

func (*ChargebackPaymentParams) SetContext

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

SetContext adds the context to the chargeback payment params

func (*ChargebackPaymentParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the chargeback payment params

func (*ChargebackPaymentParams) SetDefaults

func (o *ChargebackPaymentParams) SetDefaults()

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

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

func (*ChargebackPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the chargeback payment params

func (*ChargebackPaymentParams) SetPaymentID

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

SetPaymentID adds the paymentId to the chargeback payment params

func (*ChargebackPaymentParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the chargeback payment params

func (*ChargebackPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the chargeback payment params

func (*ChargebackPaymentParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the chargeback payment params

func (*ChargebackPaymentParams) SetXKillbillCreatedBy

func (o *ChargebackPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback payment params

func (*ChargebackPaymentParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the chargeback payment params

func (*ChargebackPaymentParams) WithBody

WithBody adds the body to the chargeback payment params

func (*ChargebackPaymentParams) WithContext

WithContext adds the context to the chargeback payment params

func (*ChargebackPaymentParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the chargeback payment params

func (*ChargebackPaymentParams) WithDefaults

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

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

func (*ChargebackPaymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the chargeback payment params

func (*ChargebackPaymentParams) WithPaymentID

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

WithPaymentID adds the paymentID to the chargeback payment params

func (*ChargebackPaymentParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the chargeback payment params

func (*ChargebackPaymentParams) WithTimeout

WithTimeout adds the timeout to the chargeback payment params

func (*ChargebackPaymentParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the chargeback payment params

func (*ChargebackPaymentParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback payment params

func (*ChargebackPaymentParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the chargeback payment params

func (*ChargebackPaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargebackPaymentPaymentRequired

type ChargebackPaymentPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewChargebackPaymentPaymentRequired

func NewChargebackPaymentPaymentRequired() *ChargebackPaymentPaymentRequired

NewChargebackPaymentPaymentRequired creates a ChargebackPaymentPaymentRequired with default headers values

func (*ChargebackPaymentPaymentRequired) Code

Code gets the status code for the chargeback payment payment required response

func (*ChargebackPaymentPaymentRequired) Error

func (*ChargebackPaymentPaymentRequired) IsClientError

func (o *ChargebackPaymentPaymentRequired) IsClientError() bool

IsClientError returns true when this chargeback payment payment required response has a 4xx status code

func (*ChargebackPaymentPaymentRequired) IsCode

func (o *ChargebackPaymentPaymentRequired) IsCode(code int) bool

IsCode returns true when this chargeback payment payment required response a status code equal to that given

func (*ChargebackPaymentPaymentRequired) IsRedirect

func (o *ChargebackPaymentPaymentRequired) IsRedirect() bool

IsRedirect returns true when this chargeback payment payment required response has a 3xx status code

func (*ChargebackPaymentPaymentRequired) IsServerError

func (o *ChargebackPaymentPaymentRequired) IsServerError() bool

IsServerError returns true when this chargeback payment payment required response has a 5xx status code

func (*ChargebackPaymentPaymentRequired) IsSuccess

func (o *ChargebackPaymentPaymentRequired) IsSuccess() bool

IsSuccess returns true when this chargeback payment payment required response has a 2xx status code

func (*ChargebackPaymentPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewChargebackPaymentServiceUnavailable

func NewChargebackPaymentServiceUnavailable() *ChargebackPaymentServiceUnavailable

NewChargebackPaymentServiceUnavailable creates a ChargebackPaymentServiceUnavailable with default headers values

func (*ChargebackPaymentServiceUnavailable) Code

Code gets the status code for the chargeback payment service unavailable response

func (*ChargebackPaymentServiceUnavailable) Error

func (*ChargebackPaymentServiceUnavailable) IsClientError

func (o *ChargebackPaymentServiceUnavailable) IsClientError() bool

IsClientError returns true when this chargeback payment service unavailable response has a 4xx status code

func (*ChargebackPaymentServiceUnavailable) IsCode

IsCode returns true when this chargeback payment service unavailable response a status code equal to that given

func (*ChargebackPaymentServiceUnavailable) IsRedirect

func (o *ChargebackPaymentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this chargeback payment service unavailable response has a 3xx status code

func (*ChargebackPaymentServiceUnavailable) IsServerError

func (o *ChargebackPaymentServiceUnavailable) IsServerError() bool

IsServerError returns true when this chargeback payment service unavailable response has a 5xx status code

func (*ChargebackPaymentServiceUnavailable) IsSuccess

IsSuccess returns true when this chargeback payment service unavailable response has a 2xx status code

func (*ChargebackPaymentServiceUnavailable) String

type ChargebackPaymentUnprocessableEntity

type ChargebackPaymentUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

ChargebackPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewChargebackPaymentUnprocessableEntity

func NewChargebackPaymentUnprocessableEntity() *ChargebackPaymentUnprocessableEntity

NewChargebackPaymentUnprocessableEntity creates a ChargebackPaymentUnprocessableEntity with default headers values

func (*ChargebackPaymentUnprocessableEntity) Code

Code gets the status code for the chargeback payment unprocessable entity response

func (*ChargebackPaymentUnprocessableEntity) Error

func (*ChargebackPaymentUnprocessableEntity) IsClientError

func (o *ChargebackPaymentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this chargeback payment unprocessable entity response has a 4xx status code

func (*ChargebackPaymentUnprocessableEntity) IsCode

IsCode returns true when this chargeback payment unprocessable entity response a status code equal to that given

func (*ChargebackPaymentUnprocessableEntity) IsRedirect

IsRedirect returns true when this chargeback payment unprocessable entity response has a 3xx status code

func (*ChargebackPaymentUnprocessableEntity) IsServerError

func (o *ChargebackPaymentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this chargeback payment unprocessable entity response has a 5xx status code

func (*ChargebackPaymentUnprocessableEntity) IsSuccess

IsSuccess returns true when this chargeback payment unprocessable entity response has a 2xx status code

func (*ChargebackPaymentUnprocessableEntity) String

type ChargebackReversalPaymentBadGateway

type ChargebackReversalPaymentBadGateway struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewChargebackReversalPaymentBadGateway

func NewChargebackReversalPaymentBadGateway() *ChargebackReversalPaymentBadGateway

NewChargebackReversalPaymentBadGateway creates a ChargebackReversalPaymentBadGateway with default headers values

func (*ChargebackReversalPaymentBadGateway) Code

Code gets the status code for the chargeback reversal payment bad gateway response

func (*ChargebackReversalPaymentBadGateway) Error

func (*ChargebackReversalPaymentBadGateway) IsClientError

func (o *ChargebackReversalPaymentBadGateway) IsClientError() bool

IsClientError returns true when this chargeback reversal payment bad gateway response has a 4xx status code

func (*ChargebackReversalPaymentBadGateway) IsCode

IsCode returns true when this chargeback reversal payment bad gateway response a status code equal to that given

func (*ChargebackReversalPaymentBadGateway) IsRedirect

func (o *ChargebackReversalPaymentBadGateway) IsRedirect() bool

IsRedirect returns true when this chargeback reversal payment bad gateway response has a 3xx status code

func (*ChargebackReversalPaymentBadGateway) IsServerError

func (o *ChargebackReversalPaymentBadGateway) IsServerError() bool

IsServerError returns true when this chargeback reversal payment bad gateway response has a 5xx status code

func (*ChargebackReversalPaymentBadGateway) IsSuccess

IsSuccess returns true when this chargeback reversal payment bad gateway response has a 2xx status code

func (*ChargebackReversalPaymentBadGateway) String

type ChargebackReversalPaymentBadRequest

type ChargebackReversalPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewChargebackReversalPaymentBadRequest

func NewChargebackReversalPaymentBadRequest() *ChargebackReversalPaymentBadRequest

NewChargebackReversalPaymentBadRequest creates a ChargebackReversalPaymentBadRequest with default headers values

func (*ChargebackReversalPaymentBadRequest) Code

Code gets the status code for the chargeback reversal payment bad request response

func (*ChargebackReversalPaymentBadRequest) Error

func (*ChargebackReversalPaymentBadRequest) IsClientError

func (o *ChargebackReversalPaymentBadRequest) IsClientError() bool

IsClientError returns true when this chargeback reversal payment bad request response has a 4xx status code

func (*ChargebackReversalPaymentBadRequest) IsCode

IsCode returns true when this chargeback reversal payment bad request response a status code equal to that given

func (*ChargebackReversalPaymentBadRequest) IsRedirect

func (o *ChargebackReversalPaymentBadRequest) IsRedirect() bool

IsRedirect returns true when this chargeback reversal payment bad request response has a 3xx status code

func (*ChargebackReversalPaymentBadRequest) IsServerError

func (o *ChargebackReversalPaymentBadRequest) IsServerError() bool

IsServerError returns true when this chargeback reversal payment bad request response has a 5xx status code

func (*ChargebackReversalPaymentBadRequest) IsSuccess

IsSuccess returns true when this chargeback reversal payment bad request response has a 2xx status code

func (*ChargebackReversalPaymentBadRequest) String

type ChargebackReversalPaymentByExternalKeyBadGateway

type ChargebackReversalPaymentByExternalKeyBadGateway struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewChargebackReversalPaymentByExternalKeyBadGateway

func NewChargebackReversalPaymentByExternalKeyBadGateway() *ChargebackReversalPaymentByExternalKeyBadGateway

NewChargebackReversalPaymentByExternalKeyBadGateway creates a ChargebackReversalPaymentByExternalKeyBadGateway with default headers values

func (*ChargebackReversalPaymentByExternalKeyBadGateway) Code

Code gets the status code for the chargeback reversal payment by external key bad gateway response

func (*ChargebackReversalPaymentByExternalKeyBadGateway) Error

func (*ChargebackReversalPaymentByExternalKeyBadGateway) IsClientError

IsClientError returns true when this chargeback reversal payment by external key bad gateway response has a 4xx status code

func (*ChargebackReversalPaymentByExternalKeyBadGateway) IsCode

IsCode returns true when this chargeback reversal payment by external key bad gateway response a status code equal to that given

func (*ChargebackReversalPaymentByExternalKeyBadGateway) IsRedirect

IsRedirect returns true when this chargeback reversal payment by external key bad gateway response has a 3xx status code

func (*ChargebackReversalPaymentByExternalKeyBadGateway) IsServerError

IsServerError returns true when this chargeback reversal payment by external key bad gateway response has a 5xx status code

func (*ChargebackReversalPaymentByExternalKeyBadGateway) IsSuccess

IsSuccess returns true when this chargeback reversal payment by external key bad gateway response has a 2xx status code

func (*ChargebackReversalPaymentByExternalKeyBadGateway) String

type ChargebackReversalPaymentByExternalKeyCreated

type ChargebackReversalPaymentByExternalKeyCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewChargebackReversalPaymentByExternalKeyCreated

func NewChargebackReversalPaymentByExternalKeyCreated() *ChargebackReversalPaymentByExternalKeyCreated

NewChargebackReversalPaymentByExternalKeyCreated creates a ChargebackReversalPaymentByExternalKeyCreated with default headers values

func (*ChargebackReversalPaymentByExternalKeyCreated) Code

Code gets the status code for the chargeback reversal payment by external key created response

func (*ChargebackReversalPaymentByExternalKeyCreated) Error

func (*ChargebackReversalPaymentByExternalKeyCreated) GetPayload

func (*ChargebackReversalPaymentByExternalKeyCreated) IsClientError

IsClientError returns true when this chargeback reversal payment by external key created response has a 4xx status code

func (*ChargebackReversalPaymentByExternalKeyCreated) IsCode

IsCode returns true when this chargeback reversal payment by external key created response a status code equal to that given

func (*ChargebackReversalPaymentByExternalKeyCreated) IsRedirect

IsRedirect returns true when this chargeback reversal payment by external key created response has a 3xx status code

func (*ChargebackReversalPaymentByExternalKeyCreated) IsServerError

IsServerError returns true when this chargeback reversal payment by external key created response has a 5xx status code

func (*ChargebackReversalPaymentByExternalKeyCreated) IsSuccess

IsSuccess returns true when this chargeback reversal payment by external key created response has a 2xx status code

func (*ChargebackReversalPaymentByExternalKeyCreated) String

type ChargebackReversalPaymentByExternalKeyGatewayTimeout

type ChargebackReversalPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewChargebackReversalPaymentByExternalKeyGatewayTimeout

func NewChargebackReversalPaymentByExternalKeyGatewayTimeout() *ChargebackReversalPaymentByExternalKeyGatewayTimeout

NewChargebackReversalPaymentByExternalKeyGatewayTimeout creates a ChargebackReversalPaymentByExternalKeyGatewayTimeout with default headers values

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) Code

Code gets the status code for the chargeback reversal payment by external key gateway timeout response

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) Error

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) IsClientError

IsClientError returns true when this chargeback reversal payment by external key gateway timeout response has a 4xx status code

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) IsCode

IsCode returns true when this chargeback reversal payment by external key gateway timeout response a status code equal to that given

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) IsRedirect

IsRedirect returns true when this chargeback reversal payment by external key gateway timeout response has a 3xx status code

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) IsServerError

IsServerError returns true when this chargeback reversal payment by external key gateway timeout response has a 5xx status code

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) IsSuccess

IsSuccess returns true when this chargeback reversal payment by external key gateway timeout response has a 2xx status code

func (*ChargebackReversalPaymentByExternalKeyGatewayTimeout) String

type ChargebackReversalPaymentByExternalKeyNotFound

type ChargebackReversalPaymentByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewChargebackReversalPaymentByExternalKeyNotFound

func NewChargebackReversalPaymentByExternalKeyNotFound() *ChargebackReversalPaymentByExternalKeyNotFound

NewChargebackReversalPaymentByExternalKeyNotFound creates a ChargebackReversalPaymentByExternalKeyNotFound with default headers values

func (*ChargebackReversalPaymentByExternalKeyNotFound) Code

Code gets the status code for the chargeback reversal payment by external key not found response

func (*ChargebackReversalPaymentByExternalKeyNotFound) Error

func (*ChargebackReversalPaymentByExternalKeyNotFound) IsClientError

IsClientError returns true when this chargeback reversal payment by external key not found response has a 4xx status code

func (*ChargebackReversalPaymentByExternalKeyNotFound) IsCode

IsCode returns true when this chargeback reversal payment by external key not found response a status code equal to that given

func (*ChargebackReversalPaymentByExternalKeyNotFound) IsRedirect

IsRedirect returns true when this chargeback reversal payment by external key not found response has a 3xx status code

func (*ChargebackReversalPaymentByExternalKeyNotFound) IsServerError

IsServerError returns true when this chargeback reversal payment by external key not found response has a 5xx status code

func (*ChargebackReversalPaymentByExternalKeyNotFound) IsSuccess

IsSuccess returns true when this chargeback reversal payment by external key not found response has a 2xx status code

func (*ChargebackReversalPaymentByExternalKeyNotFound) String

type ChargebackReversalPaymentByExternalKeyParams

type ChargebackReversalPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewChargebackReversalPaymentByExternalKeyParamsWithContext

func NewChargebackReversalPaymentByExternalKeyParamsWithContext(ctx context.Context) *ChargebackReversalPaymentByExternalKeyParams

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

func NewChargebackReversalPaymentByExternalKeyParamsWithHTTPClient

func NewChargebackReversalPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *ChargebackReversalPaymentByExternalKeyParams

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

func NewChargebackReversalPaymentByExternalKeyParamsWithTimeout

func NewChargebackReversalPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *ChargebackReversalPaymentByExternalKeyParams

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetBody

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetContext

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetControlPluginName

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

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetDefaults

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

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetHTTPClient

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

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetPluginProperty

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

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetTimeout

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetXKillbillComment

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

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *ChargebackReversalPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*ChargebackReversalPaymentByExternalKeyParams) SetXKillbillReason

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

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithBody

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithContext

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithControlPluginName

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithDefaults

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

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithHTTPClient

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithPluginProperty

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithTimeout

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithXKillbillComment

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithXKillbillCreatedBy

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

func (*ChargebackReversalPaymentByExternalKeyParams) WithXKillbillReason

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

func (*ChargebackReversalPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargebackReversalPaymentByExternalKeyPaymentRequired

type ChargebackReversalPaymentByExternalKeyPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewChargebackReversalPaymentByExternalKeyPaymentRequired

func NewChargebackReversalPaymentByExternalKeyPaymentRequired() *ChargebackReversalPaymentByExternalKeyPaymentRequired

NewChargebackReversalPaymentByExternalKeyPaymentRequired creates a ChargebackReversalPaymentByExternalKeyPaymentRequired with default headers values

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) Code

Code gets the status code for the chargeback reversal payment by external key payment required response

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) Error

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) IsClientError

IsClientError returns true when this chargeback reversal payment by external key payment required response has a 4xx status code

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) IsCode

IsCode returns true when this chargeback reversal payment by external key payment required response a status code equal to that given

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) IsRedirect

IsRedirect returns true when this chargeback reversal payment by external key payment required response has a 3xx status code

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) IsServerError

IsServerError returns true when this chargeback reversal payment by external key payment required response has a 5xx status code

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) IsSuccess

IsSuccess returns true when this chargeback reversal payment by external key payment required response has a 2xx status code

func (*ChargebackReversalPaymentByExternalKeyPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewChargebackReversalPaymentByExternalKeyServiceUnavailable

func NewChargebackReversalPaymentByExternalKeyServiceUnavailable() *ChargebackReversalPaymentByExternalKeyServiceUnavailable

NewChargebackReversalPaymentByExternalKeyServiceUnavailable creates a ChargebackReversalPaymentByExternalKeyServiceUnavailable with default headers values

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) Code

Code gets the status code for the chargeback reversal payment by external key service unavailable response

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) Error

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) IsClientError

IsClientError returns true when this chargeback reversal payment by external key service unavailable response has a 4xx status code

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) IsCode

IsCode returns true when this chargeback reversal payment by external key service unavailable response a status code equal to that given

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) IsRedirect

IsRedirect returns true when this chargeback reversal payment by external key service unavailable response has a 3xx status code

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) IsServerError

IsServerError returns true when this chargeback reversal payment by external key service unavailable response has a 5xx status code

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) IsSuccess

IsSuccess returns true when this chargeback reversal payment by external key service unavailable response has a 2xx status code

func (*ChargebackReversalPaymentByExternalKeyServiceUnavailable) String

type ChargebackReversalPaymentByExternalKeyUnprocessableEntity

type ChargebackReversalPaymentByExternalKeyUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewChargebackReversalPaymentByExternalKeyUnprocessableEntity

func NewChargebackReversalPaymentByExternalKeyUnprocessableEntity() *ChargebackReversalPaymentByExternalKeyUnprocessableEntity

NewChargebackReversalPaymentByExternalKeyUnprocessableEntity creates a ChargebackReversalPaymentByExternalKeyUnprocessableEntity with default headers values

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) Code

Code gets the status code for the chargeback reversal payment by external key unprocessable entity response

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) Error

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) IsClientError

IsClientError returns true when this chargeback reversal payment by external key unprocessable entity response has a 4xx status code

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) IsCode

IsCode returns true when this chargeback reversal payment by external key unprocessable entity response a status code equal to that given

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this chargeback reversal payment by external key unprocessable entity response has a 3xx status code

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) IsServerError

IsServerError returns true when this chargeback reversal payment by external key unprocessable entity response has a 5xx status code

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this chargeback reversal payment by external key unprocessable entity response has a 2xx status code

func (*ChargebackReversalPaymentByExternalKeyUnprocessableEntity) String

type ChargebackReversalPaymentCreated

type ChargebackReversalPaymentCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewChargebackReversalPaymentCreated

func NewChargebackReversalPaymentCreated() *ChargebackReversalPaymentCreated

NewChargebackReversalPaymentCreated creates a ChargebackReversalPaymentCreated with default headers values

func (*ChargebackReversalPaymentCreated) Code

Code gets the status code for the chargeback reversal payment created response

func (*ChargebackReversalPaymentCreated) Error

func (*ChargebackReversalPaymentCreated) GetPayload

func (*ChargebackReversalPaymentCreated) IsClientError

func (o *ChargebackReversalPaymentCreated) IsClientError() bool

IsClientError returns true when this chargeback reversal payment created response has a 4xx status code

func (*ChargebackReversalPaymentCreated) IsCode

func (o *ChargebackReversalPaymentCreated) IsCode(code int) bool

IsCode returns true when this chargeback reversal payment created response a status code equal to that given

func (*ChargebackReversalPaymentCreated) IsRedirect

func (o *ChargebackReversalPaymentCreated) IsRedirect() bool

IsRedirect returns true when this chargeback reversal payment created response has a 3xx status code

func (*ChargebackReversalPaymentCreated) IsServerError

func (o *ChargebackReversalPaymentCreated) IsServerError() bool

IsServerError returns true when this chargeback reversal payment created response has a 5xx status code

func (*ChargebackReversalPaymentCreated) IsSuccess

func (o *ChargebackReversalPaymentCreated) IsSuccess() bool

IsSuccess returns true when this chargeback reversal payment created response has a 2xx status code

func (*ChargebackReversalPaymentCreated) String

type ChargebackReversalPaymentGatewayTimeout

type ChargebackReversalPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewChargebackReversalPaymentGatewayTimeout

func NewChargebackReversalPaymentGatewayTimeout() *ChargebackReversalPaymentGatewayTimeout

NewChargebackReversalPaymentGatewayTimeout creates a ChargebackReversalPaymentGatewayTimeout with default headers values

func (*ChargebackReversalPaymentGatewayTimeout) Code

Code gets the status code for the chargeback reversal payment gateway timeout response

func (*ChargebackReversalPaymentGatewayTimeout) Error

func (*ChargebackReversalPaymentGatewayTimeout) IsClientError

func (o *ChargebackReversalPaymentGatewayTimeout) IsClientError() bool

IsClientError returns true when this chargeback reversal payment gateway timeout response has a 4xx status code

func (*ChargebackReversalPaymentGatewayTimeout) IsCode

IsCode returns true when this chargeback reversal payment gateway timeout response a status code equal to that given

func (*ChargebackReversalPaymentGatewayTimeout) IsRedirect

IsRedirect returns true when this chargeback reversal payment gateway timeout response has a 3xx status code

func (*ChargebackReversalPaymentGatewayTimeout) IsServerError

func (o *ChargebackReversalPaymentGatewayTimeout) IsServerError() bool

IsServerError returns true when this chargeback reversal payment gateway timeout response has a 5xx status code

func (*ChargebackReversalPaymentGatewayTimeout) IsSuccess

IsSuccess returns true when this chargeback reversal payment gateway timeout response has a 2xx status code

func (*ChargebackReversalPaymentGatewayTimeout) String

type ChargebackReversalPaymentNotFound

type ChargebackReversalPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewChargebackReversalPaymentNotFound

func NewChargebackReversalPaymentNotFound() *ChargebackReversalPaymentNotFound

NewChargebackReversalPaymentNotFound creates a ChargebackReversalPaymentNotFound with default headers values

func (*ChargebackReversalPaymentNotFound) Code

Code gets the status code for the chargeback reversal payment not found response

func (*ChargebackReversalPaymentNotFound) Error

func (*ChargebackReversalPaymentNotFound) IsClientError

func (o *ChargebackReversalPaymentNotFound) IsClientError() bool

IsClientError returns true when this chargeback reversal payment not found response has a 4xx status code

func (*ChargebackReversalPaymentNotFound) IsCode

func (o *ChargebackReversalPaymentNotFound) IsCode(code int) bool

IsCode returns true when this chargeback reversal payment not found response a status code equal to that given

func (*ChargebackReversalPaymentNotFound) IsRedirect

func (o *ChargebackReversalPaymentNotFound) IsRedirect() bool

IsRedirect returns true when this chargeback reversal payment not found response has a 3xx status code

func (*ChargebackReversalPaymentNotFound) IsServerError

func (o *ChargebackReversalPaymentNotFound) IsServerError() bool

IsServerError returns true when this chargeback reversal payment not found response has a 5xx status code

func (*ChargebackReversalPaymentNotFound) IsSuccess

func (o *ChargebackReversalPaymentNotFound) IsSuccess() bool

IsSuccess returns true when this chargeback reversal payment not found response has a 2xx status code

func (*ChargebackReversalPaymentNotFound) String

type ChargebackReversalPaymentParams

type ChargebackReversalPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewChargebackReversalPaymentParamsWithContext

func NewChargebackReversalPaymentParamsWithContext(ctx context.Context) *ChargebackReversalPaymentParams

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

func NewChargebackReversalPaymentParamsWithHTTPClient

func NewChargebackReversalPaymentParamsWithHTTPClient(client *http.Client) *ChargebackReversalPaymentParams

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

func NewChargebackReversalPaymentParamsWithTimeout

func NewChargebackReversalPaymentParamsWithTimeout(timeout time.Duration) *ChargebackReversalPaymentParams

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

func (*ChargebackReversalPaymentParams) SetBody

SetBody adds the body to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetContext

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

SetContext adds the context to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetDefaults

func (o *ChargebackReversalPaymentParams) SetDefaults()

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

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

func (*ChargebackReversalPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetPaymentID

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

SetPaymentID adds the paymentId to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetXKillbillCreatedBy

func (o *ChargebackReversalPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithBody

WithBody adds the body to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithContext

WithContext adds the context to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithDefaults

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

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

func (*ChargebackReversalPaymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithPaymentID

WithPaymentID adds the paymentID to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithTimeout

WithTimeout adds the timeout to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the chargeback reversal payment params

func (*ChargebackReversalPaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargebackReversalPaymentPaymentRequired

type ChargebackReversalPaymentPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewChargebackReversalPaymentPaymentRequired

func NewChargebackReversalPaymentPaymentRequired() *ChargebackReversalPaymentPaymentRequired

NewChargebackReversalPaymentPaymentRequired creates a ChargebackReversalPaymentPaymentRequired with default headers values

func (*ChargebackReversalPaymentPaymentRequired) Code

Code gets the status code for the chargeback reversal payment payment required response

func (*ChargebackReversalPaymentPaymentRequired) Error

func (*ChargebackReversalPaymentPaymentRequired) IsClientError

IsClientError returns true when this chargeback reversal payment payment required response has a 4xx status code

func (*ChargebackReversalPaymentPaymentRequired) IsCode

IsCode returns true when this chargeback reversal payment payment required response a status code equal to that given

func (*ChargebackReversalPaymentPaymentRequired) IsRedirect

IsRedirect returns true when this chargeback reversal payment payment required response has a 3xx status code

func (*ChargebackReversalPaymentPaymentRequired) IsServerError

IsServerError returns true when this chargeback reversal payment payment required response has a 5xx status code

func (*ChargebackReversalPaymentPaymentRequired) IsSuccess

IsSuccess returns true when this chargeback reversal payment payment required response has a 2xx status code

func (*ChargebackReversalPaymentPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewChargebackReversalPaymentServiceUnavailable

func NewChargebackReversalPaymentServiceUnavailable() *ChargebackReversalPaymentServiceUnavailable

NewChargebackReversalPaymentServiceUnavailable creates a ChargebackReversalPaymentServiceUnavailable with default headers values

func (*ChargebackReversalPaymentServiceUnavailable) Code

Code gets the status code for the chargeback reversal payment service unavailable response

func (*ChargebackReversalPaymentServiceUnavailable) Error

func (*ChargebackReversalPaymentServiceUnavailable) IsClientError

IsClientError returns true when this chargeback reversal payment service unavailable response has a 4xx status code

func (*ChargebackReversalPaymentServiceUnavailable) IsCode

IsCode returns true when this chargeback reversal payment service unavailable response a status code equal to that given

func (*ChargebackReversalPaymentServiceUnavailable) IsRedirect

IsRedirect returns true when this chargeback reversal payment service unavailable response has a 3xx status code

func (*ChargebackReversalPaymentServiceUnavailable) IsServerError

IsServerError returns true when this chargeback reversal payment service unavailable response has a 5xx status code

func (*ChargebackReversalPaymentServiceUnavailable) IsSuccess

IsSuccess returns true when this chargeback reversal payment service unavailable response has a 2xx status code

func (*ChargebackReversalPaymentServiceUnavailable) String

type ChargebackReversalPaymentUnprocessableEntity

type ChargebackReversalPaymentUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

ChargebackReversalPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewChargebackReversalPaymentUnprocessableEntity

func NewChargebackReversalPaymentUnprocessableEntity() *ChargebackReversalPaymentUnprocessableEntity

NewChargebackReversalPaymentUnprocessableEntity creates a ChargebackReversalPaymentUnprocessableEntity with default headers values

func (*ChargebackReversalPaymentUnprocessableEntity) Code

Code gets the status code for the chargeback reversal payment unprocessable entity response

func (*ChargebackReversalPaymentUnprocessableEntity) Error

func (*ChargebackReversalPaymentUnprocessableEntity) IsClientError

IsClientError returns true when this chargeback reversal payment unprocessable entity response has a 4xx status code

func (*ChargebackReversalPaymentUnprocessableEntity) IsCode

IsCode returns true when this chargeback reversal payment unprocessable entity response a status code equal to that given

func (*ChargebackReversalPaymentUnprocessableEntity) IsRedirect

IsRedirect returns true when this chargeback reversal payment unprocessable entity response has a 3xx status code

func (*ChargebackReversalPaymentUnprocessableEntity) IsServerError

IsServerError returns true when this chargeback reversal payment unprocessable entity response has a 5xx status code

func (*ChargebackReversalPaymentUnprocessableEntity) IsSuccess

IsSuccess returns true when this chargeback reversal payment unprocessable entity response has a 2xx status code

func (*ChargebackReversalPaymentUnprocessableEntity) String

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 ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CancelScheduledPaymentTransactionByExternalKey(ctx context.Context, params *CancelScheduledPaymentTransactionByExternalKeyParams) (*CancelScheduledPaymentTransactionByExternalKeyNoContent, error)

	CancelScheduledPaymentTransactionByID(ctx context.Context, params *CancelScheduledPaymentTransactionByIDParams) (*CancelScheduledPaymentTransactionByIDNoContent, error)

	CaptureAuthorization(ctx context.Context, params *CaptureAuthorizationParams) (*CaptureAuthorizationCreated, error)

	CaptureAuthorizationByExternalKey(ctx context.Context, params *CaptureAuthorizationByExternalKeyParams) (*CaptureAuthorizationByExternalKeyCreated, error)

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

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

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

	ChargebackReversalPaymentByExternalKey(ctx context.Context, params *ChargebackReversalPaymentByExternalKeyParams) (*ChargebackReversalPaymentByExternalKeyCreated, error)

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

	CompleteTransactionByExternalKey(ctx context.Context, params *CompleteTransactionByExternalKeyParams) (*CompleteTransactionByExternalKeyNoContent, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	VoidPayment(ctx context.Context, params *VoidPaymentParams) (*VoidPaymentNoContent, error)

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

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type CompleteTransactionBadGateway

type CompleteTransactionBadGateway struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCompleteTransactionBadGateway

func NewCompleteTransactionBadGateway() *CompleteTransactionBadGateway

NewCompleteTransactionBadGateway creates a CompleteTransactionBadGateway with default headers values

func (*CompleteTransactionBadGateway) Code

Code gets the status code for the complete transaction bad gateway response

func (*CompleteTransactionBadGateway) Error

func (*CompleteTransactionBadGateway) IsClientError

func (o *CompleteTransactionBadGateway) IsClientError() bool

IsClientError returns true when this complete transaction bad gateway response has a 4xx status code

func (*CompleteTransactionBadGateway) IsCode

func (o *CompleteTransactionBadGateway) IsCode(code int) bool

IsCode returns true when this complete transaction bad gateway response a status code equal to that given

func (*CompleteTransactionBadGateway) IsRedirect

func (o *CompleteTransactionBadGateway) IsRedirect() bool

IsRedirect returns true when this complete transaction bad gateway response has a 3xx status code

func (*CompleteTransactionBadGateway) IsServerError

func (o *CompleteTransactionBadGateway) IsServerError() bool

IsServerError returns true when this complete transaction bad gateway response has a 5xx status code

func (*CompleteTransactionBadGateway) IsSuccess

func (o *CompleteTransactionBadGateway) IsSuccess() bool

IsSuccess returns true when this complete transaction bad gateway response has a 2xx status code

func (*CompleteTransactionBadGateway) String

type CompleteTransactionBadRequest

type CompleteTransactionBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewCompleteTransactionBadRequest

func NewCompleteTransactionBadRequest() *CompleteTransactionBadRequest

NewCompleteTransactionBadRequest creates a CompleteTransactionBadRequest with default headers values

func (*CompleteTransactionBadRequest) Code

Code gets the status code for the complete transaction bad request response

func (*CompleteTransactionBadRequest) Error

func (*CompleteTransactionBadRequest) IsClientError

func (o *CompleteTransactionBadRequest) IsClientError() bool

IsClientError returns true when this complete transaction bad request response has a 4xx status code

func (*CompleteTransactionBadRequest) IsCode

func (o *CompleteTransactionBadRequest) IsCode(code int) bool

IsCode returns true when this complete transaction bad request response a status code equal to that given

func (*CompleteTransactionBadRequest) IsRedirect

func (o *CompleteTransactionBadRequest) IsRedirect() bool

IsRedirect returns true when this complete transaction bad request response has a 3xx status code

func (*CompleteTransactionBadRequest) IsServerError

func (o *CompleteTransactionBadRequest) IsServerError() bool

IsServerError returns true when this complete transaction bad request response has a 5xx status code

func (*CompleteTransactionBadRequest) IsSuccess

func (o *CompleteTransactionBadRequest) IsSuccess() bool

IsSuccess returns true when this complete transaction bad request response has a 2xx status code

func (*CompleteTransactionBadRequest) String

type CompleteTransactionByExternalKeyBadGateway

type CompleteTransactionByExternalKeyBadGateway struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCompleteTransactionByExternalKeyBadGateway

func NewCompleteTransactionByExternalKeyBadGateway() *CompleteTransactionByExternalKeyBadGateway

NewCompleteTransactionByExternalKeyBadGateway creates a CompleteTransactionByExternalKeyBadGateway with default headers values

func (*CompleteTransactionByExternalKeyBadGateway) Code

Code gets the status code for the complete transaction by external key bad gateway response

func (*CompleteTransactionByExternalKeyBadGateway) Error

func (*CompleteTransactionByExternalKeyBadGateway) IsClientError

IsClientError returns true when this complete transaction by external key bad gateway response has a 4xx status code

func (*CompleteTransactionByExternalKeyBadGateway) IsCode

IsCode returns true when this complete transaction by external key bad gateway response a status code equal to that given

func (*CompleteTransactionByExternalKeyBadGateway) IsRedirect

IsRedirect returns true when this complete transaction by external key bad gateway response has a 3xx status code

func (*CompleteTransactionByExternalKeyBadGateway) IsServerError

IsServerError returns true when this complete transaction by external key bad gateway response has a 5xx status code

func (*CompleteTransactionByExternalKeyBadGateway) IsSuccess

IsSuccess returns true when this complete transaction by external key bad gateway response has a 2xx status code

func (*CompleteTransactionByExternalKeyBadGateway) String

type CompleteTransactionByExternalKeyGatewayTimeout

type CompleteTransactionByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCompleteTransactionByExternalKeyGatewayTimeout

func NewCompleteTransactionByExternalKeyGatewayTimeout() *CompleteTransactionByExternalKeyGatewayTimeout

NewCompleteTransactionByExternalKeyGatewayTimeout creates a CompleteTransactionByExternalKeyGatewayTimeout with default headers values

func (*CompleteTransactionByExternalKeyGatewayTimeout) Code

Code gets the status code for the complete transaction by external key gateway timeout response

func (*CompleteTransactionByExternalKeyGatewayTimeout) Error

func (*CompleteTransactionByExternalKeyGatewayTimeout) IsClientError

IsClientError returns true when this complete transaction by external key gateway timeout response has a 4xx status code

func (*CompleteTransactionByExternalKeyGatewayTimeout) IsCode

IsCode returns true when this complete transaction by external key gateway timeout response a status code equal to that given

func (*CompleteTransactionByExternalKeyGatewayTimeout) IsRedirect

IsRedirect returns true when this complete transaction by external key gateway timeout response has a 3xx status code

func (*CompleteTransactionByExternalKeyGatewayTimeout) IsServerError

IsServerError returns true when this complete transaction by external key gateway timeout response has a 5xx status code

func (*CompleteTransactionByExternalKeyGatewayTimeout) IsSuccess

IsSuccess returns true when this complete transaction by external key gateway timeout response has a 2xx status code

func (*CompleteTransactionByExternalKeyGatewayTimeout) String

type CompleteTransactionByExternalKeyNoContent

type CompleteTransactionByExternalKeyNoContent struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyNoContent describes a response with status code 204, with default header values.

Successful operation

func NewCompleteTransactionByExternalKeyNoContent

func NewCompleteTransactionByExternalKeyNoContent() *CompleteTransactionByExternalKeyNoContent

NewCompleteTransactionByExternalKeyNoContent creates a CompleteTransactionByExternalKeyNoContent with default headers values

func (*CompleteTransactionByExternalKeyNoContent) Code

Code gets the status code for the complete transaction by external key no content response

func (*CompleteTransactionByExternalKeyNoContent) Error

func (*CompleteTransactionByExternalKeyNoContent) IsClientError

IsClientError returns true when this complete transaction by external key no content response has a 4xx status code

func (*CompleteTransactionByExternalKeyNoContent) IsCode

IsCode returns true when this complete transaction by external key no content response a status code equal to that given

func (*CompleteTransactionByExternalKeyNoContent) IsRedirect

IsRedirect returns true when this complete transaction by external key no content response has a 3xx status code

func (*CompleteTransactionByExternalKeyNoContent) IsServerError

IsServerError returns true when this complete transaction by external key no content response has a 5xx status code

func (*CompleteTransactionByExternalKeyNoContent) IsSuccess

IsSuccess returns true when this complete transaction by external key no content response has a 2xx status code

func (*CompleteTransactionByExternalKeyNoContent) String

type CompleteTransactionByExternalKeyNotFound

type CompleteTransactionByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewCompleteTransactionByExternalKeyNotFound

func NewCompleteTransactionByExternalKeyNotFound() *CompleteTransactionByExternalKeyNotFound

NewCompleteTransactionByExternalKeyNotFound creates a CompleteTransactionByExternalKeyNotFound with default headers values

func (*CompleteTransactionByExternalKeyNotFound) Code

Code gets the status code for the complete transaction by external key not found response

func (*CompleteTransactionByExternalKeyNotFound) Error

func (*CompleteTransactionByExternalKeyNotFound) IsClientError

IsClientError returns true when this complete transaction by external key not found response has a 4xx status code

func (*CompleteTransactionByExternalKeyNotFound) IsCode

IsCode returns true when this complete transaction by external key not found response a status code equal to that given

func (*CompleteTransactionByExternalKeyNotFound) IsRedirect

IsRedirect returns true when this complete transaction by external key not found response has a 3xx status code

func (*CompleteTransactionByExternalKeyNotFound) IsServerError

IsServerError returns true when this complete transaction by external key not found response has a 5xx status code

func (*CompleteTransactionByExternalKeyNotFound) IsSuccess

IsSuccess returns true when this complete transaction by external key not found response has a 2xx status code

func (*CompleteTransactionByExternalKeyNotFound) String

type CompleteTransactionByExternalKeyParams

type CompleteTransactionByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCompleteTransactionByExternalKeyParamsWithContext

func NewCompleteTransactionByExternalKeyParamsWithContext(ctx context.Context) *CompleteTransactionByExternalKeyParams

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

func NewCompleteTransactionByExternalKeyParamsWithHTTPClient

func NewCompleteTransactionByExternalKeyParamsWithHTTPClient(client *http.Client) *CompleteTransactionByExternalKeyParams

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

func NewCompleteTransactionByExternalKeyParamsWithTimeout

func NewCompleteTransactionByExternalKeyParamsWithTimeout(timeout time.Duration) *CompleteTransactionByExternalKeyParams

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

func (*CompleteTransactionByExternalKeyParams) SetBody

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

func (*CompleteTransactionByExternalKeyParams) SetContext

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

func (*CompleteTransactionByExternalKeyParams) SetControlPluginName

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

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

func (*CompleteTransactionByExternalKeyParams) SetDefaults

func (o *CompleteTransactionByExternalKeyParams) SetDefaults()

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

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

func (*CompleteTransactionByExternalKeyParams) SetHTTPClient

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

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

func (*CompleteTransactionByExternalKeyParams) SetPluginProperty

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

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

func (*CompleteTransactionByExternalKeyParams) SetTimeout

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

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

func (*CompleteTransactionByExternalKeyParams) SetXKillbillComment

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

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

func (*CompleteTransactionByExternalKeyParams) SetXKillbillCreatedBy

func (o *CompleteTransactionByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*CompleteTransactionByExternalKeyParams) SetXKillbillReason

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

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

func (*CompleteTransactionByExternalKeyParams) WithBody

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

func (*CompleteTransactionByExternalKeyParams) WithContext

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

func (*CompleteTransactionByExternalKeyParams) WithControlPluginName

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

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

func (*CompleteTransactionByExternalKeyParams) WithDefaults

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

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

func (*CompleteTransactionByExternalKeyParams) WithHTTPClient

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

func (*CompleteTransactionByExternalKeyParams) WithPluginProperty

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

func (*CompleteTransactionByExternalKeyParams) WithTimeout

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

func (*CompleteTransactionByExternalKeyParams) WithXKillbillComment

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

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

func (*CompleteTransactionByExternalKeyParams) WithXKillbillCreatedBy

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

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

func (*CompleteTransactionByExternalKeyParams) WithXKillbillReason

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

func (*CompleteTransactionByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteTransactionByExternalKeyPaymentRequired

type CompleteTransactionByExternalKeyPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCompleteTransactionByExternalKeyPaymentRequired

func NewCompleteTransactionByExternalKeyPaymentRequired() *CompleteTransactionByExternalKeyPaymentRequired

NewCompleteTransactionByExternalKeyPaymentRequired creates a CompleteTransactionByExternalKeyPaymentRequired with default headers values

func (*CompleteTransactionByExternalKeyPaymentRequired) Code

Code gets the status code for the complete transaction by external key payment required response

func (*CompleteTransactionByExternalKeyPaymentRequired) Error

func (*CompleteTransactionByExternalKeyPaymentRequired) IsClientError

IsClientError returns true when this complete transaction by external key payment required response has a 4xx status code

func (*CompleteTransactionByExternalKeyPaymentRequired) IsCode

IsCode returns true when this complete transaction by external key payment required response a status code equal to that given

func (*CompleteTransactionByExternalKeyPaymentRequired) IsRedirect

IsRedirect returns true when this complete transaction by external key payment required response has a 3xx status code

func (*CompleteTransactionByExternalKeyPaymentRequired) IsServerError

IsServerError returns true when this complete transaction by external key payment required response has a 5xx status code

func (*CompleteTransactionByExternalKeyPaymentRequired) IsSuccess

IsSuccess returns true when this complete transaction by external key payment required response has a 2xx status code

func (*CompleteTransactionByExternalKeyPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCompleteTransactionByExternalKeyServiceUnavailable

func NewCompleteTransactionByExternalKeyServiceUnavailable() *CompleteTransactionByExternalKeyServiceUnavailable

NewCompleteTransactionByExternalKeyServiceUnavailable creates a CompleteTransactionByExternalKeyServiceUnavailable with default headers values

func (*CompleteTransactionByExternalKeyServiceUnavailable) Code

Code gets the status code for the complete transaction by external key service unavailable response

func (*CompleteTransactionByExternalKeyServiceUnavailable) Error

func (*CompleteTransactionByExternalKeyServiceUnavailable) IsClientError

IsClientError returns true when this complete transaction by external key service unavailable response has a 4xx status code

func (*CompleteTransactionByExternalKeyServiceUnavailable) IsCode

IsCode returns true when this complete transaction by external key service unavailable response a status code equal to that given

func (*CompleteTransactionByExternalKeyServiceUnavailable) IsRedirect

IsRedirect returns true when this complete transaction by external key service unavailable response has a 3xx status code

func (*CompleteTransactionByExternalKeyServiceUnavailable) IsServerError

IsServerError returns true when this complete transaction by external key service unavailable response has a 5xx status code

func (*CompleteTransactionByExternalKeyServiceUnavailable) IsSuccess

IsSuccess returns true when this complete transaction by external key service unavailable response has a 2xx status code

func (*CompleteTransactionByExternalKeyServiceUnavailable) String

type CompleteTransactionByExternalKeyUnprocessableEntity

type CompleteTransactionByExternalKeyUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCompleteTransactionByExternalKeyUnprocessableEntity

func NewCompleteTransactionByExternalKeyUnprocessableEntity() *CompleteTransactionByExternalKeyUnprocessableEntity

NewCompleteTransactionByExternalKeyUnprocessableEntity creates a CompleteTransactionByExternalKeyUnprocessableEntity with default headers values

func (*CompleteTransactionByExternalKeyUnprocessableEntity) Code

Code gets the status code for the complete transaction by external key unprocessable entity response

func (*CompleteTransactionByExternalKeyUnprocessableEntity) Error

func (*CompleteTransactionByExternalKeyUnprocessableEntity) IsClientError

IsClientError returns true when this complete transaction by external key unprocessable entity response has a 4xx status code

func (*CompleteTransactionByExternalKeyUnprocessableEntity) IsCode

IsCode returns true when this complete transaction by external key unprocessable entity response a status code equal to that given

func (*CompleteTransactionByExternalKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this complete transaction by external key unprocessable entity response has a 3xx status code

func (*CompleteTransactionByExternalKeyUnprocessableEntity) IsServerError

IsServerError returns true when this complete transaction by external key unprocessable entity response has a 5xx status code

func (*CompleteTransactionByExternalKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this complete transaction by external key unprocessable entity response has a 2xx status code

func (*CompleteTransactionByExternalKeyUnprocessableEntity) String

type CompleteTransactionGatewayTimeout

type CompleteTransactionGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCompleteTransactionGatewayTimeout

func NewCompleteTransactionGatewayTimeout() *CompleteTransactionGatewayTimeout

NewCompleteTransactionGatewayTimeout creates a CompleteTransactionGatewayTimeout with default headers values

func (*CompleteTransactionGatewayTimeout) Code

Code gets the status code for the complete transaction gateway timeout response

func (*CompleteTransactionGatewayTimeout) Error

func (*CompleteTransactionGatewayTimeout) IsClientError

func (o *CompleteTransactionGatewayTimeout) IsClientError() bool

IsClientError returns true when this complete transaction gateway timeout response has a 4xx status code

func (*CompleteTransactionGatewayTimeout) IsCode

func (o *CompleteTransactionGatewayTimeout) IsCode(code int) bool

IsCode returns true when this complete transaction gateway timeout response a status code equal to that given

func (*CompleteTransactionGatewayTimeout) IsRedirect

func (o *CompleteTransactionGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this complete transaction gateway timeout response has a 3xx status code

func (*CompleteTransactionGatewayTimeout) IsServerError

func (o *CompleteTransactionGatewayTimeout) IsServerError() bool

IsServerError returns true when this complete transaction gateway timeout response has a 5xx status code

func (*CompleteTransactionGatewayTimeout) IsSuccess

func (o *CompleteTransactionGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this complete transaction gateway timeout response has a 2xx status code

func (*CompleteTransactionGatewayTimeout) String

type CompleteTransactionNoContent

type CompleteTransactionNoContent struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionNoContent describes a response with status code 204, with default header values.

Successful operation

func NewCompleteTransactionNoContent

func NewCompleteTransactionNoContent() *CompleteTransactionNoContent

NewCompleteTransactionNoContent creates a CompleteTransactionNoContent with default headers values

func (*CompleteTransactionNoContent) Code

Code gets the status code for the complete transaction no content response

func (*CompleteTransactionNoContent) Error

func (*CompleteTransactionNoContent) IsClientError

func (o *CompleteTransactionNoContent) IsClientError() bool

IsClientError returns true when this complete transaction no content response has a 4xx status code

func (*CompleteTransactionNoContent) IsCode

func (o *CompleteTransactionNoContent) IsCode(code int) bool

IsCode returns true when this complete transaction no content response a status code equal to that given

func (*CompleteTransactionNoContent) IsRedirect

func (o *CompleteTransactionNoContent) IsRedirect() bool

IsRedirect returns true when this complete transaction no content response has a 3xx status code

func (*CompleteTransactionNoContent) IsServerError

func (o *CompleteTransactionNoContent) IsServerError() bool

IsServerError returns true when this complete transaction no content response has a 5xx status code

func (*CompleteTransactionNoContent) IsSuccess

func (o *CompleteTransactionNoContent) IsSuccess() bool

IsSuccess returns true when this complete transaction no content response has a 2xx status code

func (*CompleteTransactionNoContent) String

type CompleteTransactionNotFound

type CompleteTransactionNotFound struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewCompleteTransactionNotFound

func NewCompleteTransactionNotFound() *CompleteTransactionNotFound

NewCompleteTransactionNotFound creates a CompleteTransactionNotFound with default headers values

func (*CompleteTransactionNotFound) Code

func (o *CompleteTransactionNotFound) Code() int

Code gets the status code for the complete transaction not found response

func (*CompleteTransactionNotFound) Error

func (*CompleteTransactionNotFound) IsClientError

func (o *CompleteTransactionNotFound) IsClientError() bool

IsClientError returns true when this complete transaction not found response has a 4xx status code

func (*CompleteTransactionNotFound) IsCode

func (o *CompleteTransactionNotFound) IsCode(code int) bool

IsCode returns true when this complete transaction not found response a status code equal to that given

func (*CompleteTransactionNotFound) IsRedirect

func (o *CompleteTransactionNotFound) IsRedirect() bool

IsRedirect returns true when this complete transaction not found response has a 3xx status code

func (*CompleteTransactionNotFound) IsServerError

func (o *CompleteTransactionNotFound) IsServerError() bool

IsServerError returns true when this complete transaction not found response has a 5xx status code

func (*CompleteTransactionNotFound) IsSuccess

func (o *CompleteTransactionNotFound) IsSuccess() bool

IsSuccess returns true when this complete transaction not found response has a 2xx status code

func (*CompleteTransactionNotFound) String

func (o *CompleteTransactionNotFound) String() string

type CompleteTransactionParams

type CompleteTransactionParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCompleteTransactionParamsWithContext

func NewCompleteTransactionParamsWithContext(ctx context.Context) *CompleteTransactionParams

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

func NewCompleteTransactionParamsWithHTTPClient

func NewCompleteTransactionParamsWithHTTPClient(client *http.Client) *CompleteTransactionParams

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

func NewCompleteTransactionParamsWithTimeout

func NewCompleteTransactionParamsWithTimeout(timeout time.Duration) *CompleteTransactionParams

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

func (*CompleteTransactionParams) SetBody

SetBody adds the body to the complete transaction params

func (*CompleteTransactionParams) SetContext

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

SetContext adds the context to the complete transaction params

func (*CompleteTransactionParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the complete transaction params

func (*CompleteTransactionParams) SetDefaults

func (o *CompleteTransactionParams) SetDefaults()

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

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

func (*CompleteTransactionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete transaction params

func (*CompleteTransactionParams) SetPaymentID

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

SetPaymentID adds the paymentId to the complete transaction params

func (*CompleteTransactionParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the complete transaction params

func (*CompleteTransactionParams) SetTimeout

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

SetTimeout adds the timeout to the complete transaction params

func (*CompleteTransactionParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the complete transaction params

func (*CompleteTransactionParams) SetXKillbillCreatedBy

func (o *CompleteTransactionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the complete transaction params

func (*CompleteTransactionParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the complete transaction params

func (*CompleteTransactionParams) WithBody

WithBody adds the body to the complete transaction params

func (*CompleteTransactionParams) WithContext

WithContext adds the context to the complete transaction params

func (*CompleteTransactionParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the complete transaction params

func (*CompleteTransactionParams) WithDefaults

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

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

func (*CompleteTransactionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the complete transaction params

func (*CompleteTransactionParams) WithPaymentID

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

WithPaymentID adds the paymentID to the complete transaction params

func (*CompleteTransactionParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the complete transaction params

func (*CompleteTransactionParams) WithTimeout

WithTimeout adds the timeout to the complete transaction params

func (*CompleteTransactionParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the complete transaction params

func (*CompleteTransactionParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the complete transaction params

func (*CompleteTransactionParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the complete transaction params

func (*CompleteTransactionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteTransactionPaymentRequired

type CompleteTransactionPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCompleteTransactionPaymentRequired

func NewCompleteTransactionPaymentRequired() *CompleteTransactionPaymentRequired

NewCompleteTransactionPaymentRequired creates a CompleteTransactionPaymentRequired with default headers values

func (*CompleteTransactionPaymentRequired) Code

Code gets the status code for the complete transaction payment required response

func (*CompleteTransactionPaymentRequired) Error

func (*CompleteTransactionPaymentRequired) IsClientError

func (o *CompleteTransactionPaymentRequired) IsClientError() bool

IsClientError returns true when this complete transaction payment required response has a 4xx status code

func (*CompleteTransactionPaymentRequired) IsCode

IsCode returns true when this complete transaction payment required response a status code equal to that given

func (*CompleteTransactionPaymentRequired) IsRedirect

func (o *CompleteTransactionPaymentRequired) IsRedirect() bool

IsRedirect returns true when this complete transaction payment required response has a 3xx status code

func (*CompleteTransactionPaymentRequired) IsServerError

func (o *CompleteTransactionPaymentRequired) IsServerError() bool

IsServerError returns true when this complete transaction payment required response has a 5xx status code

func (*CompleteTransactionPaymentRequired) IsSuccess

IsSuccess returns true when this complete transaction payment required response has a 2xx status code

func (*CompleteTransactionPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCompleteTransactionServiceUnavailable

func NewCompleteTransactionServiceUnavailable() *CompleteTransactionServiceUnavailable

NewCompleteTransactionServiceUnavailable creates a CompleteTransactionServiceUnavailable with default headers values

func (*CompleteTransactionServiceUnavailable) Code

Code gets the status code for the complete transaction service unavailable response

func (*CompleteTransactionServiceUnavailable) Error

func (*CompleteTransactionServiceUnavailable) IsClientError

func (o *CompleteTransactionServiceUnavailable) IsClientError() bool

IsClientError returns true when this complete transaction service unavailable response has a 4xx status code

func (*CompleteTransactionServiceUnavailable) IsCode

IsCode returns true when this complete transaction service unavailable response a status code equal to that given

func (*CompleteTransactionServiceUnavailable) IsRedirect

IsRedirect returns true when this complete transaction service unavailable response has a 3xx status code

func (*CompleteTransactionServiceUnavailable) IsServerError

func (o *CompleteTransactionServiceUnavailable) IsServerError() bool

IsServerError returns true when this complete transaction service unavailable response has a 5xx status code

func (*CompleteTransactionServiceUnavailable) IsSuccess

IsSuccess returns true when this complete transaction service unavailable response has a 2xx status code

func (*CompleteTransactionServiceUnavailable) String

type CompleteTransactionUnprocessableEntity

type CompleteTransactionUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

CompleteTransactionUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCompleteTransactionUnprocessableEntity

func NewCompleteTransactionUnprocessableEntity() *CompleteTransactionUnprocessableEntity

NewCompleteTransactionUnprocessableEntity creates a CompleteTransactionUnprocessableEntity with default headers values

func (*CompleteTransactionUnprocessableEntity) Code

Code gets the status code for the complete transaction unprocessable entity response

func (*CompleteTransactionUnprocessableEntity) Error

func (*CompleteTransactionUnprocessableEntity) IsClientError

func (o *CompleteTransactionUnprocessableEntity) IsClientError() bool

IsClientError returns true when this complete transaction unprocessable entity response has a 4xx status code

func (*CompleteTransactionUnprocessableEntity) IsCode

IsCode returns true when this complete transaction unprocessable entity response a status code equal to that given

func (*CompleteTransactionUnprocessableEntity) IsRedirect

IsRedirect returns true when this complete transaction unprocessable entity response has a 3xx status code

func (*CompleteTransactionUnprocessableEntity) IsServerError

func (o *CompleteTransactionUnprocessableEntity) IsServerError() bool

IsServerError returns true when this complete transaction unprocessable entity response has a 5xx status code

func (*CompleteTransactionUnprocessableEntity) IsSuccess

IsSuccess returns true when this complete transaction unprocessable entity response has a 2xx status code

func (*CompleteTransactionUnprocessableEntity) String

type CreateComboPaymentBadGateway

type CreateComboPaymentBadGateway struct {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewCreateComboPaymentBadGateway

func NewCreateComboPaymentBadGateway() *CreateComboPaymentBadGateway

NewCreateComboPaymentBadGateway creates a CreateComboPaymentBadGateway with default headers values

func (*CreateComboPaymentBadGateway) Code

Code gets the status code for the create combo payment bad gateway response

func (*CreateComboPaymentBadGateway) Error

func (*CreateComboPaymentBadGateway) IsClientError

func (o *CreateComboPaymentBadGateway) IsClientError() bool

IsClientError returns true when this create combo payment bad gateway response has a 4xx status code

func (*CreateComboPaymentBadGateway) IsCode

func (o *CreateComboPaymentBadGateway) IsCode(code int) bool

IsCode returns true when this create combo payment bad gateway response a status code equal to that given

func (*CreateComboPaymentBadGateway) IsRedirect

func (o *CreateComboPaymentBadGateway) IsRedirect() bool

IsRedirect returns true when this create combo payment bad gateway response has a 3xx status code

func (*CreateComboPaymentBadGateway) IsServerError

func (o *CreateComboPaymentBadGateway) IsServerError() bool

IsServerError returns true when this create combo payment bad gateway response has a 5xx status code

func (*CreateComboPaymentBadGateway) IsSuccess

func (o *CreateComboPaymentBadGateway) IsSuccess() bool

IsSuccess returns true when this create combo payment bad gateway response has a 2xx status code

func (*CreateComboPaymentBadGateway) String

type CreateComboPaymentBadRequest

type CreateComboPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentBadRequest describes a response with status code 400, with default header values.

Invalid data for Account or PaymentMethod

func NewCreateComboPaymentBadRequest

func NewCreateComboPaymentBadRequest() *CreateComboPaymentBadRequest

NewCreateComboPaymentBadRequest creates a CreateComboPaymentBadRequest with default headers values

func (*CreateComboPaymentBadRequest) Code

Code gets the status code for the create combo payment bad request response

func (*CreateComboPaymentBadRequest) Error

func (*CreateComboPaymentBadRequest) IsClientError

func (o *CreateComboPaymentBadRequest) IsClientError() bool

IsClientError returns true when this create combo payment bad request response has a 4xx status code

func (*CreateComboPaymentBadRequest) IsCode

func (o *CreateComboPaymentBadRequest) IsCode(code int) bool

IsCode returns true when this create combo payment bad request response a status code equal to that given

func (*CreateComboPaymentBadRequest) IsRedirect

func (o *CreateComboPaymentBadRequest) IsRedirect() bool

IsRedirect returns true when this create combo payment bad request response has a 3xx status code

func (*CreateComboPaymentBadRequest) IsServerError

func (o *CreateComboPaymentBadRequest) IsServerError() bool

IsServerError returns true when this create combo payment bad request response has a 5xx status code

func (*CreateComboPaymentBadRequest) IsSuccess

func (o *CreateComboPaymentBadRequest) IsSuccess() bool

IsSuccess returns true when this create combo payment bad request response has a 2xx status code

func (*CreateComboPaymentBadRequest) String

type CreateComboPaymentCreated

type CreateComboPaymentCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewCreateComboPaymentCreated

func NewCreateComboPaymentCreated() *CreateComboPaymentCreated

NewCreateComboPaymentCreated creates a CreateComboPaymentCreated with default headers values

func (*CreateComboPaymentCreated) Code

func (o *CreateComboPaymentCreated) Code() int

Code gets the status code for the create combo payment created response

func (*CreateComboPaymentCreated) Error

func (o *CreateComboPaymentCreated) Error() string

func (*CreateComboPaymentCreated) GetPayload

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

func (*CreateComboPaymentCreated) IsClientError

func (o *CreateComboPaymentCreated) IsClientError() bool

IsClientError returns true when this create combo payment created response has a 4xx status code

func (*CreateComboPaymentCreated) IsCode

func (o *CreateComboPaymentCreated) IsCode(code int) bool

IsCode returns true when this create combo payment created response a status code equal to that given

func (*CreateComboPaymentCreated) IsRedirect

func (o *CreateComboPaymentCreated) IsRedirect() bool

IsRedirect returns true when this create combo payment created response has a 3xx status code

func (*CreateComboPaymentCreated) IsServerError

func (o *CreateComboPaymentCreated) IsServerError() bool

IsServerError returns true when this create combo payment created response has a 5xx status code

func (*CreateComboPaymentCreated) IsSuccess

func (o *CreateComboPaymentCreated) IsSuccess() bool

IsSuccess returns true when this create combo payment created response has a 2xx status code

func (*CreateComboPaymentCreated) String

func (o *CreateComboPaymentCreated) String() string

type CreateComboPaymentGatewayTimeout

type CreateComboPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewCreateComboPaymentGatewayTimeout

func NewCreateComboPaymentGatewayTimeout() *CreateComboPaymentGatewayTimeout

NewCreateComboPaymentGatewayTimeout creates a CreateComboPaymentGatewayTimeout with default headers values

func (*CreateComboPaymentGatewayTimeout) Code

Code gets the status code for the create combo payment gateway timeout response

func (*CreateComboPaymentGatewayTimeout) Error

func (*CreateComboPaymentGatewayTimeout) IsClientError

func (o *CreateComboPaymentGatewayTimeout) IsClientError() bool

IsClientError returns true when this create combo payment gateway timeout response has a 4xx status code

func (*CreateComboPaymentGatewayTimeout) IsCode

func (o *CreateComboPaymentGatewayTimeout) IsCode(code int) bool

IsCode returns true when this create combo payment gateway timeout response a status code equal to that given

func (*CreateComboPaymentGatewayTimeout) IsRedirect

func (o *CreateComboPaymentGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this create combo payment gateway timeout response has a 3xx status code

func (*CreateComboPaymentGatewayTimeout) IsServerError

func (o *CreateComboPaymentGatewayTimeout) IsServerError() bool

IsServerError returns true when this create combo payment gateway timeout response has a 5xx status code

func (*CreateComboPaymentGatewayTimeout) IsSuccess

func (o *CreateComboPaymentGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this create combo payment gateway timeout response has a 2xx status code

func (*CreateComboPaymentGatewayTimeout) String

type CreateComboPaymentParams

type CreateComboPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.ComboPaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCreateComboPaymentParamsWithContext

func NewCreateComboPaymentParamsWithContext(ctx context.Context) *CreateComboPaymentParams

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

func NewCreateComboPaymentParamsWithHTTPClient

func NewCreateComboPaymentParamsWithHTTPClient(client *http.Client) *CreateComboPaymentParams

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

func NewCreateComboPaymentParamsWithTimeout

func NewCreateComboPaymentParamsWithTimeout(timeout time.Duration) *CreateComboPaymentParams

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

func (*CreateComboPaymentParams) SetBody

SetBody adds the body to the create combo payment params

func (*CreateComboPaymentParams) SetContext

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

SetContext adds the context to the create combo payment params

func (*CreateComboPaymentParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the create combo payment params

func (*CreateComboPaymentParams) SetDefaults

func (o *CreateComboPaymentParams) SetDefaults()

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

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

func (*CreateComboPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create combo payment params

func (*CreateComboPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the create combo payment params

func (*CreateComboPaymentParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create combo payment params

func (*CreateComboPaymentParams) SetXKillbillCreatedBy

func (o *CreateComboPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create combo payment params

func (*CreateComboPaymentParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create combo payment params

func (*CreateComboPaymentParams) WithBody

WithBody adds the body to the create combo payment params

func (*CreateComboPaymentParams) WithContext

WithContext adds the context to the create combo payment params

func (*CreateComboPaymentParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the create combo payment params

func (*CreateComboPaymentParams) WithDefaults

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

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

func (*CreateComboPaymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create combo payment params

func (*CreateComboPaymentParams) WithTimeout

WithTimeout adds the timeout to the create combo payment params

func (*CreateComboPaymentParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create combo payment params

func (*CreateComboPaymentParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create combo payment params

func (*CreateComboPaymentParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create combo payment params

func (*CreateComboPaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateComboPaymentPaymentRequired

type CreateComboPaymentPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewCreateComboPaymentPaymentRequired

func NewCreateComboPaymentPaymentRequired() *CreateComboPaymentPaymentRequired

NewCreateComboPaymentPaymentRequired creates a CreateComboPaymentPaymentRequired with default headers values

func (*CreateComboPaymentPaymentRequired) Code

Code gets the status code for the create combo payment payment required response

func (*CreateComboPaymentPaymentRequired) Error

func (*CreateComboPaymentPaymentRequired) IsClientError

func (o *CreateComboPaymentPaymentRequired) IsClientError() bool

IsClientError returns true when this create combo payment payment required response has a 4xx status code

func (*CreateComboPaymentPaymentRequired) IsCode

func (o *CreateComboPaymentPaymentRequired) IsCode(code int) bool

IsCode returns true when this create combo payment payment required response a status code equal to that given

func (*CreateComboPaymentPaymentRequired) IsRedirect

func (o *CreateComboPaymentPaymentRequired) IsRedirect() bool

IsRedirect returns true when this create combo payment payment required response has a 3xx status code

func (*CreateComboPaymentPaymentRequired) IsServerError

func (o *CreateComboPaymentPaymentRequired) IsServerError() bool

IsServerError returns true when this create combo payment payment required response has a 5xx status code

func (*CreateComboPaymentPaymentRequired) IsSuccess

func (o *CreateComboPaymentPaymentRequired) IsSuccess() bool

IsSuccess returns true when this create combo payment payment required response has a 2xx status code

func (*CreateComboPaymentPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCreateComboPaymentServiceUnavailable

func NewCreateComboPaymentServiceUnavailable() *CreateComboPaymentServiceUnavailable

NewCreateComboPaymentServiceUnavailable creates a CreateComboPaymentServiceUnavailable with default headers values

func (*CreateComboPaymentServiceUnavailable) Code

Code gets the status code for the create combo payment service unavailable response

func (*CreateComboPaymentServiceUnavailable) Error

func (*CreateComboPaymentServiceUnavailable) IsClientError

func (o *CreateComboPaymentServiceUnavailable) IsClientError() bool

IsClientError returns true when this create combo payment service unavailable response has a 4xx status code

func (*CreateComboPaymentServiceUnavailable) IsCode

IsCode returns true when this create combo payment service unavailable response a status code equal to that given

func (*CreateComboPaymentServiceUnavailable) IsRedirect

IsRedirect returns true when this create combo payment service unavailable response has a 3xx status code

func (*CreateComboPaymentServiceUnavailable) IsServerError

func (o *CreateComboPaymentServiceUnavailable) IsServerError() bool

IsServerError returns true when this create combo payment service unavailable response has a 5xx status code

func (*CreateComboPaymentServiceUnavailable) IsSuccess

IsSuccess returns true when this create combo payment service unavailable response has a 2xx status code

func (*CreateComboPaymentServiceUnavailable) String

type CreateComboPaymentUnprocessableEntity

type CreateComboPaymentUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

CreateComboPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewCreateComboPaymentUnprocessableEntity

func NewCreateComboPaymentUnprocessableEntity() *CreateComboPaymentUnprocessableEntity

NewCreateComboPaymentUnprocessableEntity creates a CreateComboPaymentUnprocessableEntity with default headers values

func (*CreateComboPaymentUnprocessableEntity) Code

Code gets the status code for the create combo payment unprocessable entity response

func (*CreateComboPaymentUnprocessableEntity) Error

func (*CreateComboPaymentUnprocessableEntity) IsClientError

func (o *CreateComboPaymentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create combo payment unprocessable entity response has a 4xx status code

func (*CreateComboPaymentUnprocessableEntity) IsCode

IsCode returns true when this create combo payment unprocessable entity response a status code equal to that given

func (*CreateComboPaymentUnprocessableEntity) IsRedirect

IsRedirect returns true when this create combo payment unprocessable entity response has a 3xx status code

func (*CreateComboPaymentUnprocessableEntity) IsServerError

func (o *CreateComboPaymentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create combo payment unprocessable entity response has a 5xx status code

func (*CreateComboPaymentUnprocessableEntity) IsSuccess

IsSuccess returns true when this create combo payment unprocessable entity response has a 2xx status code

func (*CreateComboPaymentUnprocessableEntity) String

type CreatePaymentCustomFieldsBadRequest

type CreatePaymentCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreatePaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewCreatePaymentCustomFieldsBadRequest

func NewCreatePaymentCustomFieldsBadRequest() *CreatePaymentCustomFieldsBadRequest

NewCreatePaymentCustomFieldsBadRequest creates a CreatePaymentCustomFieldsBadRequest with default headers values

func (*CreatePaymentCustomFieldsBadRequest) Code

Code gets the status code for the create payment custom fields bad request response

func (*CreatePaymentCustomFieldsBadRequest) Error

func (*CreatePaymentCustomFieldsBadRequest) IsClientError

func (o *CreatePaymentCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this create payment custom fields bad request response has a 4xx status code

func (*CreatePaymentCustomFieldsBadRequest) IsCode

IsCode returns true when this create payment custom fields bad request response a status code equal to that given

func (*CreatePaymentCustomFieldsBadRequest) IsRedirect

func (o *CreatePaymentCustomFieldsBadRequest) IsRedirect() bool

IsRedirect returns true when this create payment custom fields bad request response has a 3xx status code

func (*CreatePaymentCustomFieldsBadRequest) IsServerError

func (o *CreatePaymentCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this create payment custom fields bad request response has a 5xx status code

func (*CreatePaymentCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this create payment custom fields bad request response has a 2xx status code

func (*CreatePaymentCustomFieldsBadRequest) String

type CreatePaymentCustomFieldsCreated

type CreatePaymentCustomFieldsCreated struct {
	Payload      []*kbmodel.CustomField
	HttpResponse runtime.ClientResponse
}

CreatePaymentCustomFieldsCreated describes a response with status code 201, with default header values.

Custom field created successfully

func NewCreatePaymentCustomFieldsCreated

func NewCreatePaymentCustomFieldsCreated() *CreatePaymentCustomFieldsCreated

NewCreatePaymentCustomFieldsCreated creates a CreatePaymentCustomFieldsCreated with default headers values

func (*CreatePaymentCustomFieldsCreated) Code

Code gets the status code for the create payment custom fields created response

func (*CreatePaymentCustomFieldsCreated) Error

func (*CreatePaymentCustomFieldsCreated) GetPayload

func (*CreatePaymentCustomFieldsCreated) IsClientError

func (o *CreatePaymentCustomFieldsCreated) IsClientError() bool

IsClientError returns true when this create payment custom fields created response has a 4xx status code

func (*CreatePaymentCustomFieldsCreated) IsCode

func (o *CreatePaymentCustomFieldsCreated) IsCode(code int) bool

IsCode returns true when this create payment custom fields created response a status code equal to that given

func (*CreatePaymentCustomFieldsCreated) IsRedirect

func (o *CreatePaymentCustomFieldsCreated) IsRedirect() bool

IsRedirect returns true when this create payment custom fields created response has a 3xx status code

func (*CreatePaymentCustomFieldsCreated) IsServerError

func (o *CreatePaymentCustomFieldsCreated) IsServerError() bool

IsServerError returns true when this create payment custom fields created response has a 5xx status code

func (*CreatePaymentCustomFieldsCreated) IsSuccess

func (o *CreatePaymentCustomFieldsCreated) IsSuccess() bool

IsSuccess returns true when this create payment custom fields created response has a 2xx status code

func (*CreatePaymentCustomFieldsCreated) String

type CreatePaymentCustomFieldsParams

type CreatePaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCreatePaymentCustomFieldsParamsWithContext

func NewCreatePaymentCustomFieldsParamsWithContext(ctx context.Context) *CreatePaymentCustomFieldsParams

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

func NewCreatePaymentCustomFieldsParamsWithHTTPClient

func NewCreatePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *CreatePaymentCustomFieldsParams

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

func NewCreatePaymentCustomFieldsParamsWithTimeout

func NewCreatePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *CreatePaymentCustomFieldsParams

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

func (*CreatePaymentCustomFieldsParams) SetBody

SetBody adds the body to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetContext

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

SetContext adds the context to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetDefaults

func (o *CreatePaymentCustomFieldsParams) SetDefaults()

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

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

func (*CreatePaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreatePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithBody

WithBody adds the body to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithContext

WithContext adds the context to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithDefaults

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

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

func (*CreatePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create payment custom fields params

func (*CreatePaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePaymentCustomFieldsReader

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

CreatePaymentCustomFieldsReader is a Reader for the CreatePaymentCustomFields structure.

func (*CreatePaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePaymentTagsBadRequest

type CreatePaymentTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreatePaymentTagsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewCreatePaymentTagsBadRequest

func NewCreatePaymentTagsBadRequest() *CreatePaymentTagsBadRequest

NewCreatePaymentTagsBadRequest creates a CreatePaymentTagsBadRequest with default headers values

func (*CreatePaymentTagsBadRequest) Code

func (o *CreatePaymentTagsBadRequest) Code() int

Code gets the status code for the create payment tags bad request response

func (*CreatePaymentTagsBadRequest) Error

func (*CreatePaymentTagsBadRequest) IsClientError

func (o *CreatePaymentTagsBadRequest) IsClientError() bool

IsClientError returns true when this create payment tags bad request response has a 4xx status code

func (*CreatePaymentTagsBadRequest) IsCode

func (o *CreatePaymentTagsBadRequest) IsCode(code int) bool

IsCode returns true when this create payment tags bad request response a status code equal to that given

func (*CreatePaymentTagsBadRequest) IsRedirect

func (o *CreatePaymentTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this create payment tags bad request response has a 3xx status code

func (*CreatePaymentTagsBadRequest) IsServerError

func (o *CreatePaymentTagsBadRequest) IsServerError() bool

IsServerError returns true when this create payment tags bad request response has a 5xx status code

func (*CreatePaymentTagsBadRequest) IsSuccess

func (o *CreatePaymentTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this create payment tags bad request response has a 2xx status code

func (*CreatePaymentTagsBadRequest) String

func (o *CreatePaymentTagsBadRequest) String() string

type CreatePaymentTagsCreated

type CreatePaymentTagsCreated struct {
	Payload      []*kbmodel.Tag
	HttpResponse runtime.ClientResponse
}

CreatePaymentTagsCreated describes a response with status code 201, with default header values.

Tag created successfully

func NewCreatePaymentTagsCreated

func NewCreatePaymentTagsCreated() *CreatePaymentTagsCreated

NewCreatePaymentTagsCreated creates a CreatePaymentTagsCreated with default headers values

func (*CreatePaymentTagsCreated) Code

func (o *CreatePaymentTagsCreated) Code() int

Code gets the status code for the create payment tags created response

func (*CreatePaymentTagsCreated) Error

func (o *CreatePaymentTagsCreated) Error() string

func (*CreatePaymentTagsCreated) GetPayload

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

func (*CreatePaymentTagsCreated) IsClientError

func (o *CreatePaymentTagsCreated) IsClientError() bool

IsClientError returns true when this create payment tags created response has a 4xx status code

func (*CreatePaymentTagsCreated) IsCode

func (o *CreatePaymentTagsCreated) IsCode(code int) bool

IsCode returns true when this create payment tags created response a status code equal to that given

func (*CreatePaymentTagsCreated) IsRedirect

func (o *CreatePaymentTagsCreated) IsRedirect() bool

IsRedirect returns true when this create payment tags created response has a 3xx status code

func (*CreatePaymentTagsCreated) IsServerError

func (o *CreatePaymentTagsCreated) IsServerError() bool

IsServerError returns true when this create payment tags created response has a 5xx status code

func (*CreatePaymentTagsCreated) IsSuccess

func (o *CreatePaymentTagsCreated) IsSuccess() bool

IsSuccess returns true when this create payment tags created response has a 2xx status code

func (*CreatePaymentTagsCreated) String

func (o *CreatePaymentTagsCreated) String() string

type CreatePaymentTagsParams

type CreatePaymentTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []strfmt.UUID

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewCreatePaymentTagsParamsWithContext

func NewCreatePaymentTagsParamsWithContext(ctx context.Context) *CreatePaymentTagsParams

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

func NewCreatePaymentTagsParamsWithHTTPClient

func NewCreatePaymentTagsParamsWithHTTPClient(client *http.Client) *CreatePaymentTagsParams

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

func NewCreatePaymentTagsParamsWithTimeout

func NewCreatePaymentTagsParamsWithTimeout(timeout time.Duration) *CreatePaymentTagsParams

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

func (*CreatePaymentTagsParams) SetBody

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

SetBody adds the body to the create payment tags params

func (*CreatePaymentTagsParams) SetContext

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

SetContext adds the context to the create payment tags params

func (*CreatePaymentTagsParams) SetDefaults

func (o *CreatePaymentTagsParams) SetDefaults()

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

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

func (*CreatePaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create payment tags params

func (*CreatePaymentTagsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the create payment tags params

func (*CreatePaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create payment tags params

func (*CreatePaymentTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create payment tags params

func (*CreatePaymentTagsParams) SetXKillbillCreatedBy

func (o *CreatePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment tags params

func (*CreatePaymentTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create payment tags params

func (*CreatePaymentTagsParams) WithBody

WithBody adds the body to the create payment tags params

func (*CreatePaymentTagsParams) WithContext

WithContext adds the context to the create payment tags params

func (*CreatePaymentTagsParams) WithDefaults

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

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

func (*CreatePaymentTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create payment tags params

func (*CreatePaymentTagsParams) WithPaymentID

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

WithPaymentID adds the paymentID to the create payment tags params

func (*CreatePaymentTagsParams) WithTimeout

WithTimeout adds the timeout to the create payment tags params

func (*CreatePaymentTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create payment tags params

func (*CreatePaymentTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment tags params

func (*CreatePaymentTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create payment tags params

func (*CreatePaymentTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePaymentTagsReader

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

CreatePaymentTagsReader is a Reader for the CreatePaymentTags structure.

func (*CreatePaymentTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePaymentCustomFieldsBadRequest

type DeletePaymentCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewDeletePaymentCustomFieldsBadRequest

func NewDeletePaymentCustomFieldsBadRequest() *DeletePaymentCustomFieldsBadRequest

NewDeletePaymentCustomFieldsBadRequest creates a DeletePaymentCustomFieldsBadRequest with default headers values

func (*DeletePaymentCustomFieldsBadRequest) Code

Code gets the status code for the delete payment custom fields bad request response

func (*DeletePaymentCustomFieldsBadRequest) Error

func (*DeletePaymentCustomFieldsBadRequest) IsClientError

func (o *DeletePaymentCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this delete payment custom fields bad request response has a 4xx status code

func (*DeletePaymentCustomFieldsBadRequest) IsCode

IsCode returns true when this delete payment custom fields bad request response a status code equal to that given

func (*DeletePaymentCustomFieldsBadRequest) IsRedirect

func (o *DeletePaymentCustomFieldsBadRequest) IsRedirect() bool

IsRedirect returns true when this delete payment custom fields bad request response has a 3xx status code

func (*DeletePaymentCustomFieldsBadRequest) IsServerError

func (o *DeletePaymentCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this delete payment custom fields bad request response has a 5xx status code

func (*DeletePaymentCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this delete payment custom fields bad request response has a 2xx status code

func (*DeletePaymentCustomFieldsBadRequest) String

type DeletePaymentCustomFieldsNoContent

type DeletePaymentCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeletePaymentCustomFieldsNoContent

func NewDeletePaymentCustomFieldsNoContent() *DeletePaymentCustomFieldsNoContent

NewDeletePaymentCustomFieldsNoContent creates a DeletePaymentCustomFieldsNoContent with default headers values

func (*DeletePaymentCustomFieldsNoContent) Code

Code gets the status code for the delete payment custom fields no content response

func (*DeletePaymentCustomFieldsNoContent) Error

func (*DeletePaymentCustomFieldsNoContent) IsClientError

func (o *DeletePaymentCustomFieldsNoContent) IsClientError() bool

IsClientError returns true when this delete payment custom fields no content response has a 4xx status code

func (*DeletePaymentCustomFieldsNoContent) IsCode

IsCode returns true when this delete payment custom fields no content response a status code equal to that given

func (*DeletePaymentCustomFieldsNoContent) IsRedirect

func (o *DeletePaymentCustomFieldsNoContent) IsRedirect() bool

IsRedirect returns true when this delete payment custom fields no content response has a 3xx status code

func (*DeletePaymentCustomFieldsNoContent) IsServerError

func (o *DeletePaymentCustomFieldsNoContent) IsServerError() bool

IsServerError returns true when this delete payment custom fields no content response has a 5xx status code

func (*DeletePaymentCustomFieldsNoContent) IsSuccess

IsSuccess returns true when this delete payment custom fields no content response has a 2xx status code

func (*DeletePaymentCustomFieldsNoContent) String

type DeletePaymentCustomFieldsParams

type DeletePaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// CustomField.
	CustomField []strfmt.UUID

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewDeletePaymentCustomFieldsParamsWithContext

func NewDeletePaymentCustomFieldsParamsWithContext(ctx context.Context) *DeletePaymentCustomFieldsParams

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

func NewDeletePaymentCustomFieldsParamsWithHTTPClient

func NewDeletePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *DeletePaymentCustomFieldsParams

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

func NewDeletePaymentCustomFieldsParamsWithTimeout

func NewDeletePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *DeletePaymentCustomFieldsParams

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

func (*DeletePaymentCustomFieldsParams) SetContext

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

SetContext adds the context to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetCustomField

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

SetCustomField adds the customField to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetDefaults

func (o *DeletePaymentCustomFieldsParams) SetDefaults()

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

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

func (*DeletePaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeletePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithContext

WithContext adds the context to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithDefaults

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

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

func (*DeletePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete payment custom fields params

func (*DeletePaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePaymentCustomFieldsReader

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

DeletePaymentCustomFieldsReader is a Reader for the DeletePaymentCustomFields structure.

func (*DeletePaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePaymentTagsBadRequest

type DeletePaymentTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentTagsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewDeletePaymentTagsBadRequest

func NewDeletePaymentTagsBadRequest() *DeletePaymentTagsBadRequest

NewDeletePaymentTagsBadRequest creates a DeletePaymentTagsBadRequest with default headers values

func (*DeletePaymentTagsBadRequest) Code

func (o *DeletePaymentTagsBadRequest) Code() int

Code gets the status code for the delete payment tags bad request response

func (*DeletePaymentTagsBadRequest) Error

func (*DeletePaymentTagsBadRequest) IsClientError

func (o *DeletePaymentTagsBadRequest) IsClientError() bool

IsClientError returns true when this delete payment tags bad request response has a 4xx status code

func (*DeletePaymentTagsBadRequest) IsCode

func (o *DeletePaymentTagsBadRequest) IsCode(code int) bool

IsCode returns true when this delete payment tags bad request response a status code equal to that given

func (*DeletePaymentTagsBadRequest) IsRedirect

func (o *DeletePaymentTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this delete payment tags bad request response has a 3xx status code

func (*DeletePaymentTagsBadRequest) IsServerError

func (o *DeletePaymentTagsBadRequest) IsServerError() bool

IsServerError returns true when this delete payment tags bad request response has a 5xx status code

func (*DeletePaymentTagsBadRequest) IsSuccess

func (o *DeletePaymentTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this delete payment tags bad request response has a 2xx status code

func (*DeletePaymentTagsBadRequest) String

func (o *DeletePaymentTagsBadRequest) String() string

type DeletePaymentTagsNoContent

type DeletePaymentTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentTagsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeletePaymentTagsNoContent

func NewDeletePaymentTagsNoContent() *DeletePaymentTagsNoContent

NewDeletePaymentTagsNoContent creates a DeletePaymentTagsNoContent with default headers values

func (*DeletePaymentTagsNoContent) Code

func (o *DeletePaymentTagsNoContent) Code() int

Code gets the status code for the delete payment tags no content response

func (*DeletePaymentTagsNoContent) Error

func (*DeletePaymentTagsNoContent) IsClientError

func (o *DeletePaymentTagsNoContent) IsClientError() bool

IsClientError returns true when this delete payment tags no content response has a 4xx status code

func (*DeletePaymentTagsNoContent) IsCode

func (o *DeletePaymentTagsNoContent) IsCode(code int) bool

IsCode returns true when this delete payment tags no content response a status code equal to that given

func (*DeletePaymentTagsNoContent) IsRedirect

func (o *DeletePaymentTagsNoContent) IsRedirect() bool

IsRedirect returns true when this delete payment tags no content response has a 3xx status code

func (*DeletePaymentTagsNoContent) IsServerError

func (o *DeletePaymentTagsNoContent) IsServerError() bool

IsServerError returns true when this delete payment tags no content response has a 5xx status code

func (*DeletePaymentTagsNoContent) IsSuccess

func (o *DeletePaymentTagsNoContent) IsSuccess() bool

IsSuccess returns true when this delete payment tags no content response has a 2xx status code

func (*DeletePaymentTagsNoContent) String

func (o *DeletePaymentTagsNoContent) String() string

type DeletePaymentTagsParams

type DeletePaymentTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// TagDef.
	TagDef []strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewDeletePaymentTagsParamsWithContext

func NewDeletePaymentTagsParamsWithContext(ctx context.Context) *DeletePaymentTagsParams

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

func NewDeletePaymentTagsParamsWithHTTPClient

func NewDeletePaymentTagsParamsWithHTTPClient(client *http.Client) *DeletePaymentTagsParams

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

func NewDeletePaymentTagsParamsWithTimeout

func NewDeletePaymentTagsParamsWithTimeout(timeout time.Duration) *DeletePaymentTagsParams

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

func (*DeletePaymentTagsParams) SetContext

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

SetContext adds the context to the delete payment tags params

func (*DeletePaymentTagsParams) SetDefaults

func (o *DeletePaymentTagsParams) SetDefaults()

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

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

func (*DeletePaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete payment tags params

func (*DeletePaymentTagsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the delete payment tags params

func (*DeletePaymentTagsParams) SetTagDef

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

SetTagDef adds the tagDef to the delete payment tags params

func (*DeletePaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete payment tags params

func (*DeletePaymentTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete payment tags params

func (*DeletePaymentTagsParams) SetXKillbillCreatedBy

func (o *DeletePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment tags params

func (*DeletePaymentTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete payment tags params

func (*DeletePaymentTagsParams) WithContext

WithContext adds the context to the delete payment tags params

func (*DeletePaymentTagsParams) WithDefaults

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

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

func (*DeletePaymentTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete payment tags params

func (*DeletePaymentTagsParams) WithPaymentID

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

WithPaymentID adds the paymentID to the delete payment tags params

func (*DeletePaymentTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete payment tags params

func (*DeletePaymentTagsParams) WithTimeout

WithTimeout adds the timeout to the delete payment tags params

func (*DeletePaymentTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete payment tags params

func (*DeletePaymentTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment tags params

func (*DeletePaymentTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete payment tags params

func (*DeletePaymentTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePaymentTagsReader

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

DeletePaymentTagsReader is a Reader for the DeletePaymentTags structure.

func (*DeletePaymentTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentAttemptAuditLogsWithHistoryNotFound

type GetPaymentAttemptAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentAttemptAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetPaymentAttemptAuditLogsWithHistoryNotFound

func NewGetPaymentAttemptAuditLogsWithHistoryNotFound() *GetPaymentAttemptAuditLogsWithHistoryNotFound

NewGetPaymentAttemptAuditLogsWithHistoryNotFound creates a GetPaymentAttemptAuditLogsWithHistoryNotFound with default headers values

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) Code

Code gets the status code for the get payment attempt audit logs with history not found response

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) Error

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) IsClientError

IsClientError returns true when this get payment attempt audit logs with history not found response has a 4xx status code

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) IsCode

IsCode returns true when this get payment attempt audit logs with history not found response a status code equal to that given

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) IsRedirect

IsRedirect returns true when this get payment attempt audit logs with history not found response has a 3xx status code

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) IsServerError

IsServerError returns true when this get payment attempt audit logs with history not found response has a 5xx status code

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) IsSuccess

IsSuccess returns true when this get payment attempt audit logs with history not found response has a 2xx status code

func (*GetPaymentAttemptAuditLogsWithHistoryNotFound) String

type GetPaymentAttemptAuditLogsWithHistoryOK

type GetPaymentAttemptAuditLogsWithHistoryOK struct {
	Payload      []*kbmodel.AuditLog
	HttpResponse runtime.ClientResponse
}

GetPaymentAttemptAuditLogsWithHistoryOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentAttemptAuditLogsWithHistoryOK

func NewGetPaymentAttemptAuditLogsWithHistoryOK() *GetPaymentAttemptAuditLogsWithHistoryOK

NewGetPaymentAttemptAuditLogsWithHistoryOK creates a GetPaymentAttemptAuditLogsWithHistoryOK with default headers values

func (*GetPaymentAttemptAuditLogsWithHistoryOK) Code

Code gets the status code for the get payment attempt audit logs with history o k response

func (*GetPaymentAttemptAuditLogsWithHistoryOK) Error

func (*GetPaymentAttemptAuditLogsWithHistoryOK) GetPayload

func (*GetPaymentAttemptAuditLogsWithHistoryOK) IsClientError

func (o *GetPaymentAttemptAuditLogsWithHistoryOK) IsClientError() bool

IsClientError returns true when this get payment attempt audit logs with history o k response has a 4xx status code

func (*GetPaymentAttemptAuditLogsWithHistoryOK) IsCode

IsCode returns true when this get payment attempt audit logs with history o k response a status code equal to that given

func (*GetPaymentAttemptAuditLogsWithHistoryOK) IsRedirect

IsRedirect returns true when this get payment attempt audit logs with history o k response has a 3xx status code

func (*GetPaymentAttemptAuditLogsWithHistoryOK) IsServerError

func (o *GetPaymentAttemptAuditLogsWithHistoryOK) IsServerError() bool

IsServerError returns true when this get payment attempt audit logs with history o k response has a 5xx status code

func (*GetPaymentAttemptAuditLogsWithHistoryOK) IsSuccess

IsSuccess returns true when this get payment attempt audit logs with history o k response has a 2xx status code

func (*GetPaymentAttemptAuditLogsWithHistoryOK) String

type GetPaymentAttemptAuditLogsWithHistoryParams

type GetPaymentAttemptAuditLogsWithHistoryParams struct {

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithContext

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentAttemptAuditLogsWithHistoryParams

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

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithHTTPClient

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetPaymentAttemptAuditLogsWithHistoryParams

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

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithTimeout

func NewGetPaymentAttemptAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetPaymentAttemptAuditLogsWithHistoryParams

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetContext

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetDefaults

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

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetHTTPClient

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

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetPaymentAttemptID

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

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) SetTimeout

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithContext

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithHTTPClient

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithPaymentAttemptID

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WithTimeout

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

func (*GetPaymentAttemptAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentAttemptAuditLogsWithHistoryReader

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

GetPaymentAttemptAuditLogsWithHistoryReader is a Reader for the GetPaymentAttemptAuditLogsWithHistory structure.

func (*GetPaymentAttemptAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentAuditLogsWithHistoryNotFound

type GetPaymentAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetPaymentAuditLogsWithHistoryNotFound

func NewGetPaymentAuditLogsWithHistoryNotFound() *GetPaymentAuditLogsWithHistoryNotFound

NewGetPaymentAuditLogsWithHistoryNotFound creates a GetPaymentAuditLogsWithHistoryNotFound with default headers values

func (*GetPaymentAuditLogsWithHistoryNotFound) Code

Code gets the status code for the get payment audit logs with history not found response

func (*GetPaymentAuditLogsWithHistoryNotFound) Error

func (*GetPaymentAuditLogsWithHistoryNotFound) IsClientError

func (o *GetPaymentAuditLogsWithHistoryNotFound) IsClientError() bool

IsClientError returns true when this get payment audit logs with history not found response has a 4xx status code

func (*GetPaymentAuditLogsWithHistoryNotFound) IsCode

IsCode returns true when this get payment audit logs with history not found response a status code equal to that given

func (*GetPaymentAuditLogsWithHistoryNotFound) IsRedirect

IsRedirect returns true when this get payment audit logs with history not found response has a 3xx status code

func (*GetPaymentAuditLogsWithHistoryNotFound) IsServerError

func (o *GetPaymentAuditLogsWithHistoryNotFound) IsServerError() bool

IsServerError returns true when this get payment audit logs with history not found response has a 5xx status code

func (*GetPaymentAuditLogsWithHistoryNotFound) IsSuccess

IsSuccess returns true when this get payment audit logs with history not found response has a 2xx status code

func (*GetPaymentAuditLogsWithHistoryNotFound) String

type GetPaymentAuditLogsWithHistoryOK

type GetPaymentAuditLogsWithHistoryOK struct {
	Payload      []*kbmodel.AuditLog
	HttpResponse runtime.ClientResponse
}

GetPaymentAuditLogsWithHistoryOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentAuditLogsWithHistoryOK

func NewGetPaymentAuditLogsWithHistoryOK() *GetPaymentAuditLogsWithHistoryOK

NewGetPaymentAuditLogsWithHistoryOK creates a GetPaymentAuditLogsWithHistoryOK with default headers values

func (*GetPaymentAuditLogsWithHistoryOK) Code

Code gets the status code for the get payment audit logs with history o k response

func (*GetPaymentAuditLogsWithHistoryOK) Error

func (*GetPaymentAuditLogsWithHistoryOK) GetPayload

func (*GetPaymentAuditLogsWithHistoryOK) IsClientError

func (o *GetPaymentAuditLogsWithHistoryOK) IsClientError() bool

IsClientError returns true when this get payment audit logs with history o k response has a 4xx status code

func (*GetPaymentAuditLogsWithHistoryOK) IsCode

func (o *GetPaymentAuditLogsWithHistoryOK) IsCode(code int) bool

IsCode returns true when this get payment audit logs with history o k response a status code equal to that given

func (*GetPaymentAuditLogsWithHistoryOK) IsRedirect

func (o *GetPaymentAuditLogsWithHistoryOK) IsRedirect() bool

IsRedirect returns true when this get payment audit logs with history o k response has a 3xx status code

func (*GetPaymentAuditLogsWithHistoryOK) IsServerError

func (o *GetPaymentAuditLogsWithHistoryOK) IsServerError() bool

IsServerError returns true when this get payment audit logs with history o k response has a 5xx status code

func (*GetPaymentAuditLogsWithHistoryOK) IsSuccess

func (o *GetPaymentAuditLogsWithHistoryOK) IsSuccess() bool

IsSuccess returns true when this get payment audit logs with history o k response has a 2xx status code

func (*GetPaymentAuditLogsWithHistoryOK) String

type GetPaymentAuditLogsWithHistoryParams

type GetPaymentAuditLogsWithHistoryParams struct {

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewGetPaymentAuditLogsWithHistoryParamsWithContext

func NewGetPaymentAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentAuditLogsWithHistoryParams

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

func NewGetPaymentAuditLogsWithHistoryParamsWithHTTPClient

func NewGetPaymentAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetPaymentAuditLogsWithHistoryParams

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

func NewGetPaymentAuditLogsWithHistoryParamsWithTimeout

func NewGetPaymentAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetPaymentAuditLogsWithHistoryParams

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

func (*GetPaymentAuditLogsWithHistoryParams) SetContext

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

func (*GetPaymentAuditLogsWithHistoryParams) SetDefaults

func (o *GetPaymentAuditLogsWithHistoryParams) SetDefaults()

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

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

func (*GetPaymentAuditLogsWithHistoryParams) SetHTTPClient

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

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

func (*GetPaymentAuditLogsWithHistoryParams) SetPaymentID

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

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

func (*GetPaymentAuditLogsWithHistoryParams) SetTimeout

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

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

func (*GetPaymentAuditLogsWithHistoryParams) WithContext

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

func (*GetPaymentAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetPaymentAuditLogsWithHistoryParams) WithHTTPClient

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

func (*GetPaymentAuditLogsWithHistoryParams) WithPaymentID

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

func (*GetPaymentAuditLogsWithHistoryParams) WithTimeout

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

func (*GetPaymentAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentAuditLogsWithHistoryReader

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

GetPaymentAuditLogsWithHistoryReader is a Reader for the GetPaymentAuditLogsWithHistory structure.

func (*GetPaymentAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentBadRequest

type GetPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewGetPaymentBadRequest

func NewGetPaymentBadRequest() *GetPaymentBadRequest

NewGetPaymentBadRequest creates a GetPaymentBadRequest with default headers values

func (*GetPaymentBadRequest) Code

func (o *GetPaymentBadRequest) Code() int

Code gets the status code for the get payment bad request response

func (*GetPaymentBadRequest) Error

func (o *GetPaymentBadRequest) Error() string

func (*GetPaymentBadRequest) IsClientError

func (o *GetPaymentBadRequest) IsClientError() bool

IsClientError returns true when this get payment bad request response has a 4xx status code

func (*GetPaymentBadRequest) IsCode

func (o *GetPaymentBadRequest) IsCode(code int) bool

IsCode returns true when this get payment bad request response a status code equal to that given

func (*GetPaymentBadRequest) IsRedirect

func (o *GetPaymentBadRequest) IsRedirect() bool

IsRedirect returns true when this get payment bad request response has a 3xx status code

func (*GetPaymentBadRequest) IsServerError

func (o *GetPaymentBadRequest) IsServerError() bool

IsServerError returns true when this get payment bad request response has a 5xx status code

func (*GetPaymentBadRequest) IsSuccess

func (o *GetPaymentBadRequest) IsSuccess() bool

IsSuccess returns true when this get payment bad request response has a 2xx status code

func (*GetPaymentBadRequest) String

func (o *GetPaymentBadRequest) String() string

type GetPaymentByExternalKeyNotFound

type GetPaymentByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Payment not found

func NewGetPaymentByExternalKeyNotFound

func NewGetPaymentByExternalKeyNotFound() *GetPaymentByExternalKeyNotFound

NewGetPaymentByExternalKeyNotFound creates a GetPaymentByExternalKeyNotFound with default headers values

func (*GetPaymentByExternalKeyNotFound) Code

Code gets the status code for the get payment by external key not found response

func (*GetPaymentByExternalKeyNotFound) Error

func (*GetPaymentByExternalKeyNotFound) IsClientError

func (o *GetPaymentByExternalKeyNotFound) IsClientError() bool

IsClientError returns true when this get payment by external key not found response has a 4xx status code

func (*GetPaymentByExternalKeyNotFound) IsCode

func (o *GetPaymentByExternalKeyNotFound) IsCode(code int) bool

IsCode returns true when this get payment by external key not found response a status code equal to that given

func (*GetPaymentByExternalKeyNotFound) IsRedirect

func (o *GetPaymentByExternalKeyNotFound) IsRedirect() bool

IsRedirect returns true when this get payment by external key not found response has a 3xx status code

func (*GetPaymentByExternalKeyNotFound) IsServerError

func (o *GetPaymentByExternalKeyNotFound) IsServerError() bool

IsServerError returns true when this get payment by external key not found response has a 5xx status code

func (*GetPaymentByExternalKeyNotFound) IsSuccess

func (o *GetPaymentByExternalKeyNotFound) IsSuccess() bool

IsSuccess returns true when this get payment by external key not found response has a 2xx status code

func (*GetPaymentByExternalKeyNotFound) String

type GetPaymentByExternalKeyOK

type GetPaymentByExternalKeyOK struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

GetPaymentByExternalKeyOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentByExternalKeyOK

func NewGetPaymentByExternalKeyOK() *GetPaymentByExternalKeyOK

NewGetPaymentByExternalKeyOK creates a GetPaymentByExternalKeyOK with default headers values

func (*GetPaymentByExternalKeyOK) Code

func (o *GetPaymentByExternalKeyOK) Code() int

Code gets the status code for the get payment by external key o k response

func (*GetPaymentByExternalKeyOK) Error

func (o *GetPaymentByExternalKeyOK) Error() string

func (*GetPaymentByExternalKeyOK) GetPayload

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

func (*GetPaymentByExternalKeyOK) IsClientError

func (o *GetPaymentByExternalKeyOK) IsClientError() bool

IsClientError returns true when this get payment by external key o k response has a 4xx status code

func (*GetPaymentByExternalKeyOK) IsCode

func (o *GetPaymentByExternalKeyOK) IsCode(code int) bool

IsCode returns true when this get payment by external key o k response a status code equal to that given

func (*GetPaymentByExternalKeyOK) IsRedirect

func (o *GetPaymentByExternalKeyOK) IsRedirect() bool

IsRedirect returns true when this get payment by external key o k response has a 3xx status code

func (*GetPaymentByExternalKeyOK) IsServerError

func (o *GetPaymentByExternalKeyOK) IsServerError() bool

IsServerError returns true when this get payment by external key o k response has a 5xx status code

func (*GetPaymentByExternalKeyOK) IsSuccess

func (o *GetPaymentByExternalKeyOK) IsSuccess() bool

IsSuccess returns true when this get payment by external key o k response has a 2xx status code

func (*GetPaymentByExternalKeyOK) String

func (o *GetPaymentByExternalKeyOK) String() string

type GetPaymentByExternalKeyParams

type GetPaymentByExternalKeyParams struct {

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

	// ExternalKey.
	ExternalKey string

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewGetPaymentByExternalKeyParamsWithContext

func NewGetPaymentByExternalKeyParamsWithContext(ctx context.Context) *GetPaymentByExternalKeyParams

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

func NewGetPaymentByExternalKeyParamsWithHTTPClient

func NewGetPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *GetPaymentByExternalKeyParams

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

func NewGetPaymentByExternalKeyParamsWithTimeout

func NewGetPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *GetPaymentByExternalKeyParams

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

func (*GetPaymentByExternalKeyParams) SetAudit

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

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

func (*GetPaymentByExternalKeyParams) SetContext

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

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

func (*GetPaymentByExternalKeyParams) SetDefaults

func (o *GetPaymentByExternalKeyParams) SetDefaults()

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

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

func (*GetPaymentByExternalKeyParams) SetExternalKey

func (o *GetPaymentByExternalKeyParams) SetExternalKey(externalKey string)

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

func (*GetPaymentByExternalKeyParams) SetHTTPClient

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

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

func (*GetPaymentByExternalKeyParams) SetPluginProperty

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

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

func (*GetPaymentByExternalKeyParams) SetTimeout

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

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

func (*GetPaymentByExternalKeyParams) SetWithAttempts

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

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

func (*GetPaymentByExternalKeyParams) SetWithPluginInfo

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

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

func (*GetPaymentByExternalKeyParams) WithAudit

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

func (*GetPaymentByExternalKeyParams) WithContext

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

func (*GetPaymentByExternalKeyParams) WithDefaults

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

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

func (*GetPaymentByExternalKeyParams) WithExternalKey

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

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

func (*GetPaymentByExternalKeyParams) WithHTTPClient

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

func (*GetPaymentByExternalKeyParams) WithPluginProperty

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

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

func (*GetPaymentByExternalKeyParams) WithTimeout

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

func (*GetPaymentByExternalKeyParams) WithWithAttempts

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

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

func (*GetPaymentByExternalKeyParams) WithWithPluginInfo

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

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

func (*GetPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentByExternalKeyReader

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

GetPaymentByExternalKeyReader is a Reader for the GetPaymentByExternalKey structure.

func (*GetPaymentByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentCustomFieldsBadRequest

type GetPaymentCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewGetPaymentCustomFieldsBadRequest

func NewGetPaymentCustomFieldsBadRequest() *GetPaymentCustomFieldsBadRequest

NewGetPaymentCustomFieldsBadRequest creates a GetPaymentCustomFieldsBadRequest with default headers values

func (*GetPaymentCustomFieldsBadRequest) Code

Code gets the status code for the get payment custom fields bad request response

func (*GetPaymentCustomFieldsBadRequest) Error

func (*GetPaymentCustomFieldsBadRequest) IsClientError

func (o *GetPaymentCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this get payment custom fields bad request response has a 4xx status code

func (*GetPaymentCustomFieldsBadRequest) IsCode

func (o *GetPaymentCustomFieldsBadRequest) IsCode(code int) bool

IsCode returns true when this get payment custom fields bad request response a status code equal to that given

func (*GetPaymentCustomFieldsBadRequest) IsRedirect

func (o *GetPaymentCustomFieldsBadRequest) IsRedirect() bool

IsRedirect returns true when this get payment custom fields bad request response has a 3xx status code

func (*GetPaymentCustomFieldsBadRequest) IsServerError

func (o *GetPaymentCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this get payment custom fields bad request response has a 5xx status code

func (*GetPaymentCustomFieldsBadRequest) IsSuccess

func (o *GetPaymentCustomFieldsBadRequest) IsSuccess() bool

IsSuccess returns true when this get payment custom fields bad request response has a 2xx status code

func (*GetPaymentCustomFieldsBadRequest) String

type GetPaymentCustomFieldsOK

type GetPaymentCustomFieldsOK struct {
	Payload      []*kbmodel.CustomField
	HttpResponse runtime.ClientResponse
}

GetPaymentCustomFieldsOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentCustomFieldsOK

func NewGetPaymentCustomFieldsOK() *GetPaymentCustomFieldsOK

NewGetPaymentCustomFieldsOK creates a GetPaymentCustomFieldsOK with default headers values

func (*GetPaymentCustomFieldsOK) Code

func (o *GetPaymentCustomFieldsOK) Code() int

Code gets the status code for the get payment custom fields o k response

func (*GetPaymentCustomFieldsOK) Error

func (o *GetPaymentCustomFieldsOK) Error() string

func (*GetPaymentCustomFieldsOK) GetPayload

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

func (*GetPaymentCustomFieldsOK) IsClientError

func (o *GetPaymentCustomFieldsOK) IsClientError() bool

IsClientError returns true when this get payment custom fields o k response has a 4xx status code

func (*GetPaymentCustomFieldsOK) IsCode

func (o *GetPaymentCustomFieldsOK) IsCode(code int) bool

IsCode returns true when this get payment custom fields o k response a status code equal to that given

func (*GetPaymentCustomFieldsOK) IsRedirect

func (o *GetPaymentCustomFieldsOK) IsRedirect() bool

IsRedirect returns true when this get payment custom fields o k response has a 3xx status code

func (*GetPaymentCustomFieldsOK) IsServerError

func (o *GetPaymentCustomFieldsOK) IsServerError() bool

IsServerError returns true when this get payment custom fields o k response has a 5xx status code

func (*GetPaymentCustomFieldsOK) IsSuccess

func (o *GetPaymentCustomFieldsOK) IsSuccess() bool

IsSuccess returns true when this get payment custom fields o k response has a 2xx status code

func (*GetPaymentCustomFieldsOK) String

func (o *GetPaymentCustomFieldsOK) String() string

type GetPaymentCustomFieldsParams

type GetPaymentCustomFieldsParams struct {

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

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewGetPaymentCustomFieldsParamsWithContext

func NewGetPaymentCustomFieldsParamsWithContext(ctx context.Context) *GetPaymentCustomFieldsParams

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

func NewGetPaymentCustomFieldsParamsWithHTTPClient

func NewGetPaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *GetPaymentCustomFieldsParams

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

func NewGetPaymentCustomFieldsParamsWithTimeout

func NewGetPaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *GetPaymentCustomFieldsParams

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

func (*GetPaymentCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) SetContext

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

SetContext adds the context to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) SetDefaults

func (o *GetPaymentCustomFieldsParams) SetDefaults()

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

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

func (*GetPaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithAudit

WithAudit adds the audit to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithContext

WithContext adds the context to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithDefaults

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

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

func (*GetPaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get payment custom fields params

func (*GetPaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentCustomFieldsReader

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

GetPaymentCustomFieldsReader is a Reader for the GetPaymentCustomFields structure.

func (*GetPaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentNotFound

type GetPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentNotFound describes a response with status code 404, with default header values.

Payment not found

func NewGetPaymentNotFound

func NewGetPaymentNotFound() *GetPaymentNotFound

NewGetPaymentNotFound creates a GetPaymentNotFound with default headers values

func (*GetPaymentNotFound) Code

func (o *GetPaymentNotFound) Code() int

Code gets the status code for the get payment not found response

func (*GetPaymentNotFound) Error

func (o *GetPaymentNotFound) Error() string

func (*GetPaymentNotFound) IsClientError

func (o *GetPaymentNotFound) IsClientError() bool

IsClientError returns true when this get payment not found response has a 4xx status code

func (*GetPaymentNotFound) IsCode

func (o *GetPaymentNotFound) IsCode(code int) bool

IsCode returns true when this get payment not found response a status code equal to that given

func (*GetPaymentNotFound) IsRedirect

func (o *GetPaymentNotFound) IsRedirect() bool

IsRedirect returns true when this get payment not found response has a 3xx status code

func (*GetPaymentNotFound) IsServerError

func (o *GetPaymentNotFound) IsServerError() bool

IsServerError returns true when this get payment not found response has a 5xx status code

func (*GetPaymentNotFound) IsSuccess

func (o *GetPaymentNotFound) IsSuccess() bool

IsSuccess returns true when this get payment not found response has a 2xx status code

func (*GetPaymentNotFound) String

func (o *GetPaymentNotFound) String() string

type GetPaymentOK

type GetPaymentOK struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

GetPaymentOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentOK

func NewGetPaymentOK() *GetPaymentOK

NewGetPaymentOK creates a GetPaymentOK with default headers values

func (*GetPaymentOK) Code

func (o *GetPaymentOK) Code() int

Code gets the status code for the get payment o k response

func (*GetPaymentOK) Error

func (o *GetPaymentOK) Error() string

func (*GetPaymentOK) GetPayload

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

func (*GetPaymentOK) IsClientError

func (o *GetPaymentOK) IsClientError() bool

IsClientError returns true when this get payment o k response has a 4xx status code

func (*GetPaymentOK) IsCode

func (o *GetPaymentOK) IsCode(code int) bool

IsCode returns true when this get payment o k response a status code equal to that given

func (*GetPaymentOK) IsRedirect

func (o *GetPaymentOK) IsRedirect() bool

IsRedirect returns true when this get payment o k response has a 3xx status code

func (*GetPaymentOK) IsServerError

func (o *GetPaymentOK) IsServerError() bool

IsServerError returns true when this get payment o k response has a 5xx status code

func (*GetPaymentOK) IsSuccess

func (o *GetPaymentOK) IsSuccess() bool

IsSuccess returns true when this get payment o k response has a 2xx status code

func (*GetPaymentOK) String

func (o *GetPaymentOK) String() string

type GetPaymentParams

type GetPaymentParams struct {

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

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

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewGetPaymentParamsWithContext

func NewGetPaymentParamsWithContext(ctx context.Context) *GetPaymentParams

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

func NewGetPaymentParamsWithHTTPClient

func NewGetPaymentParamsWithHTTPClient(client *http.Client) *GetPaymentParams

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

func NewGetPaymentParamsWithTimeout

func NewGetPaymentParamsWithTimeout(timeout time.Duration) *GetPaymentParams

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

func (*GetPaymentParams) SetAudit

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

SetAudit adds the audit to the get payment params

func (*GetPaymentParams) SetContext

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

SetContext adds the context to the get payment params

func (*GetPaymentParams) SetDefaults

func (o *GetPaymentParams) SetDefaults()

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

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

func (*GetPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment params

func (*GetPaymentParams) SetPaymentID

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

SetPaymentID adds the paymentId to the get payment params

func (*GetPaymentParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get payment params

func (*GetPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the get payment params

func (*GetPaymentParams) SetWithAttempts

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

SetWithAttempts adds the withAttempts to the get payment params

func (*GetPaymentParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the get payment params

func (*GetPaymentParams) WithAudit

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

WithAudit adds the audit to the get payment params

func (*GetPaymentParams) WithContext

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

WithContext adds the context to the get payment params

func (*GetPaymentParams) WithDefaults

func (o *GetPaymentParams) WithDefaults() *GetPaymentParams

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

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

func (*GetPaymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get payment params

func (*GetPaymentParams) WithPaymentID

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

WithPaymentID adds the paymentID to the get payment params

func (*GetPaymentParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get payment params

func (*GetPaymentParams) WithTimeout

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

WithTimeout adds the timeout to the get payment params

func (*GetPaymentParams) WithWithAttempts

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

WithWithAttempts adds the withAttempts to the get payment params

func (*GetPaymentParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the get payment params

func (*GetPaymentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPaymentReader

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

GetPaymentReader is a Reader for the GetPayment structure.

func (*GetPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentTagsBadRequest

type GetPaymentTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentTagsBadRequest describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewGetPaymentTagsBadRequest

func NewGetPaymentTagsBadRequest() *GetPaymentTagsBadRequest

NewGetPaymentTagsBadRequest creates a GetPaymentTagsBadRequest with default headers values

func (*GetPaymentTagsBadRequest) Code

func (o *GetPaymentTagsBadRequest) Code() int

Code gets the status code for the get payment tags bad request response

func (*GetPaymentTagsBadRequest) Error

func (o *GetPaymentTagsBadRequest) Error() string

func (*GetPaymentTagsBadRequest) IsClientError

func (o *GetPaymentTagsBadRequest) IsClientError() bool

IsClientError returns true when this get payment tags bad request response has a 4xx status code

func (*GetPaymentTagsBadRequest) IsCode

func (o *GetPaymentTagsBadRequest) IsCode(code int) bool

IsCode returns true when this get payment tags bad request response a status code equal to that given

func (*GetPaymentTagsBadRequest) IsRedirect

func (o *GetPaymentTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this get payment tags bad request response has a 3xx status code

func (*GetPaymentTagsBadRequest) IsServerError

func (o *GetPaymentTagsBadRequest) IsServerError() bool

IsServerError returns true when this get payment tags bad request response has a 5xx status code

func (*GetPaymentTagsBadRequest) IsSuccess

func (o *GetPaymentTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this get payment tags bad request response has a 2xx status code

func (*GetPaymentTagsBadRequest) String

func (o *GetPaymentTagsBadRequest) String() string

type GetPaymentTagsNotFound

type GetPaymentTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentTagsNotFound describes a response with status code 404, with default header values.

Invoice not found

func NewGetPaymentTagsNotFound

func NewGetPaymentTagsNotFound() *GetPaymentTagsNotFound

NewGetPaymentTagsNotFound creates a GetPaymentTagsNotFound with default headers values

func (*GetPaymentTagsNotFound) Code

func (o *GetPaymentTagsNotFound) Code() int

Code gets the status code for the get payment tags not found response

func (*GetPaymentTagsNotFound) Error

func (o *GetPaymentTagsNotFound) Error() string

func (*GetPaymentTagsNotFound) IsClientError

func (o *GetPaymentTagsNotFound) IsClientError() bool

IsClientError returns true when this get payment tags not found response has a 4xx status code

func (*GetPaymentTagsNotFound) IsCode

func (o *GetPaymentTagsNotFound) IsCode(code int) bool

IsCode returns true when this get payment tags not found response a status code equal to that given

func (*GetPaymentTagsNotFound) IsRedirect

func (o *GetPaymentTagsNotFound) IsRedirect() bool

IsRedirect returns true when this get payment tags not found response has a 3xx status code

func (*GetPaymentTagsNotFound) IsServerError

func (o *GetPaymentTagsNotFound) IsServerError() bool

IsServerError returns true when this get payment tags not found response has a 5xx status code

func (*GetPaymentTagsNotFound) IsSuccess

func (o *GetPaymentTagsNotFound) IsSuccess() bool

IsSuccess returns true when this get payment tags not found response has a 2xx status code

func (*GetPaymentTagsNotFound) String

func (o *GetPaymentTagsNotFound) String() string

type GetPaymentTagsOK

type GetPaymentTagsOK struct {
	Payload      []*kbmodel.Tag
	HttpResponse runtime.ClientResponse
}

GetPaymentTagsOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentTagsOK

func NewGetPaymentTagsOK() *GetPaymentTagsOK

NewGetPaymentTagsOK creates a GetPaymentTagsOK with default headers values

func (*GetPaymentTagsOK) Code

func (o *GetPaymentTagsOK) Code() int

Code gets the status code for the get payment tags o k response

func (*GetPaymentTagsOK) Error

func (o *GetPaymentTagsOK) Error() string

func (*GetPaymentTagsOK) GetPayload

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

func (*GetPaymentTagsOK) IsClientError

func (o *GetPaymentTagsOK) IsClientError() bool

IsClientError returns true when this get payment tags o k response has a 4xx status code

func (*GetPaymentTagsOK) IsCode

func (o *GetPaymentTagsOK) IsCode(code int) bool

IsCode returns true when this get payment tags o k response a status code equal to that given

func (*GetPaymentTagsOK) IsRedirect

func (o *GetPaymentTagsOK) IsRedirect() bool

IsRedirect returns true when this get payment tags o k response has a 3xx status code

func (*GetPaymentTagsOK) IsServerError

func (o *GetPaymentTagsOK) IsServerError() bool

IsServerError returns true when this get payment tags o k response has a 5xx status code

func (*GetPaymentTagsOK) IsSuccess

func (o *GetPaymentTagsOK) IsSuccess() bool

IsSuccess returns true when this get payment tags o k response has a 2xx status code

func (*GetPaymentTagsOK) String

func (o *GetPaymentTagsOK) String() string

type GetPaymentTagsParams

type GetPaymentTagsParams struct {

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

	// IncludedDeleted.
	IncludedDeleted *bool

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewGetPaymentTagsParamsWithContext

func NewGetPaymentTagsParamsWithContext(ctx context.Context) *GetPaymentTagsParams

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

func NewGetPaymentTagsParamsWithHTTPClient

func NewGetPaymentTagsParamsWithHTTPClient(client *http.Client) *GetPaymentTagsParams

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

func NewGetPaymentTagsParamsWithTimeout

func NewGetPaymentTagsParamsWithTimeout(timeout time.Duration) *GetPaymentTagsParams

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

func (*GetPaymentTagsParams) SetAudit

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

SetAudit adds the audit to the get payment tags params

func (*GetPaymentTagsParams) SetContext

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

SetContext adds the context to the get payment tags params

func (*GetPaymentTagsParams) SetDefaults

func (o *GetPaymentTagsParams) SetDefaults()

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

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

func (*GetPaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment tags params

func (*GetPaymentTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get payment tags params

func (*GetPaymentTagsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the get payment tags params

func (*GetPaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get payment tags params

func (*GetPaymentTagsParams) WithAudit

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

WithAudit adds the audit to the get payment tags params

func (*GetPaymentTagsParams) WithContext

WithContext adds the context to the get payment tags params

func (*GetPaymentTagsParams) WithDefaults

func (o *GetPaymentTagsParams) WithDefaults() *GetPaymentTagsParams

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

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

func (*GetPaymentTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get payment tags params

func (*GetPaymentTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get payment tags params

func (*GetPaymentTagsParams) WithPaymentID

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

WithPaymentID adds the paymentID to the get payment tags params

func (*GetPaymentTagsParams) WithTimeout

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

WithTimeout adds the timeout to the get payment tags params

func (*GetPaymentTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPaymentTagsReader

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

GetPaymentTagsReader is a Reader for the GetPaymentTags structure.

func (*GetPaymentTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentsOK

type GetPaymentsOK struct {
	Payload      []*kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

GetPaymentsOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentsOK

func NewGetPaymentsOK() *GetPaymentsOK

NewGetPaymentsOK creates a GetPaymentsOK with default headers values

func (*GetPaymentsOK) Code

func (o *GetPaymentsOK) Code() int

Code gets the status code for the get payments o k response

func (*GetPaymentsOK) Error

func (o *GetPaymentsOK) Error() string

func (*GetPaymentsOK) GetPayload

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

func (*GetPaymentsOK) IsClientError

func (o *GetPaymentsOK) IsClientError() bool

IsClientError returns true when this get payments o k response has a 4xx status code

func (*GetPaymentsOK) IsCode

func (o *GetPaymentsOK) IsCode(code int) bool

IsCode returns true when this get payments o k response a status code equal to that given

func (*GetPaymentsOK) IsRedirect

func (o *GetPaymentsOK) IsRedirect() bool

IsRedirect returns true when this get payments o k response has a 3xx status code

func (*GetPaymentsOK) IsServerError

func (o *GetPaymentsOK) IsServerError() bool

IsServerError returns true when this get payments o k response has a 5xx status code

func (*GetPaymentsOK) IsSuccess

func (o *GetPaymentsOK) IsSuccess() bool

IsSuccess returns true when this get payments o k response has a 2xx status code

func (*GetPaymentsOK) String

func (o *GetPaymentsOK) String() string

type GetPaymentsParams

type GetPaymentsParams struct {

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

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

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

	// PluginName.
	PluginName *string

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewGetPaymentsParamsWithContext

func NewGetPaymentsParamsWithContext(ctx context.Context) *GetPaymentsParams

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

func NewGetPaymentsParamsWithHTTPClient

func NewGetPaymentsParamsWithHTTPClient(client *http.Client) *GetPaymentsParams

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

func NewGetPaymentsParamsWithTimeout

func NewGetPaymentsParamsWithTimeout(timeout time.Duration) *GetPaymentsParams

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

func (*GetPaymentsParams) SetAudit

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

SetAudit adds the audit to the get payments params

func (*GetPaymentsParams) SetContext

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

SetContext adds the context to the get payments params

func (*GetPaymentsParams) SetDefaults

func (o *GetPaymentsParams) SetDefaults()

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

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

func (*GetPaymentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payments params

func (*GetPaymentsParams) SetLimit

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

SetLimit adds the limit to the get payments params

func (*GetPaymentsParams) SetOffset

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

SetOffset adds the offset to the get payments params

func (*GetPaymentsParams) SetPluginName

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

SetPluginName adds the pluginName to the get payments params

func (*GetPaymentsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get payments params

func (*GetPaymentsParams) SetTimeout

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

SetTimeout adds the timeout to the get payments params

func (*GetPaymentsParams) SetWithAttempts

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

SetWithAttempts adds the withAttempts to the get payments params

func (*GetPaymentsParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the get payments params

func (*GetPaymentsParams) WithAudit

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

WithAudit adds the audit to the get payments params

func (*GetPaymentsParams) WithContext

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

WithContext adds the context to the get payments params

func (*GetPaymentsParams) WithDefaults

func (o *GetPaymentsParams) WithDefaults() *GetPaymentsParams

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

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

func (*GetPaymentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get payments params

func (*GetPaymentsParams) WithLimit

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

WithLimit adds the limit to the get payments params

func (*GetPaymentsParams) WithOffset

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

WithOffset adds the offset to the get payments params

func (*GetPaymentsParams) WithPluginName

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

WithPluginName adds the pluginName to the get payments params

func (*GetPaymentsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get payments params

func (*GetPaymentsParams) WithTimeout

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

WithTimeout adds the timeout to the get payments params

func (*GetPaymentsParams) WithWithAttempts

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

WithWithAttempts adds the withAttempts to the get payments params

func (*GetPaymentsParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the get payments params

func (*GetPaymentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPaymentsReader

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

GetPaymentsReader is a Reader for the GetPayments structure.

func (*GetPaymentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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 WithWithProfilingInfo. If not set explicitly in params, this will be used.
	KillbillWithProfilingInfo() *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 describes a response with status code 400, with default header values.

Invalid payment id supplied

func NewModifyPaymentCustomFieldsBadRequest

func NewModifyPaymentCustomFieldsBadRequest() *ModifyPaymentCustomFieldsBadRequest

NewModifyPaymentCustomFieldsBadRequest creates a ModifyPaymentCustomFieldsBadRequest with default headers values

func (*ModifyPaymentCustomFieldsBadRequest) Code

Code gets the status code for the modify payment custom fields bad request response

func (*ModifyPaymentCustomFieldsBadRequest) Error

func (*ModifyPaymentCustomFieldsBadRequest) IsClientError

func (o *ModifyPaymentCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this modify payment custom fields bad request response has a 4xx status code

func (*ModifyPaymentCustomFieldsBadRequest) IsCode

IsCode returns true when this modify payment custom fields bad request response a status code equal to that given

func (*ModifyPaymentCustomFieldsBadRequest) IsRedirect

func (o *ModifyPaymentCustomFieldsBadRequest) IsRedirect() bool

IsRedirect returns true when this modify payment custom fields bad request response has a 3xx status code

func (*ModifyPaymentCustomFieldsBadRequest) IsServerError

func (o *ModifyPaymentCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this modify payment custom fields bad request response has a 5xx status code

func (*ModifyPaymentCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this modify payment custom fields bad request response has a 2xx status code

func (*ModifyPaymentCustomFieldsBadRequest) String

type ModifyPaymentCustomFieldsNoContent

type ModifyPaymentCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyPaymentCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewModifyPaymentCustomFieldsNoContent

func NewModifyPaymentCustomFieldsNoContent() *ModifyPaymentCustomFieldsNoContent

NewModifyPaymentCustomFieldsNoContent creates a ModifyPaymentCustomFieldsNoContent with default headers values

func (*ModifyPaymentCustomFieldsNoContent) Code

Code gets the status code for the modify payment custom fields no content response

func (*ModifyPaymentCustomFieldsNoContent) Error

func (*ModifyPaymentCustomFieldsNoContent) IsClientError

func (o *ModifyPaymentCustomFieldsNoContent) IsClientError() bool

IsClientError returns true when this modify payment custom fields no content response has a 4xx status code

func (*ModifyPaymentCustomFieldsNoContent) IsCode

IsCode returns true when this modify payment custom fields no content response a status code equal to that given

func (*ModifyPaymentCustomFieldsNoContent) IsRedirect

func (o *ModifyPaymentCustomFieldsNoContent) IsRedirect() bool

IsRedirect returns true when this modify payment custom fields no content response has a 3xx status code

func (*ModifyPaymentCustomFieldsNoContent) IsServerError

func (o *ModifyPaymentCustomFieldsNoContent) IsServerError() bool

IsServerError returns true when this modify payment custom fields no content response has a 5xx status code

func (*ModifyPaymentCustomFieldsNoContent) IsSuccess

IsSuccess returns true when this modify payment custom fields no content response has a 2xx status code

func (*ModifyPaymentCustomFieldsNoContent) String

type ModifyPaymentCustomFieldsParams

type ModifyPaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewModifyPaymentCustomFieldsParamsWithContext

func NewModifyPaymentCustomFieldsParamsWithContext(ctx context.Context) *ModifyPaymentCustomFieldsParams

NewModifyPaymentCustomFieldsParamsWithContext creates a new ModifyPaymentCustomFieldsParams object with the ability to set a context for a request.

func NewModifyPaymentCustomFieldsParamsWithHTTPClient

func NewModifyPaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyPaymentCustomFieldsParams

NewModifyPaymentCustomFieldsParamsWithHTTPClient creates a new ModifyPaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewModifyPaymentCustomFieldsParamsWithTimeout

func NewModifyPaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyPaymentCustomFieldsParams

NewModifyPaymentCustomFieldsParamsWithTimeout creates a new ModifyPaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*ModifyPaymentCustomFieldsParams) SetBody

SetBody adds the body to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetContext

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

SetContext adds the context to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetDefaults

func (o *ModifyPaymentCustomFieldsParams) SetDefaults()

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

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

func (*ModifyPaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyPaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithBody

WithBody adds the body to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithContext

WithContext adds the context to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithDefaults

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

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

func (*ModifyPaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the modify payment custom fields params

func (*ModifyPaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyPaymentCustomFieldsReader

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

ModifyPaymentCustomFieldsReader is a Reader for the ModifyPaymentCustomFields structure.

func (*ModifyPaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefundPaymentBadGateway

type RefundPaymentBadGateway struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewRefundPaymentBadGateway

func NewRefundPaymentBadGateway() *RefundPaymentBadGateway

NewRefundPaymentBadGateway creates a RefundPaymentBadGateway with default headers values

func (*RefundPaymentBadGateway) Code

func (o *RefundPaymentBadGateway) Code() int

Code gets the status code for the refund payment bad gateway response

func (*RefundPaymentBadGateway) Error

func (o *RefundPaymentBadGateway) Error() string

func (*RefundPaymentBadGateway) IsClientError

func (o *RefundPaymentBadGateway) IsClientError() bool

IsClientError returns true when this refund payment bad gateway response has a 4xx status code

func (*RefundPaymentBadGateway) IsCode

func (o *RefundPaymentBadGateway) IsCode(code int) bool

IsCode returns true when this refund payment bad gateway response a status code equal to that given

func (*RefundPaymentBadGateway) IsRedirect

func (o *RefundPaymentBadGateway) IsRedirect() bool

IsRedirect returns true when this refund payment bad gateway response has a 3xx status code

func (*RefundPaymentBadGateway) IsServerError

func (o *RefundPaymentBadGateway) IsServerError() bool

IsServerError returns true when this refund payment bad gateway response has a 5xx status code

func (*RefundPaymentBadGateway) IsSuccess

func (o *RefundPaymentBadGateway) IsSuccess() bool

IsSuccess returns true when this refund payment bad gateway response has a 2xx status code

func (*RefundPaymentBadGateway) String

func (o *RefundPaymentBadGateway) String() string

type RefundPaymentBadRequest

type RefundPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewRefundPaymentBadRequest

func NewRefundPaymentBadRequest() *RefundPaymentBadRequest

NewRefundPaymentBadRequest creates a RefundPaymentBadRequest with default headers values

func (*RefundPaymentBadRequest) Code

func (o *RefundPaymentBadRequest) Code() int

Code gets the status code for the refund payment bad request response

func (*RefundPaymentBadRequest) Error

func (o *RefundPaymentBadRequest) Error() string

func (*RefundPaymentBadRequest) IsClientError

func (o *RefundPaymentBadRequest) IsClientError() bool

IsClientError returns true when this refund payment bad request response has a 4xx status code

func (*RefundPaymentBadRequest) IsCode

func (o *RefundPaymentBadRequest) IsCode(code int) bool

IsCode returns true when this refund payment bad request response a status code equal to that given

func (*RefundPaymentBadRequest) IsRedirect

func (o *RefundPaymentBadRequest) IsRedirect() bool

IsRedirect returns true when this refund payment bad request response has a 3xx status code

func (*RefundPaymentBadRequest) IsServerError

func (o *RefundPaymentBadRequest) IsServerError() bool

IsServerError returns true when this refund payment bad request response has a 5xx status code

func (*RefundPaymentBadRequest) IsSuccess

func (o *RefundPaymentBadRequest) IsSuccess() bool

IsSuccess returns true when this refund payment bad request response has a 2xx status code

func (*RefundPaymentBadRequest) String

func (o *RefundPaymentBadRequest) String() string

type RefundPaymentByExternalKeyBadGateway

type RefundPaymentByExternalKeyBadGateway struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewRefundPaymentByExternalKeyBadGateway

func NewRefundPaymentByExternalKeyBadGateway() *RefundPaymentByExternalKeyBadGateway

NewRefundPaymentByExternalKeyBadGateway creates a RefundPaymentByExternalKeyBadGateway with default headers values

func (*RefundPaymentByExternalKeyBadGateway) Code

Code gets the status code for the refund payment by external key bad gateway response

func (*RefundPaymentByExternalKeyBadGateway) Error

func (*RefundPaymentByExternalKeyBadGateway) IsClientError

func (o *RefundPaymentByExternalKeyBadGateway) IsClientError() bool

IsClientError returns true when this refund payment by external key bad gateway response has a 4xx status code

func (*RefundPaymentByExternalKeyBadGateway) IsCode

IsCode returns true when this refund payment by external key bad gateway response a status code equal to that given

func (*RefundPaymentByExternalKeyBadGateway) IsRedirect

IsRedirect returns true when this refund payment by external key bad gateway response has a 3xx status code

func (*RefundPaymentByExternalKeyBadGateway) IsServerError

func (o *RefundPaymentByExternalKeyBadGateway) IsServerError() bool

IsServerError returns true when this refund payment by external key bad gateway response has a 5xx status code

func (*RefundPaymentByExternalKeyBadGateway) IsSuccess

IsSuccess returns true when this refund payment by external key bad gateway response has a 2xx status code

func (*RefundPaymentByExternalKeyBadGateway) String

type RefundPaymentByExternalKeyCreated

type RefundPaymentByExternalKeyCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewRefundPaymentByExternalKeyCreated

func NewRefundPaymentByExternalKeyCreated() *RefundPaymentByExternalKeyCreated

NewRefundPaymentByExternalKeyCreated creates a RefundPaymentByExternalKeyCreated with default headers values

func (*RefundPaymentByExternalKeyCreated) Code

Code gets the status code for the refund payment by external key created response

func (*RefundPaymentByExternalKeyCreated) Error

func (*RefundPaymentByExternalKeyCreated) GetPayload

func (*RefundPaymentByExternalKeyCreated) IsClientError

func (o *RefundPaymentByExternalKeyCreated) IsClientError() bool

IsClientError returns true when this refund payment by external key created response has a 4xx status code

func (*RefundPaymentByExternalKeyCreated) IsCode

func (o *RefundPaymentByExternalKeyCreated) IsCode(code int) bool

IsCode returns true when this refund payment by external key created response a status code equal to that given

func (*RefundPaymentByExternalKeyCreated) IsRedirect

func (o *RefundPaymentByExternalKeyCreated) IsRedirect() bool

IsRedirect returns true when this refund payment by external key created response has a 3xx status code

func (*RefundPaymentByExternalKeyCreated) IsServerError

func (o *RefundPaymentByExternalKeyCreated) IsServerError() bool

IsServerError returns true when this refund payment by external key created response has a 5xx status code

func (*RefundPaymentByExternalKeyCreated) IsSuccess

func (o *RefundPaymentByExternalKeyCreated) IsSuccess() bool

IsSuccess returns true when this refund payment by external key created response has a 2xx status code

func (*RefundPaymentByExternalKeyCreated) String

type RefundPaymentByExternalKeyGatewayTimeout

type RefundPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewRefundPaymentByExternalKeyGatewayTimeout

func NewRefundPaymentByExternalKeyGatewayTimeout() *RefundPaymentByExternalKeyGatewayTimeout

NewRefundPaymentByExternalKeyGatewayTimeout creates a RefundPaymentByExternalKeyGatewayTimeout with default headers values

func (*RefundPaymentByExternalKeyGatewayTimeout) Code

Code gets the status code for the refund payment by external key gateway timeout response

func (*RefundPaymentByExternalKeyGatewayTimeout) Error

func (*RefundPaymentByExternalKeyGatewayTimeout) IsClientError

IsClientError returns true when this refund payment by external key gateway timeout response has a 4xx status code

func (*RefundPaymentByExternalKeyGatewayTimeout) IsCode

IsCode returns true when this refund payment by external key gateway timeout response a status code equal to that given

func (*RefundPaymentByExternalKeyGatewayTimeout) IsRedirect

IsRedirect returns true when this refund payment by external key gateway timeout response has a 3xx status code

func (*RefundPaymentByExternalKeyGatewayTimeout) IsServerError

IsServerError returns true when this refund payment by external key gateway timeout response has a 5xx status code

func (*RefundPaymentByExternalKeyGatewayTimeout) IsSuccess

IsSuccess returns true when this refund payment by external key gateway timeout response has a 2xx status code

func (*RefundPaymentByExternalKeyGatewayTimeout) String

type RefundPaymentByExternalKeyNotFound

type RefundPaymentByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewRefundPaymentByExternalKeyNotFound

func NewRefundPaymentByExternalKeyNotFound() *RefundPaymentByExternalKeyNotFound

NewRefundPaymentByExternalKeyNotFound creates a RefundPaymentByExternalKeyNotFound with default headers values

func (*RefundPaymentByExternalKeyNotFound) Code

Code gets the status code for the refund payment by external key not found response

func (*RefundPaymentByExternalKeyNotFound) Error

func (*RefundPaymentByExternalKeyNotFound) IsClientError

func (o *RefundPaymentByExternalKeyNotFound) IsClientError() bool

IsClientError returns true when this refund payment by external key not found response has a 4xx status code

func (*RefundPaymentByExternalKeyNotFound) IsCode

IsCode returns true when this refund payment by external key not found response a status code equal to that given

func (*RefundPaymentByExternalKeyNotFound) IsRedirect

func (o *RefundPaymentByExternalKeyNotFound) IsRedirect() bool

IsRedirect returns true when this refund payment by external key not found response has a 3xx status code

func (*RefundPaymentByExternalKeyNotFound) IsServerError

func (o *RefundPaymentByExternalKeyNotFound) IsServerError() bool

IsServerError returns true when this refund payment by external key not found response has a 5xx status code

func (*RefundPaymentByExternalKeyNotFound) IsSuccess

IsSuccess returns true when this refund payment by external key not found response has a 2xx status code

func (*RefundPaymentByExternalKeyNotFound) String

type RefundPaymentByExternalKeyParams

type RefundPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewRefundPaymentByExternalKeyParamsWithContext

func NewRefundPaymentByExternalKeyParamsWithContext(ctx context.Context) *RefundPaymentByExternalKeyParams

NewRefundPaymentByExternalKeyParamsWithContext creates a new RefundPaymentByExternalKeyParams object with the ability to set a context for a request.

func NewRefundPaymentByExternalKeyParamsWithHTTPClient

func NewRefundPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *RefundPaymentByExternalKeyParams

NewRefundPaymentByExternalKeyParamsWithHTTPClient creates a new RefundPaymentByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewRefundPaymentByExternalKeyParamsWithTimeout

func NewRefundPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *RefundPaymentByExternalKeyParams

NewRefundPaymentByExternalKeyParamsWithTimeout creates a new RefundPaymentByExternalKeyParams object with the ability to set a timeout on a request.

func (*RefundPaymentByExternalKeyParams) SetBody

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

func (*RefundPaymentByExternalKeyParams) SetContext

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

func (*RefundPaymentByExternalKeyParams) SetControlPluginName

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

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

func (*RefundPaymentByExternalKeyParams) SetDefaults

func (o *RefundPaymentByExternalKeyParams) SetDefaults()

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

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

func (*RefundPaymentByExternalKeyParams) SetHTTPClient

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

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

func (*RefundPaymentByExternalKeyParams) SetPluginProperty

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

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

func (*RefundPaymentByExternalKeyParams) SetTimeout

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

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

func (*RefundPaymentByExternalKeyParams) SetXKillbillComment

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

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

func (*RefundPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *RefundPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*RefundPaymentByExternalKeyParams) SetXKillbillReason

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

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

func (*RefundPaymentByExternalKeyParams) WithBody

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

func (*RefundPaymentByExternalKeyParams) WithContext

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

func (*RefundPaymentByExternalKeyParams) WithControlPluginName

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

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

func (*RefundPaymentByExternalKeyParams) WithDefaults

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

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

func (*RefundPaymentByExternalKeyParams) WithHTTPClient

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

func (*RefundPaymentByExternalKeyParams) WithPluginProperty

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

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

func (*RefundPaymentByExternalKeyParams) WithTimeout

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

func (*RefundPaymentByExternalKeyParams) WithXKillbillComment

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

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

func (*RefundPaymentByExternalKeyParams) WithXKillbillCreatedBy

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

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

func (*RefundPaymentByExternalKeyParams) WithXKillbillReason

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

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

func (*RefundPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RefundPaymentByExternalKeyPaymentRequired

type RefundPaymentByExternalKeyPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewRefundPaymentByExternalKeyPaymentRequired

func NewRefundPaymentByExternalKeyPaymentRequired() *RefundPaymentByExternalKeyPaymentRequired

NewRefundPaymentByExternalKeyPaymentRequired creates a RefundPaymentByExternalKeyPaymentRequired with default headers values

func (*RefundPaymentByExternalKeyPaymentRequired) Code

Code gets the status code for the refund payment by external key payment required response

func (*RefundPaymentByExternalKeyPaymentRequired) Error

func (*RefundPaymentByExternalKeyPaymentRequired) IsClientError

IsClientError returns true when this refund payment by external key payment required response has a 4xx status code

func (*RefundPaymentByExternalKeyPaymentRequired) IsCode

IsCode returns true when this refund payment by external key payment required response a status code equal to that given

func (*RefundPaymentByExternalKeyPaymentRequired) IsRedirect

IsRedirect returns true when this refund payment by external key payment required response has a 3xx status code

func (*RefundPaymentByExternalKeyPaymentRequired) IsServerError

IsServerError returns true when this refund payment by external key payment required response has a 5xx status code

func (*RefundPaymentByExternalKeyPaymentRequired) IsSuccess

IsSuccess returns true when this refund payment by external key payment required response has a 2xx status code

func (*RefundPaymentByExternalKeyPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewRefundPaymentByExternalKeyServiceUnavailable

func NewRefundPaymentByExternalKeyServiceUnavailable() *RefundPaymentByExternalKeyServiceUnavailable

NewRefundPaymentByExternalKeyServiceUnavailable creates a RefundPaymentByExternalKeyServiceUnavailable with default headers values

func (*RefundPaymentByExternalKeyServiceUnavailable) Code

Code gets the status code for the refund payment by external key service unavailable response

func (*RefundPaymentByExternalKeyServiceUnavailable) Error

func (*RefundPaymentByExternalKeyServiceUnavailable) IsClientError

IsClientError returns true when this refund payment by external key service unavailable response has a 4xx status code

func (*RefundPaymentByExternalKeyServiceUnavailable) IsCode

IsCode returns true when this refund payment by external key service unavailable response a status code equal to that given

func (*RefundPaymentByExternalKeyServiceUnavailable) IsRedirect

IsRedirect returns true when this refund payment by external key service unavailable response has a 3xx status code

func (*RefundPaymentByExternalKeyServiceUnavailable) IsServerError

IsServerError returns true when this refund payment by external key service unavailable response has a 5xx status code

func (*RefundPaymentByExternalKeyServiceUnavailable) IsSuccess

IsSuccess returns true when this refund payment by external key service unavailable response has a 2xx status code

func (*RefundPaymentByExternalKeyServiceUnavailable) String

type RefundPaymentByExternalKeyUnprocessableEntity

type RefundPaymentByExternalKeyUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewRefundPaymentByExternalKeyUnprocessableEntity

func NewRefundPaymentByExternalKeyUnprocessableEntity() *RefundPaymentByExternalKeyUnprocessableEntity

NewRefundPaymentByExternalKeyUnprocessableEntity creates a RefundPaymentByExternalKeyUnprocessableEntity with default headers values

func (*RefundPaymentByExternalKeyUnprocessableEntity) Code

Code gets the status code for the refund payment by external key unprocessable entity response

func (*RefundPaymentByExternalKeyUnprocessableEntity) Error

func (*RefundPaymentByExternalKeyUnprocessableEntity) IsClientError

IsClientError returns true when this refund payment by external key unprocessable entity response has a 4xx status code

func (*RefundPaymentByExternalKeyUnprocessableEntity) IsCode

IsCode returns true when this refund payment by external key unprocessable entity response a status code equal to that given

func (*RefundPaymentByExternalKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this refund payment by external key unprocessable entity response has a 3xx status code

func (*RefundPaymentByExternalKeyUnprocessableEntity) IsServerError

IsServerError returns true when this refund payment by external key unprocessable entity response has a 5xx status code

func (*RefundPaymentByExternalKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this refund payment by external key unprocessable entity response has a 2xx status code

func (*RefundPaymentByExternalKeyUnprocessableEntity) String

type RefundPaymentCreated

type RefundPaymentCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

RefundPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewRefundPaymentCreated

func NewRefundPaymentCreated() *RefundPaymentCreated

NewRefundPaymentCreated creates a RefundPaymentCreated with default headers values

func (*RefundPaymentCreated) Code

func (o *RefundPaymentCreated) Code() int

Code gets the status code for the refund payment created response

func (*RefundPaymentCreated) Error

func (o *RefundPaymentCreated) Error() string

func (*RefundPaymentCreated) GetPayload

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

func (*RefundPaymentCreated) IsClientError

func (o *RefundPaymentCreated) IsClientError() bool

IsClientError returns true when this refund payment created response has a 4xx status code

func (*RefundPaymentCreated) IsCode

func (o *RefundPaymentCreated) IsCode(code int) bool

IsCode returns true when this refund payment created response a status code equal to that given

func (*RefundPaymentCreated) IsRedirect

func (o *RefundPaymentCreated) IsRedirect() bool

IsRedirect returns true when this refund payment created response has a 3xx status code

func (*RefundPaymentCreated) IsServerError

func (o *RefundPaymentCreated) IsServerError() bool

IsServerError returns true when this refund payment created response has a 5xx status code

func (*RefundPaymentCreated) IsSuccess

func (o *RefundPaymentCreated) IsSuccess() bool

IsSuccess returns true when this refund payment created response has a 2xx status code

func (*RefundPaymentCreated) String

func (o *RefundPaymentCreated) String() string

type RefundPaymentGatewayTimeout

type RefundPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewRefundPaymentGatewayTimeout

func NewRefundPaymentGatewayTimeout() *RefundPaymentGatewayTimeout

NewRefundPaymentGatewayTimeout creates a RefundPaymentGatewayTimeout with default headers values

func (*RefundPaymentGatewayTimeout) Code

func (o *RefundPaymentGatewayTimeout) Code() int

Code gets the status code for the refund payment gateway timeout response

func (*RefundPaymentGatewayTimeout) Error

func (*RefundPaymentGatewayTimeout) IsClientError

func (o *RefundPaymentGatewayTimeout) IsClientError() bool

IsClientError returns true when this refund payment gateway timeout response has a 4xx status code

func (*RefundPaymentGatewayTimeout) IsCode

func (o *RefundPaymentGatewayTimeout) IsCode(code int) bool

IsCode returns true when this refund payment gateway timeout response a status code equal to that given

func (*RefundPaymentGatewayTimeout) IsRedirect

func (o *RefundPaymentGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this refund payment gateway timeout response has a 3xx status code

func (*RefundPaymentGatewayTimeout) IsServerError

func (o *RefundPaymentGatewayTimeout) IsServerError() bool

IsServerError returns true when this refund payment gateway timeout response has a 5xx status code

func (*RefundPaymentGatewayTimeout) IsSuccess

func (o *RefundPaymentGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this refund payment gateway timeout response has a 2xx status code

func (*RefundPaymentGatewayTimeout) String

func (o *RefundPaymentGatewayTimeout) String() string

type RefundPaymentNotFound

type RefundPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewRefundPaymentNotFound

func NewRefundPaymentNotFound() *RefundPaymentNotFound

NewRefundPaymentNotFound creates a RefundPaymentNotFound with default headers values

func (*RefundPaymentNotFound) Code

func (o *RefundPaymentNotFound) Code() int

Code gets the status code for the refund payment not found response

func (*RefundPaymentNotFound) Error

func (o *RefundPaymentNotFound) Error() string

func (*RefundPaymentNotFound) IsClientError

func (o *RefundPaymentNotFound) IsClientError() bool

IsClientError returns true when this refund payment not found response has a 4xx status code

func (*RefundPaymentNotFound) IsCode

func (o *RefundPaymentNotFound) IsCode(code int) bool

IsCode returns true when this refund payment not found response a status code equal to that given

func (*RefundPaymentNotFound) IsRedirect

func (o *RefundPaymentNotFound) IsRedirect() bool

IsRedirect returns true when this refund payment not found response has a 3xx status code

func (*RefundPaymentNotFound) IsServerError

func (o *RefundPaymentNotFound) IsServerError() bool

IsServerError returns true when this refund payment not found response has a 5xx status code

func (*RefundPaymentNotFound) IsSuccess

func (o *RefundPaymentNotFound) IsSuccess() bool

IsSuccess returns true when this refund payment not found response has a 2xx status code

func (*RefundPaymentNotFound) String

func (o *RefundPaymentNotFound) String() string

type RefundPaymentParams

type RefundPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewRefundPaymentParamsWithContext

func NewRefundPaymentParamsWithContext(ctx context.Context) *RefundPaymentParams

NewRefundPaymentParamsWithContext creates a new RefundPaymentParams object with the ability to set a context for a request.

func NewRefundPaymentParamsWithHTTPClient

func NewRefundPaymentParamsWithHTTPClient(client *http.Client) *RefundPaymentParams

NewRefundPaymentParamsWithHTTPClient creates a new RefundPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewRefundPaymentParamsWithTimeout

func NewRefundPaymentParamsWithTimeout(timeout time.Duration) *RefundPaymentParams

NewRefundPaymentParamsWithTimeout creates a new RefundPaymentParams object with the ability to set a timeout on a request.

func (*RefundPaymentParams) SetBody

SetBody adds the body to the refund payment params

func (*RefundPaymentParams) SetContext

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

SetContext adds the context to the refund payment params

func (*RefundPaymentParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the refund payment params

func (*RefundPaymentParams) SetDefaults

func (o *RefundPaymentParams) SetDefaults()

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

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

func (*RefundPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refund payment params

func (*RefundPaymentParams) SetPaymentID

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

SetPaymentID adds the paymentId to the refund payment params

func (*RefundPaymentParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the refund payment params

func (*RefundPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the refund payment params

func (*RefundPaymentParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the refund payment params

func (*RefundPaymentParams) SetXKillbillCreatedBy

func (o *RefundPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the refund payment params

func (*RefundPaymentParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the refund payment params

func (*RefundPaymentParams) WithBody

WithBody adds the body to the refund payment params

func (*RefundPaymentParams) WithContext

WithContext adds the context to the refund payment params

func (*RefundPaymentParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the refund payment params

func (*RefundPaymentParams) WithDefaults

func (o *RefundPaymentParams) WithDefaults() *RefundPaymentParams

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

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

func (*RefundPaymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the refund payment params

func (*RefundPaymentParams) WithPaymentID

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

WithPaymentID adds the paymentID to the refund payment params

func (*RefundPaymentParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the refund payment params

func (*RefundPaymentParams) WithTimeout

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

WithTimeout adds the timeout to the refund payment params

func (*RefundPaymentParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the refund payment params

func (*RefundPaymentParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the refund payment params

func (*RefundPaymentParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the refund payment params

func (*RefundPaymentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RefundPaymentPaymentRequired

type RefundPaymentPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewRefundPaymentPaymentRequired

func NewRefundPaymentPaymentRequired() *RefundPaymentPaymentRequired

NewRefundPaymentPaymentRequired creates a RefundPaymentPaymentRequired with default headers values

func (*RefundPaymentPaymentRequired) Code

Code gets the status code for the refund payment payment required response

func (*RefundPaymentPaymentRequired) Error

func (*RefundPaymentPaymentRequired) IsClientError

func (o *RefundPaymentPaymentRequired) IsClientError() bool

IsClientError returns true when this refund payment payment required response has a 4xx status code

func (*RefundPaymentPaymentRequired) IsCode

func (o *RefundPaymentPaymentRequired) IsCode(code int) bool

IsCode returns true when this refund payment payment required response a status code equal to that given

func (*RefundPaymentPaymentRequired) IsRedirect

func (o *RefundPaymentPaymentRequired) IsRedirect() bool

IsRedirect returns true when this refund payment payment required response has a 3xx status code

func (*RefundPaymentPaymentRequired) IsServerError

func (o *RefundPaymentPaymentRequired) IsServerError() bool

IsServerError returns true when this refund payment payment required response has a 5xx status code

func (*RefundPaymentPaymentRequired) IsSuccess

func (o *RefundPaymentPaymentRequired) IsSuccess() bool

IsSuccess returns true when this refund payment payment required response has a 2xx status code

func (*RefundPaymentPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewRefundPaymentServiceUnavailable

func NewRefundPaymentServiceUnavailable() *RefundPaymentServiceUnavailable

NewRefundPaymentServiceUnavailable creates a RefundPaymentServiceUnavailable with default headers values

func (*RefundPaymentServiceUnavailable) Code

Code gets the status code for the refund payment service unavailable response

func (*RefundPaymentServiceUnavailable) Error

func (*RefundPaymentServiceUnavailable) IsClientError

func (o *RefundPaymentServiceUnavailable) IsClientError() bool

IsClientError returns true when this refund payment service unavailable response has a 4xx status code

func (*RefundPaymentServiceUnavailable) IsCode

func (o *RefundPaymentServiceUnavailable) IsCode(code int) bool

IsCode returns true when this refund payment service unavailable response a status code equal to that given

func (*RefundPaymentServiceUnavailable) IsRedirect

func (o *RefundPaymentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this refund payment service unavailable response has a 3xx status code

func (*RefundPaymentServiceUnavailable) IsServerError

func (o *RefundPaymentServiceUnavailable) IsServerError() bool

IsServerError returns true when this refund payment service unavailable response has a 5xx status code

func (*RefundPaymentServiceUnavailable) IsSuccess

func (o *RefundPaymentServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this refund payment service unavailable response has a 2xx status code

func (*RefundPaymentServiceUnavailable) String

type RefundPaymentUnprocessableEntity

type RefundPaymentUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

RefundPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewRefundPaymentUnprocessableEntity

func NewRefundPaymentUnprocessableEntity() *RefundPaymentUnprocessableEntity

NewRefundPaymentUnprocessableEntity creates a RefundPaymentUnprocessableEntity with default headers values

func (*RefundPaymentUnprocessableEntity) Code

Code gets the status code for the refund payment unprocessable entity response

func (*RefundPaymentUnprocessableEntity) Error

func (*RefundPaymentUnprocessableEntity) IsClientError

func (o *RefundPaymentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this refund payment unprocessable entity response has a 4xx status code

func (*RefundPaymentUnprocessableEntity) IsCode

func (o *RefundPaymentUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this refund payment unprocessable entity response a status code equal to that given

func (*RefundPaymentUnprocessableEntity) IsRedirect

func (o *RefundPaymentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this refund payment unprocessable entity response has a 3xx status code

func (*RefundPaymentUnprocessableEntity) IsServerError

func (o *RefundPaymentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this refund payment unprocessable entity response has a 5xx status code

func (*RefundPaymentUnprocessableEntity) IsSuccess

func (o *RefundPaymentUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this refund payment unprocessable entity response has a 2xx status code

func (*RefundPaymentUnprocessableEntity) String

type SearchPaymentsOK

type SearchPaymentsOK struct {
	Payload      []*kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

SearchPaymentsOK describes a response with status code 200, with default header values.

successful operation

func NewSearchPaymentsOK

func NewSearchPaymentsOK() *SearchPaymentsOK

NewSearchPaymentsOK creates a SearchPaymentsOK with default headers values

func (*SearchPaymentsOK) Code

func (o *SearchPaymentsOK) Code() int

Code gets the status code for the search payments o k response

func (*SearchPaymentsOK) Error

func (o *SearchPaymentsOK) Error() string

func (*SearchPaymentsOK) GetPayload

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

func (*SearchPaymentsOK) IsClientError

func (o *SearchPaymentsOK) IsClientError() bool

IsClientError returns true when this search payments o k response has a 4xx status code

func (*SearchPaymentsOK) IsCode

func (o *SearchPaymentsOK) IsCode(code int) bool

IsCode returns true when this search payments o k response a status code equal to that given

func (*SearchPaymentsOK) IsRedirect

func (o *SearchPaymentsOK) IsRedirect() bool

IsRedirect returns true when this search payments o k response has a 3xx status code

func (*SearchPaymentsOK) IsServerError

func (o *SearchPaymentsOK) IsServerError() bool

IsServerError returns true when this search payments o k response has a 5xx status code

func (*SearchPaymentsOK) IsSuccess

func (o *SearchPaymentsOK) IsSuccess() bool

IsSuccess returns true when this search payments o k response has a 2xx status code

func (*SearchPaymentsOK) String

func (o *SearchPaymentsOK) String() string

type SearchPaymentsParams

type SearchPaymentsParams struct {

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

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

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

	// PluginName.
	PluginName *string

	// PluginProperty.
	PluginProperty []string

	// SearchKey.
	SearchKey string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewSearchPaymentsParamsWithContext

func NewSearchPaymentsParamsWithContext(ctx context.Context) *SearchPaymentsParams

NewSearchPaymentsParamsWithContext creates a new SearchPaymentsParams object with the ability to set a context for a request.

func NewSearchPaymentsParamsWithHTTPClient

func NewSearchPaymentsParamsWithHTTPClient(client *http.Client) *SearchPaymentsParams

NewSearchPaymentsParamsWithHTTPClient creates a new SearchPaymentsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchPaymentsParamsWithTimeout

func NewSearchPaymentsParamsWithTimeout(timeout time.Duration) *SearchPaymentsParams

NewSearchPaymentsParamsWithTimeout creates a new SearchPaymentsParams object with the ability to set a timeout on a request.

func (*SearchPaymentsParams) SetAudit

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

SetAudit adds the audit to the search payments params

func (*SearchPaymentsParams) SetContext

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

SetContext adds the context to the search payments params

func (*SearchPaymentsParams) SetDefaults

func (o *SearchPaymentsParams) SetDefaults()

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

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

func (*SearchPaymentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search payments params

func (*SearchPaymentsParams) SetLimit

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

SetLimit adds the limit to the search payments params

func (*SearchPaymentsParams) SetOffset

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

SetOffset adds the offset to the search payments params

func (*SearchPaymentsParams) SetPluginName

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

SetPluginName adds the pluginName to the search payments params

func (*SearchPaymentsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the search payments params

func (*SearchPaymentsParams) SetSearchKey

func (o *SearchPaymentsParams) SetSearchKey(searchKey string)

SetSearchKey adds the searchKey to the search payments params

func (*SearchPaymentsParams) SetTimeout

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

SetTimeout adds the timeout to the search payments params

func (*SearchPaymentsParams) SetWithAttempts

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

SetWithAttempts adds the withAttempts to the search payments params

func (*SearchPaymentsParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the search payments params

func (*SearchPaymentsParams) WithAudit

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

WithAudit adds the audit to the search payments params

func (*SearchPaymentsParams) WithContext

WithContext adds the context to the search payments params

func (*SearchPaymentsParams) WithDefaults

func (o *SearchPaymentsParams) WithDefaults() *SearchPaymentsParams

WithDefaults hydrates default values in the search payments params (not the query body).

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

func (*SearchPaymentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search payments params

func (*SearchPaymentsParams) WithLimit

func (o *SearchPaymentsParams) WithLimit(limit *int64) *SearchPaymentsParams

WithLimit adds the limit to the search payments params

func (*SearchPaymentsParams) WithOffset

func (o *SearchPaymentsParams) WithOffset(offset *int64) *SearchPaymentsParams

WithOffset adds the offset to the search payments params

func (*SearchPaymentsParams) WithPluginName

func (o *SearchPaymentsParams) WithPluginName(pluginName *string) *SearchPaymentsParams

WithPluginName adds the pluginName to the search payments params

func (*SearchPaymentsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the search payments params

func (*SearchPaymentsParams) WithSearchKey

func (o *SearchPaymentsParams) WithSearchKey(searchKey string) *SearchPaymentsParams

WithSearchKey adds the searchKey to the search payments params

func (*SearchPaymentsParams) WithTimeout

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

WithTimeout adds the timeout to the search payments params

func (*SearchPaymentsParams) WithWithAttempts

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

WithWithAttempts adds the withAttempts to the search payments params

func (*SearchPaymentsParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the search payments params

func (*SearchPaymentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchPaymentsReader

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

SearchPaymentsReader is a Reader for the SearchPayments structure.

func (*SearchPaymentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VoidPaymentBadGateway

type VoidPaymentBadGateway struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewVoidPaymentBadGateway

func NewVoidPaymentBadGateway() *VoidPaymentBadGateway

NewVoidPaymentBadGateway creates a VoidPaymentBadGateway with default headers values

func (*VoidPaymentBadGateway) Code

func (o *VoidPaymentBadGateway) Code() int

Code gets the status code for the void payment bad gateway response

func (*VoidPaymentBadGateway) Error

func (o *VoidPaymentBadGateway) Error() string

func (*VoidPaymentBadGateway) IsClientError

func (o *VoidPaymentBadGateway) IsClientError() bool

IsClientError returns true when this void payment bad gateway response has a 4xx status code

func (*VoidPaymentBadGateway) IsCode

func (o *VoidPaymentBadGateway) IsCode(code int) bool

IsCode returns true when this void payment bad gateway response a status code equal to that given

func (*VoidPaymentBadGateway) IsRedirect

func (o *VoidPaymentBadGateway) IsRedirect() bool

IsRedirect returns true when this void payment bad gateway response has a 3xx status code

func (*VoidPaymentBadGateway) IsServerError

func (o *VoidPaymentBadGateway) IsServerError() bool

IsServerError returns true when this void payment bad gateway response has a 5xx status code

func (*VoidPaymentBadGateway) IsSuccess

func (o *VoidPaymentBadGateway) IsSuccess() bool

IsSuccess returns true when this void payment bad gateway response has a 2xx status code

func (*VoidPaymentBadGateway) String

func (o *VoidPaymentBadGateway) String() string

type VoidPaymentBadRequest

type VoidPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentBadRequest describes a response with status code 400, with default header values.

Invalid paymentId supplied

func NewVoidPaymentBadRequest

func NewVoidPaymentBadRequest() *VoidPaymentBadRequest

NewVoidPaymentBadRequest creates a VoidPaymentBadRequest with default headers values

func (*VoidPaymentBadRequest) Code

func (o *VoidPaymentBadRequest) Code() int

Code gets the status code for the void payment bad request response

func (*VoidPaymentBadRequest) Error

func (o *VoidPaymentBadRequest) Error() string

func (*VoidPaymentBadRequest) IsClientError

func (o *VoidPaymentBadRequest) IsClientError() bool

IsClientError returns true when this void payment bad request response has a 4xx status code

func (*VoidPaymentBadRequest) IsCode

func (o *VoidPaymentBadRequest) IsCode(code int) bool

IsCode returns true when this void payment bad request response a status code equal to that given

func (*VoidPaymentBadRequest) IsRedirect

func (o *VoidPaymentBadRequest) IsRedirect() bool

IsRedirect returns true when this void payment bad request response has a 3xx status code

func (*VoidPaymentBadRequest) IsServerError

func (o *VoidPaymentBadRequest) IsServerError() bool

IsServerError returns true when this void payment bad request response has a 5xx status code

func (*VoidPaymentBadRequest) IsSuccess

func (o *VoidPaymentBadRequest) IsSuccess() bool

IsSuccess returns true when this void payment bad request response has a 2xx status code

func (*VoidPaymentBadRequest) String

func (o *VoidPaymentBadRequest) String() string

type VoidPaymentByExternalKeyBadGateway

type VoidPaymentByExternalKeyBadGateway struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewVoidPaymentByExternalKeyBadGateway

func NewVoidPaymentByExternalKeyBadGateway() *VoidPaymentByExternalKeyBadGateway

NewVoidPaymentByExternalKeyBadGateway creates a VoidPaymentByExternalKeyBadGateway with default headers values

func (*VoidPaymentByExternalKeyBadGateway) Code

Code gets the status code for the void payment by external key bad gateway response

func (*VoidPaymentByExternalKeyBadGateway) Error

func (*VoidPaymentByExternalKeyBadGateway) IsClientError

func (o *VoidPaymentByExternalKeyBadGateway) IsClientError() bool

IsClientError returns true when this void payment by external key bad gateway response has a 4xx status code

func (*VoidPaymentByExternalKeyBadGateway) IsCode

IsCode returns true when this void payment by external key bad gateway response a status code equal to that given

func (*VoidPaymentByExternalKeyBadGateway) IsRedirect

func (o *VoidPaymentByExternalKeyBadGateway) IsRedirect() bool

IsRedirect returns true when this void payment by external key bad gateway response has a 3xx status code

func (*VoidPaymentByExternalKeyBadGateway) IsServerError

func (o *VoidPaymentByExternalKeyBadGateway) IsServerError() bool

IsServerError returns true when this void payment by external key bad gateway response has a 5xx status code

func (*VoidPaymentByExternalKeyBadGateway) IsSuccess

IsSuccess returns true when this void payment by external key bad gateway response has a 2xx status code

func (*VoidPaymentByExternalKeyBadGateway) String

type VoidPaymentByExternalKeyGatewayTimeout

type VoidPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewVoidPaymentByExternalKeyGatewayTimeout

func NewVoidPaymentByExternalKeyGatewayTimeout() *VoidPaymentByExternalKeyGatewayTimeout

NewVoidPaymentByExternalKeyGatewayTimeout creates a VoidPaymentByExternalKeyGatewayTimeout with default headers values

func (*VoidPaymentByExternalKeyGatewayTimeout) Code

Code gets the status code for the void payment by external key gateway timeout response

func (*VoidPaymentByExternalKeyGatewayTimeout) Error

func (*VoidPaymentByExternalKeyGatewayTimeout) IsClientError

func (o *VoidPaymentByExternalKeyGatewayTimeout) IsClientError() bool

IsClientError returns true when this void payment by external key gateway timeout response has a 4xx status code

func (*VoidPaymentByExternalKeyGatewayTimeout) IsCode

IsCode returns true when this void payment by external key gateway timeout response a status code equal to that given

func (*VoidPaymentByExternalKeyGatewayTimeout) IsRedirect

IsRedirect returns true when this void payment by external key gateway timeout response has a 3xx status code

func (*VoidPaymentByExternalKeyGatewayTimeout) IsServerError

func (o *VoidPaymentByExternalKeyGatewayTimeout) IsServerError() bool

IsServerError returns true when this void payment by external key gateway timeout response has a 5xx status code

func (*VoidPaymentByExternalKeyGatewayTimeout) IsSuccess

IsSuccess returns true when this void payment by external key gateway timeout response has a 2xx status code

func (*VoidPaymentByExternalKeyGatewayTimeout) String

type VoidPaymentByExternalKeyNoContent

type VoidPaymentByExternalKeyNoContent struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyNoContent describes a response with status code 204, with default header values.

Successful operation

func NewVoidPaymentByExternalKeyNoContent

func NewVoidPaymentByExternalKeyNoContent() *VoidPaymentByExternalKeyNoContent

NewVoidPaymentByExternalKeyNoContent creates a VoidPaymentByExternalKeyNoContent with default headers values

func (*VoidPaymentByExternalKeyNoContent) Code

Code gets the status code for the void payment by external key no content response

func (*VoidPaymentByExternalKeyNoContent) Error

func (*VoidPaymentByExternalKeyNoContent) IsClientError

func (o *VoidPaymentByExternalKeyNoContent) IsClientError() bool

IsClientError returns true when this void payment by external key no content response has a 4xx status code

func (*VoidPaymentByExternalKeyNoContent) IsCode

func (o *VoidPaymentByExternalKeyNoContent) IsCode(code int) bool

IsCode returns true when this void payment by external key no content response a status code equal to that given

func (*VoidPaymentByExternalKeyNoContent) IsRedirect

func (o *VoidPaymentByExternalKeyNoContent) IsRedirect() bool

IsRedirect returns true when this void payment by external key no content response has a 3xx status code

func (*VoidPaymentByExternalKeyNoContent) IsServerError

func (o *VoidPaymentByExternalKeyNoContent) IsServerError() bool

IsServerError returns true when this void payment by external key no content response has a 5xx status code

func (*VoidPaymentByExternalKeyNoContent) IsSuccess

func (o *VoidPaymentByExternalKeyNoContent) IsSuccess() bool

IsSuccess returns true when this void payment by external key no content response has a 2xx status code

func (*VoidPaymentByExternalKeyNoContent) String

type VoidPaymentByExternalKeyNotFound

type VoidPaymentByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewVoidPaymentByExternalKeyNotFound

func NewVoidPaymentByExternalKeyNotFound() *VoidPaymentByExternalKeyNotFound

NewVoidPaymentByExternalKeyNotFound creates a VoidPaymentByExternalKeyNotFound with default headers values

func (*VoidPaymentByExternalKeyNotFound) Code

Code gets the status code for the void payment by external key not found response

func (*VoidPaymentByExternalKeyNotFound) Error

func (*VoidPaymentByExternalKeyNotFound) IsClientError

func (o *VoidPaymentByExternalKeyNotFound) IsClientError() bool

IsClientError returns true when this void payment by external key not found response has a 4xx status code

func (*VoidPaymentByExternalKeyNotFound) IsCode

func (o *VoidPaymentByExternalKeyNotFound) IsCode(code int) bool

IsCode returns true when this void payment by external key not found response a status code equal to that given

func (*VoidPaymentByExternalKeyNotFound) IsRedirect

func (o *VoidPaymentByExternalKeyNotFound) IsRedirect() bool

IsRedirect returns true when this void payment by external key not found response has a 3xx status code

func (*VoidPaymentByExternalKeyNotFound) IsServerError

func (o *VoidPaymentByExternalKeyNotFound) IsServerError() bool

IsServerError returns true when this void payment by external key not found response has a 5xx status code

func (*VoidPaymentByExternalKeyNotFound) IsSuccess

func (o *VoidPaymentByExternalKeyNotFound) IsSuccess() bool

IsSuccess returns true when this void payment by external key not found response has a 2xx status code

func (*VoidPaymentByExternalKeyNotFound) String

type VoidPaymentByExternalKeyParams

type VoidPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewVoidPaymentByExternalKeyParamsWithContext

func NewVoidPaymentByExternalKeyParamsWithContext(ctx context.Context) *VoidPaymentByExternalKeyParams

NewVoidPaymentByExternalKeyParamsWithContext creates a new VoidPaymentByExternalKeyParams object with the ability to set a context for a request.

func NewVoidPaymentByExternalKeyParamsWithHTTPClient

func NewVoidPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *VoidPaymentByExternalKeyParams

NewVoidPaymentByExternalKeyParamsWithHTTPClient creates a new VoidPaymentByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewVoidPaymentByExternalKeyParamsWithTimeout

func NewVoidPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *VoidPaymentByExternalKeyParams

NewVoidPaymentByExternalKeyParamsWithTimeout creates a new VoidPaymentByExternalKeyParams object with the ability to set a timeout on a request.

func (*VoidPaymentByExternalKeyParams) SetBody

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

func (*VoidPaymentByExternalKeyParams) SetContext

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

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

func (*VoidPaymentByExternalKeyParams) SetControlPluginName

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

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

func (*VoidPaymentByExternalKeyParams) SetDefaults

func (o *VoidPaymentByExternalKeyParams) SetDefaults()

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

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

func (*VoidPaymentByExternalKeyParams) SetHTTPClient

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

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

func (*VoidPaymentByExternalKeyParams) SetPluginProperty

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

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

func (*VoidPaymentByExternalKeyParams) SetTimeout

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

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

func (*VoidPaymentByExternalKeyParams) SetXKillbillComment

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

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

func (*VoidPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *VoidPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*VoidPaymentByExternalKeyParams) SetXKillbillReason

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

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

func (*VoidPaymentByExternalKeyParams) WithBody

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

func (*VoidPaymentByExternalKeyParams) WithContext

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

func (*VoidPaymentByExternalKeyParams) WithControlPluginName

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

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

func (*VoidPaymentByExternalKeyParams) WithDefaults

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

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

func (*VoidPaymentByExternalKeyParams) WithHTTPClient

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

func (*VoidPaymentByExternalKeyParams) WithPluginProperty

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

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

func (*VoidPaymentByExternalKeyParams) WithTimeout

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

func (*VoidPaymentByExternalKeyParams) WithXKillbillComment

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

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

func (*VoidPaymentByExternalKeyParams) WithXKillbillCreatedBy

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

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

func (*VoidPaymentByExternalKeyParams) WithXKillbillReason

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

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

func (*VoidPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VoidPaymentByExternalKeyPaymentRequired

type VoidPaymentByExternalKeyPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewVoidPaymentByExternalKeyPaymentRequired

func NewVoidPaymentByExternalKeyPaymentRequired() *VoidPaymentByExternalKeyPaymentRequired

NewVoidPaymentByExternalKeyPaymentRequired creates a VoidPaymentByExternalKeyPaymentRequired with default headers values

func (*VoidPaymentByExternalKeyPaymentRequired) Code

Code gets the status code for the void payment by external key payment required response

func (*VoidPaymentByExternalKeyPaymentRequired) Error

func (*VoidPaymentByExternalKeyPaymentRequired) IsClientError

func (o *VoidPaymentByExternalKeyPaymentRequired) IsClientError() bool

IsClientError returns true when this void payment by external key payment required response has a 4xx status code

func (*VoidPaymentByExternalKeyPaymentRequired) IsCode

IsCode returns true when this void payment by external key payment required response a status code equal to that given

func (*VoidPaymentByExternalKeyPaymentRequired) IsRedirect

IsRedirect returns true when this void payment by external key payment required response has a 3xx status code

func (*VoidPaymentByExternalKeyPaymentRequired) IsServerError

func (o *VoidPaymentByExternalKeyPaymentRequired) IsServerError() bool

IsServerError returns true when this void payment by external key payment required response has a 5xx status code

func (*VoidPaymentByExternalKeyPaymentRequired) IsSuccess

IsSuccess returns true when this void payment by external key payment required response has a 2xx status code

func (*VoidPaymentByExternalKeyPaymentRequired) String

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewVoidPaymentByExternalKeyServiceUnavailable

func NewVoidPaymentByExternalKeyServiceUnavailable() *VoidPaymentByExternalKeyServiceUnavailable

NewVoidPaymentByExternalKeyServiceUnavailable creates a VoidPaymentByExternalKeyServiceUnavailable with default headers values

func (*VoidPaymentByExternalKeyServiceUnavailable) Code

Code gets the status code for the void payment by external key service unavailable response

func (*VoidPaymentByExternalKeyServiceUnavailable) Error

func (*VoidPaymentByExternalKeyServiceUnavailable) IsClientError

IsClientError returns true when this void payment by external key service unavailable response has a 4xx status code

func (*VoidPaymentByExternalKeyServiceUnavailable) IsCode

IsCode returns true when this void payment by external key service unavailable response a status code equal to that given

func (*VoidPaymentByExternalKeyServiceUnavailable) IsRedirect

IsRedirect returns true when this void payment by external key service unavailable response has a 3xx status code

func (*VoidPaymentByExternalKeyServiceUnavailable) IsServerError

IsServerError returns true when this void payment by external key service unavailable response has a 5xx status code

func (*VoidPaymentByExternalKeyServiceUnavailable) IsSuccess

IsSuccess returns true when this void payment by external key service unavailable response has a 2xx status code

func (*VoidPaymentByExternalKeyServiceUnavailable) String

type VoidPaymentByExternalKeyUnprocessableEntity

type VoidPaymentByExternalKeyUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewVoidPaymentByExternalKeyUnprocessableEntity

func NewVoidPaymentByExternalKeyUnprocessableEntity() *VoidPaymentByExternalKeyUnprocessableEntity

NewVoidPaymentByExternalKeyUnprocessableEntity creates a VoidPaymentByExternalKeyUnprocessableEntity with default headers values

func (*VoidPaymentByExternalKeyUnprocessableEntity) Code

Code gets the status code for the void payment by external key unprocessable entity response

func (*VoidPaymentByExternalKeyUnprocessableEntity) Error

func (*VoidPaymentByExternalKeyUnprocessableEntity) IsClientError

IsClientError returns true when this void payment by external key unprocessable entity response has a 4xx status code

func (*VoidPaymentByExternalKeyUnprocessableEntity) IsCode

IsCode returns true when this void payment by external key unprocessable entity response a status code equal to that given

func (*VoidPaymentByExternalKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this void payment by external key unprocessable entity response has a 3xx status code

func (*VoidPaymentByExternalKeyUnprocessableEntity) IsServerError

IsServerError returns true when this void payment by external key unprocessable entity response has a 5xx status code

func (*VoidPaymentByExternalKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this void payment by external key unprocessable entity response has a 2xx status code

func (*VoidPaymentByExternalKeyUnprocessableEntity) String

type VoidPaymentGatewayTimeout

type VoidPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewVoidPaymentGatewayTimeout

func NewVoidPaymentGatewayTimeout() *VoidPaymentGatewayTimeout

NewVoidPaymentGatewayTimeout creates a VoidPaymentGatewayTimeout with default headers values

func (*VoidPaymentGatewayTimeout) Code

func (o *VoidPaymentGatewayTimeout) Code() int

Code gets the status code for the void payment gateway timeout response

func (*VoidPaymentGatewayTimeout) Error

func (o *VoidPaymentGatewayTimeout) Error() string

func (*VoidPaymentGatewayTimeout) IsClientError

func (o *VoidPaymentGatewayTimeout) IsClientError() bool

IsClientError returns true when this void payment gateway timeout response has a 4xx status code

func (*VoidPaymentGatewayTimeout) IsCode

func (o *VoidPaymentGatewayTimeout) IsCode(code int) bool

IsCode returns true when this void payment gateway timeout response a status code equal to that given

func (*VoidPaymentGatewayTimeout) IsRedirect

func (o *VoidPaymentGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this void payment gateway timeout response has a 3xx status code

func (*VoidPaymentGatewayTimeout) IsServerError

func (o *VoidPaymentGatewayTimeout) IsServerError() bool

IsServerError returns true when this void payment gateway timeout response has a 5xx status code

func (*VoidPaymentGatewayTimeout) IsSuccess

func (o *VoidPaymentGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this void payment gateway timeout response has a 2xx status code

func (*VoidPaymentGatewayTimeout) String

func (o *VoidPaymentGatewayTimeout) String() string

type VoidPaymentNoContent

type VoidPaymentNoContent struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentNoContent describes a response with status code 204, with default header values.

Successful operation

func NewVoidPaymentNoContent

func NewVoidPaymentNoContent() *VoidPaymentNoContent

NewVoidPaymentNoContent creates a VoidPaymentNoContent with default headers values

func (*VoidPaymentNoContent) Code

func (o *VoidPaymentNoContent) Code() int

Code gets the status code for the void payment no content response

func (*VoidPaymentNoContent) Error

func (o *VoidPaymentNoContent) Error() string

func (*VoidPaymentNoContent) IsClientError

func (o *VoidPaymentNoContent) IsClientError() bool

IsClientError returns true when this void payment no content response has a 4xx status code

func (*VoidPaymentNoContent) IsCode

func (o *VoidPaymentNoContent) IsCode(code int) bool

IsCode returns true when this void payment no content response a status code equal to that given

func (*VoidPaymentNoContent) IsRedirect

func (o *VoidPaymentNoContent) IsRedirect() bool

IsRedirect returns true when this void payment no content response has a 3xx status code

func (*VoidPaymentNoContent) IsServerError

func (o *VoidPaymentNoContent) IsServerError() bool

IsServerError returns true when this void payment no content response has a 5xx status code

func (*VoidPaymentNoContent) IsSuccess

func (o *VoidPaymentNoContent) IsSuccess() bool

IsSuccess returns true when this void payment no content response has a 2xx status code

func (*VoidPaymentNoContent) String

func (o *VoidPaymentNoContent) String() string

type VoidPaymentNotFound

type VoidPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentNotFound describes a response with status code 404, with default header values.

Account or payment not found

func NewVoidPaymentNotFound

func NewVoidPaymentNotFound() *VoidPaymentNotFound

NewVoidPaymentNotFound creates a VoidPaymentNotFound with default headers values

func (*VoidPaymentNotFound) Code

func (o *VoidPaymentNotFound) Code() int

Code gets the status code for the void payment not found response

func (*VoidPaymentNotFound) Error

func (o *VoidPaymentNotFound) Error() string

func (*VoidPaymentNotFound) IsClientError

func (o *VoidPaymentNotFound) IsClientError() bool

IsClientError returns true when this void payment not found response has a 4xx status code

func (*VoidPaymentNotFound) IsCode

func (o *VoidPaymentNotFound) IsCode(code int) bool

IsCode returns true when this void payment not found response a status code equal to that given

func (*VoidPaymentNotFound) IsRedirect

func (o *VoidPaymentNotFound) IsRedirect() bool

IsRedirect returns true when this void payment not found response has a 3xx status code

func (*VoidPaymentNotFound) IsServerError

func (o *VoidPaymentNotFound) IsServerError() bool

IsServerError returns true when this void payment not found response has a 5xx status code

func (*VoidPaymentNotFound) IsSuccess

func (o *VoidPaymentNotFound) IsSuccess() bool

IsSuccess returns true when this void payment not found response has a 2xx status code

func (*VoidPaymentNotFound) String

func (o *VoidPaymentNotFound) String() string

type VoidPaymentParams

type VoidPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

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

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

func NewVoidPaymentParamsWithContext

func NewVoidPaymentParamsWithContext(ctx context.Context) *VoidPaymentParams

NewVoidPaymentParamsWithContext creates a new VoidPaymentParams object with the ability to set a context for a request.

func NewVoidPaymentParamsWithHTTPClient

func NewVoidPaymentParamsWithHTTPClient(client *http.Client) *VoidPaymentParams

NewVoidPaymentParamsWithHTTPClient creates a new VoidPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewVoidPaymentParamsWithTimeout

func NewVoidPaymentParamsWithTimeout(timeout time.Duration) *VoidPaymentParams

NewVoidPaymentParamsWithTimeout creates a new VoidPaymentParams object with the ability to set a timeout on a request.

func (*VoidPaymentParams) SetBody

func (o *VoidPaymentParams) SetBody(body *kbmodel.PaymentTransaction)

SetBody adds the body to the void payment params

func (*VoidPaymentParams) SetContext

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

SetContext adds the context to the void payment params

func (*VoidPaymentParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the void payment params

func (*VoidPaymentParams) SetDefaults

func (o *VoidPaymentParams) SetDefaults()

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

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

func (*VoidPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the void payment params

func (*VoidPaymentParams) SetPaymentID

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

SetPaymentID adds the paymentId to the void payment params

func (*VoidPaymentParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the void payment params

func (*VoidPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the void payment params

func (*VoidPaymentParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the void payment params

func (*VoidPaymentParams) SetXKillbillCreatedBy

func (o *VoidPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the void payment params

func (*VoidPaymentParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the void payment params

func (*VoidPaymentParams) WithBody

WithBody adds the body to the void payment params

func (*VoidPaymentParams) WithContext

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

WithContext adds the context to the void payment params

func (*VoidPaymentParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the void payment params

func (*VoidPaymentParams) WithDefaults

func (o *VoidPaymentParams) WithDefaults() *VoidPaymentParams

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

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

func (*VoidPaymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the void payment params

func (*VoidPaymentParams) WithPaymentID

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

WithPaymentID adds the paymentID to the void payment params

func (*VoidPaymentParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the void payment params

func (*VoidPaymentParams) WithTimeout

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

WithTimeout adds the timeout to the void payment params

func (*VoidPaymentParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the void payment params

func (*VoidPaymentParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the void payment params

func (*VoidPaymentParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the void payment params

func (*VoidPaymentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VoidPaymentPaymentRequired

type VoidPaymentPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewVoidPaymentPaymentRequired

func NewVoidPaymentPaymentRequired() *VoidPaymentPaymentRequired

NewVoidPaymentPaymentRequired creates a VoidPaymentPaymentRequired with default headers values

func (*VoidPaymentPaymentRequired) Code

func (o *VoidPaymentPaymentRequired) Code() int

Code gets the status code for the void payment payment required response

func (*VoidPaymentPaymentRequired) Error

func (*VoidPaymentPaymentRequired) IsClientError

func (o *VoidPaymentPaymentRequired) IsClientError() bool

IsClientError returns true when this void payment payment required response has a 4xx status code

func (*VoidPaymentPaymentRequired) IsCode

func (o *VoidPaymentPaymentRequired) IsCode(code int) bool

IsCode returns true when this void payment payment required response a status code equal to that given

func (*VoidPaymentPaymentRequired) IsRedirect

func (o *VoidPaymentPaymentRequired) IsRedirect() bool

IsRedirect returns true when this void payment payment required response has a 3xx status code

func (*VoidPaymentPaymentRequired) IsServerError

func (o *VoidPaymentPaymentRequired) IsServerError() bool

IsServerError returns true when this void payment payment required response has a 5xx status code

func (*VoidPaymentPaymentRequired) IsSuccess

func (o *VoidPaymentPaymentRequired) IsSuccess() bool

IsSuccess returns true when this void payment payment required response has a 2xx status code

func (*VoidPaymentPaymentRequired) String

func (o *VoidPaymentPaymentRequired) String() string

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 describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewVoidPaymentServiceUnavailable

func NewVoidPaymentServiceUnavailable() *VoidPaymentServiceUnavailable

NewVoidPaymentServiceUnavailable creates a VoidPaymentServiceUnavailable with default headers values

func (*VoidPaymentServiceUnavailable) Code

Code gets the status code for the void payment service unavailable response

func (*VoidPaymentServiceUnavailable) Error

func (*VoidPaymentServiceUnavailable) IsClientError

func (o *VoidPaymentServiceUnavailable) IsClientError() bool

IsClientError returns true when this void payment service unavailable response has a 4xx status code

func (*VoidPaymentServiceUnavailable) IsCode

func (o *VoidPaymentServiceUnavailable) IsCode(code int) bool

IsCode returns true when this void payment service unavailable response a status code equal to that given

func (*VoidPaymentServiceUnavailable) IsRedirect

func (o *VoidPaymentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this void payment service unavailable response has a 3xx status code

func (*VoidPaymentServiceUnavailable) IsServerError

func (o *VoidPaymentServiceUnavailable) IsServerError() bool

IsServerError returns true when this void payment service unavailable response has a 5xx status code

func (*VoidPaymentServiceUnavailable) IsSuccess

func (o *VoidPaymentServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this void payment service unavailable response has a 2xx status code

func (*VoidPaymentServiceUnavailable) String

type VoidPaymentUnprocessableEntity

type VoidPaymentUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

VoidPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewVoidPaymentUnprocessableEntity

func NewVoidPaymentUnprocessableEntity() *VoidPaymentUnprocessableEntity

NewVoidPaymentUnprocessableEntity creates a VoidPaymentUnprocessableEntity with default headers values

func (*VoidPaymentUnprocessableEntity) Code

Code gets the status code for the void payment unprocessable entity response

func (*VoidPaymentUnprocessableEntity) Error

func (*VoidPaymentUnprocessableEntity) IsClientError

func (o *VoidPaymentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this void payment unprocessable entity response has a 4xx status code

func (*VoidPaymentUnprocessableEntity) IsCode

func (o *VoidPaymentUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this void payment unprocessable entity response a status code equal to that given

func (*VoidPaymentUnprocessableEntity) IsRedirect

func (o *VoidPaymentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this void payment unprocessable entity response has a 3xx status code

func (*VoidPaymentUnprocessableEntity) IsServerError

func (o *VoidPaymentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this void payment unprocessable entity response has a 5xx status code

func (*VoidPaymentUnprocessableEntity) IsSuccess

func (o *VoidPaymentUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this void payment unprocessable entity response has a 2xx status code

func (*VoidPaymentUnprocessableEntity) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL