payment_transaction

package
v3.0.8-draft Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 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

resource description

func (*Client) CreateTransactionTags

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

CreateTransactionTags adds tags to payment transaction

resource description

func (*Client) DeleteTransactionCustomFields

DeleteTransactionCustomFields removes custom fields from payment transaction

resource description

func (*Client) DeleteTransactionTags

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

DeleteTransactionTags removes tags from payment transaction

resource description

func (*Client) GetPaymentByTransactionExternalKey

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

GetPaymentByTransactionExternalKey retrieves a payment by transaction external key

resource description

func (*Client) GetPaymentByTransactionID

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

GetPaymentByTransactionID retrieves a payment by transaction id

resource description

func (*Client) GetTransactionAuditLogsWithHistory

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

GetTransactionAuditLogsWithHistory retrieves payment transaction audit logs with history by id

resource description

func (*Client) GetTransactionCustomFields

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

GetTransactionCustomFields retrieves payment transaction custom fields

resource description

func (*Client) GetTransactionTags

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

GetTransactionTags retrieves payment transaction tags

resource description

func (*Client) ModifyTransactionCustomFields

ModifyTransactionCustomFields modifies custom fields to payment transaction

resource description

func (*Client) NotifyStateChanged

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

NotifyStateChanged marks a pending payment transaction as succeeded or failed

resource description

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateTransactionCustomFieldsBadRequest

type CreateTransactionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateTransactionCustomFieldsBadRequest handles this case with default header values.

Invalid transaction id supplied

func NewCreateTransactionCustomFieldsBadRequest

func NewCreateTransactionCustomFieldsBadRequest() *CreateTransactionCustomFieldsBadRequest

NewCreateTransactionCustomFieldsBadRequest creates a CreateTransactionCustomFieldsBadRequest with default headers values

func (*CreateTransactionCustomFieldsBadRequest) Error

type CreateTransactionCustomFieldsCreated

type CreateTransactionCustomFieldsCreated struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

CreateTransactionCustomFieldsCreated handles this case with default header values.

Custom field created successfully

func NewCreateTransactionCustomFieldsCreated

func NewCreateTransactionCustomFieldsCreated() *CreateTransactionCustomFieldsCreated

NewCreateTransactionCustomFieldsCreated creates a CreateTransactionCustomFieldsCreated with default headers values

func (*CreateTransactionCustomFieldsCreated) Error

func (*CreateTransactionCustomFieldsCreated) GetPayload

type CreateTransactionCustomFieldsParams

type CreateTransactionCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*TransactionID*/
	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 values initialized.

func NewCreateTransactionCustomFieldsParamsWithContext

func NewCreateTransactionCustomFieldsParamsWithContext(ctx context.Context) *CreateTransactionCustomFieldsParams

NewCreateTransactionCustomFieldsParamsWithContext creates a new CreateTransactionCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Invalid transaction id supplied

func NewCreateTransactionTagsBadRequest

func NewCreateTransactionTagsBadRequest() *CreateTransactionTagsBadRequest

NewCreateTransactionTagsBadRequest creates a CreateTransactionTagsBadRequest with default headers values

func (*CreateTransactionTagsBadRequest) Error

type CreateTransactionTagsCreated

type CreateTransactionTagsCreated struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

CreateTransactionTagsCreated handles this case with default header values.

Tag created successfully

func NewCreateTransactionTagsCreated

func NewCreateTransactionTagsCreated() *CreateTransactionTagsCreated

NewCreateTransactionTagsCreated creates a CreateTransactionTagsCreated with default headers values

func (*CreateTransactionTagsCreated) Error

func (*CreateTransactionTagsCreated) GetPayload

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

type CreateTransactionTagsParams

type CreateTransactionTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []strfmt.UUID
	/*TransactionID*/
	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 values initialized.

func NewCreateTransactionTagsParamsWithContext

func NewCreateTransactionTagsParamsWithContext(ctx context.Context) *CreateTransactionTagsParams

NewCreateTransactionTagsParamsWithContext creates a new CreateTransactionTagsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Invalid transaction id supplied

func NewDeleteTransactionCustomFieldsBadRequest

func NewDeleteTransactionCustomFieldsBadRequest() *DeleteTransactionCustomFieldsBadRequest

NewDeleteTransactionCustomFieldsBadRequest creates a DeleteTransactionCustomFieldsBadRequest with default headers values

func (*DeleteTransactionCustomFieldsBadRequest) Error

type DeleteTransactionCustomFieldsNoContent

type DeleteTransactionCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteTransactionCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewDeleteTransactionCustomFieldsNoContent

func NewDeleteTransactionCustomFieldsNoContent() *DeleteTransactionCustomFieldsNoContent

