invoice_payment

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for invoice payment API

func New

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

New creates a new invoice payment API client.

func (*Client) CompleteInvoicePaymentTransaction

CompleteInvoicePaymentTransaction completes an existing transaction

func (*Client) CreateChargeback

func (a *Client) CreateChargeback(ctx context.Context, params *CreateChargebackParams) (*CreateChargebackCreated, error)

CreateChargeback records a chargeback

func (*Client) CreateChargebackReversal

func (a *Client) CreateChargebackReversal(ctx context.Context, params *CreateChargebackReversalParams) (*CreateChargebackReversalCreated, error)

CreateChargebackReversal records a chargeback reversal

func (*Client) CreateInvoicePaymentCustomFields

func (a *Client) CreateInvoicePaymentCustomFields(ctx context.Context, params *CreateInvoicePaymentCustomFieldsParams) (*CreateInvoicePaymentCustomFieldsCreated, error)

CreateInvoicePaymentCustomFields adds custom fields to payment

func (*Client) CreateInvoicePaymentTags

func (a *Client) CreateInvoicePaymentTags(ctx context.Context, params *CreateInvoicePaymentTagsParams) (*CreateInvoicePaymentTagsCreated, error)

CreateInvoicePaymentTags adds tags to payment

func (*Client) CreateRefundWithAdjustments

func (a *Client) CreateRefundWithAdjustments(ctx context.Context, params *CreateRefundWithAdjustmentsParams) (*CreateRefundWithAdjustmentsCreated, error)

CreateRefundWithAdjustments refunds a payment and adjust the invoice if needed

func (*Client) DeleteInvoicePaymentCustomFields

DeleteInvoicePaymentCustomFields removes custom fields from payment

func (*Client) DeleteInvoicePaymentTags

func (a *Client) DeleteInvoicePaymentTags(ctx context.Context, params *DeleteInvoicePaymentTagsParams) (*DeleteInvoicePaymentTagsNoContent, error)

DeleteInvoicePaymentTags removes tags from payment

func (*Client) GetInvoicePayment

func (a *Client) GetInvoicePayment(ctx context.Context, params *GetInvoicePaymentParams) (*GetInvoicePaymentOK, error)

GetInvoicePayment retrieves a payment by id

func (*Client) GetInvoicePaymentAuditLogsWithHistory

func (a *Client) GetInvoicePaymentAuditLogsWithHistory(ctx context.Context, params *GetInvoicePaymentAuditLogsWithHistoryParams) (*GetInvoicePaymentAuditLogsWithHistoryOK, error)

GetInvoicePaymentAuditLogsWithHistory retrieves invoice payment audit logs with history by id

func (*Client) GetInvoicePaymentCustomFields

func (a *Client) GetInvoicePaymentCustomFields(ctx context.Context, params *GetInvoicePaymentCustomFieldsParams) (*GetInvoicePaymentCustomFieldsOK, error)

GetInvoicePaymentCustomFields retrieves payment custom fields

func (*Client) GetInvoicePaymentTags

func (a *Client) GetInvoicePaymentTags(ctx context.Context, params *GetInvoicePaymentTagsParams) (*GetInvoicePaymentTagsOK, error)

GetInvoicePaymentTags retrieves payment tags

func (*Client) ModifyInvoicePaymentCustomFields

