payment_transaction

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 Client

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

Client for payment transaction API

func New

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

New creates a new payment transaction API client.

func (*Client) CreateTransactionCustomFields

func (a *Client) CreateTransactionCustomFields(ctx context.Context, params *CreateTransactionCustomFieldsParams) (*CreateTransactionCustomFieldsCreated, error)

CreateTransactionCustomFields adds custom fields to payment transaction

func (*Client) CreateTransactionTags

func (a *Client) CreateTransactionTags(ctx context.Context, params *CreateTransactionTagsParams) (*CreateTransactionTagsCreated, error)

CreateTransactionTags adds tags to payment transaction

func (*Client) DeleteTransactionCustomFields

DeleteTransactionCustomFields removes custom fields from payment transaction

func (*Client) DeleteTransactionTags

func (a *Client) DeleteTransactionTags(ctx context.Context, params *DeleteTransactionTagsParams) (*DeleteTransactionTagsNoContent, error)

DeleteTransactionTags removes tags from payment transaction

func (*Client) GetPaymentByTransactionExternalKey

func (a *Client) GetPaymentByTransactionExternalKey(ctx context.Context, params *GetPaymentByTransactionExternalKeyParams) (*GetPaymentByTransactionExternalKeyOK, error)

GetPaymentByTransactionExternalKey retrieves a payment by transaction external key

func (*Client) GetPaymentByTransactionID

func (a *Client) GetPaymentByTransactionID(ctx context.Context, params *GetPaymentByTransactionIDParams) (*GetPaymentByTransactionIDOK, error)

GetPaymentByTransactionID retrieves a payment by transaction id

func (*Client) GetTransactionAuditLogsWithHistory

func (a *Client) GetTransactionAuditLogsWithHistory(ctx context.Context, params *GetTransactionAuditLogsWithHistoryParams) (*GetTransactionAuditLogsWithHistoryOK, error)

GetTransactionAuditLogsWithHistory retrieves payment transaction audit logs with history by id

func (*Client) GetTransactionCustomFields

func (a *Client) GetTransactionCustomFields(ctx context.Context, params *GetTransactionCustomFieldsParams) (*GetTransactionCustomFieldsOK, error)

GetTransactionCustomFields retrieves payment transaction custom fields

func (*Client) GetTransactionTags

func (a *Client) GetTransactionTags(ctx context.Context, params *GetTransactionTagsParams) (*GetTransactionTagsOK, error)

GetTransactionTags retrieves payment transaction tags

func (*Client) ModifyTransactionCustomFields

ModifyTransactionCustomFields modifies custom fields to payment transaction

func (*Client) NotifyStateChanged

func (a *Client) NotifyStateChanged(ctx context.Context, params *NotifyStateChangedParams) (*NotifyStateChangedCreated, error)