NewDeleteTransactionCustomFieldsNoContent creates a DeleteTransactionCustomFieldsNoContent with default headers values

func (*DeleteTransactionCustomFieldsNoContent) Error

type DeleteTransactionCustomFieldsParams

type DeleteTransactionCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*CustomField*/
	CustomField []strfmt.UUID
	/*TransactionID*/
	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 values initialized.

func NewDeleteTransactionCustomFieldsParamsWithContext

func NewDeleteTransactionCustomFieldsParamsWithContext(ctx context.Context) *DeleteTransactionCustomFieldsParams

NewDeleteTransactionCustomFieldsParamsWithContext creates a new DeleteTransactionCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Invalid transaction id supplied

func NewDeleteTransactionTagsBadRequest

func NewDeleteTransactionTagsBadRequest() *DeleteTransactionTagsBadRequest

NewDeleteTransactionTagsBadRequest creates a DeleteTransactionTagsBadRequest with default headers values

func (*DeleteTransactionTagsBadRequest) Error

type DeleteTransactionTagsNoContent

type DeleteTransactionTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteTransactionTagsNoContent handles this case with default header values.

Successful operation

func NewDeleteTransactionTagsNoContent

func NewDeleteTransactionTagsNoContent() *DeleteTransactionTagsNoContent

NewDeleteTransactionTagsNoContent creates a DeleteTransactionTagsNoContent with default headers values

func (*DeleteTransactionTagsNoContent) Error

type DeleteTransactionTagsParams

type DeleteTransactionTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*TagDef*/
	TagDef []strfmt.UUID
	/*TransactionID*/
	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 values initialized.

func NewDeleteTransactionTagsParamsWithContext

func NewDeleteTransactionTagsParamsWithContext(ctx context.Context) *DeleteTransactionTagsParams

NewDeleteTransactionTagsParamsWithContext creates a new DeleteTransactionTagsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Payment not found

func NewGetPaymentByTransactionExternalKeyNotFound

func NewGetPaymentByTransactionExternalKeyNotFound() *GetPaymentByTransactionExternalKeyNotFound

NewGetPaymentByTransactionExternalKeyNotFound creates a GetPaymentByTransactionExternalKeyNotFound with default headers values

func (*GetPaymentByTransactionExternalKeyNotFound) Error

type GetPaymentByTransactionExternalKeyOK

type GetPaymentByTransactionExternalKeyOK struct {
	Payload *kbmodel.Payment

	HttpResponse runtime.ClientResponse
}

GetPaymentByTransactionExternalKeyOK handles this case with default header values.

successful operation

func NewGetPaymentByTransactionExternalKeyOK

func NewGetPaymentByTransactionExternalKeyOK() *GetPaymentByTransactionExternalKeyOK

NewGetPaymentByTransactionExternalKeyOK creates a GetPaymentByTransactionExternalKeyOK with default headers values

func (*GetPaymentByTransactionExternalKeyOK) Error

func (*GetPaymentByTransactionExternalKeyOK) GetPayload

type GetPaymentByTransactionExternalKeyParams

type GetPaymentByTransactionExternalKeyParams struct {

	/*Audit*/
	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 values initialized.

func NewGetPaymentByTransactionExternalKeyParamsWithContext

func NewGetPaymentByTransactionExternalKeyParamsWithContext(ctx context.Context) *GetPaymentByTransactionExternalKeyParams

NewGetPaymentByTransactionExternalKeyParamsWithContext creates a new GetPaymentByTransactionExternalKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Payment not found

func NewGetPaymentByTransactionIDNotFound

func NewGetPaymentByTransactionIDNotFound() *GetPaymentByTransactionIDNotFound

NewGetPaymentByTransactionIDNotFound creates a GetPaymentByTransactionIDNotFound with default headers values

func (*GetPaymentByTransactionIDNotFound) Error

type GetPaymentByTransactionIDOK

type GetPaymentByTransactionIDOK struct {
	Payload *kbmodel.Payment

	HttpResponse runtime.ClientResponse
}

GetPaymentByTransactionIDOK handles this case with default header values.

successful operation

func NewGetPaymentByTransactionIDOK

func NewGetPaymentByTransactionIDOK() *GetPaymentByTransactionIDOK

NewGetPaymentByTransactionIDOK creates a GetPaymentByTransactionIDOK with default headers values

func (*GetPaymentByTransactionIDOK) Error

func (*GetPaymentByTransactionIDOK) GetPayload

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

type GetPaymentByTransactionIDParams

type GetPaymentByTransactionIDParams struct {

	/*Audit*/
	Audit *string
	/*PluginProperty*/
	PluginProperty []string
	/*TransactionID*/
	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 values initialized.

func NewGetPaymentByTransactionIDParamsWithContext

func NewGetPaymentByTransactionIDParamsWithContext(ctx context.Context) *GetPaymentByTransactionIDParams

NewGetPaymentByTransactionIDParamsWithContext creates a new GetPaymentByTransactionIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Account not found

func NewGetTransactionAuditLogsWithHistoryNotFound

func NewGetTransactionAuditLogsWithHistoryNotFound() *GetTransactionAuditLogsWithHistoryNotFound

NewGetTransactionAuditLogsWithHistoryNotFound creates a GetTransactionAuditLogsWithHistoryNotFound with default headers values

func (*GetTransactionAuditLogsWithHistoryNotFound) Error

type GetTransactionAuditLogsWithHistoryOK

type GetTransactionAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog

	HttpResponse runtime.ClientResponse
}

GetTransactionAuditLogsWithHistoryOK handles this case with default header values.

successful operation

func NewGetTransactionAuditLogsWithHistoryOK

func NewGetTransactionAuditLogsWithHistoryOK() *GetTransactionAuditLogsWithHistoryOK

NewGetTransactionAuditLogsWithHistoryOK creates a GetTransactionAuditLogsWithHistoryOK with default headers values

func (*GetTransactionAuditLogsWithHistoryOK) Error

func (*GetTransactionAuditLogsWithHistoryOK) GetPayload

type GetTransactionAuditLogsWithHistoryParams

type GetTransactionAuditLogsWithHistoryParams struct {

	/*TransactionID*/
	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 values initialized.

func NewGetTransactionAuditLogsWithHistoryParamsWithContext

func NewGetTransactionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTransactionAuditLogsWithHistoryParams

NewGetTransactionAuditLogsWithHistoryParamsWithContext creates a new GetTransactionAuditLogsWithHistoryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Invalid transaction id supplied

func NewGetTransactionCustomFieldsBadRequest

func NewGetTransactionCustomFieldsBadRequest() *GetTransactionCustomFieldsBadRequest

NewGetTransactionCustomFieldsBadRequest creates a GetTransactionCustomFieldsBadRequest with default headers values

func (*GetTransactionCustomFieldsBadRequest) Error

type GetTransactionCustomFieldsOK

type GetTransactionCustomFieldsOK struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

GetTransactionCustomFieldsOK handles this case with default header values.

successful operation

func NewGetTransactionCustomFieldsOK

func NewGetTransactionCustomFieldsOK() *GetTransactionCustomFieldsOK

NewGetTransactionCustomFieldsOK creates a GetTransactionCustomFieldsOK with default headers values

func (*GetTransactionCustomFieldsOK) Error

func (*GetTransactionCustomFieldsOK) GetPayload

type GetTransactionCustomFieldsParams

type GetTransactionCustomFieldsParams struct {

	/*Audit*/
	Audit *string
	/*TransactionID*/
	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 values initialized.

func NewGetTransactionCustomFieldsParamsWithContext

func NewGetTransactionCustomFieldsParamsWithContext(ctx context.Context) *GetTransactionCustomFieldsParams

NewGetTransactionCustomFieldsParamsWithContext creates a new GetTransactionCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Invalid transaction id supplied

func NewGetTransactionTagsBadRequest

func NewGetTransactionTagsBadRequest() *GetTransactionTagsBadRequest

NewGetTransactionTagsBadRequest creates a GetTransactionTagsBadRequest with default headers values

func (*GetTransactionTagsBadRequest) Error

type GetTransactionTagsNotFound

type GetTransactionTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetTransactionTagsNotFound handles this case with default header values.

Invoice not found

func NewGetTransactionTagsNotFound

func NewGetTransactionTagsNotFound() *GetTransactionTagsNotFound

NewGetTransactionTagsNotFound creates a GetTransactionTagsNotFound with default headers values

func (*GetTransactionTagsNotFound) Error

type GetTransactionTagsOK

type GetTransactionTagsOK struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

GetTransactionTagsOK handles this case with default header values.

successful operation

func NewGetTransactionTagsOK

func NewGetTransactionTagsOK() *GetTransactionTagsOK

NewGetTransactionTagsOK creates a GetTransactionTagsOK with default headers values

func (*GetTransactionTagsOK) Error

func (o *GetTransactionTagsOK) Error() string

func (*GetTransactionTagsOK) GetPayload

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

type GetTransactionTagsParams

type GetTransactionTagsParams struct {

	/*Audit*/
	Audit *string
	/*IncludedDeleted*/
	IncludedDeleted *bool
	/*TransactionID*/
	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 values initialized.

func NewGetTransactionTagsParamsWithContext

func NewGetTransactionTagsParamsWithContext(ctx context.Context) *GetTransactionTagsParams

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

type IPaymentTransaction interface {
	/*
		CreateTransactionCustomFields adds custom fields to payment transaction

		resource description
	*/
	CreateTransactionCustomFields(ctx context.Context, params *CreateTransactionCustomFieldsParams) (*CreateTransactionCustomFieldsCreated, error)

	/*
		CreateTransactionTags adds tags to payment transaction

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

	/*
		DeleteTransactionCustomFields removes custom fields from payment transaction

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

	/*
		DeleteTransactionTags removes tags from payment transaction

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

	/*
		GetPaymentByTransactionExternalKey retrieves a payment by transaction external key

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

	/*
		GetPaymentByTransactionID retrieves a payment by transaction id

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

	/*
		GetTransactionAuditLogsWithHistory retrieves payment transaction audit logs with history by id

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

	/*
		GetTransactionCustomFields retrieves payment transaction custom fields

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

	/*
		GetTransactionTags retrieves payment transaction tags

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

	/*
		ModifyTransactionCustomFields modifies custom fields to payment transaction

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

	/*
		NotifyStateChanged marks a pending payment transaction as succeeded or failed

		resource description
	*/
	NotifyStateChanged(ctx context.Context, params *NotifyStateChangedParams) (*NotifyStateChangedCreated, error)
}

IPaymentTransaction - interface for PaymentTransaction client.

type KillbillDefaults

type KillbillDefaults interface {
	// Default CreatedBy. If not set explicitly in params, this will be used.
	XKillbillCreatedBy() *string
	// Default Comment. If not set explicitly in params, this will be used.
	XKillbillComment() *string
	// Default Reason. If not set explicitly in params, this will be used.
	XKillbillReason() *string
	// Default 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 handles this case with default header values.

Invalid transaction id supplied

func NewModifyTransactionCustomFieldsBadRequest

func NewModifyTransactionCustomFieldsBadRequest() *ModifyTransactionCustomFieldsBadRequest

NewModifyTransactionCustomFieldsBadRequest creates a ModifyTransactionCustomFieldsBadRequest with default headers values

func (*ModifyTransactionCustomFieldsBadRequest) Error

type ModifyTransactionCustomFieldsNoContent

type ModifyTransactionCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyTransactionCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewModifyTransactionCustomFieldsNoContent

func NewModifyTransactionCustomFieldsNoContent() *ModifyTransactionCustomFieldsNoContent

NewModifyTransactionCustomFieldsNoContent creates a ModifyTransactionCustomFieldsNoContent with default headers values

func (*ModifyTransactionCustomFieldsNoContent) Error

type ModifyTransactionCustomFieldsParams

type ModifyTransactionCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*TransactionID*/
	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 values initialized.

func NewModifyTransactionCustomFieldsParamsWithContext

func NewModifyTransactionCustomFieldsParamsWithContext(ctx context.Context) *ModifyTransactionCustomFieldsParams

NewModifyTransactionCustomFieldsParamsWithContext creates a new ModifyTransactionCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Invalid paymentId supplied

func NewNotifyStateChangedBadRequest

func NewNotifyStateChangedBadRequest() *NotifyStateChangedBadRequest

NewNotifyStateChangedBadRequest creates a NotifyStateChangedBadRequest with default headers values

func (*NotifyStateChangedBadRequest) Error

type NotifyStateChangedCreated

type NotifyStateChangedCreated struct {
	Payload *kbmodel.Payment

	HttpResponse runtime.ClientResponse
}

NotifyStateChangedCreated handles this case with default header values.

Successfully notifiy state change

func NewNotifyStateChangedCreated

func NewNotifyStateChangedCreated() *NotifyStateChangedCreated

NewNotifyStateChangedCreated creates a NotifyStateChangedCreated with default headers values

func (*NotifyStateChangedCreated) Error

func (o *NotifyStateChangedCreated) Error() string

func (*NotifyStateChangedCreated) GetPayload

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

type NotifyStateChangedNotFound

type NotifyStateChangedNotFound struct {
	HttpResponse runtime.ClientResponse
}

NotifyStateChangedNotFound handles this case with default header values.

Account or Payment not found

func NewNotifyStateChangedNotFound

func NewNotifyStateChangedNotFound() *NotifyStateChangedNotFound

NewNotifyStateChangedNotFound creates a NotifyStateChangedNotFound with default headers values

func (*NotifyStateChangedNotFound) Error

type NotifyStateChangedParams

type NotifyStateChangedParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.PaymentTransaction
	/*ControlPluginName*/
	ControlPluginName []string
	/*TransactionID*/
	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 values initialized.

func NewNotifyStateChangedParamsWithContext

func NewNotifyStateChangedParamsWithContext(ctx context.Context) *NotifyStateChangedParams

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