ModifyInvoicePaymentCustomFields modifies custom fields to payment

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 {
	CompleteInvoicePaymentTransaction(ctx context.Context, params *CompleteInvoicePaymentTransactionParams) (*CompleteInvoicePaymentTransactionNoContent, error)

	CreateChargeback(ctx context.Context, params *CreateChargebackParams) (*CreateChargebackCreated, error)

	CreateChargebackReversal(ctx context.Context, params *CreateChargebackReversalParams) (*CreateChargebackReversalCreated, error)

	CreateInvoicePaymentCustomFields(ctx context.Context, params *CreateInvoicePaymentCustomFieldsParams) (*CreateInvoicePaymentCustomFieldsCreated, error)

	CreateInvoicePaymentTags(ctx context.Context, params *CreateInvoicePaymentTagsParams) (*CreateInvoicePaymentTagsCreated, error)

	CreateRefundWithAdjustments(ctx context.Context, params *CreateRefundWithAdjustmentsParams) (*CreateRefundWithAdjustmentsCreated, error)

	DeleteInvoicePaymentCustomFields(ctx context.Context, params *DeleteInvoicePaymentCustomFieldsParams) (*DeleteInvoicePaymentCustomFieldsNoContent, error)

	DeleteInvoicePaymentTags(ctx context.Context, params *DeleteInvoicePaymentTagsParams) (*DeleteInvoicePaymentTagsNoContent, error)

	GetInvoicePayment(ctx context.Context, params *GetInvoicePaymentParams) (*GetInvoicePaymentOK, error)

	GetInvoicePaymentAuditLogsWithHistory(ctx context.Context, params *GetInvoicePaymentAuditLogsWithHistoryParams) (*GetInvoicePaymentAuditLogsWithHistoryOK, error)

	GetInvoicePaymentCustomFields(ctx context.Context, params *GetInvoicePaymentCustomFieldsParams) (*GetInvoicePaymentCustomFieldsOK, error)

	GetInvoicePaymentTags(ctx context.Context, params *GetInvoicePaymentTagsParams) (*GetInvoicePaymentTagsOK, error)

	ModifyInvoicePaymentCustomFields(ctx context.Context, params *ModifyInvoicePaymentCustomFieldsParams) (*ModifyInvoicePaymentCustomFieldsNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type CompleteInvoicePaymentTransactionBadGateway

type CompleteInvoicePaymentTransactionBadGateway struct {
	HttpResponse runtime.ClientResponse
}

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

Failed to submit payment transaction

func NewCompleteInvoicePaymentTransactionBadGateway

func NewCompleteInvoicePaymentTransactionBadGateway() *CompleteInvoicePaymentTransactionBadGateway

NewCompleteInvoicePaymentTransactionBadGateway creates a CompleteInvoicePaymentTransactionBadGateway with default headers values

func (*CompleteInvoicePaymentTransactionBadGateway) Code

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

func (*CompleteInvoicePaymentTransactionBadGateway) Error

func (*CompleteInvoicePaymentTransactionBadGateway) IsClientError

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

func (*CompleteInvoicePaymentTransactionBadGateway) IsCode

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

func (*CompleteInvoicePaymentTransactionBadGateway) IsRedirect

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

func (*CompleteInvoicePaymentTransactionBadGateway) IsServerError

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

func (*CompleteInvoicePaymentTransactionBadGateway) IsSuccess

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

func (*CompleteInvoicePaymentTransactionBadGateway) String

type CompleteInvoicePaymentTransactionBadRequest

type CompleteInvoicePaymentTransactionBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid paymentId supplied

func NewCompleteInvoicePaymentTransactionBadRequest

func NewCompleteInvoicePaymentTransactionBadRequest() *CompleteInvoicePaymentTransactionBadRequest

NewCompleteInvoicePaymentTransactionBadRequest creates a CompleteInvoicePaymentTransactionBadRequest with default headers values

func (*CompleteInvoicePaymentTransactionBadRequest) Code

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

func (*CompleteInvoicePaymentTransactionBadRequest) Error

func (*CompleteInvoicePaymentTransactionBadRequest) IsClientError

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

func (*CompleteInvoicePaymentTransactionBadRequest) IsCode

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

func (*CompleteInvoicePaymentTransactionBadRequest) IsRedirect

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

func (*CompleteInvoicePaymentTransactionBadRequest) IsServerError

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

func (*CompleteInvoicePaymentTransactionBadRequest) IsSuccess

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

func (*CompleteInvoicePaymentTransactionBadRequest) String

type CompleteInvoicePaymentTransactionGatewayTimeout

type CompleteInvoicePaymentTransactionGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

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

Payment operation timeout

func NewCompleteInvoicePaymentTransactionGatewayTimeout

func NewCompleteInvoicePaymentTransactionGatewayTimeout() *CompleteInvoicePaymentTransactionGatewayTimeout

NewCompleteInvoicePaymentTransactionGatewayTimeout creates a CompleteInvoicePaymentTransactionGatewayTimeout with default headers values

func (*CompleteInvoicePaymentTransactionGatewayTimeout) Code

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

func (*CompleteInvoicePaymentTransactionGatewayTimeout) Error

func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsClientError

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

func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsCode

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

func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsRedirect

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

func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsServerError

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

func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsSuccess

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

func (*CompleteInvoicePaymentTransactionGatewayTimeout) String

type CompleteInvoicePaymentTransactionNoContent

type CompleteInvoicePaymentTransactionNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewCompleteInvoicePaymentTransactionNoContent

func NewCompleteInvoicePaymentTransactionNoContent() *CompleteInvoicePaymentTransactionNoContent

NewCompleteInvoicePaymentTransactionNoContent creates a CompleteInvoicePaymentTransactionNoContent with default headers values

func (*CompleteInvoicePaymentTransactionNoContent) Code

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

func (*CompleteInvoicePaymentTransactionNoContent) Error

func (*CompleteInvoicePaymentTransactionNoContent) IsClientError

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

func (*CompleteInvoicePaymentTransactionNoContent) IsCode

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

func (*CompleteInvoicePaymentTransactionNoContent) IsRedirect

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

func (*CompleteInvoicePaymentTransactionNoContent) IsServerError

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

func (*CompleteInvoicePaymentTransactionNoContent) IsSuccess

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

func (*CompleteInvoicePaymentTransactionNoContent) String

type CompleteInvoicePaymentTransactionNotFound

type CompleteInvoicePaymentTransactionNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account or payment not found

func NewCompleteInvoicePaymentTransactionNotFound

func NewCompleteInvoicePaymentTransactionNotFound() *CompleteInvoicePaymentTransactionNotFound

NewCompleteInvoicePaymentTransactionNotFound creates a CompleteInvoicePaymentTransactionNotFound with default headers values

func (*CompleteInvoicePaymentTransactionNotFound) Code

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

func (*CompleteInvoicePaymentTransactionNotFound) Error

func (*CompleteInvoicePaymentTransactionNotFound) IsClientError

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

func (*CompleteInvoicePaymentTransactionNotFound) IsCode

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

func (*CompleteInvoicePaymentTransactionNotFound) IsRedirect

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

func (*CompleteInvoicePaymentTransactionNotFound) IsServerError

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

func (*CompleteInvoicePaymentTransactionNotFound) IsSuccess

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

func (*CompleteInvoicePaymentTransactionNotFound) String

type CompleteInvoicePaymentTransactionParams

type CompleteInvoicePaymentTransactionParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

CompleteInvoicePaymentTransactionParams contains all the parameters to send to the API endpoint

for the complete invoice payment transaction operation.

Typically these are written to a http.Request.

func NewCompleteInvoicePaymentTransactionParams

func NewCompleteInvoicePaymentTransactionParams() *CompleteInvoicePaymentTransactionParams

NewCompleteInvoicePaymentTransactionParams creates a new CompleteInvoicePaymentTransactionParams 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 NewCompleteInvoicePaymentTransactionParamsWithContext

func NewCompleteInvoicePaymentTransactionParamsWithContext(ctx context.Context) *CompleteInvoicePaymentTransactionParams

NewCompleteInvoicePaymentTransactionParamsWithContext creates a new CompleteInvoicePaymentTransactionParams object with the ability to set a context for a request.

func NewCompleteInvoicePaymentTransactionParamsWithHTTPClient

func NewCompleteInvoicePaymentTransactionParamsWithHTTPClient(client *http.Client) *CompleteInvoicePaymentTransactionParams

NewCompleteInvoicePaymentTransactionParamsWithHTTPClient creates a new CompleteInvoicePaymentTransactionParams object with the ability to set a custom HTTPClient for a request.

func NewCompleteInvoicePaymentTransactionParamsWithTimeout

func NewCompleteInvoicePaymentTransactionParamsWithTimeout(timeout time.Duration) *CompleteInvoicePaymentTransactionParams

NewCompleteInvoicePaymentTransactionParamsWithTimeout creates a new CompleteInvoicePaymentTransactionParams object with the ability to set a timeout on a request.

func (*CompleteInvoicePaymentTransactionParams) SetBody

SetBody adds the body to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetContext

SetContext adds the context to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetDefaults

func (o *CompleteInvoicePaymentTransactionParams) SetDefaults()

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

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

func (*CompleteInvoicePaymentTransactionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetPaymentID

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

SetPaymentID adds the paymentId to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetTimeout

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

SetTimeout adds the timeout to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetXKillbillCreatedBy

func (o *CompleteInvoicePaymentTransactionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithBody

WithBody adds the body to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithContext

WithContext adds the context to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithControlPluginName

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

WithControlPluginName adds the controlPluginName to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithDefaults

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

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

func (*CompleteInvoicePaymentTransactionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithPaymentID

WithPaymentID adds the paymentID to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithPluginProperty

WithPluginProperty adds the pluginProperty to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithTimeout

WithTimeout adds the timeout to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithXKillbillComment

WithXKillbillComment adds the xKillbillComment to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteInvoicePaymentTransactionPaymentRequired

type CompleteInvoicePaymentTransactionPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

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

Transaction declined by gateway

func NewCompleteInvoicePaymentTransactionPaymentRequired

func NewCompleteInvoicePaymentTransactionPaymentRequired() *CompleteInvoicePaymentTransactionPaymentRequired

NewCompleteInvoicePaymentTransactionPaymentRequired creates a CompleteInvoicePaymentTransactionPaymentRequired with default headers values

func (*CompleteInvoicePaymentTransactionPaymentRequired) Code

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

func (*CompleteInvoicePaymentTransactionPaymentRequired) Error

func (*CompleteInvoicePaymentTransactionPaymentRequired) IsClientError

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

func (*CompleteInvoicePaymentTransactionPaymentRequired) IsCode

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

func (*CompleteInvoicePaymentTransactionPaymentRequired) IsRedirect

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

func (*CompleteInvoicePaymentTransactionPaymentRequired) IsServerError

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

func (*CompleteInvoicePaymentTransactionPaymentRequired) IsSuccess

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

func (*CompleteInvoicePaymentTransactionPaymentRequired) String

type CompleteInvoicePaymentTransactionReader

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

CompleteInvoicePaymentTransactionReader is a Reader for the CompleteInvoicePaymentTransaction structure.

func (*CompleteInvoicePaymentTransactionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CompleteInvoicePaymentTransactionServiceUnavailable

type CompleteInvoicePaymentTransactionServiceUnavailable struct {
	HttpResponse runtime.ClientResponse
}

CompleteInvoicePaymentTransactionServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewCompleteInvoicePaymentTransactionServiceUnavailable

func NewCompleteInvoicePaymentTransactionServiceUnavailable() *CompleteInvoicePaymentTransactionServiceUnavailable

NewCompleteInvoicePaymentTransactionServiceUnavailable creates a CompleteInvoicePaymentTransactionServiceUnavailable with default headers values

func (*CompleteInvoicePaymentTransactionServiceUnavailable) Code

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

func (*CompleteInvoicePaymentTransactionServiceUnavailable) Error

func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsClientError

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

func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsCode

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

func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsRedirect

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

func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsServerError

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

func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsSuccess

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

func (*CompleteInvoicePaymentTransactionServiceUnavailable) String

type CompleteInvoicePaymentTransactionUnprocessableEntity

type CompleteInvoicePaymentTransactionUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

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

Payment is aborted by a control plugin

func NewCompleteInvoicePaymentTransactionUnprocessableEntity

func NewCompleteInvoicePaymentTransactionUnprocessableEntity() *CompleteInvoicePaymentTransactionUnprocessableEntity

NewCompleteInvoicePaymentTransactionUnprocessableEntity creates a CompleteInvoicePaymentTransactionUnprocessableEntity with default headers values

func (*CompleteInvoicePaymentTransactionUnprocessableEntity) Code

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

func (*CompleteInvoicePaymentTransactionUnprocessableEntity) Error

func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsClientError

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

func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsCode

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

func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsRedirect

IsRedirect returns true when this complete invoice payment transaction unprocessable entity response has a 3xx status code

func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsServerError

IsServerError returns true when this complete invoice payment transaction unprocessable entity response has a 5xx status code

func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsSuccess

IsSuccess returns true when this complete invoice payment transaction unprocessable entity response has a 2xx status code

func (*CompleteInvoicePaymentTransactionUnprocessableEntity) String

type CreateChargebackBadRequest

type CreateChargebackBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewCreateChargebackBadRequest

func NewCreateChargebackBadRequest() *CreateChargebackBadRequest

NewCreateChargebackBadRequest creates a CreateChargebackBadRequest with default headers values

func (*CreateChargebackBadRequest) Code

func (o *CreateChargebackBadRequest) Code() int

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

func (*CreateChargebackBadRequest) Error

func (*CreateChargebackBadRequest) IsClientError

func (o *CreateChargebackBadRequest) IsClientError() bool

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

func (*CreateChargebackBadRequest) IsCode

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

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

func (*CreateChargebackBadRequest) IsRedirect

func (o *CreateChargebackBadRequest) IsRedirect() bool

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

func (*CreateChargebackBadRequest) IsServerError

func (o *CreateChargebackBadRequest) IsServerError() bool

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

func (*CreateChargebackBadRequest) IsSuccess

func (o *CreateChargebackBadRequest) IsSuccess() bool

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

func (*CreateChargebackBadRequest) String

func (o *CreateChargebackBadRequest) String() string

type CreateChargebackCreated

type CreateChargebackCreated struct {
	Payload      *kbmodel.InvoicePayment
	HttpResponse runtime.ClientResponse
}

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

Created chargeback successfully

func NewCreateChargebackCreated

func NewCreateChargebackCreated() *CreateChargebackCreated

NewCreateChargebackCreated creates a CreateChargebackCreated with default headers values

func (*CreateChargebackCreated) Code

func (o *CreateChargebackCreated) Code() int

Code gets the status code for the create chargeback created response

func (*CreateChargebackCreated) Error

func (o *CreateChargebackCreated) Error() string

func (*CreateChargebackCreated) GetPayload

func (*CreateChargebackCreated) IsClientError

func (o *CreateChargebackCreated) IsClientError() bool

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

func (*CreateChargebackCreated) IsCode

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

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

func (*CreateChargebackCreated) IsRedirect

func (o *CreateChargebackCreated) IsRedirect() bool

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

func (*CreateChargebackCreated) IsServerError

func (o *CreateChargebackCreated) IsServerError() bool

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

func (*CreateChargebackCreated) IsSuccess

func (o *CreateChargebackCreated) IsSuccess() bool

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

func (*CreateChargebackCreated) String

func (o *CreateChargebackCreated) String() string

type CreateChargebackNotFound

type CreateChargebackNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account or payment not found

func NewCreateChargebackNotFound

func NewCreateChargebackNotFound() *CreateChargebackNotFound

NewCreateChargebackNotFound creates a CreateChargebackNotFound with default headers values

func (*CreateChargebackNotFound) Code

func (o *CreateChargebackNotFound) Code() int

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

func (*CreateChargebackNotFound) Error

func (o *CreateChargebackNotFound) Error() string

func (*CreateChargebackNotFound) IsClientError

func (o *CreateChargebackNotFound) IsClientError() bool

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

func (*CreateChargebackNotFound) IsCode

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

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

func (*CreateChargebackNotFound) IsRedirect

func (o *CreateChargebackNotFound) IsRedirect() bool

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

func (*CreateChargebackNotFound) IsServerError

func (o *CreateChargebackNotFound) IsServerError() bool

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

func (*CreateChargebackNotFound) IsSuccess

func (o *CreateChargebackNotFound) IsSuccess() bool

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

func (*CreateChargebackNotFound) String

func (o *CreateChargebackNotFound) String() string

type CreateChargebackParams

type CreateChargebackParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.InvoicePaymentTransaction

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

CreateChargebackParams contains all the parameters to send to the API endpoint

for the create chargeback operation.

Typically these are written to a http.Request.

func NewCreateChargebackParams

func NewCreateChargebackParams() *CreateChargebackParams

NewCreateChargebackParams creates a new CreateChargebackParams 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 NewCreateChargebackParamsWithContext

func NewCreateChargebackParamsWithContext(ctx context.Context) *CreateChargebackParams

NewCreateChargebackParamsWithContext creates a new CreateChargebackParams object with the ability to set a context for a request.

func NewCreateChargebackParamsWithHTTPClient

func NewCreateChargebackParamsWithHTTPClient(client *http.Client) *CreateChargebackParams

NewCreateChargebackParamsWithHTTPClient creates a new CreateChargebackParams object with the ability to set a custom HTTPClient for a request.

func NewCreateChargebackParamsWithTimeout

func NewCreateChargebackParamsWithTimeout(timeout time.Duration) *CreateChargebackParams

NewCreateChargebackParamsWithTimeout creates a new CreateChargebackParams object with the ability to set a timeout on a request.

func (*CreateChargebackParams) SetBody

SetBody adds the body to the create chargeback params

func (*CreateChargebackParams) SetContext

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

SetContext adds the context to the create chargeback params

func (*CreateChargebackParams) SetDefaults

func (o *CreateChargebackParams) SetDefaults()

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

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

func (*CreateChargebackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create chargeback params

func (*CreateChargebackParams) SetPaymentID

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

SetPaymentID adds the paymentId to the create chargeback params

func (*CreateChargebackParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create chargeback params

func (*CreateChargebackParams) SetTimeout

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

SetTimeout adds the timeout to the create chargeback params

func (*CreateChargebackParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create chargeback params

func (*CreateChargebackParams) SetXKillbillCreatedBy

func (o *CreateChargebackParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create chargeback params

func (*CreateChargebackParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create chargeback params

func (*CreateChargebackParams) WithBody

WithBody adds the body to the create chargeback params

func (*CreateChargebackParams) WithContext

WithContext adds the context to the create chargeback params

func (*CreateChargebackParams) WithDefaults

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

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

func (*CreateChargebackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create chargeback params

func (*CreateChargebackParams) WithPaymentID

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

WithPaymentID adds the paymentID to the create chargeback params

func (*CreateChargebackParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create chargeback params

func (*CreateChargebackParams) WithTimeout

WithTimeout adds the timeout to the create chargeback params

func (*CreateChargebackParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create chargeback params

func (*CreateChargebackParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create chargeback params

func (*CreateChargebackParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create chargeback params

func (*CreateChargebackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateChargebackReader

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

CreateChargebackReader is a Reader for the CreateChargeback structure.

func (*CreateChargebackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateChargebackReversalBadRequest

type CreateChargebackReversalBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewCreateChargebackReversalBadRequest

func NewCreateChargebackReversalBadRequest() *CreateChargebackReversalBadRequest

NewCreateChargebackReversalBadRequest creates a CreateChargebackReversalBadRequest with default headers values

func (*CreateChargebackReversalBadRequest) Code

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

func (*CreateChargebackReversalBadRequest) Error

func (*CreateChargebackReversalBadRequest) IsClientError

func (o *CreateChargebackReversalBadRequest) IsClientError() bool

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

func (*CreateChargebackReversalBadRequest) IsCode

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

func (*CreateChargebackReversalBadRequest) IsRedirect

func (o *CreateChargebackReversalBadRequest) IsRedirect() bool

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

func (*CreateChargebackReversalBadRequest) IsServerError

func (o *CreateChargebackReversalBadRequest) IsServerError() bool

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

func (*CreateChargebackReversalBadRequest) IsSuccess

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

func (*CreateChargebackReversalBadRequest) String

type CreateChargebackReversalCreated

type CreateChargebackReversalCreated struct {
	Payload      *kbmodel.InvoicePayment
	HttpResponse runtime.ClientResponse
}

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

Created chargeback reversal successfully

func NewCreateChargebackReversalCreated

func NewCreateChargebackReversalCreated() *CreateChargebackReversalCreated

NewCreateChargebackReversalCreated creates a CreateChargebackReversalCreated with default headers values

func (*CreateChargebackReversalCreated) Code

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

func (*CreateChargebackReversalCreated) Error

func (*CreateChargebackReversalCreated) GetPayload

func (*CreateChargebackReversalCreated) IsClientError

func (o *CreateChargebackReversalCreated) IsClientError() bool

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

func (*CreateChargebackReversalCreated) IsCode

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

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

func (*CreateChargebackReversalCreated) IsRedirect

func (o *CreateChargebackReversalCreated) IsRedirect() bool

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

func (*CreateChargebackReversalCreated) IsServerError

func (o *CreateChargebackReversalCreated) IsServerError() bool

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

func (*CreateChargebackReversalCreated) IsSuccess

func (o *CreateChargebackReversalCreated) IsSuccess() bool

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

func (*CreateChargebackReversalCreated) String

type CreateChargebackReversalNotFound

type CreateChargebackReversalNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account or payment not found

func NewCreateChargebackReversalNotFound

func NewCreateChargebackReversalNotFound() *CreateChargebackReversalNotFound

NewCreateChargebackReversalNotFound creates a CreateChargebackReversalNotFound with default headers values

func (*CreateChargebackReversalNotFound) Code

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

func (*CreateChargebackReversalNotFound) Error

func (*CreateChargebackReversalNotFound) IsClientError

func (o *CreateChargebackReversalNotFound) IsClientError() bool

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

func (*CreateChargebackReversalNotFound) IsCode

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

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

func (*CreateChargebackReversalNotFound) IsRedirect

func (o *CreateChargebackReversalNotFound) IsRedirect() bool

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

func (*CreateChargebackReversalNotFound) IsServerError

func (o *CreateChargebackReversalNotFound) IsServerError() bool

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

func (*CreateChargebackReversalNotFound) IsSuccess

func (o *CreateChargebackReversalNotFound) IsSuccess() bool

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

func (*CreateChargebackReversalNotFound) String

type CreateChargebackReversalParams

type CreateChargebackReversalParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.InvoicePaymentTransaction

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

CreateChargebackReversalParams contains all the parameters to send to the API endpoint

for the create chargeback reversal operation.

Typically these are written to a http.Request.

func NewCreateChargebackReversalParams

func NewCreateChargebackReversalParams() *CreateChargebackReversalParams

NewCreateChargebackReversalParams creates a new CreateChargebackReversalParams 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 NewCreateChargebackReversalParamsWithContext

func NewCreateChargebackReversalParamsWithContext(ctx context.Context) *CreateChargebackReversalParams

NewCreateChargebackReversalParamsWithContext creates a new CreateChargebackReversalParams object with the ability to set a context for a request.

func NewCreateChargebackReversalParamsWithHTTPClient

func NewCreateChargebackReversalParamsWithHTTPClient(client *http.Client) *CreateChargebackReversalParams

NewCreateChargebackReversalParamsWithHTTPClient creates a new CreateChargebackReversalParams object with the ability to set a custom HTTPClient for a request.

func NewCreateChargebackReversalParamsWithTimeout

func NewCreateChargebackReversalParamsWithTimeout(timeout time.Duration) *CreateChargebackReversalParams

NewCreateChargebackReversalParamsWithTimeout creates a new CreateChargebackReversalParams object with the ability to set a timeout on a request.

func (*CreateChargebackReversalParams) SetBody

SetBody adds the body to the create chargeback reversal params

func (*CreateChargebackReversalParams) SetContext

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

SetContext adds the context to the create chargeback reversal params

func (*CreateChargebackReversalParams) SetDefaults

func (o *CreateChargebackReversalParams) SetDefaults()

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

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

func (*CreateChargebackReversalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create chargeback reversal params

func (*CreateChargebackReversalParams) SetPaymentID

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

SetPaymentID adds the paymentId to the create chargeback reversal params

func (*CreateChargebackReversalParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create chargeback reversal params

func (*CreateChargebackReversalParams) SetTimeout

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

SetTimeout adds the timeout to the create chargeback reversal params

func (*CreateChargebackReversalParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create chargeback reversal params

func (*CreateChargebackReversalParams) SetXKillbillCreatedBy

func (o *CreateChargebackReversalParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create chargeback reversal params

func (*CreateChargebackReversalParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithBody

WithBody adds the body to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithContext

WithContext adds the context to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithDefaults

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

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

func (*CreateChargebackReversalParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithPaymentID

WithPaymentID adds the paymentID to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithTimeout

WithTimeout adds the timeout to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create chargeback reversal params

func (*CreateChargebackReversalParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateChargebackReversalReader

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

CreateChargebackReversalReader is a Reader for the CreateChargebackReversal structure.

func (*CreateChargebackReversalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInvoicePaymentCustomFieldsBadRequest

type CreateInvoicePaymentCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewCreateInvoicePaymentCustomFieldsBadRequest

func NewCreateInvoicePaymentCustomFieldsBadRequest() *CreateInvoicePaymentCustomFieldsBadRequest

NewCreateInvoicePaymentCustomFieldsBadRequest creates a CreateInvoicePaymentCustomFieldsBadRequest with default headers values

func (*CreateInvoicePaymentCustomFieldsBadRequest) Code

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

func (*CreateInvoicePaymentCustomFieldsBadRequest) Error

func (*CreateInvoicePaymentCustomFieldsBadRequest) IsClientError

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

func (*CreateInvoicePaymentCustomFieldsBadRequest) IsCode

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

func (*CreateInvoicePaymentCustomFieldsBadRequest) IsRedirect

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

func (*CreateInvoicePaymentCustomFieldsBadRequest) IsServerError

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

func (*CreateInvoicePaymentCustomFieldsBadRequest) IsSuccess

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

func (*CreateInvoicePaymentCustomFieldsBadRequest) String

type CreateInvoicePaymentCustomFieldsCreated

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

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

Custom field created successfully

func NewCreateInvoicePaymentCustomFieldsCreated

func NewCreateInvoicePaymentCustomFieldsCreated() *CreateInvoicePaymentCustomFieldsCreated

NewCreateInvoicePaymentCustomFieldsCreated creates a CreateInvoicePaymentCustomFieldsCreated with default headers values

func (*CreateInvoicePaymentCustomFieldsCreated) Code

Code gets the status code for the create invoice payment custom fields created response

func (*CreateInvoicePaymentCustomFieldsCreated) Error

func (*CreateInvoicePaymentCustomFieldsCreated) GetPayload

func (*CreateInvoicePaymentCustomFieldsCreated) IsClientError

func (o *CreateInvoicePaymentCustomFieldsCreated) IsClientError() bool

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

func (*CreateInvoicePaymentCustomFieldsCreated) IsCode

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

func (*CreateInvoicePaymentCustomFieldsCreated) IsRedirect

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

func (*CreateInvoicePaymentCustomFieldsCreated) IsServerError

func (o *CreateInvoicePaymentCustomFieldsCreated) IsServerError() bool

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

func (*CreateInvoicePaymentCustomFieldsCreated) IsSuccess

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

func (*CreateInvoicePaymentCustomFieldsCreated) String

type CreateInvoicePaymentCustomFieldsParams

type CreateInvoicePaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

CreateInvoicePaymentCustomFieldsParams contains all the parameters to send to the API endpoint

for the create invoice payment custom fields operation.

Typically these are written to a http.Request.

func NewCreateInvoicePaymentCustomFieldsParams

func NewCreateInvoicePaymentCustomFieldsParams() *CreateInvoicePaymentCustomFieldsParams

NewCreateInvoicePaymentCustomFieldsParams creates a new CreateInvoicePaymentCustomFieldsParams 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 NewCreateInvoicePaymentCustomFieldsParamsWithContext

func NewCreateInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoicePaymentCustomFieldsParams

NewCreateInvoicePaymentCustomFieldsParamsWithContext creates a new CreateInvoicePaymentCustomFieldsParams object with the ability to set a context for a request.

func NewCreateInvoicePaymentCustomFieldsParamsWithHTTPClient

func NewCreateInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoicePaymentCustomFieldsParams

NewCreateInvoicePaymentCustomFieldsParamsWithHTTPClient creates a new CreateInvoicePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateInvoicePaymentCustomFieldsParamsWithTimeout

func NewCreateInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoicePaymentCustomFieldsParams

NewCreateInvoicePaymentCustomFieldsParamsWithTimeout creates a new CreateInvoicePaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*CreateInvoicePaymentCustomFieldsParams) SetBody

SetBody adds the body to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) SetContext

SetContext adds the context to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) SetDefaults

func (o *CreateInvoicePaymentCustomFieldsParams) SetDefaults()

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

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

func (*CreateInvoicePaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreateInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithBody

WithBody adds the body to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithContext

WithContext adds the context to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithDefaults

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

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

func (*CreateInvoicePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInvoicePaymentCustomFieldsReader

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

CreateInvoicePaymentCustomFieldsReader is a Reader for the CreateInvoicePaymentCustomFields structure.

func (*CreateInvoicePaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInvoicePaymentTagsBadRequest

type CreateInvoicePaymentTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewCreateInvoicePaymentTagsBadRequest

func NewCreateInvoicePaymentTagsBadRequest() *CreateInvoicePaymentTagsBadRequest

NewCreateInvoicePaymentTagsBadRequest creates a CreateInvoicePaymentTagsBadRequest with default headers values

func (*CreateInvoicePaymentTagsBadRequest) Code

Code gets the status code for the create invoice payment tags bad request response

func (*CreateInvoicePaymentTagsBadRequest) Error

func (*CreateInvoicePaymentTagsBadRequest) IsClientError

func (o *CreateInvoicePaymentTagsBadRequest) IsClientError() bool

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

func (*CreateInvoicePaymentTagsBadRequest) IsCode

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

func (*CreateInvoicePaymentTagsBadRequest) IsRedirect

func (o *CreateInvoicePaymentTagsBadRequest) IsRedirect() bool

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

func (*CreateInvoicePaymentTagsBadRequest) IsServerError

func (o *CreateInvoicePaymentTagsBadRequest) IsServerError() bool

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

func (*CreateInvoicePaymentTagsBadRequest) IsSuccess

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

func (*CreateInvoicePaymentTagsBadRequest) String

type CreateInvoicePaymentTagsCreated

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

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

Tag created successfully

func NewCreateInvoicePaymentTagsCreated

func NewCreateInvoicePaymentTagsCreated() *CreateInvoicePaymentTagsCreated

NewCreateInvoicePaymentTagsCreated creates a CreateInvoicePaymentTagsCreated with default headers values

func (*CreateInvoicePaymentTagsCreated) Code

Code gets the status code for the create invoice payment tags created response

func (*CreateInvoicePaymentTagsCreated) Error

func (*CreateInvoicePaymentTagsCreated) GetPayload

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

func (*CreateInvoicePaymentTagsCreated) IsClientError

func (o *CreateInvoicePaymentTagsCreated) IsClientError() bool

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

func (*CreateInvoicePaymentTagsCreated) IsCode

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

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

func (*CreateInvoicePaymentTagsCreated) IsRedirect

func (o *CreateInvoicePaymentTagsCreated) IsRedirect() bool

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

func (*CreateInvoicePaymentTagsCreated) IsServerError

func (o *CreateInvoicePaymentTagsCreated) IsServerError() bool

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

func (*CreateInvoicePaymentTagsCreated) IsSuccess

func (o *CreateInvoicePaymentTagsCreated) IsSuccess() bool

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

func (*CreateInvoicePaymentTagsCreated) String

type CreateInvoicePaymentTagsParams

type CreateInvoicePaymentTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []strfmt.UUID

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

CreateInvoicePaymentTagsParams contains all the parameters to send to the API endpoint

for the create invoice payment tags operation.

Typically these are written to a http.Request.

func NewCreateInvoicePaymentTagsParams

func NewCreateInvoicePaymentTagsParams() *CreateInvoicePaymentTagsParams

NewCreateInvoicePaymentTagsParams creates a new CreateInvoicePaymentTagsParams 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 NewCreateInvoicePaymentTagsParamsWithContext

func NewCreateInvoicePaymentTagsParamsWithContext(ctx context.Context) *CreateInvoicePaymentTagsParams

NewCreateInvoicePaymentTagsParamsWithContext creates a new CreateInvoicePaymentTagsParams object with the ability to set a context for a request.

func NewCreateInvoicePaymentTagsParamsWithHTTPClient

func NewCreateInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *CreateInvoicePaymentTagsParams

NewCreateInvoicePaymentTagsParamsWithHTTPClient creates a new CreateInvoicePaymentTagsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateInvoicePaymentTagsParamsWithTimeout

func NewCreateInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *CreateInvoicePaymentTagsParams

NewCreateInvoicePaymentTagsParamsWithTimeout creates a new CreateInvoicePaymentTagsParams object with the ability to set a timeout on a request.

func (*CreateInvoicePaymentTagsParams) SetBody

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

SetBody adds the body to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) SetContext

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

SetContext adds the context to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) SetDefaults

func (o *CreateInvoicePaymentTagsParams) SetDefaults()

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

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

func (*CreateInvoicePaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) SetXKillbillCreatedBy

func (o *CreateInvoicePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithBody

WithBody adds the body to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithContext

WithContext adds the context to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithDefaults

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

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

func (*CreateInvoicePaymentTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithPaymentID

WithPaymentID adds the paymentID to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithTimeout

WithTimeout adds the timeout to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInvoicePaymentTagsReader

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

CreateInvoicePaymentTagsReader is a Reader for the CreateInvoicePaymentTags structure.

func (*CreateInvoicePaymentTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRefundWithAdjustmentsBadRequest

type CreateRefundWithAdjustmentsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewCreateRefundWithAdjustmentsBadRequest

func NewCreateRefundWithAdjustmentsBadRequest() *CreateRefundWithAdjustmentsBadRequest

NewCreateRefundWithAdjustmentsBadRequest creates a CreateRefundWithAdjustmentsBadRequest with default headers values

func (*CreateRefundWithAdjustmentsBadRequest) Code

Code gets the status code for the create refund with adjustments bad request response

func (*CreateRefundWithAdjustmentsBadRequest) Error

func (*CreateRefundWithAdjustmentsBadRequest) IsClientError

func (o *CreateRefundWithAdjustmentsBadRequest) IsClientError() bool

IsClientError returns true when this create refund with adjustments bad request response has a 4xx status code

func (*CreateRefundWithAdjustmentsBadRequest) IsCode

IsCode returns true when this create refund with adjustments bad request response a status code equal to that given

func (*CreateRefundWithAdjustmentsBadRequest) IsRedirect

IsRedirect returns true when this create refund with adjustments bad request response has a 3xx status code

func (*CreateRefundWithAdjustmentsBadRequest) IsServerError

func (o *CreateRefundWithAdjustmentsBadRequest) IsServerError() bool

IsServerError returns true when this create refund with adjustments bad request response has a 5xx status code

func (*CreateRefundWithAdjustmentsBadRequest) IsSuccess

IsSuccess returns true when this create refund with adjustments bad request response has a 2xx status code

func (*CreateRefundWithAdjustmentsBadRequest) String

type CreateRefundWithAdjustmentsCreated

type CreateRefundWithAdjustmentsCreated struct {
	Payload      *kbmodel.InvoicePayment
	HttpResponse runtime.ClientResponse
}

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

Created refund successfully

func NewCreateRefundWithAdjustmentsCreated

func NewCreateRefundWithAdjustmentsCreated() *CreateRefundWithAdjustmentsCreated

NewCreateRefundWithAdjustmentsCreated creates a CreateRefundWithAdjustmentsCreated with default headers values

func (*CreateRefundWithAdjustmentsCreated) Code

Code gets the status code for the create refund with adjustments created response

func (*CreateRefundWithAdjustmentsCreated) Error

func (*CreateRefundWithAdjustmentsCreated) GetPayload

func (*CreateRefundWithAdjustmentsCreated) IsClientError

func (o *CreateRefundWithAdjustmentsCreated) IsClientError() bool

IsClientError returns true when this create refund with adjustments created response has a 4xx status code

func (*CreateRefundWithAdjustmentsCreated) IsCode

IsCode returns true when this create refund with adjustments created response a status code equal to that given

func (*CreateRefundWithAdjustmentsCreated) IsRedirect

func (o *CreateRefundWithAdjustmentsCreated) IsRedirect() bool

IsRedirect returns true when this create refund with adjustments created response has a 3xx status code

func (*CreateRefundWithAdjustmentsCreated) IsServerError

func (o *CreateRefundWithAdjustmentsCreated) IsServerError() bool

IsServerError returns true when this create refund with adjustments created response has a 5xx status code

func (*CreateRefundWithAdjustmentsCreated) IsSuccess

IsSuccess returns true when this create refund with adjustments created response has a 2xx status code

func (*CreateRefundWithAdjustmentsCreated) String

type CreateRefundWithAdjustmentsNotFound

type CreateRefundWithAdjustmentsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account or payment not found

func NewCreateRefundWithAdjustmentsNotFound

func NewCreateRefundWithAdjustmentsNotFound() *CreateRefundWithAdjustmentsNotFound

NewCreateRefundWithAdjustmentsNotFound creates a CreateRefundWithAdjustmentsNotFound with default headers values

func (*CreateRefundWithAdjustmentsNotFound) Code

Code gets the status code for the create refund with adjustments not found response

func (*CreateRefundWithAdjustmentsNotFound) Error

func (*CreateRefundWithAdjustmentsNotFound) IsClientError

func (o *CreateRefundWithAdjustmentsNotFound) IsClientError() bool

IsClientError returns true when this create refund with adjustments not found response has a 4xx status code

func (*CreateRefundWithAdjustmentsNotFound) IsCode

IsCode returns true when this create refund with adjustments not found response a status code equal to that given

func (*CreateRefundWithAdjustmentsNotFound) IsRedirect

func (o *CreateRefundWithAdjustmentsNotFound) IsRedirect() bool

IsRedirect returns true when this create refund with adjustments not found response has a 3xx status code

func (*CreateRefundWithAdjustmentsNotFound) IsServerError

func (o *CreateRefundWithAdjustmentsNotFound) IsServerError() bool

IsServerError returns true when this create refund with adjustments not found response has a 5xx status code

func (*CreateRefundWithAdjustmentsNotFound) IsSuccess

IsSuccess returns true when this create refund with adjustments not found response has a 2xx status code

func (*CreateRefundWithAdjustmentsNotFound) String

type CreateRefundWithAdjustmentsParams

type CreateRefundWithAdjustmentsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.InvoicePaymentTransaction

	// ExternalPayment.
	ExternalPayment *bool

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

	// PaymentMethodID.
	//
	// Format: uuid
	PaymentMethodID *strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

CreateRefundWithAdjustmentsParams contains all the parameters to send to the API endpoint

for the create refund with adjustments operation.

Typically these are written to a http.Request.

func NewCreateRefundWithAdjustmentsParams

func NewCreateRefundWithAdjustmentsParams() *CreateRefundWithAdjustmentsParams

NewCreateRefundWithAdjustmentsParams creates a new CreateRefundWithAdjustmentsParams 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 NewCreateRefundWithAdjustmentsParamsWithContext

func NewCreateRefundWithAdjustmentsParamsWithContext(ctx context.Context) *CreateRefundWithAdjustmentsParams

NewCreateRefundWithAdjustmentsParamsWithContext creates a new CreateRefundWithAdjustmentsParams object with the ability to set a context for a request.

func NewCreateRefundWithAdjustmentsParamsWithHTTPClient

func NewCreateRefundWithAdjustmentsParamsWithHTTPClient(client *http.Client) *CreateRefundWithAdjustmentsParams

NewCreateRefundWithAdjustmentsParamsWithHTTPClient creates a new CreateRefundWithAdjustmentsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRefundWithAdjustmentsParamsWithTimeout

func NewCreateRefundWithAdjustmentsParamsWithTimeout(timeout time.Duration) *CreateRefundWithAdjustmentsParams

NewCreateRefundWithAdjustmentsParamsWithTimeout creates a new CreateRefundWithAdjustmentsParams object with the ability to set a timeout on a request.

func (*CreateRefundWithAdjustmentsParams) SetBody

SetBody adds the body to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetContext

SetContext adds the context to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetDefaults

func (o *CreateRefundWithAdjustmentsParams) SetDefaults()

SetDefaults hydrates default values in the create refund with adjustments params (not the query body).

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

func (*CreateRefundWithAdjustmentsParams) SetExternalPayment

func (o *CreateRefundWithAdjustmentsParams) SetExternalPayment(externalPayment *bool)

SetExternalPayment adds the externalPayment to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetPaymentMethodID

func (o *CreateRefundWithAdjustmentsParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetTimeout

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

SetTimeout adds the timeout to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetXKillbillCreatedBy

func (o *CreateRefundWithAdjustmentsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithBody

WithBody adds the body to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithContext

WithContext adds the context to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithDefaults

WithDefaults hydrates default values in the create refund with adjustments params (not the query body).

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

func (*CreateRefundWithAdjustmentsParams) WithExternalPayment

func (o *CreateRefundWithAdjustmentsParams) WithExternalPayment(externalPayment *bool) *CreateRefundWithAdjustmentsParams

WithExternalPayment adds the externalPayment to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithPaymentID

WithPaymentID adds the paymentID to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithPaymentMethodID

func (o *CreateRefundWithAdjustmentsParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *CreateRefundWithAdjustmentsParams

WithPaymentMethodID adds the paymentMethodID to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithTimeout

WithTimeout adds the timeout to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRefundWithAdjustmentsReader

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

CreateRefundWithAdjustmentsReader is a Reader for the CreateRefundWithAdjustments structure.

func (*CreateRefundWithAdjustmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInvoicePaymentCustomFieldsBadRequest

type DeleteInvoicePaymentCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewDeleteInvoicePaymentCustomFieldsBadRequest

func NewDeleteInvoicePaymentCustomFieldsBadRequest() *DeleteInvoicePaymentCustomFieldsBadRequest

NewDeleteInvoicePaymentCustomFieldsBadRequest creates a DeleteInvoicePaymentCustomFieldsBadRequest with default headers values

func (*DeleteInvoicePaymentCustomFieldsBadRequest) Code

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

func (*DeleteInvoicePaymentCustomFieldsBadRequest) Error

func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsClientError

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

func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsCode

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

func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsRedirect

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

func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsServerError

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

func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsSuccess

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

func (*DeleteInvoicePaymentCustomFieldsBadRequest) String

type DeleteInvoicePaymentCustomFieldsNoContent

type DeleteInvoicePaymentCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewDeleteInvoicePaymentCustomFieldsNoContent

func NewDeleteInvoicePaymentCustomFieldsNoContent() *DeleteInvoicePaymentCustomFieldsNoContent

NewDeleteInvoicePaymentCustomFieldsNoContent creates a DeleteInvoicePaymentCustomFieldsNoContent with default headers values

func (*DeleteInvoicePaymentCustomFieldsNoContent) Code

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

func (*DeleteInvoicePaymentCustomFieldsNoContent) Error

func (*DeleteInvoicePaymentCustomFieldsNoContent) IsClientError

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

func (*DeleteInvoicePaymentCustomFieldsNoContent) IsCode

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

func (*DeleteInvoicePaymentCustomFieldsNoContent) IsRedirect

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

func (*DeleteInvoicePaymentCustomFieldsNoContent) IsServerError

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

func (*DeleteInvoicePaymentCustomFieldsNoContent) IsSuccess

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

func (*DeleteInvoicePaymentCustomFieldsNoContent) String

type DeleteInvoicePaymentCustomFieldsParams

type DeleteInvoicePaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// CustomField.
	CustomField []strfmt.UUID

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

DeleteInvoicePaymentCustomFieldsParams contains all the parameters to send to the API endpoint

for the delete invoice payment custom fields operation.

Typically these are written to a http.Request.

func NewDeleteInvoicePaymentCustomFieldsParams

func NewDeleteInvoicePaymentCustomFieldsParams() *DeleteInvoicePaymentCustomFieldsParams

NewDeleteInvoicePaymentCustomFieldsParams creates a new DeleteInvoicePaymentCustomFieldsParams 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 NewDeleteInvoicePaymentCustomFieldsParamsWithContext

func NewDeleteInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoicePaymentCustomFieldsParams

NewDeleteInvoicePaymentCustomFieldsParamsWithContext creates a new DeleteInvoicePaymentCustomFieldsParams object with the ability to set a context for a request.

func NewDeleteInvoicePaymentCustomFieldsParamsWithHTTPClient

func NewDeleteInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoicePaymentCustomFieldsParams

NewDeleteInvoicePaymentCustomFieldsParamsWithHTTPClient creates a new DeleteInvoicePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInvoicePaymentCustomFieldsParamsWithTimeout

func NewDeleteInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoicePaymentCustomFieldsParams

NewDeleteInvoicePaymentCustomFieldsParamsWithTimeout creates a new DeleteInvoicePaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*DeleteInvoicePaymentCustomFieldsParams) SetContext

SetContext adds the context to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) SetCustomField

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

SetCustomField adds the customField to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) SetDefaults

func (o *DeleteInvoicePaymentCustomFieldsParams) SetDefaults()

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

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

func (*DeleteInvoicePaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeleteInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithContext

WithContext adds the context to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithDefaults

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

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

func (*DeleteInvoicePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInvoicePaymentCustomFieldsReader

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

DeleteInvoicePaymentCustomFieldsReader is a Reader for the DeleteInvoicePaymentCustomFields structure.

func (*DeleteInvoicePaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInvoicePaymentTagsBadRequest

type DeleteInvoicePaymentTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewDeleteInvoicePaymentTagsBadRequest

func NewDeleteInvoicePaymentTagsBadRequest() *DeleteInvoicePaymentTagsBadRequest

NewDeleteInvoicePaymentTagsBadRequest creates a DeleteInvoicePaymentTagsBadRequest with default headers values

func (*DeleteInvoicePaymentTagsBadRequest) Code

Code gets the status code for the delete invoice payment tags bad request response

func (*DeleteInvoicePaymentTagsBadRequest) Error

func (*DeleteInvoicePaymentTagsBadRequest) IsClientError

func (o *DeleteInvoicePaymentTagsBadRequest) IsClientError() bool

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

func (*DeleteInvoicePaymentTagsBadRequest) IsCode

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

func (*DeleteInvoicePaymentTagsBadRequest) IsRedirect

func (o *DeleteInvoicePaymentTagsBadRequest) IsRedirect() bool

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

func (*DeleteInvoicePaymentTagsBadRequest) IsServerError

func (o *DeleteInvoicePaymentTagsBadRequest) IsServerError() bool

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

func (*DeleteInvoicePaymentTagsBadRequest) IsSuccess

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

func (*DeleteInvoicePaymentTagsBadRequest) String

type DeleteInvoicePaymentTagsNoContent

type DeleteInvoicePaymentTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewDeleteInvoicePaymentTagsNoContent

func NewDeleteInvoicePaymentTagsNoContent() *DeleteInvoicePaymentTagsNoContent

NewDeleteInvoicePaymentTagsNoContent creates a DeleteInvoicePaymentTagsNoContent with default headers values

func (*DeleteInvoicePaymentTagsNoContent) Code

Code gets the status code for the delete invoice payment tags no content response

func (*DeleteInvoicePaymentTagsNoContent) Error

func (*DeleteInvoicePaymentTagsNoContent) IsClientError

func (o *DeleteInvoicePaymentTagsNoContent) IsClientError() bool

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

func (*DeleteInvoicePaymentTagsNoContent) IsCode

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

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

func (*DeleteInvoicePaymentTagsNoContent) IsRedirect

func (o *DeleteInvoicePaymentTagsNoContent) IsRedirect() bool

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

func (*DeleteInvoicePaymentTagsNoContent) IsServerError

func (o *DeleteInvoicePaymentTagsNoContent) IsServerError() bool

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

func (*DeleteInvoicePaymentTagsNoContent) IsSuccess

func (o *DeleteInvoicePaymentTagsNoContent) IsSuccess() bool

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

func (*DeleteInvoicePaymentTagsNoContent) String

type DeleteInvoicePaymentTagsParams

type DeleteInvoicePaymentTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// TagDef.
	TagDef []strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

DeleteInvoicePaymentTagsParams contains all the parameters to send to the API endpoint

for the delete invoice payment tags operation.

Typically these are written to a http.Request.

func NewDeleteInvoicePaymentTagsParams

func NewDeleteInvoicePaymentTagsParams() *DeleteInvoicePaymentTagsParams

NewDeleteInvoicePaymentTagsParams creates a new DeleteInvoicePaymentTagsParams 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 NewDeleteInvoicePaymentTagsParamsWithContext

func NewDeleteInvoicePaymentTagsParamsWithContext(ctx context.Context) *DeleteInvoicePaymentTagsParams

NewDeleteInvoicePaymentTagsParamsWithContext creates a new DeleteInvoicePaymentTagsParams object with the ability to set a context for a request.

func NewDeleteInvoicePaymentTagsParamsWithHTTPClient

func NewDeleteInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoicePaymentTagsParams

NewDeleteInvoicePaymentTagsParamsWithHTTPClient creates a new DeleteInvoicePaymentTagsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInvoicePaymentTagsParamsWithTimeout

func NewDeleteInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoicePaymentTagsParams

NewDeleteInvoicePaymentTagsParamsWithTimeout creates a new DeleteInvoicePaymentTagsParams object with the ability to set a timeout on a request.

func (*DeleteInvoicePaymentTagsParams) SetContext

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

SetContext adds the context to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) SetDefaults

func (o *DeleteInvoicePaymentTagsParams) SetDefaults()

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

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

func (*DeleteInvoicePaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) SetTagDef

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

SetTagDef adds the tagDef to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) SetXKillbillCreatedBy

func (o *DeleteInvoicePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithContext

WithContext adds the context to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithDefaults

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

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

func (*DeleteInvoicePaymentTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithPaymentID

WithPaymentID adds the paymentID to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithTimeout

WithTimeout adds the timeout to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInvoicePaymentTagsReader

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

DeleteInvoicePaymentTagsReader is a Reader for the DeleteInvoicePaymentTags structure.

func (*DeleteInvoicePaymentTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicePaymentAuditLogsWithHistoryNotFound

type GetInvoicePaymentAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Invoice payment not found

func NewGetInvoicePaymentAuditLogsWithHistoryNotFound

func NewGetInvoicePaymentAuditLogsWithHistoryNotFound() *GetInvoicePaymentAuditLogsWithHistoryNotFound

NewGetInvoicePaymentAuditLogsWithHistoryNotFound creates a GetInvoicePaymentAuditLogsWithHistoryNotFound with default headers values

func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) Code

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

func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) Error

func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsClientError

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

func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsCode

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

func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsRedirect

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

func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsServerError

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

func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsSuccess

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

func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) String

type GetInvoicePaymentAuditLogsWithHistoryOK

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

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

successful operation

func NewGetInvoicePaymentAuditLogsWithHistoryOK

func NewGetInvoicePaymentAuditLogsWithHistoryOK() *GetInvoicePaymentAuditLogsWithHistoryOK

NewGetInvoicePaymentAuditLogsWithHistoryOK creates a GetInvoicePaymentAuditLogsWithHistoryOK with default headers values

func (*GetInvoicePaymentAuditLogsWithHistoryOK) Code

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

func (*GetInvoicePaymentAuditLogsWithHistoryOK) Error

func (*GetInvoicePaymentAuditLogsWithHistoryOK) GetPayload

func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsClientError

func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsClientError() bool

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

func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsCode

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

func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsRedirect

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

func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsServerError

func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsServerError() bool

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

func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsSuccess

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

func (*GetInvoicePaymentAuditLogsWithHistoryOK) String

type GetInvoicePaymentAuditLogsWithHistoryParams

type GetInvoicePaymentAuditLogsWithHistoryParams struct {

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

GetInvoicePaymentAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get invoice payment audit logs with history operation.

Typically these are written to a http.Request.

func NewGetInvoicePaymentAuditLogsWithHistoryParams

func NewGetInvoicePaymentAuditLogsWithHistoryParams() *GetInvoicePaymentAuditLogsWithHistoryParams

NewGetInvoicePaymentAuditLogsWithHistoryParams creates a new GetInvoicePaymentAuditLogsWithHistoryParams 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 NewGetInvoicePaymentAuditLogsWithHistoryParamsWithContext

func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoicePaymentAuditLogsWithHistoryParams

NewGetInvoicePaymentAuditLogsWithHistoryParamsWithContext creates a new GetInvoicePaymentAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithHTTPClient

func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentAuditLogsWithHistoryParams

NewGetInvoicePaymentAuditLogsWithHistoryParamsWithHTTPClient creates a new GetInvoicePaymentAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithTimeout

func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentAuditLogsWithHistoryParams

NewGetInvoicePaymentAuditLogsWithHistoryParamsWithTimeout creates a new GetInvoicePaymentAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetContext

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

func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetDefaults

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

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

func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetHTTPClient

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

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

func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetInvoicePaymentID

func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetInvoicePaymentID(invoicePaymentID strfmt.UUID)

SetInvoicePaymentID adds the invoicePaymentId to the get invoice payment audit logs with history params

func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetTimeout

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

func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithContext

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

func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithHTTPClient

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

func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithInvoicePaymentID

WithInvoicePaymentID adds the invoicePaymentID to the get invoice payment audit logs with history params

func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithTimeout

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

func (*GetInvoicePaymentAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicePaymentAuditLogsWithHistoryReader

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

GetInvoicePaymentAuditLogsWithHistoryReader is a Reader for the GetInvoicePaymentAuditLogsWithHistory structure.

func (*GetInvoicePaymentAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicePaymentBadRequest

type GetInvoicePaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewGetInvoicePaymentBadRequest

func NewGetInvoicePaymentBadRequest() *GetInvoicePaymentBadRequest

NewGetInvoicePaymentBadRequest creates a GetInvoicePaymentBadRequest with default headers values

func (*GetInvoicePaymentBadRequest) Code

func (o *GetInvoicePaymentBadRequest) Code() int

Code gets the status code for the get invoice payment bad request response

func (*GetInvoicePaymentBadRequest) Error

func (*GetInvoicePaymentBadRequest) IsClientError

func (o *GetInvoicePaymentBadRequest) IsClientError() bool

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

func (*GetInvoicePaymentBadRequest) IsCode

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

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

func (*GetInvoicePaymentBadRequest) IsRedirect

func (o *GetInvoicePaymentBadRequest) IsRedirect() bool

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

func (*GetInvoicePaymentBadRequest) IsServerError

func (o *GetInvoicePaymentBadRequest) IsServerError() bool

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

func (*GetInvoicePaymentBadRequest) IsSuccess

func (o *GetInvoicePaymentBadRequest) IsSuccess() bool

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

func (*GetInvoicePaymentBadRequest) String

func (o *GetInvoicePaymentBadRequest) String() string

type GetInvoicePaymentCustomFieldsBadRequest

type GetInvoicePaymentCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewGetInvoicePaymentCustomFieldsBadRequest

func NewGetInvoicePaymentCustomFieldsBadRequest() *GetInvoicePaymentCustomFieldsBadRequest

NewGetInvoicePaymentCustomFieldsBadRequest creates a GetInvoicePaymentCustomFieldsBadRequest with default headers values

func (*GetInvoicePaymentCustomFieldsBadRequest) Code

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

func (*GetInvoicePaymentCustomFieldsBadRequest) Error

func (*GetInvoicePaymentCustomFieldsBadRequest) IsClientError

func (o *GetInvoicePaymentCustomFieldsBadRequest) IsClientError() bool

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

func (*GetInvoicePaymentCustomFieldsBadRequest) IsCode

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

func (*GetInvoicePaymentCustomFieldsBadRequest) IsRedirect

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

func (*GetInvoicePaymentCustomFieldsBadRequest) IsServerError

func (o *GetInvoicePaymentCustomFieldsBadRequest) IsServerError() bool

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

func (*GetInvoicePaymentCustomFieldsBadRequest) IsSuccess

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

func (*GetInvoicePaymentCustomFieldsBadRequest) String

type GetInvoicePaymentCustomFieldsOK

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

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

successful operation

func NewGetInvoicePaymentCustomFieldsOK

func NewGetInvoicePaymentCustomFieldsOK() *GetInvoicePaymentCustomFieldsOK

NewGetInvoicePaymentCustomFieldsOK creates a GetInvoicePaymentCustomFieldsOK with default headers values

func (*GetInvoicePaymentCustomFieldsOK) Code

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

func (*GetInvoicePaymentCustomFieldsOK) Error

func (*GetInvoicePaymentCustomFieldsOK) GetPayload

func (*GetInvoicePaymentCustomFieldsOK) IsClientError

func (o *GetInvoicePaymentCustomFieldsOK) IsClientError() bool

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

func (*GetInvoicePaymentCustomFieldsOK) IsCode

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

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

func (*GetInvoicePaymentCustomFieldsOK) IsRedirect

func (o *GetInvoicePaymentCustomFieldsOK) IsRedirect() bool

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

func (*GetInvoicePaymentCustomFieldsOK) IsServerError

func (o *GetInvoicePaymentCustomFieldsOK) IsServerError() bool

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

func (*GetInvoicePaymentCustomFieldsOK) IsSuccess

func (o *GetInvoicePaymentCustomFieldsOK) IsSuccess() bool

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

func (*GetInvoicePaymentCustomFieldsOK) String

type GetInvoicePaymentCustomFieldsParams

type GetInvoicePaymentCustomFieldsParams struct {

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

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetInvoicePaymentCustomFieldsParams contains all the parameters to send to the API endpoint

for the get invoice payment custom fields operation.

Typically these are written to a http.Request.

func NewGetInvoicePaymentCustomFieldsParams

func NewGetInvoicePaymentCustomFieldsParams() *GetInvoicePaymentCustomFieldsParams

NewGetInvoicePaymentCustomFieldsParams creates a new GetInvoicePaymentCustomFieldsParams 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 NewGetInvoicePaymentCustomFieldsParamsWithContext

func NewGetInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *GetInvoicePaymentCustomFieldsParams

NewGetInvoicePaymentCustomFieldsParamsWithContext creates a new GetInvoicePaymentCustomFieldsParams object with the ability to set a context for a request.

func NewGetInvoicePaymentCustomFieldsParamsWithHTTPClient

func NewGetInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentCustomFieldsParams

NewGetInvoicePaymentCustomFieldsParamsWithHTTPClient creates a new GetInvoicePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoicePaymentCustomFieldsParamsWithTimeout

func NewGetInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentCustomFieldsParams

NewGetInvoicePaymentCustomFieldsParamsWithTimeout creates a new GetInvoicePaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*GetInvoicePaymentCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) SetContext

SetContext adds the context to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) SetDefaults

func (o *GetInvoicePaymentCustomFieldsParams) SetDefaults()

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

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

func (*GetInvoicePaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithAudit

WithAudit adds the audit to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithContext

WithContext adds the context to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithDefaults

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

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

func (*GetInvoicePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicePaymentCustomFieldsReader

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

GetInvoicePaymentCustomFieldsReader is a Reader for the GetInvoicePaymentCustomFields structure.

func (*GetInvoicePaymentCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicePaymentNotFound

type GetInvoicePaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Payment not found

func NewGetInvoicePaymentNotFound

func NewGetInvoicePaymentNotFound() *GetInvoicePaymentNotFound

NewGetInvoicePaymentNotFound creates a GetInvoicePaymentNotFound with default headers values

func (*GetInvoicePaymentNotFound) Code

func (o *GetInvoicePaymentNotFound) Code() int

Code gets the status code for the get invoice payment not found response

func (*GetInvoicePaymentNotFound) Error

func (o *GetInvoicePaymentNotFound) Error() string

func (*GetInvoicePaymentNotFound) IsClientError

func (o *GetInvoicePaymentNotFound) IsClientError() bool

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

func (*GetInvoicePaymentNotFound) IsCode

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

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

func (*GetInvoicePaymentNotFound) IsRedirect

func (o *GetInvoicePaymentNotFound) IsRedirect() bool

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

func (*GetInvoicePaymentNotFound) IsServerError

func (o *GetInvoicePaymentNotFound) IsServerError() bool

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

func (*GetInvoicePaymentNotFound) IsSuccess

func (o *GetInvoicePaymentNotFound) IsSuccess() bool

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

func (*GetInvoicePaymentNotFound) String

func (o *GetInvoicePaymentNotFound) String() string

type GetInvoicePaymentOK

type GetInvoicePaymentOK struct {
	Payload      *kbmodel.InvoicePayment
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetInvoicePaymentOK

func NewGetInvoicePaymentOK() *GetInvoicePaymentOK

NewGetInvoicePaymentOK creates a GetInvoicePaymentOK with default headers values

func (*GetInvoicePaymentOK) Code

func (o *GetInvoicePaymentOK) Code() int

Code gets the status code for the get invoice payment o k response

func (*GetInvoicePaymentOK) Error

func (o *GetInvoicePaymentOK) Error() string

func (*GetInvoicePaymentOK) GetPayload

func (o *GetInvoicePaymentOK) GetPayload() *kbmodel.InvoicePayment

func (*GetInvoicePaymentOK) IsClientError

func (o *GetInvoicePaymentOK) IsClientError() bool

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

func (*GetInvoicePaymentOK) IsCode

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

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

func (*GetInvoicePaymentOK) IsRedirect

func (o *GetInvoicePaymentOK) IsRedirect() bool

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

func (*GetInvoicePaymentOK) IsServerError

func (o *GetInvoicePaymentOK) IsServerError() bool

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

func (*GetInvoicePaymentOK) IsSuccess

func (o *GetInvoicePaymentOK) IsSuccess() bool

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

func (*GetInvoicePaymentOK) String

func (o *GetInvoicePaymentOK) String() string

type GetInvoicePaymentParams

type GetInvoicePaymentParams struct {

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

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

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetInvoicePaymentParams contains all the parameters to send to the API endpoint

for the get invoice payment operation.

Typically these are written to a http.Request.

func NewGetInvoicePaymentParams

func NewGetInvoicePaymentParams() *GetInvoicePaymentParams

NewGetInvoicePaymentParams creates a new GetInvoicePaymentParams 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 NewGetInvoicePaymentParamsWithContext

func NewGetInvoicePaymentParamsWithContext(ctx context.Context) *GetInvoicePaymentParams

NewGetInvoicePaymentParamsWithContext creates a new GetInvoicePaymentParams object with the ability to set a context for a request.

func NewGetInvoicePaymentParamsWithHTTPClient

func NewGetInvoicePaymentParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentParams

NewGetInvoicePaymentParamsWithHTTPClient creates a new GetInvoicePaymentParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoicePaymentParamsWithTimeout

func NewGetInvoicePaymentParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentParams

NewGetInvoicePaymentParamsWithTimeout creates a new GetInvoicePaymentParams object with the ability to set a timeout on a request.

func (*GetInvoicePaymentParams) SetAudit

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

SetAudit adds the audit to the get invoice payment params

func (*GetInvoicePaymentParams) SetContext

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

SetContext adds the context to the get invoice payment params

func (*GetInvoicePaymentParams) SetDefaults

func (o *GetInvoicePaymentParams) SetDefaults()

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

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

func (*GetInvoicePaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice payment params

func (*GetInvoicePaymentParams) SetPaymentID

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

SetPaymentID adds the paymentId to the get invoice payment params

func (*GetInvoicePaymentParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get invoice payment params

func (*GetInvoicePaymentParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice payment params

func (*GetInvoicePaymentParams) SetWithAttempts

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

SetWithAttempts adds the withAttempts to the get invoice payment params

func (*GetInvoicePaymentParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the get invoice payment params

func (*GetInvoicePaymentParams) WithAudit

WithAudit adds the audit to the get invoice payment params

func (*GetInvoicePaymentParams) WithContext

WithContext adds the context to the get invoice payment params

func (*GetInvoicePaymentParams) WithDefaults

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

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

func (*GetInvoicePaymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice payment params

func (*GetInvoicePaymentParams) WithPaymentID

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

WithPaymentID adds the paymentID to the get invoice payment params

func (*GetInvoicePaymentParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get invoice payment params

func (*GetInvoicePaymentParams) WithTimeout

WithTimeout adds the timeout to the get invoice payment params

func (*GetInvoicePaymentParams) WithWithAttempts

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

WithWithAttempts adds the withAttempts to the get invoice payment params

func (*GetInvoicePaymentParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the get invoice payment params

func (*GetInvoicePaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicePaymentReader

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

GetInvoicePaymentReader is a Reader for the GetInvoicePayment structure.

func (*GetInvoicePaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicePaymentTagsBadRequest

type GetInvoicePaymentTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewGetInvoicePaymentTagsBadRequest

func NewGetInvoicePaymentTagsBadRequest() *GetInvoicePaymentTagsBadRequest

NewGetInvoicePaymentTagsBadRequest creates a GetInvoicePaymentTagsBadRequest with default headers values

func (*GetInvoicePaymentTagsBadRequest) Code

Code gets the status code for the get invoice payment tags bad request response

func (*GetInvoicePaymentTagsBadRequest) Error

func (*GetInvoicePaymentTagsBadRequest) IsClientError

func (o *GetInvoicePaymentTagsBadRequest) IsClientError() bool

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

func (*GetInvoicePaymentTagsBadRequest) IsCode

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

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

func (*GetInvoicePaymentTagsBadRequest) IsRedirect

func (o *GetInvoicePaymentTagsBadRequest) IsRedirect() bool

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

func (*GetInvoicePaymentTagsBadRequest) IsServerError

func (o *GetInvoicePaymentTagsBadRequest) IsServerError() bool

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

func (*GetInvoicePaymentTagsBadRequest) IsSuccess

func (o *GetInvoicePaymentTagsBadRequest) IsSuccess() bool

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

func (*GetInvoicePaymentTagsBadRequest) String

type GetInvoicePaymentTagsNotFound

type GetInvoicePaymentTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Payment not found

func NewGetInvoicePaymentTagsNotFound

func NewGetInvoicePaymentTagsNotFound() *GetInvoicePaymentTagsNotFound

NewGetInvoicePaymentTagsNotFound creates a GetInvoicePaymentTagsNotFound with default headers values

func (*GetInvoicePaymentTagsNotFound) Code

Code gets the status code for the get invoice payment tags not found response

func (*GetInvoicePaymentTagsNotFound) Error

func (*GetInvoicePaymentTagsNotFound) IsClientError

func (o *GetInvoicePaymentTagsNotFound) IsClientError() bool

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

func (*GetInvoicePaymentTagsNotFound) IsCode

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

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

func (*GetInvoicePaymentTagsNotFound) IsRedirect

func (o *GetInvoicePaymentTagsNotFound) IsRedirect() bool

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

func (*GetInvoicePaymentTagsNotFound) IsServerError

func (o *GetInvoicePaymentTagsNotFound) IsServerError() bool

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

func (*GetInvoicePaymentTagsNotFound) IsSuccess

func (o *GetInvoicePaymentTagsNotFound) IsSuccess() bool

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

func (*GetInvoicePaymentTagsNotFound) String

type GetInvoicePaymentTagsOK

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

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

successful operation

func NewGetInvoicePaymentTagsOK

func NewGetInvoicePaymentTagsOK() *GetInvoicePaymentTagsOK

NewGetInvoicePaymentTagsOK creates a GetInvoicePaymentTagsOK with default headers values

func (*GetInvoicePaymentTagsOK) Code

func (o *GetInvoicePaymentTagsOK) Code() int

Code gets the status code for the get invoice payment tags o k response

func (*GetInvoicePaymentTagsOK) Error

func (o *GetInvoicePaymentTagsOK) Error() string

func (*GetInvoicePaymentTagsOK) GetPayload

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

func (*GetInvoicePaymentTagsOK) IsClientError

func (o *GetInvoicePaymentTagsOK) IsClientError() bool

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

func (*GetInvoicePaymentTagsOK) IsCode

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

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

func (*GetInvoicePaymentTagsOK) IsRedirect

func (o *GetInvoicePaymentTagsOK) IsRedirect() bool

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

func (*GetInvoicePaymentTagsOK) IsServerError

func (o *GetInvoicePaymentTagsOK) IsServerError() bool

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

func (*GetInvoicePaymentTagsOK) IsSuccess

func (o *GetInvoicePaymentTagsOK) IsSuccess() bool

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

func (*GetInvoicePaymentTagsOK) String

func (o *GetInvoicePaymentTagsOK) String() string

type GetInvoicePaymentTagsParams

type GetInvoicePaymentTagsParams struct {

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

	// IncludedDeleted.
	IncludedDeleted *bool

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetInvoicePaymentTagsParams contains all the parameters to send to the API endpoint

for the get invoice payment tags operation.

Typically these are written to a http.Request.

func NewGetInvoicePaymentTagsParams

func NewGetInvoicePaymentTagsParams() *GetInvoicePaymentTagsParams

NewGetInvoicePaymentTagsParams creates a new GetInvoicePaymentTagsParams 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 NewGetInvoicePaymentTagsParamsWithContext

func NewGetInvoicePaymentTagsParamsWithContext(ctx context.Context) *GetInvoicePaymentTagsParams

NewGetInvoicePaymentTagsParamsWithContext creates a new GetInvoicePaymentTagsParams object with the ability to set a context for a request.

func NewGetInvoicePaymentTagsParamsWithHTTPClient

func NewGetInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentTagsParams

NewGetInvoicePaymentTagsParamsWithHTTPClient creates a new GetInvoicePaymentTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoicePaymentTagsParamsWithTimeout

func NewGetInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentTagsParams

NewGetInvoicePaymentTagsParamsWithTimeout creates a new GetInvoicePaymentTagsParams object with the ability to set a timeout on a request.

func (*GetInvoicePaymentTagsParams) SetAudit

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

SetAudit adds the audit to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) SetContext

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

SetContext adds the context to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) SetDefaults

func (o *GetInvoicePaymentTagsParams) SetDefaults()

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

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

func (*GetInvoicePaymentTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithAudit

WithAudit adds the audit to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithContext

WithContext adds the context to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithDefaults

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

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

func (*GetInvoicePaymentTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithPaymentID

WithPaymentID adds the paymentID to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithTimeout

WithTimeout adds the timeout to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicePaymentTagsReader

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

GetInvoicePaymentTagsReader is a Reader for the GetInvoicePaymentTags structure.

func (*GetInvoicePaymentTagsReader) ReadResponse

func (o *GetInvoicePaymentTagsReader) 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 ModifyInvoicePaymentCustomFieldsBadRequest

type ModifyInvoicePaymentCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid payment id supplied

func NewModifyInvoicePaymentCustomFieldsBadRequest

func NewModifyInvoicePaymentCustomFieldsBadRequest() *ModifyInvoicePaymentCustomFieldsBadRequest

NewModifyInvoicePaymentCustomFieldsBadRequest creates a ModifyInvoicePaymentCustomFieldsBadRequest with default headers values

func (*ModifyInvoicePaymentCustomFieldsBadRequest) Code

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

func (*ModifyInvoicePaymentCustomFieldsBadRequest) Error

func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsClientError

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

func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsCode

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

func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsRedirect

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

func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsServerError

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

func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsSuccess

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

func (*ModifyInvoicePaymentCustomFieldsBadRequest) String

type ModifyInvoicePaymentCustomFieldsNoContent

type ModifyInvoicePaymentCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewModifyInvoicePaymentCustomFieldsNoContent

func NewModifyInvoicePaymentCustomFieldsNoContent() *ModifyInvoicePaymentCustomFieldsNoContent

NewModifyInvoicePaymentCustomFieldsNoContent creates a ModifyInvoicePaymentCustomFieldsNoContent with default headers values

func (*ModifyInvoicePaymentCustomFieldsNoContent) Code

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

func (*ModifyInvoicePaymentCustomFieldsNoContent) Error

func (*ModifyInvoicePaymentCustomFieldsNoContent) IsClientError

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

func (*ModifyInvoicePaymentCustomFieldsNoContent) IsCode

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

func (*ModifyInvoicePaymentCustomFieldsNoContent) IsRedirect

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

func (*ModifyInvoicePaymentCustomFieldsNoContent) IsServerError

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

func (*ModifyInvoicePaymentCustomFieldsNoContent) IsSuccess

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

func (*ModifyInvoicePaymentCustomFieldsNoContent) String

type ModifyInvoicePaymentCustomFieldsParams

type ModifyInvoicePaymentCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

ModifyInvoicePaymentCustomFieldsParams contains all the parameters to send to the API endpoint

for the modify invoice payment custom fields operation.

Typically these are written to a http.Request.

func NewModifyInvoicePaymentCustomFieldsParams

func NewModifyInvoicePaymentCustomFieldsParams() *ModifyInvoicePaymentCustomFieldsParams

NewModifyInvoicePaymentCustomFieldsParams creates a new ModifyInvoicePaymentCustomFieldsParams 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 NewModifyInvoicePaymentCustomFieldsParamsWithContext

func NewModifyInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoicePaymentCustomFieldsParams

NewModifyInvoicePaymentCustomFieldsParamsWithContext creates a new ModifyInvoicePaymentCustomFieldsParams object with the ability to set a context for a request.

func NewModifyInvoicePaymentCustomFieldsParamsWithHTTPClient

func NewModifyInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoicePaymentCustomFieldsParams

NewModifyInvoicePaymentCustomFieldsParamsWithHTTPClient creates a new ModifyInvoicePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewModifyInvoicePaymentCustomFieldsParamsWithTimeout

func NewModifyInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoicePaymentCustomFieldsParams

NewModifyInvoicePaymentCustomFieldsParamsWithTimeout creates a new ModifyInvoicePaymentCustomFieldsParams object with the ability to set a timeout on a request.

func (*ModifyInvoicePaymentCustomFieldsParams) SetBody

SetBody adds the body to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) SetContext

SetContext adds the context to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) SetDefaults

func (o *ModifyInvoicePaymentCustomFieldsParams) SetDefaults()

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

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

func (*ModifyInvoicePaymentCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) SetPaymentID

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

SetPaymentID adds the paymentId to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithBody

WithBody adds the body to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithContext

WithContext adds the context to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithDefaults

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

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

func (*ModifyInvoicePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyInvoicePaymentCustomFieldsReader

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

ModifyInvoicePaymentCustomFieldsReader is a Reader for the ModifyInvoicePaymentCustomFields structure.

func (*ModifyInvoicePaymentCustomFieldsReader) ReadResponse

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