NotifyStateChanged marks a pending payment transaction as succeeded or failed

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateTransactionCustomFields(ctx context.Context, params *CreateTransactionCustomFieldsParams) (*CreateTransactionCustomFieldsCreated, error)

	CreateTransactionTags(ctx context.Context, params *CreateTransactionTagsParams) (*CreateTransactionTagsCreated, error)

	DeleteTransactionCustomFields(ctx context.Context, params *DeleteTransactionCustomFieldsParams) (*DeleteTransactionCustomFieldsNoContent, error)

	DeleteTransactionTags(ctx context.Context, params *DeleteTransactionTagsParams) (*DeleteTransactionTagsNoContent, error)

	GetPaymentByTransactionExternalKey(ctx context.Context, params *GetPaymentByTransactionExternalKeyParams) (*GetPaymentByTransactionExternalKeyOK, error)

	GetPaymentByTransactionID(ctx context.Context, params *GetPaymentByTransactionIDParams) (*GetPaymentByTransactionIDOK, error)

	GetTransactionAuditLogsWithHistory(ctx context.Context, params *GetTransactionAuditLogsWithHistoryParams) (*GetTransactionAuditLogsWithHistoryOK, error)

	GetTransactionCustomFields(ctx context.Context, params *GetTransactionCustomFieldsParams) (*GetTransactionCustomFieldsOK, error)

	GetTransactionTags(ctx context.Context, params *GetTransactionTagsParams) (*GetTransactionTagsOK, error)

	ModifyTransactionCustomFields(ctx context.Context, params *ModifyTransactionCustomFieldsParams) (*ModifyTransactionCustomFieldsNoContent, error)

	NotifyStateChanged(ctx context.Context, params *NotifyStateChangedParams) (*NotifyStateChangedCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type CreateTransactionCustomFieldsBadRequest

type CreateTransactionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid transaction id supplied

func NewCreateTransactionCustomFieldsBadRequest

func NewCreateTransactionCustomFieldsBadRequest() *CreateTransactionCustomFieldsBadRequest

NewCreateTransactionCustomFieldsBadRequest creates a CreateTransactionCustomFieldsBadRequest with default headers values

func (*CreateTransactionCustomFieldsBadRequest) Code

Code gets the status code for the create transaction custom fields bad request response

func (*CreateTransactionCustomFieldsBadRequest) Error

func (*CreateTransactionCustomFieldsBadRequest) IsClientError

func (o *CreateTransactionCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this create transaction custom fields bad request response has a 4xx status code

func (*CreateTransactionCustomFieldsBadRequest) IsCode

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

func (*CreateTransactionCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this create transaction custom fields bad request response has a 3xx status code

func (*CreateTransactionCustomFieldsBadRequest) IsServerError

func (o *CreateTransactionCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this create transaction custom fields bad request response has a 5xx status code

func (*CreateTransactionCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this create transaction custom fields bad request response has a 2xx status code

func (*CreateTransactionCustomFieldsBadRequest) String

type CreateTransactionCustomFieldsCreated

type CreateTransactionCustomFieldsCreated struct {
	Payload      []*kbmodel.CustomField
	HttpResponse runtime.ClientResponse
}

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

Custom field created successfully

func NewCreateTransactionCustomFieldsCreated

func NewCreateTransactionCustomFieldsCreated() *CreateTransactionCustomFieldsCreated

NewCreateTransactionCustomFieldsCreated creates a CreateTransactionCustomFieldsCreated with default headers values

func (*CreateTransactionCustomFieldsCreated) Code

Code gets the status code for the create transaction custom fields created response

func (*CreateTransactionCustomFieldsCreated) Error

func (*CreateTransactionCustomFieldsCreated) GetPayload

func (*CreateTransactionCustomFieldsCreated) IsClientError

func (o *CreateTransactionCustomFieldsCreated) IsClientError() bool

IsClientError returns true when this create transaction custom fields created response has a 4xx status code

func (*CreateTransactionCustomFieldsCreated) IsCode

IsCode returns true when this create transaction custom fields created response a status code equal to that given

func (*CreateTransactionCustomFieldsCreated) IsRedirect

IsRedirect returns true when this create transaction custom fields created response has a 3xx status code

func (*CreateTransactionCustomFieldsCreated) IsServerError

func (o *CreateTransactionCustomFieldsCreated) IsServerError() bool

IsServerError returns true when this create transaction custom fields created response has a 5xx status code

func (*CreateTransactionCustomFieldsCreated) IsSuccess

IsSuccess returns true when this create transaction custom fields created response has a 2xx status code

func (*CreateTransactionCustomFieldsCreated) String

type CreateTransactionCustomFieldsParams

type CreateTransactionCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

CreateTransactionCustomFieldsParams contains all the parameters to send to the API endpoint

for the create transaction custom fields operation.

Typically these are written to a http.Request.

func NewCreateTransactionCustomFieldsParams

func NewCreateTransactionCustomFieldsParams() *CreateTransactionCustomFieldsParams

NewCreateTransactionCustomFieldsParams creates a new CreateTransactionCustomFieldsParams 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 NewCreateTransactionCustomFieldsParamsWithContext

func NewCreateTransactionCustomFieldsParamsWithContext(ctx context.Context) *CreateTransactionCustomFieldsParams

NewCreateTransactionCustomFieldsParamsWithContext creates a new CreateTransactionCustomFieldsParams object with the ability to set a context for a request.

func NewCreateTransactionCustomFieldsParamsWithHTTPClient

func NewCreateTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateTransactionCustomFieldsParams

NewCreateTransactionCustomFieldsParamsWithHTTPClient creates a new CreateTransactionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTransactionCustomFieldsParamsWithTimeout

func NewCreateTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateTransactionCustomFieldsParams

NewCreateTransactionCustomFieldsParamsWithTimeout creates a new CreateTransactionCustomFieldsParams object with the ability to set a timeout on a request.

func (*CreateTransactionCustomFieldsParams) SetBody

SetBody adds the body to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) SetContext

SetContext adds the context to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) SetDefaults

func (o *CreateTransactionCustomFieldsParams) SetDefaults()

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

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

func (*CreateTransactionCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) SetTransactionID

func (o *CreateTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreateTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WithBody

WithBody adds the body to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WithContext

WithContext adds the context to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WithDefaults

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

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

func (*CreateTransactionCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WithTransactionID

WithTransactionID adds the transactionID to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create transaction custom fields params

func (*CreateTransactionCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTransactionCustomFieldsReader

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

CreateTransactionCustomFieldsReader is a Reader for the CreateTransactionCustomFields structure.

func (*CreateTransactionCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateTransactionTagsBadRequest

type CreateTransactionTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid transaction id supplied

func NewCreateTransactionTagsBadRequest

func NewCreateTransactionTagsBadRequest() *CreateTransactionTagsBadRequest

NewCreateTransactionTagsBadRequest creates a CreateTransactionTagsBadRequest with default headers values

func (*CreateTransactionTagsBadRequest) Code

Code gets the status code for the create transaction tags bad request response

func (*CreateTransactionTagsBadRequest) Error

func (*CreateTransactionTagsBadRequest) IsClientError

func (o *CreateTransactionTagsBadRequest) IsClientError() bool

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

func (*CreateTransactionTagsBadRequest) IsCode

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

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

func (*CreateTransactionTagsBadRequest) IsRedirect

func (o *CreateTransactionTagsBadRequest) IsRedirect() bool

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

func (*CreateTransactionTagsBadRequest) IsServerError

func (o *CreateTransactionTagsBadRequest) IsServerError() bool

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

func (*CreateTransactionTagsBadRequest) IsSuccess

func (o *CreateTransactionTagsBadRequest) IsSuccess() bool

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

func (*CreateTransactionTagsBadRequest) String

type CreateTransactionTagsCreated

type CreateTransactionTagsCreated struct {
	Payload      []*kbmodel.Tag
	HttpResponse runtime.ClientResponse
}

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

Tag created successfully

func NewCreateTransactionTagsCreated

func NewCreateTransactionTagsCreated() *CreateTransactionTagsCreated

NewCreateTransactionTagsCreated creates a CreateTransactionTagsCreated with default headers values

func (*CreateTransactionTagsCreated) Code

Code gets the status code for the create transaction tags created response

func (*CreateTransactionTagsCreated) Error

func (*CreateTransactionTagsCreated) GetPayload

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

func (*CreateTransactionTagsCreated) IsClientError

func (o *CreateTransactionTagsCreated) IsClientError() bool

IsClientError returns true when this create transaction tags created response has a 4xx status code

func (*CreateTransactionTagsCreated) IsCode

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

IsCode returns true when this create transaction tags created response a status code equal to that given

func (*CreateTransactionTagsCreated) IsRedirect

func (o *CreateTransactionTagsCreated) IsRedirect() bool

IsRedirect returns true when this create transaction tags created response has a 3xx status code

func (*CreateTransactionTagsCreated) IsServerError

func (o *CreateTransactionTagsCreated) IsServerError() bool

IsServerError returns true when this create transaction tags created response has a 5xx status code

func (*CreateTransactionTagsCreated) IsSuccess

func (o *CreateTransactionTagsCreated) IsSuccess() bool

IsSuccess returns true when this create transaction tags created response has a 2xx status code

func (*CreateTransactionTagsCreated) String

type CreateTransactionTagsParams

type CreateTransactionTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []strfmt.UUID

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

CreateTransactionTagsParams contains all the parameters to send to the API endpoint

for the create transaction tags operation.

Typically these are written to a http.Request.

func NewCreateTransactionTagsParams

func NewCreateTransactionTagsParams() *CreateTransactionTagsParams

NewCreateTransactionTagsParams creates a new CreateTransactionTagsParams 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 NewCreateTransactionTagsParamsWithContext

func NewCreateTransactionTagsParamsWithContext(ctx context.Context) *CreateTransactionTagsParams

NewCreateTransactionTagsParamsWithContext creates a new CreateTransactionTagsParams object with the ability to set a context for a request.

func NewCreateTransactionTagsParamsWithHTTPClient

func NewCreateTransactionTagsParamsWithHTTPClient(client *http.Client) *CreateTransactionTagsParams

NewCreateTransactionTagsParamsWithHTTPClient creates a new CreateTransactionTagsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTransactionTagsParamsWithTimeout

func NewCreateTransactionTagsParamsWithTimeout(timeout time.Duration) *CreateTransactionTagsParams

NewCreateTransactionTagsParamsWithTimeout creates a new CreateTransactionTagsParams object with the ability to set a timeout on a request.

func (*CreateTransactionTagsParams) SetBody

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

SetBody adds the body to the create transaction tags params

func (*CreateTransactionTagsParams) SetContext

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

SetContext adds the context to the create transaction tags params

func (*CreateTransactionTagsParams) SetDefaults

func (o *CreateTransactionTagsParams) SetDefaults()

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

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

func (*CreateTransactionTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create transaction tags params

func (*CreateTransactionTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create transaction tags params

func (*CreateTransactionTagsParams) SetTransactionID

func (o *CreateTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the create transaction tags params

func (*CreateTransactionTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create transaction tags params

func (*CreateTransactionTagsParams) SetXKillbillCreatedBy

func (o *CreateTransactionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create transaction tags params

func (*CreateTransactionTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create transaction tags params

func (*CreateTransactionTagsParams) WithBody

WithBody adds the body to the create transaction tags params

func (*CreateTransactionTagsParams) WithContext

WithContext adds the context to the create transaction tags params

func (*CreateTransactionTagsParams) WithDefaults

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

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

func (*CreateTransactionTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create transaction tags params

func (*CreateTransactionTagsParams) WithTimeout

WithTimeout adds the timeout to the create transaction tags params

func (*CreateTransactionTagsParams) WithTransactionID

func (o *CreateTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *CreateTransactionTagsParams

WithTransactionID adds the transactionID to the create transaction tags params

func (*CreateTransactionTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create transaction tags params

func (*CreateTransactionTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create transaction tags params

func (*CreateTransactionTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create transaction tags params

func (*CreateTransactionTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTransactionTagsReader

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

CreateTransactionTagsReader is a Reader for the CreateTransactionTags structure.

func (*CreateTransactionTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTransactionCustomFieldsBadRequest

type DeleteTransactionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid transaction id supplied

func NewDeleteTransactionCustomFieldsBadRequest

func NewDeleteTransactionCustomFieldsBadRequest() *DeleteTransactionCustomFieldsBadRequest

NewDeleteTransactionCustomFieldsBadRequest creates a DeleteTransactionCustomFieldsBadRequest with default headers values

func (*DeleteTransactionCustomFieldsBadRequest) Code

Code gets the status code for the delete transaction custom fields bad request response

func (*DeleteTransactionCustomFieldsBadRequest) Error

func (*DeleteTransactionCustomFieldsBadRequest) IsClientError

func (o *DeleteTransactionCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this delete transaction custom fields bad request response has a 4xx status code

func (*DeleteTransactionCustomFieldsBadRequest) IsCode

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

func (*DeleteTransactionCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this delete transaction custom fields bad request response has a 3xx status code

func (*DeleteTransactionCustomFieldsBadRequest) IsServerError

func (o *DeleteTransactionCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this delete transaction custom fields bad request response has a 5xx status code

func (*DeleteTransactionCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this delete transaction custom fields bad request response has a 2xx status code

func (*DeleteTransactionCustomFieldsBadRequest) String

type DeleteTransactionCustomFieldsNoContent

type DeleteTransactionCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewDeleteTransactionCustomFieldsNoContent

func NewDeleteTransactionCustomFieldsNoContent() *DeleteTransactionCustomFieldsNoContent

NewDeleteTransactionCustomFieldsNoContent creates a DeleteTransactionCustomFieldsNoContent with default headers values

func (*DeleteTransactionCustomFieldsNoContent) Code

Code gets the status code for the delete transaction custom fields no content response

func (*DeleteTransactionCustomFieldsNoContent) Error

func (*DeleteTransactionCustomFieldsNoContent) IsClientError

func (o *DeleteTransactionCustomFieldsNoContent) IsClientError() bool

IsClientError returns true when this delete transaction custom fields no content response has a 4xx status code

func (*DeleteTransactionCustomFieldsNoContent) IsCode

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

func (*DeleteTransactionCustomFieldsNoContent) IsRedirect

IsRedirect returns true when this delete transaction custom fields no content response has a 3xx status code

func (*DeleteTransactionCustomFieldsNoContent) IsServerError

func (o *DeleteTransactionCustomFieldsNoContent) IsServerError() bool

IsServerError returns true when this delete transaction custom fields no content response has a 5xx status code

func (*DeleteTransactionCustomFieldsNoContent) IsSuccess

IsSuccess returns true when this delete transaction custom fields no content response has a 2xx status code

func (*DeleteTransactionCustomFieldsNoContent) String

type DeleteTransactionCustomFieldsParams

type DeleteTransactionCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// CustomField.
	CustomField []strfmt.UUID

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

DeleteTransactionCustomFieldsParams contains all the parameters to send to the API endpoint

for the delete transaction custom fields operation.

Typically these are written to a http.Request.

func NewDeleteTransactionCustomFieldsParams

func NewDeleteTransactionCustomFieldsParams() *DeleteTransactionCustomFieldsParams

NewDeleteTransactionCustomFieldsParams creates a new DeleteTransactionCustomFieldsParams 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 NewDeleteTransactionCustomFieldsParamsWithContext

func NewDeleteTransactionCustomFieldsParamsWithContext(ctx context.Context) *DeleteTransactionCustomFieldsParams

NewDeleteTransactionCustomFieldsParamsWithContext creates a new DeleteTransactionCustomFieldsParams object with the ability to set a context for a request.

func NewDeleteTransactionCustomFieldsParamsWithHTTPClient

func NewDeleteTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteTransactionCustomFieldsParams

NewDeleteTransactionCustomFieldsParamsWithHTTPClient creates a new DeleteTransactionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTransactionCustomFieldsParamsWithTimeout

func NewDeleteTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteTransactionCustomFieldsParams

NewDeleteTransactionCustomFieldsParamsWithTimeout creates a new DeleteTransactionCustomFieldsParams object with the ability to set a timeout on a request.

func (*DeleteTransactionCustomFieldsParams) SetContext

SetContext adds the context to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) SetCustomField

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

SetCustomField adds the customField to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) SetDefaults

func (o *DeleteTransactionCustomFieldsParams) SetDefaults()

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

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

func (*DeleteTransactionCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) SetTransactionID

func (o *DeleteTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeleteTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WithContext

WithContext adds the context to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WithDefaults

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

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

func (*DeleteTransactionCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WithTransactionID

WithTransactionID adds the transactionID to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete transaction custom fields params

func (*DeleteTransactionCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTransactionCustomFieldsReader

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

DeleteTransactionCustomFieldsReader is a Reader for the DeleteTransactionCustomFields structure.

func (*DeleteTransactionCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTransactionTagsBadRequest

type DeleteTransactionTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid transaction id supplied

func NewDeleteTransactionTagsBadRequest

func NewDeleteTransactionTagsBadRequest() *DeleteTransactionTagsBadRequest

NewDeleteTransactionTagsBadRequest creates a DeleteTransactionTagsBadRequest with default headers values

func (*DeleteTransactionTagsBadRequest) Code

Code gets the status code for the delete transaction tags bad request response

func (*DeleteTransactionTagsBadRequest) Error

func (*DeleteTransactionTagsBadRequest) IsClientError

func (o *DeleteTransactionTagsBadRequest) IsClientError() bool

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

func (*DeleteTransactionTagsBadRequest) IsCode

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

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

func (*DeleteTransactionTagsBadRequest) IsRedirect

func (o *DeleteTransactionTagsBadRequest) IsRedirect() bool

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

func (*DeleteTransactionTagsBadRequest) IsServerError

func (o *DeleteTransactionTagsBadRequest) IsServerError() bool

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

func (*DeleteTransactionTagsBadRequest) IsSuccess

func (o *DeleteTransactionTagsBadRequest) IsSuccess() bool

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

func (*DeleteTransactionTagsBadRequest) String

type DeleteTransactionTagsNoContent

type DeleteTransactionTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewDeleteTransactionTagsNoContent

func NewDeleteTransactionTagsNoContent() *DeleteTransactionTagsNoContent

NewDeleteTransactionTagsNoContent creates a DeleteTransactionTagsNoContent with default headers values

func (*DeleteTransactionTagsNoContent) Code

Code gets the status code for the delete transaction tags no content response

func (*DeleteTransactionTagsNoContent) Error

func (*DeleteTransactionTagsNoContent) IsClientError

func (o *DeleteTransactionTagsNoContent) IsClientError() bool

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

func (*DeleteTransactionTagsNoContent) IsCode

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

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

func (*DeleteTransactionTagsNoContent) IsRedirect

func (o *DeleteTransactionTagsNoContent) IsRedirect() bool

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

func (*DeleteTransactionTagsNoContent) IsServerError

func (o *DeleteTransactionTagsNoContent) IsServerError() bool

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

func (*DeleteTransactionTagsNoContent) IsSuccess

func (o *DeleteTransactionTagsNoContent) IsSuccess() bool

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

func (*DeleteTransactionTagsNoContent) String

type DeleteTransactionTagsParams

type DeleteTransactionTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// TagDef.
	TagDef []strfmt.UUID

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

DeleteTransactionTagsParams contains all the parameters to send to the API endpoint

for the delete transaction tags operation.

Typically these are written to a http.Request.

func NewDeleteTransactionTagsParams

func NewDeleteTransactionTagsParams() *DeleteTransactionTagsParams

NewDeleteTransactionTagsParams creates a new DeleteTransactionTagsParams 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 NewDeleteTransactionTagsParamsWithContext

func NewDeleteTransactionTagsParamsWithContext(ctx context.Context) *DeleteTransactionTagsParams

NewDeleteTransactionTagsParamsWithContext creates a new DeleteTransactionTagsParams object with the ability to set a context for a request.

func NewDeleteTransactionTagsParamsWithHTTPClient

func NewDeleteTransactionTagsParamsWithHTTPClient(client *http.Client) *DeleteTransactionTagsParams

NewDeleteTransactionTagsParamsWithHTTPClient creates a new DeleteTransactionTagsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTransactionTagsParamsWithTimeout

func NewDeleteTransactionTagsParamsWithTimeout(timeout time.Duration) *DeleteTransactionTagsParams

NewDeleteTransactionTagsParamsWithTimeout creates a new DeleteTransactionTagsParams object with the ability to set a timeout on a request.

func (*DeleteTransactionTagsParams) SetContext

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

SetContext adds the context to the delete transaction tags params

func (*DeleteTransactionTagsParams) SetDefaults

func (o *DeleteTransactionTagsParams) SetDefaults()

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

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

func (*DeleteTransactionTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete transaction tags params

func (*DeleteTransactionTagsParams) SetTagDef

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

SetTagDef adds the tagDef to the delete transaction tags params

func (*DeleteTransactionTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete transaction tags params

func (*DeleteTransactionTagsParams) SetTransactionID

func (o *DeleteTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the delete transaction tags params

func (*DeleteTransactionTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete transaction tags params

func (*DeleteTransactionTagsParams) SetXKillbillCreatedBy

func (o *DeleteTransactionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete transaction tags params

func (*DeleteTransactionTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete transaction tags params

func (*DeleteTransactionTagsParams) WithContext

WithContext adds the context to the delete transaction tags params

func (*DeleteTransactionTagsParams) WithDefaults

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

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

func (*DeleteTransactionTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete transaction tags params

func (*DeleteTransactionTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete transaction tags params

func (*DeleteTransactionTagsParams) WithTimeout

WithTimeout adds the timeout to the delete transaction tags params

func (*DeleteTransactionTagsParams) WithTransactionID

func (o *DeleteTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *DeleteTransactionTagsParams

WithTransactionID adds the transactionID to the delete transaction tags params

func (*DeleteTransactionTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete transaction tags params

func (*DeleteTransactionTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete transaction tags params

func (*DeleteTransactionTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete transaction tags params

func (*DeleteTransactionTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTransactionTagsReader

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

DeleteTransactionTagsReader is a Reader for the DeleteTransactionTags structure.

func (*DeleteTransactionTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentByTransactionExternalKeyNotFound

type GetPaymentByTransactionExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Payment not found

func NewGetPaymentByTransactionExternalKeyNotFound

func NewGetPaymentByTransactionExternalKeyNotFound() *GetPaymentByTransactionExternalKeyNotFound

NewGetPaymentByTransactionExternalKeyNotFound creates a GetPaymentByTransactionExternalKeyNotFound with default headers values

func (*GetPaymentByTransactionExternalKeyNotFound) Code

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

func (*GetPaymentByTransactionExternalKeyNotFound) Error

func (*GetPaymentByTransactionExternalKeyNotFound) IsClientError

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

func (*GetPaymentByTransactionExternalKeyNotFound) IsCode

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

func (*GetPaymentByTransactionExternalKeyNotFound) IsRedirect

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

func (*GetPaymentByTransactionExternalKeyNotFound) IsServerError

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

func (*GetPaymentByTransactionExternalKeyNotFound) IsSuccess

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

func (*GetPaymentByTransactionExternalKeyNotFound) String

type GetPaymentByTransactionExternalKeyOK

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

GetPaymentByTransactionExternalKeyOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentByTransactionExternalKeyOK

func NewGetPaymentByTransactionExternalKeyOK() *GetPaymentByTransactionExternalKeyOK

NewGetPaymentByTransactionExternalKeyOK creates a GetPaymentByTransactionExternalKeyOK with default headers values

func (*GetPaymentByTransactionExternalKeyOK) Code

Code gets the status code for the get payment by transaction external key o k response

func (*GetPaymentByTransactionExternalKeyOK) Error

func (*GetPaymentByTransactionExternalKeyOK) GetPayload

func (*GetPaymentByTransactionExternalKeyOK) IsClientError

func (o *GetPaymentByTransactionExternalKeyOK) IsClientError() bool

IsClientError returns true when this get payment by transaction external key o k response has a 4xx status code

func (*GetPaymentByTransactionExternalKeyOK) IsCode

IsCode returns true when this get payment by transaction external key o k response a status code equal to that given

func (*GetPaymentByTransactionExternalKeyOK) IsRedirect

IsRedirect returns true when this get payment by transaction external key o k response has a 3xx status code

func (*GetPaymentByTransactionExternalKeyOK) IsServerError

func (o *GetPaymentByTransactionExternalKeyOK) IsServerError() bool

IsServerError returns true when this get payment by transaction external key o k response has a 5xx status code

func (*GetPaymentByTransactionExternalKeyOK) IsSuccess

IsSuccess returns true when this get payment by transaction external key o k response has a 2xx status code

func (*GetPaymentByTransactionExternalKeyOK) String

type GetPaymentByTransactionExternalKeyParams

type GetPaymentByTransactionExternalKeyParams struct {

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

	// PluginProperty.
	PluginProperty []string

	// TransactionExternalKey.
	TransactionExternalKey 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
}

GetPaymentByTransactionExternalKeyParams contains all the parameters to send to the API endpoint

for the get payment by transaction external key operation.

Typically these are written to a http.Request.

func NewGetPaymentByTransactionExternalKeyParams

func NewGetPaymentByTransactionExternalKeyParams() *GetPaymentByTransactionExternalKeyParams

NewGetPaymentByTransactionExternalKeyParams creates a new GetPaymentByTransactionExternalKeyParams 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 NewGetPaymentByTransactionExternalKeyParamsWithContext

func NewGetPaymentByTransactionExternalKeyParamsWithContext(ctx context.Context) *GetPaymentByTransactionExternalKeyParams

NewGetPaymentByTransactionExternalKeyParamsWithContext creates a new GetPaymentByTransactionExternalKeyParams object with the ability to set a context for a request.

func NewGetPaymentByTransactionExternalKeyParamsWithHTTPClient

func NewGetPaymentByTransactionExternalKeyParamsWithHTTPClient(client *http.Client) *GetPaymentByTransactionExternalKeyParams

NewGetPaymentByTransactionExternalKeyParamsWithHTTPClient creates a new GetPaymentByTransactionExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentByTransactionExternalKeyParamsWithTimeout

func NewGetPaymentByTransactionExternalKeyParamsWithTimeout(timeout time.Duration) *GetPaymentByTransactionExternalKeyParams

NewGetPaymentByTransactionExternalKeyParamsWithTimeout creates a new GetPaymentByTransactionExternalKeyParams object with the ability to set a timeout on a request.

func (*GetPaymentByTransactionExternalKeyParams) SetAudit

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

func (*GetPaymentByTransactionExternalKeyParams) SetContext

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

func (*GetPaymentByTransactionExternalKeyParams) SetDefaults

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

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

func (*GetPaymentByTransactionExternalKeyParams) SetHTTPClient

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

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

func (*GetPaymentByTransactionExternalKeyParams) SetPluginProperty

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

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

func (*GetPaymentByTransactionExternalKeyParams) SetTimeout

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

func (*GetPaymentByTransactionExternalKeyParams) SetTransactionExternalKey

func (o *GetPaymentByTransactionExternalKeyParams) SetTransactionExternalKey(transactionExternalKey string)

SetTransactionExternalKey adds the transactionExternalKey to the get payment by transaction external key params

func (*GetPaymentByTransactionExternalKeyParams) SetWithAttempts

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

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

func (*GetPaymentByTransactionExternalKeyParams) SetWithPluginInfo

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

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

func (*GetPaymentByTransactionExternalKeyParams) WithAudit

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

func (*GetPaymentByTransactionExternalKeyParams) WithContext

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

func (*GetPaymentByTransactionExternalKeyParams) WithDefaults

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

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

func (*GetPaymentByTransactionExternalKeyParams) WithHTTPClient

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

func (*GetPaymentByTransactionExternalKeyParams) WithPluginProperty

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

func (*GetPaymentByTransactionExternalKeyParams) WithTimeout

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

func (*GetPaymentByTransactionExternalKeyParams) WithTransactionExternalKey

func (o *GetPaymentByTransactionExternalKeyParams) WithTransactionExternalKey(transactionExternalKey string) *GetPaymentByTransactionExternalKeyParams

WithTransactionExternalKey adds the transactionExternalKey to the get payment by transaction external key params

func (*GetPaymentByTransactionExternalKeyParams) WithWithAttempts

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

func (*GetPaymentByTransactionExternalKeyParams) WithWithPluginInfo

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

func (*GetPaymentByTransactionExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentByTransactionExternalKeyReader

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

GetPaymentByTransactionExternalKeyReader is a Reader for the GetPaymentByTransactionExternalKey structure.

func (*GetPaymentByTransactionExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentByTransactionIDNotFound

type GetPaymentByTransactionIDNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Payment not found

func NewGetPaymentByTransactionIDNotFound

func NewGetPaymentByTransactionIDNotFound() *GetPaymentByTransactionIDNotFound

NewGetPaymentByTransactionIDNotFound creates a GetPaymentByTransactionIDNotFound with default headers values

func (*GetPaymentByTransactionIDNotFound) Code

Code gets the status code for the get payment by transaction Id not found response

func (*GetPaymentByTransactionIDNotFound) Error

func (*GetPaymentByTransactionIDNotFound) IsClientError

func (o *GetPaymentByTransactionIDNotFound) IsClientError() bool

IsClientError returns true when this get payment by transaction Id not found response has a 4xx status code

func (*GetPaymentByTransactionIDNotFound) IsCode

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

IsCode returns true when this get payment by transaction Id not found response a status code equal to that given

func (*GetPaymentByTransactionIDNotFound) IsRedirect

func (o *GetPaymentByTransactionIDNotFound) IsRedirect() bool

IsRedirect returns true when this get payment by transaction Id not found response has a 3xx status code

func (*GetPaymentByTransactionIDNotFound) IsServerError

func (o *GetPaymentByTransactionIDNotFound) IsServerError() bool

IsServerError returns true when this get payment by transaction Id not found response has a 5xx status code

func (*GetPaymentByTransactionIDNotFound) IsSuccess

func (o *GetPaymentByTransactionIDNotFound) IsSuccess() bool

IsSuccess returns true when this get payment by transaction Id not found response has a 2xx status code

func (*GetPaymentByTransactionIDNotFound) String

type GetPaymentByTransactionIDOK

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

GetPaymentByTransactionIDOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentByTransactionIDOK

func NewGetPaymentByTransactionIDOK() *GetPaymentByTransactionIDOK

NewGetPaymentByTransactionIDOK creates a GetPaymentByTransactionIDOK with default headers values

func (*GetPaymentByTransactionIDOK) Code

func (o *GetPaymentByTransactionIDOK) Code() int

Code gets the status code for the get payment by transaction Id o k response

func (*GetPaymentByTransactionIDOK) Error

func (*GetPaymentByTransactionIDOK) GetPayload

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

func (*GetPaymentByTransactionIDOK) IsClientError

func (o *GetPaymentByTransactionIDOK) IsClientError() bool

IsClientError returns true when this get payment by transaction Id o k response has a 4xx status code

func (*GetPaymentByTransactionIDOK) IsCode

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

IsCode returns true when this get payment by transaction Id o k response a status code equal to that given

func (*GetPaymentByTransactionIDOK) IsRedirect

func (o *GetPaymentByTransactionIDOK) IsRedirect() bool

IsRedirect returns true when this get payment by transaction Id o k response has a 3xx status code

func (*GetPaymentByTransactionIDOK) IsServerError

func (o *GetPaymentByTransactionIDOK) IsServerError() bool

IsServerError returns true when this get payment by transaction Id o k response has a 5xx status code

func (*GetPaymentByTransactionIDOK) IsSuccess

func (o *GetPaymentByTransactionIDOK) IsSuccess() bool

IsSuccess returns true when this get payment by transaction Id o k response has a 2xx status code

func (*GetPaymentByTransactionIDOK) String

func (o *GetPaymentByTransactionIDOK) String() string

type GetPaymentByTransactionIDParams

type GetPaymentByTransactionIDParams struct {

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

	// PluginProperty.
	PluginProperty []string

	// TransactionID.
	//
	// Format: uuid
	TransactionID strfmt.UUID

	// 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
}

GetPaymentByTransactionIDParams contains all the parameters to send to the API endpoint

for the get payment by transaction Id operation.

Typically these are written to a http.Request.

func NewGetPaymentByTransactionIDParams

func NewGetPaymentByTransactionIDParams() *GetPaymentByTransactionIDParams

NewGetPaymentByTransactionIDParams creates a new GetPaymentByTransactionIDParams 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 NewGetPaymentByTransactionIDParamsWithContext

func NewGetPaymentByTransactionIDParamsWithContext(ctx context.Context) *GetPaymentByTransactionIDParams

NewGetPaymentByTransactionIDParamsWithContext creates a new GetPaymentByTransactionIDParams object with the ability to set a context for a request.

func NewGetPaymentByTransactionIDParamsWithHTTPClient

func NewGetPaymentByTransactionIDParamsWithHTTPClient(client *http.Client) *GetPaymentByTransactionIDParams

NewGetPaymentByTransactionIDParamsWithHTTPClient creates a new GetPaymentByTransactionIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentByTransactionIDParamsWithTimeout

func NewGetPaymentByTransactionIDParamsWithTimeout(timeout time.Duration) *GetPaymentByTransactionIDParams

NewGetPaymentByTransactionIDParamsWithTimeout creates a new GetPaymentByTransactionIDParams object with the ability to set a timeout on a request.

func (*GetPaymentByTransactionIDParams) SetAudit

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

SetAudit adds the audit to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) SetContext

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

SetContext adds the context to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) SetDefaults

func (o *GetPaymentByTransactionIDParams) SetDefaults()

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

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

func (*GetPaymentByTransactionIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) SetTimeout

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

SetTimeout adds the timeout to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) SetTransactionID

func (o *GetPaymentByTransactionIDParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) SetWithAttempts

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

SetWithAttempts adds the withAttempts to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WithAudit

WithAudit adds the audit to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WithContext

WithContext adds the context to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WithDefaults

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

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

func (*GetPaymentByTransactionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WithTimeout

WithTimeout adds the timeout to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WithTransactionID

func (o *GetPaymentByTransactionIDParams) WithTransactionID(transactionID strfmt.UUID) *GetPaymentByTransactionIDParams

WithTransactionID adds the transactionID to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WithWithAttempts

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

WithWithAttempts adds the withAttempts to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the get payment by transaction Id params

func (*GetPaymentByTransactionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentByTransactionIDReader

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

GetPaymentByTransactionIDReader is a Reader for the GetPaymentByTransactionID structure.

func (*GetPaymentByTransactionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTransactionAuditLogsWithHistoryNotFound

type GetTransactionAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetTransactionAuditLogsWithHistoryNotFound

func NewGetTransactionAuditLogsWithHistoryNotFound() *GetTransactionAuditLogsWithHistoryNotFound

NewGetTransactionAuditLogsWithHistoryNotFound creates a GetTransactionAuditLogsWithHistoryNotFound with default headers values

func (*GetTransactionAuditLogsWithHistoryNotFound) Code

Code gets the status code for the get transaction audit logs with history not found response

func (*GetTransactionAuditLogsWithHistoryNotFound) Error

func (*GetTransactionAuditLogsWithHistoryNotFound) IsClientError

IsClientError returns true when this get transaction audit logs with history not found response has a 4xx status code

func (*GetTransactionAuditLogsWithHistoryNotFound) IsCode

IsCode returns true when this get transaction audit logs with history not found response a status code equal to that given

func (*GetTransactionAuditLogsWithHistoryNotFound) IsRedirect

IsRedirect returns true when this get transaction audit logs with history not found response has a 3xx status code

func (*GetTransactionAuditLogsWithHistoryNotFound) IsServerError

IsServerError returns true when this get transaction audit logs with history not found response has a 5xx status code

func (*GetTransactionAuditLogsWithHistoryNotFound) IsSuccess

IsSuccess returns true when this get transaction audit logs with history not found response has a 2xx status code

func (*GetTransactionAuditLogsWithHistoryNotFound) String

type GetTransactionAuditLogsWithHistoryOK

type GetTransactionAuditLogsWithHistoryOK struct {
	Payload      []*kbmodel.AuditLog
	HttpResponse runtime.ClientResponse
}

GetTransactionAuditLogsWithHistoryOK describes a response with status code 200, with default header values.

successful operation

func NewGetTransactionAuditLogsWithHistoryOK

func NewGetTransactionAuditLogsWithHistoryOK() *GetTransactionAuditLogsWithHistoryOK

NewGetTransactionAuditLogsWithHistoryOK creates a GetTransactionAuditLogsWithHistoryOK with default headers values

func (*GetTransactionAuditLogsWithHistoryOK) Code

Code gets the status code for the get transaction audit logs with history o k response

func (*GetTransactionAuditLogsWithHistoryOK) Error

func (*GetTransactionAuditLogsWithHistoryOK) GetPayload

func (*GetTransactionAuditLogsWithHistoryOK) IsClientError

func (o *GetTransactionAuditLogsWithHistoryOK) IsClientError() bool

IsClientError returns true when this get transaction audit logs with history o k response has a 4xx status code

func (*GetTransactionAuditLogsWithHistoryOK) IsCode

IsCode returns true when this get transaction audit logs with history o k response a status code equal to that given

func (*GetTransactionAuditLogsWithHistoryOK) IsRedirect

IsRedirect returns true when this get transaction audit logs with history o k response has a 3xx status code

func (*GetTransactionAuditLogsWithHistoryOK) IsServerError

func (o *GetTransactionAuditLogsWithHistoryOK) IsServerError() bool

IsServerError returns true when this get transaction audit logs with history o k response has a 5xx status code

func (*GetTransactionAuditLogsWithHistoryOK) IsSuccess

IsSuccess returns true when this get transaction audit logs with history o k response has a 2xx status code

func (*GetTransactionAuditLogsWithHistoryOK) String

type GetTransactionAuditLogsWithHistoryParams

type GetTransactionAuditLogsWithHistoryParams struct {

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

GetTransactionAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get transaction audit logs with history operation.

Typically these are written to a http.Request.

func NewGetTransactionAuditLogsWithHistoryParams

func NewGetTransactionAuditLogsWithHistoryParams() *GetTransactionAuditLogsWithHistoryParams

NewGetTransactionAuditLogsWithHistoryParams creates a new GetTransactionAuditLogsWithHistoryParams 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 NewGetTransactionAuditLogsWithHistoryParamsWithContext

func NewGetTransactionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTransactionAuditLogsWithHistoryParams

NewGetTransactionAuditLogsWithHistoryParamsWithContext creates a new GetTransactionAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetTransactionAuditLogsWithHistoryParamsWithHTTPClient

func NewGetTransactionAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetTransactionAuditLogsWithHistoryParams

NewGetTransactionAuditLogsWithHistoryParamsWithHTTPClient creates a new GetTransactionAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetTransactionAuditLogsWithHistoryParamsWithTimeout

func NewGetTransactionAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetTransactionAuditLogsWithHistoryParams

NewGetTransactionAuditLogsWithHistoryParamsWithTimeout creates a new GetTransactionAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetTransactionAuditLogsWithHistoryParams) SetContext

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

func (*GetTransactionAuditLogsWithHistoryParams) SetDefaults

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

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

func (*GetTransactionAuditLogsWithHistoryParams) SetHTTPClient

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

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

func (*GetTransactionAuditLogsWithHistoryParams) SetTimeout

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

func (*GetTransactionAuditLogsWithHistoryParams) SetTransactionID

func (o *GetTransactionAuditLogsWithHistoryParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the get transaction audit logs with history params

func (*GetTransactionAuditLogsWithHistoryParams) WithContext

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

func (*GetTransactionAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetTransactionAuditLogsWithHistoryParams) WithHTTPClient

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

func (*GetTransactionAuditLogsWithHistoryParams) WithTimeout

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

func (*GetTransactionAuditLogsWithHistoryParams) WithTransactionID

WithTransactionID adds the transactionID to the get transaction audit logs with history params

func (*GetTransactionAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransactionAuditLogsWithHistoryReader

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

GetTransactionAuditLogsWithHistoryReader is a Reader for the GetTransactionAuditLogsWithHistory structure.

func (*GetTransactionAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTransactionCustomFieldsBadRequest

type GetTransactionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid transaction id supplied

func NewGetTransactionCustomFieldsBadRequest

func NewGetTransactionCustomFieldsBadRequest() *GetTransactionCustomFieldsBadRequest

NewGetTransactionCustomFieldsBadRequest creates a GetTransactionCustomFieldsBadRequest with default headers values

func (*GetTransactionCustomFieldsBadRequest) Code

Code gets the status code for the get transaction custom fields bad request response

func (*GetTransactionCustomFieldsBadRequest) Error

func (*GetTransactionCustomFieldsBadRequest) IsClientError

func (o *GetTransactionCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this get transaction custom fields bad request response has a 4xx status code

func (*GetTransactionCustomFieldsBadRequest) IsCode

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

func (*GetTransactionCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this get transaction custom fields bad request response has a 3xx status code

func (*GetTransactionCustomFieldsBadRequest) IsServerError

func (o *GetTransactionCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this get transaction custom fields bad request response has a 5xx status code

func (*GetTransactionCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this get transaction custom fields bad request response has a 2xx status code

func (*GetTransactionCustomFieldsBadRequest) String

type GetTransactionCustomFieldsOK

type GetTransactionCustomFieldsOK struct {
	Payload      []*kbmodel.CustomField
	HttpResponse runtime.ClientResponse
}

GetTransactionCustomFieldsOK describes a response with status code 200, with default header values.

successful operation

func NewGetTransactionCustomFieldsOK

func NewGetTransactionCustomFieldsOK() *GetTransactionCustomFieldsOK

NewGetTransactionCustomFieldsOK creates a GetTransactionCustomFieldsOK with default headers values

func (*GetTransactionCustomFieldsOK) Code

Code gets the status code for the get transaction custom fields o k response

func (*GetTransactionCustomFieldsOK) Error

func (*GetTransactionCustomFieldsOK) GetPayload

func (*GetTransactionCustomFieldsOK) IsClientError

func (o *GetTransactionCustomFieldsOK) IsClientError() bool

IsClientError returns true when this get transaction custom fields o k response has a 4xx status code

func (*GetTransactionCustomFieldsOK) IsCode

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

IsCode returns true when this get transaction custom fields o k response a status code equal to that given

func (*GetTransactionCustomFieldsOK) IsRedirect

func (o *GetTransactionCustomFieldsOK) IsRedirect() bool

IsRedirect returns true when this get transaction custom fields o k response has a 3xx status code

func (*GetTransactionCustomFieldsOK) IsServerError

func (o *GetTransactionCustomFieldsOK) IsServerError() bool

IsServerError returns true when this get transaction custom fields o k response has a 5xx status code

func (*GetTransactionCustomFieldsOK) IsSuccess

func (o *GetTransactionCustomFieldsOK) IsSuccess() bool

IsSuccess returns true when this get transaction custom fields o k response has a 2xx status code

func (*GetTransactionCustomFieldsOK) String

type GetTransactionCustomFieldsParams

type GetTransactionCustomFieldsParams struct {

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

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

GetTransactionCustomFieldsParams contains all the parameters to send to the API endpoint

for the get transaction custom fields operation.

Typically these are written to a http.Request.

func NewGetTransactionCustomFieldsParams

func NewGetTransactionCustomFieldsParams() *GetTransactionCustomFieldsParams

NewGetTransactionCustomFieldsParams creates a new GetTransactionCustomFieldsParams 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 NewGetTransactionCustomFieldsParamsWithContext

func NewGetTransactionCustomFieldsParamsWithContext(ctx context.Context) *GetTransactionCustomFieldsParams

NewGetTransactionCustomFieldsParamsWithContext creates a new GetTransactionCustomFieldsParams object with the ability to set a context for a request.

func NewGetTransactionCustomFieldsParamsWithHTTPClient

func NewGetTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *GetTransactionCustomFieldsParams

NewGetTransactionCustomFieldsParamsWithHTTPClient creates a new GetTransactionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTransactionCustomFieldsParamsWithTimeout

func NewGetTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *GetTransactionCustomFieldsParams

NewGetTransactionCustomFieldsParamsWithTimeout creates a new GetTransactionCustomFieldsParams object with the ability to set a timeout on a request.

func (*GetTransactionCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) SetContext

SetContext adds the context to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) SetDefaults

func (o *GetTransactionCustomFieldsParams) SetDefaults()

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

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

func (*GetTransactionCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) SetTransactionID

func (o *GetTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) WithAudit

WithAudit adds the audit to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) WithContext

WithContext adds the context to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) WithDefaults

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

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

func (*GetTransactionCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) WithTransactionID

WithTransactionID adds the transactionID to the get transaction custom fields params

func (*GetTransactionCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransactionCustomFieldsReader

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

GetTransactionCustomFieldsReader is a Reader for the GetTransactionCustomFields structure.

func (*GetTransactionCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTransactionTagsBadRequest

type GetTransactionTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid transaction id supplied

func NewGetTransactionTagsBadRequest

func NewGetTransactionTagsBadRequest() *GetTransactionTagsBadRequest

NewGetTransactionTagsBadRequest creates a GetTransactionTagsBadRequest with default headers values

func (*GetTransactionTagsBadRequest) Code

Code gets the status code for the get transaction tags bad request response

func (*GetTransactionTagsBadRequest) Error

func (*GetTransactionTagsBadRequest) IsClientError

func (o *GetTransactionTagsBadRequest) IsClientError() bool

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

func (*GetTransactionTagsBadRequest) IsCode

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

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

func (*GetTransactionTagsBadRequest) IsRedirect

func (o *GetTransactionTagsBadRequest) IsRedirect() bool

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

func (*GetTransactionTagsBadRequest) IsServerError

func (o *GetTransactionTagsBadRequest) IsServerError() bool

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

func (*GetTransactionTagsBadRequest) IsSuccess

func (o *GetTransactionTagsBadRequest) IsSuccess() bool

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

func (*GetTransactionTagsBadRequest) String

type GetTransactionTagsNotFound

type GetTransactionTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Invoice not found

func NewGetTransactionTagsNotFound

func NewGetTransactionTagsNotFound() *GetTransactionTagsNotFound

NewGetTransactionTagsNotFound creates a GetTransactionTagsNotFound with default headers values

func (*GetTransactionTagsNotFound) Code

func (o *GetTransactionTagsNotFound) Code() int

Code gets the status code for the get transaction tags not found response

func (*GetTransactionTagsNotFound) Error

func (*GetTransactionTagsNotFound) IsClientError

func (o *GetTransactionTagsNotFound) IsClientError() bool

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

func (*GetTransactionTagsNotFound) IsCode

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

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

func (*GetTransactionTagsNotFound) IsRedirect

func (o *GetTransactionTagsNotFound) IsRedirect() bool

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

func (*GetTransactionTagsNotFound) IsServerError

func (o *GetTransactionTagsNotFound) IsServerError() bool

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

func (*GetTransactionTagsNotFound) IsSuccess

func (o *GetTransactionTagsNotFound) IsSuccess() bool

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

func (*GetTransactionTagsNotFound) String

func (o *GetTransactionTagsNotFound) String() string

type GetTransactionTagsOK

type GetTransactionTagsOK struct {
	Payload      []*kbmodel.Tag
	HttpResponse runtime.ClientResponse
}

GetTransactionTagsOK describes a response with status code 200, with default header values.

successful operation

func NewGetTransactionTagsOK

func NewGetTransactionTagsOK() *GetTransactionTagsOK

NewGetTransactionTagsOK creates a GetTransactionTagsOK with default headers values

func (*GetTransactionTagsOK) Code

func (o *GetTransactionTagsOK) Code() int

Code gets the status code for the get transaction tags o k response

func (*GetTransactionTagsOK) Error

func (o *GetTransactionTagsOK) Error() string

func (*GetTransactionTagsOK) GetPayload

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

func (*GetTransactionTagsOK) IsClientError

func (o *GetTransactionTagsOK) IsClientError() bool

IsClientError returns true when this get transaction tags o k response has a 4xx status code

func (*GetTransactionTagsOK) IsCode

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

IsCode returns true when this get transaction tags o k response a status code equal to that given

func (*GetTransactionTagsOK) IsRedirect

func (o *GetTransactionTagsOK) IsRedirect() bool

IsRedirect returns true when this get transaction tags o k response has a 3xx status code

func (*GetTransactionTagsOK) IsServerError

func (o *GetTransactionTagsOK) IsServerError() bool

IsServerError returns true when this get transaction tags o k response has a 5xx status code

func (*GetTransactionTagsOK) IsSuccess

func (o *GetTransactionTagsOK) IsSuccess() bool

IsSuccess returns true when this get transaction tags o k response has a 2xx status code

func (*GetTransactionTagsOK) String

func (o *GetTransactionTagsOK) String() string

type GetTransactionTagsParams

type GetTransactionTagsParams struct {

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

	// IncludedDeleted.
	IncludedDeleted *bool

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

GetTransactionTagsParams contains all the parameters to send to the API endpoint

for the get transaction tags operation.

Typically these are written to a http.Request.

func NewGetTransactionTagsParams

func NewGetTransactionTagsParams() *GetTransactionTagsParams

NewGetTransactionTagsParams creates a new GetTransactionTagsParams 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 NewGetTransactionTagsParamsWithContext

func NewGetTransactionTagsParamsWithContext(ctx context.Context) *GetTransactionTagsParams

NewGetTransactionTagsParamsWithContext creates a new GetTransactionTagsParams object with the ability to set a context for a request.

func NewGetTransactionTagsParamsWithHTTPClient

func NewGetTransactionTagsParamsWithHTTPClient(client *http.Client) *GetTransactionTagsParams

NewGetTransactionTagsParamsWithHTTPClient creates a new GetTransactionTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTransactionTagsParamsWithTimeout

func NewGetTransactionTagsParamsWithTimeout(timeout time.Duration) *GetTransactionTagsParams

NewGetTransactionTagsParamsWithTimeout creates a new GetTransactionTagsParams object with the ability to set a timeout on a request.

func (*GetTransactionTagsParams) SetAudit

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

SetAudit adds the audit to the get transaction tags params

func (*GetTransactionTagsParams) SetContext

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

SetContext adds the context to the get transaction tags params

func (*GetTransactionTagsParams) SetDefaults

func (o *GetTransactionTagsParams) SetDefaults()

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

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

func (*GetTransactionTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get transaction tags params

func (*GetTransactionTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get transaction tags params

func (*GetTransactionTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get transaction tags params

func (*GetTransactionTagsParams) SetTransactionID

func (o *GetTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the get transaction tags params

func (*GetTransactionTagsParams) WithAudit

WithAudit adds the audit to the get transaction tags params

func (*GetTransactionTagsParams) WithContext

WithContext adds the context to the get transaction tags params

func (*GetTransactionTagsParams) WithDefaults

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

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

func (*GetTransactionTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get transaction tags params

func (*GetTransactionTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get transaction tags params

func (*GetTransactionTagsParams) WithTimeout

WithTimeout adds the timeout to the get transaction tags params

func (*GetTransactionTagsParams) WithTransactionID

func (o *GetTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *GetTransactionTagsParams

WithTransactionID adds the transactionID to the get transaction tags params

func (*GetTransactionTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransactionTagsReader

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

GetTransactionTagsReader is a Reader for the GetTransactionTags structure.

func (*GetTransactionTagsReader) ReadResponse

func (o *GetTransactionTagsReader) 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 ModifyTransactionCustomFieldsBadRequest

type ModifyTransactionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid transaction id supplied

func NewModifyTransactionCustomFieldsBadRequest

func NewModifyTransactionCustomFieldsBadRequest() *ModifyTransactionCustomFieldsBadRequest

NewModifyTransactionCustomFieldsBadRequest creates a ModifyTransactionCustomFieldsBadRequest with default headers values

func (*ModifyTransactionCustomFieldsBadRequest) Code

Code gets the status code for the modify transaction custom fields bad request response

func (*ModifyTransactionCustomFieldsBadRequest) Error

func (*ModifyTransactionCustomFieldsBadRequest) IsClientError

func (o *ModifyTransactionCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this modify transaction custom fields bad request response has a 4xx status code

func (*ModifyTransactionCustomFieldsBadRequest) IsCode

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

func (*ModifyTransactionCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this modify transaction custom fields bad request response has a 3xx status code

func (*ModifyTransactionCustomFieldsBadRequest) IsServerError

func (o *ModifyTransactionCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this modify transaction custom fields bad request response has a 5xx status code

func (*ModifyTransactionCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this modify transaction custom fields bad request response has a 2xx status code

func (*ModifyTransactionCustomFieldsBadRequest) String

type ModifyTransactionCustomFieldsNoContent

type ModifyTransactionCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewModifyTransactionCustomFieldsNoContent

func NewModifyTransactionCustomFieldsNoContent() *ModifyTransactionCustomFieldsNoContent

NewModifyTransactionCustomFieldsNoContent creates a ModifyTransactionCustomFieldsNoContent with default headers values

func (*ModifyTransactionCustomFieldsNoContent) Code

Code gets the status code for the modify transaction custom fields no content response

func (*ModifyTransactionCustomFieldsNoContent) Error

func (*ModifyTransactionCustomFieldsNoContent) IsClientError

func (o *ModifyTransactionCustomFieldsNoContent) IsClientError() bool

IsClientError returns true when this modify transaction custom fields no content response has a 4xx status code

func (*ModifyTransactionCustomFieldsNoContent) IsCode

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

func (*ModifyTransactionCustomFieldsNoContent) IsRedirect

IsRedirect returns true when this modify transaction custom fields no content response has a 3xx status code

func (*ModifyTransactionCustomFieldsNoContent) IsServerError

func (o *ModifyTransactionCustomFieldsNoContent) IsServerError() bool

IsServerError returns true when this modify transaction custom fields no content response has a 5xx status code

func (*ModifyTransactionCustomFieldsNoContent) IsSuccess

IsSuccess returns true when this modify transaction custom fields no content response has a 2xx status code

func (*ModifyTransactionCustomFieldsNoContent) String

type ModifyTransactionCustomFieldsParams

type ModifyTransactionCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

ModifyTransactionCustomFieldsParams contains all the parameters to send to the API endpoint

for the modify transaction custom fields operation.

Typically these are written to a http.Request.

func NewModifyTransactionCustomFieldsParams

func NewModifyTransactionCustomFieldsParams() *ModifyTransactionCustomFieldsParams

NewModifyTransactionCustomFieldsParams creates a new ModifyTransactionCustomFieldsParams 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 NewModifyTransactionCustomFieldsParamsWithContext

func NewModifyTransactionCustomFieldsParamsWithContext(ctx context.Context) *ModifyTransactionCustomFieldsParams

NewModifyTransactionCustomFieldsParamsWithContext creates a new ModifyTransactionCustomFieldsParams object with the ability to set a context for a request.

func NewModifyTransactionCustomFieldsParamsWithHTTPClient

func NewModifyTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyTransactionCustomFieldsParams

NewModifyTransactionCustomFieldsParamsWithHTTPClient creates a new ModifyTransactionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewModifyTransactionCustomFieldsParamsWithTimeout

func NewModifyTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyTransactionCustomFieldsParams

NewModifyTransactionCustomFieldsParamsWithTimeout creates a new ModifyTransactionCustomFieldsParams object with the ability to set a timeout on a request.

func (*ModifyTransactionCustomFieldsParams) SetBody

SetBody adds the body to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) SetContext

SetContext adds the context to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) SetDefaults

func (o *ModifyTransactionCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the modify transaction custom fields params (not the query body).

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

func (*ModifyTransactionCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) SetTransactionID

func (o *ModifyTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WithBody

WithBody adds the body to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WithContext

WithContext adds the context to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WithDefaults

WithDefaults hydrates default values in the modify transaction custom fields params (not the query body).

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

func (*ModifyTransactionCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WithTransactionID

WithTransactionID adds the transactionID to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the modify transaction custom fields params

func (*ModifyTransactionCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyTransactionCustomFieldsReader

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

ModifyTransactionCustomFieldsReader is a Reader for the ModifyTransactionCustomFields structure.

func (*ModifyTransactionCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NotifyStateChangedBadRequest

type NotifyStateChangedBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid paymentId supplied

func NewNotifyStateChangedBadRequest

func NewNotifyStateChangedBadRequest() *NotifyStateChangedBadRequest

NewNotifyStateChangedBadRequest creates a NotifyStateChangedBadRequest with default headers values

func (*NotifyStateChangedBadRequest) Code

Code gets the status code for the notify state changed bad request response

func (*NotifyStateChangedBadRequest) Error

func (*NotifyStateChangedBadRequest) IsClientError

func (o *NotifyStateChangedBadRequest) IsClientError() bool

IsClientError returns true when this notify state changed bad request response has a 4xx status code

func (*NotifyStateChangedBadRequest) IsCode

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

IsCode returns true when this notify state changed bad request response a status code equal to that given

func (*NotifyStateChangedBadRequest) IsRedirect

func (o *NotifyStateChangedBadRequest) IsRedirect() bool

IsRedirect returns true when this notify state changed bad request response has a 3xx status code

func (*NotifyStateChangedBadRequest) IsServerError

func (o *NotifyStateChangedBadRequest) IsServerError() bool

IsServerError returns true when this notify state changed bad request response has a 5xx status code

func (*NotifyStateChangedBadRequest) IsSuccess

func (o *NotifyStateChangedBadRequest) IsSuccess() bool

IsSuccess returns true when this notify state changed bad request response has a 2xx status code

func (*NotifyStateChangedBadRequest) String

type NotifyStateChangedCreated

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

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

Successfully notifiy state change

func NewNotifyStateChangedCreated

func NewNotifyStateChangedCreated() *NotifyStateChangedCreated

NewNotifyStateChangedCreated creates a NotifyStateChangedCreated with default headers values

func (*NotifyStateChangedCreated) Code

func (o *NotifyStateChangedCreated) Code() int

Code gets the status code for the notify state changed created response

func (*NotifyStateChangedCreated) Error

func (o *NotifyStateChangedCreated) Error() string

func (*NotifyStateChangedCreated) GetPayload

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

func (*NotifyStateChangedCreated) IsClientError

func (o *NotifyStateChangedCreated) IsClientError() bool

IsClientError returns true when this notify state changed created response has a 4xx status code

func (*NotifyStateChangedCreated) IsCode

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

IsCode returns true when this notify state changed created response a status code equal to that given

func (*NotifyStateChangedCreated) IsRedirect

func (o *NotifyStateChangedCreated) IsRedirect() bool

IsRedirect returns true when this notify state changed created response has a 3xx status code

func (*NotifyStateChangedCreated) IsServerError

func (o *NotifyStateChangedCreated) IsServerError() bool

IsServerError returns true when this notify state changed created response has a 5xx status code

func (*NotifyStateChangedCreated) IsSuccess

func (o *NotifyStateChangedCreated) IsSuccess() bool

IsSuccess returns true when this notify state changed created response has a 2xx status code

func (*NotifyStateChangedCreated) String

func (o *NotifyStateChangedCreated) String() string

type NotifyStateChangedNotFound

type NotifyStateChangedNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account or Payment not found

func NewNotifyStateChangedNotFound

func NewNotifyStateChangedNotFound() *NotifyStateChangedNotFound

NewNotifyStateChangedNotFound creates a NotifyStateChangedNotFound with default headers values

func (*NotifyStateChangedNotFound) Code

func (o *NotifyStateChangedNotFound) Code() int

Code gets the status code for the notify state changed not found response

func (*NotifyStateChangedNotFound) Error

func (*NotifyStateChangedNotFound) IsClientError

func (o *NotifyStateChangedNotFound) IsClientError() bool

IsClientError returns true when this notify state changed not found response has a 4xx status code

func (*NotifyStateChangedNotFound) IsCode

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

IsCode returns true when this notify state changed not found response a status code equal to that given

func (*NotifyStateChangedNotFound) IsRedirect

func (o *NotifyStateChangedNotFound) IsRedirect() bool

IsRedirect returns true when this notify state changed not found response has a 3xx status code

func (*NotifyStateChangedNotFound) IsServerError

func (o *NotifyStateChangedNotFound) IsServerError() bool

IsServerError returns true when this notify state changed not found response has a 5xx status code

func (*NotifyStateChangedNotFound) IsSuccess

func (o *NotifyStateChangedNotFound) IsSuccess() bool

IsSuccess returns true when this notify state changed not found response has a 2xx status code

func (*NotifyStateChangedNotFound) String

func (o *NotifyStateChangedNotFound) String() string

type NotifyStateChangedParams

type NotifyStateChangedParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// TransactionID.
	//
	// Format: uuid
	TransactionID 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
}

NotifyStateChangedParams contains all the parameters to send to the API endpoint

for the notify state changed operation.

Typically these are written to a http.Request.

func NewNotifyStateChangedParams

func NewNotifyStateChangedParams() *NotifyStateChangedParams

NewNotifyStateChangedParams creates a new NotifyStateChangedParams 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 NewNotifyStateChangedParamsWithContext

func NewNotifyStateChangedParamsWithContext(ctx context.Context) *NotifyStateChangedParams

NewNotifyStateChangedParamsWithContext creates a new NotifyStateChangedParams object with the ability to set a context for a request.

func NewNotifyStateChangedParamsWithHTTPClient

func NewNotifyStateChangedParamsWithHTTPClient(client *http.Client) *NotifyStateChangedParams

NewNotifyStateChangedParamsWithHTTPClient creates a new NotifyStateChangedParams object with the ability to set a custom HTTPClient for a request.

func NewNotifyStateChangedParamsWithTimeout

func NewNotifyStateChangedParamsWithTimeout(timeout time.Duration) *NotifyStateChangedParams

NewNotifyStateChangedParamsWithTimeout creates a new NotifyStateChangedParams object with the ability to set a timeout on a request.

func (*NotifyStateChangedParams) SetBody

SetBody adds the body to the notify state changed params

func (*NotifyStateChangedParams) SetContext

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

SetContext adds the context to the notify state changed params

func (*NotifyStateChangedParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the notify state changed params

func (*NotifyStateChangedParams) SetDefaults

func (o *NotifyStateChangedParams) SetDefaults()

SetDefaults hydrates default values in the notify state changed params (not the query body).

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

func (*NotifyStateChangedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the notify state changed params

func (*NotifyStateChangedParams) SetTimeout

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

SetTimeout adds the timeout to the notify state changed params

func (*NotifyStateChangedParams) SetTransactionID

func (o *NotifyStateChangedParams) SetTransactionID(transactionID strfmt.UUID)

SetTransactionID adds the transactionId to the notify state changed params

func (*NotifyStateChangedParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the notify state changed params

func (*NotifyStateChangedParams) SetXKillbillCreatedBy

func (o *NotifyStateChangedParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the notify state changed params

func (*NotifyStateChangedParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the notify state changed params

func (*NotifyStateChangedParams) WithBody

WithBody adds the body to the notify state changed params

func (*NotifyStateChangedParams) WithContext

WithContext adds the context to the notify state changed params

func (*NotifyStateChangedParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the notify state changed params

func (*NotifyStateChangedParams) WithDefaults

WithDefaults hydrates default values in the notify state changed params (not the query body).

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

func (*NotifyStateChangedParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the notify state changed params

func (*NotifyStateChangedParams) WithTimeout

WithTimeout adds the timeout to the notify state changed params

func (*NotifyStateChangedParams) WithTransactionID

func (o *NotifyStateChangedParams) WithTransactionID(transactionID strfmt.UUID) *NotifyStateChangedParams

WithTransactionID adds the transactionID to the notify state changed params

func (*NotifyStateChangedParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the notify state changed params

func (*NotifyStateChangedParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the notify state changed params

func (*NotifyStateChangedParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the notify state changed params

func (*NotifyStateChangedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotifyStateChangedReader

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

NotifyStateChangedReader is a Reader for the NotifyStateChanged structure.

func (*NotifyStateChangedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL