invoice_item

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 item API

func New

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

New creates a new invoice item API client.

func (*Client) CreateInvoiceItemCustomFields

func (a *Client) CreateInvoiceItemCustomFields(ctx context.Context, params *CreateInvoiceItemCustomFieldsParams) (*CreateInvoiceItemCustomFieldsCreated, error)

CreateInvoiceItemCustomFields adds custom fields to invoice item

func (*Client) CreateInvoiceItemTags

func (a *Client) CreateInvoiceItemTags(ctx context.Context, params *CreateInvoiceItemTagsParams) (*CreateInvoiceItemTagsCreated, error)

CreateInvoiceItemTags adds tags to invoice item

func (*Client) DeleteInvoiceItemCustomFields

DeleteInvoiceItemCustomFields removes custom fields from invoice item

func (*Client) DeleteInvoiceItemTags

func (a *Client) DeleteInvoiceItemTags(ctx context.Context, params *DeleteInvoiceItemTagsParams) (*DeleteInvoiceItemTagsNoContent, error)

DeleteInvoiceItemTags removes tags from invoice item

func (*Client) GetInvoiceItemAuditLogsWithHistory

func (a *Client) GetInvoiceItemAuditLogsWithHistory(ctx context.Context, params *GetInvoiceItemAuditLogsWithHistoryParams) (*GetInvoiceItemAuditLogsWithHistoryOK, error)

GetInvoiceItemAuditLogsWithHistory retrieves invoice item audit logs with history by id

func (*Client) GetInvoiceItemCustomFields

func (a *Client) GetInvoiceItemCustomFields(ctx context.Context, params *GetInvoiceItemCustomFieldsParams) (*GetInvoiceItemCustomFieldsOK, error)

GetInvoiceItemCustomFields retrieves invoice item custom fields

func (*Client) GetInvoiceItemTags

func (a *Client) GetInvoiceItemTags(ctx context.Context, params *GetInvoiceItemTagsParams) (*GetInvoiceItemTagsOK, error)

GetInvoiceItemTags retrieves invoice item tags

func (*Client) ModifyInvoiceItemCustomFields

ModifyInvoiceItemCustomFields modifies custom fields to invoice item

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 {
	CreateInvoiceItemCustomFields(ctx context.Context, params *CreateInvoiceItemCustomFieldsParams) (*CreateInvoiceItemCustomFieldsCreated, error)

	CreateInvoiceItemTags(ctx context.Context, params *CreateInvoiceItemTagsParams) (*CreateInvoiceItemTagsCreated, error)

	DeleteInvoiceItemCustomFields(ctx context.Context, params *DeleteInvoiceItemCustomFieldsParams) (*DeleteInvoiceItemCustomFieldsNoContent, error)

	DeleteInvoiceItemTags(ctx context.Context, params *DeleteInvoiceItemTagsParams) (*DeleteInvoiceItemTagsNoContent, error)

	GetInvoiceItemAuditLogsWithHistory(ctx context.Context, params *GetInvoiceItemAuditLogsWithHistoryParams) (*GetInvoiceItemAuditLogsWithHistoryOK, error)

	GetInvoiceItemCustomFields(ctx context.Context, params *GetInvoiceItemCustomFieldsParams) (*GetInvoiceItemCustomFieldsOK, error)

	GetInvoiceItemTags(ctx context.Context, params *GetInvoiceItemTagsParams) (*GetInvoiceItemTagsOK, error)

	ModifyInvoiceItemCustomFields(ctx context.Context, params *ModifyInvoiceItemCustomFieldsParams) (*ModifyInvoiceItemCustomFieldsNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type CreateInvoiceItemCustomFieldsBadRequest

type CreateInvoiceItemCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid invoice item id supplied

func NewCreateInvoiceItemCustomFieldsBadRequest

func NewCreateInvoiceItemCustomFieldsBadRequest() *CreateInvoiceItemCustomFieldsBadRequest

NewCreateInvoiceItemCustomFieldsBadRequest creates a CreateInvoiceItemCustomFieldsBadRequest with default headers values

func (*CreateInvoiceItemCustomFieldsBadRequest) Code

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

func (*CreateInvoiceItemCustomFieldsBadRequest) Error

func (*CreateInvoiceItemCustomFieldsBadRequest) IsClientError

func (o *CreateInvoiceItemCustomFieldsBadRequest) IsClientError() bool

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

func (*CreateInvoiceItemCustomFieldsBadRequest) IsCode

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

func (*CreateInvoiceItemCustomFieldsBadRequest) IsRedirect

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

func (*CreateInvoiceItemCustomFieldsBadRequest) IsServerError

func (o *CreateInvoiceItemCustomFieldsBadRequest) IsServerError() bool

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

func (*CreateInvoiceItemCustomFieldsBadRequest) IsSuccess

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

func (*CreateInvoiceItemCustomFieldsBadRequest) String

type CreateInvoiceItemCustomFieldsCreated

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

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

Custom field created successfully

func NewCreateInvoiceItemCustomFieldsCreated

func NewCreateInvoiceItemCustomFieldsCreated() *CreateInvoiceItemCustomFieldsCreated

NewCreateInvoiceItemCustomFieldsCreated creates a CreateInvoiceItemCustomFieldsCreated with default headers values

func (*CreateInvoiceItemCustomFieldsCreated) Code

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

func (*CreateInvoiceItemCustomFieldsCreated) Error

func (*CreateInvoiceItemCustomFieldsCreated) GetPayload

func (*CreateInvoiceItemCustomFieldsCreated) IsClientError

func (o *CreateInvoiceItemCustomFieldsCreated) IsClientError() bool

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

func (*CreateInvoiceItemCustomFieldsCreated) IsCode

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

func (*CreateInvoiceItemCustomFieldsCreated) IsRedirect

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

func (*CreateInvoiceItemCustomFieldsCreated) IsServerError

func (o *CreateInvoiceItemCustomFieldsCreated) IsServerError() bool

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

func (*CreateInvoiceItemCustomFieldsCreated) IsSuccess

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

func (*CreateInvoiceItemCustomFieldsCreated) String

type CreateInvoiceItemCustomFieldsParams

type CreateInvoiceItemCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

CreateInvoiceItemCustomFieldsParams contains all the parameters to send to the API endpoint

for the create invoice item custom fields operation.

Typically these are written to a http.Request.

func NewCreateInvoiceItemCustomFieldsParams

func NewCreateInvoiceItemCustomFieldsParams() *CreateInvoiceItemCustomFieldsParams

NewCreateInvoiceItemCustomFieldsParams creates a new CreateInvoiceItemCustomFieldsParams 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 NewCreateInvoiceItemCustomFieldsParamsWithContext

func NewCreateInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams

NewCreateInvoiceItemCustomFieldsParamsWithContext creates a new CreateInvoiceItemCustomFieldsParams object with the ability to set a context for a request.

func NewCreateInvoiceItemCustomFieldsParamsWithHTTPClient

func NewCreateInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoiceItemCustomFieldsParams

NewCreateInvoiceItemCustomFieldsParamsWithHTTPClient creates a new CreateInvoiceItemCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateInvoiceItemCustomFieldsParamsWithTimeout

func NewCreateInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoiceItemCustomFieldsParams

NewCreateInvoiceItemCustomFieldsParamsWithTimeout creates a new CreateInvoiceItemCustomFieldsParams object with the ability to set a timeout on a request.

func (*CreateInvoiceItemCustomFieldsParams) SetBody

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

func (*CreateInvoiceItemCustomFieldsParams) SetContext

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

func (*CreateInvoiceItemCustomFieldsParams) SetDefaults

func (o *CreateInvoiceItemCustomFieldsParams) SetDefaults()

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

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

func (*CreateInvoiceItemCustomFieldsParams) SetHTTPClient

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

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

func (*CreateInvoiceItemCustomFieldsParams) SetInvoiceItemID

func (o *CreateInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)

SetInvoiceItemID adds the invoiceItemId to the create invoice item custom fields params

func (*CreateInvoiceItemCustomFieldsParams) SetTimeout

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

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

func (*CreateInvoiceItemCustomFieldsParams) SetXKillbillComment

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

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

func (*CreateInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*CreateInvoiceItemCustomFieldsParams) SetXKillbillReason

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

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

func (*CreateInvoiceItemCustomFieldsParams) WithBody

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

func (*CreateInvoiceItemCustomFieldsParams) WithContext

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

func (*CreateInvoiceItemCustomFieldsParams) WithDefaults

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

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

func (*CreateInvoiceItemCustomFieldsParams) WithHTTPClient

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

func (*CreateInvoiceItemCustomFieldsParams) WithInvoiceItemID

WithInvoiceItemID adds the invoiceItemID to the create invoice item custom fields params

func (*CreateInvoiceItemCustomFieldsParams) WithTimeout

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

func (*CreateInvoiceItemCustomFieldsParams) WithXKillbillComment

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

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

func (*CreateInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy

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

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

func (*CreateInvoiceItemCustomFieldsParams) WithXKillbillReason

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

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

func (*CreateInvoiceItemCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInvoiceItemCustomFieldsReader

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

CreateInvoiceItemCustomFieldsReader is a Reader for the CreateInvoiceItemCustomFields structure.

func (*CreateInvoiceItemCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInvoiceItemTagsBadRequest

type CreateInvoiceItemTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid invoice item id supplied

func NewCreateInvoiceItemTagsBadRequest

func NewCreateInvoiceItemTagsBadRequest() *CreateInvoiceItemTagsBadRequest

NewCreateInvoiceItemTagsBadRequest creates a CreateInvoiceItemTagsBadRequest with default headers values

func (*CreateInvoiceItemTagsBadRequest) Code

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

func (*CreateInvoiceItemTagsBadRequest) Error

func (*CreateInvoiceItemTagsBadRequest) IsClientError

func (o *CreateInvoiceItemTagsBadRequest) IsClientError() bool

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

func (*CreateInvoiceItemTagsBadRequest) IsCode

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

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

func (*CreateInvoiceItemTagsBadRequest) IsRedirect

func (o *CreateInvoiceItemTagsBadRequest) IsRedirect() bool

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

func (*CreateInvoiceItemTagsBadRequest) IsServerError

func (o *CreateInvoiceItemTagsBadRequest) IsServerError() bool

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

func (*CreateInvoiceItemTagsBadRequest) IsSuccess

func (o *CreateInvoiceItemTagsBadRequest) IsSuccess() bool

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

func (*CreateInvoiceItemTagsBadRequest) String

type CreateInvoiceItemTagsCreated

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

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

Tag created successfully

func NewCreateInvoiceItemTagsCreated

func NewCreateInvoiceItemTagsCreated() *CreateInvoiceItemTagsCreated

NewCreateInvoiceItemTagsCreated creates a CreateInvoiceItemTagsCreated with default headers values

func (*CreateInvoiceItemTagsCreated) Code

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

func (*CreateInvoiceItemTagsCreated) Error

func (*CreateInvoiceItemTagsCreated) GetPayload

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

func (*CreateInvoiceItemTagsCreated) IsClientError

func (o *CreateInvoiceItemTagsCreated) IsClientError() bool

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

func (*CreateInvoiceItemTagsCreated) IsCode

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

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

func (*CreateInvoiceItemTagsCreated) IsRedirect

func (o *CreateInvoiceItemTagsCreated) IsRedirect() bool

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

func (*CreateInvoiceItemTagsCreated) IsServerError

func (o *CreateInvoiceItemTagsCreated) IsServerError() bool

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

func (*CreateInvoiceItemTagsCreated) IsSuccess

func (o *CreateInvoiceItemTagsCreated) IsSuccess() bool

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

func (*CreateInvoiceItemTagsCreated) String

type CreateInvoiceItemTagsParams

type CreateInvoiceItemTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []strfmt.UUID

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

CreateInvoiceItemTagsParams contains all the parameters to send to the API endpoint

for the create invoice item tags operation.

Typically these are written to a http.Request.

func NewCreateInvoiceItemTagsParams

func NewCreateInvoiceItemTagsParams() *CreateInvoiceItemTagsParams

NewCreateInvoiceItemTagsParams creates a new CreateInvoiceItemTagsParams 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 NewCreateInvoiceItemTagsParamsWithContext

func NewCreateInvoiceItemTagsParamsWithContext(ctx context.Context) *CreateInvoiceItemTagsParams

NewCreateInvoiceItemTagsParamsWithContext creates a new CreateInvoiceItemTagsParams object with the ability to set a context for a request.

func NewCreateInvoiceItemTagsParamsWithHTTPClient

func NewCreateInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *CreateInvoiceItemTagsParams

NewCreateInvoiceItemTagsParamsWithHTTPClient creates a new CreateInvoiceItemTagsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateInvoiceItemTagsParamsWithTimeout

func NewCreateInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *CreateInvoiceItemTagsParams

NewCreateInvoiceItemTagsParamsWithTimeout creates a new CreateInvoiceItemTagsParams object with the ability to set a timeout on a request.

func (*CreateInvoiceItemTagsParams) SetBody

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

SetBody adds the body to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) SetContext

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

SetContext adds the context to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) SetDefaults

func (o *CreateInvoiceItemTagsParams) SetDefaults()

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

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

func (*CreateInvoiceItemTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) SetInvoiceItemID

func (o *CreateInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)

SetInvoiceItemID adds the invoiceItemId to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) SetXKillbillCreatedBy

func (o *CreateInvoiceItemTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WithBody

WithBody adds the body to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WithContext

WithContext adds the context to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WithDefaults

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

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

func (*CreateInvoiceItemTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WithInvoiceItemID

func (o *CreateInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *CreateInvoiceItemTagsParams

WithInvoiceItemID adds the invoiceItemID to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WithTimeout

WithTimeout adds the timeout to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create invoice item tags params

func (*CreateInvoiceItemTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInvoiceItemTagsReader

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

CreateInvoiceItemTagsReader is a Reader for the CreateInvoiceItemTags structure.

func (*CreateInvoiceItemTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInvoiceItemCustomFieldsBadRequest

type DeleteInvoiceItemCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid invoice item id supplied

func NewDeleteInvoiceItemCustomFieldsBadRequest

func NewDeleteInvoiceItemCustomFieldsBadRequest() *DeleteInvoiceItemCustomFieldsBadRequest

NewDeleteInvoiceItemCustomFieldsBadRequest creates a DeleteInvoiceItemCustomFieldsBadRequest with default headers values

func (*DeleteInvoiceItemCustomFieldsBadRequest) Code

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

func (*DeleteInvoiceItemCustomFieldsBadRequest) Error

func (*DeleteInvoiceItemCustomFieldsBadRequest) IsClientError

func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsClientError() bool

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

func (*DeleteInvoiceItemCustomFieldsBadRequest) IsCode

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

func (*DeleteInvoiceItemCustomFieldsBadRequest) IsRedirect

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

func (*DeleteInvoiceItemCustomFieldsBadRequest) IsServerError

func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsServerError() bool

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

func (*DeleteInvoiceItemCustomFieldsBadRequest) IsSuccess

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

func (*DeleteInvoiceItemCustomFieldsBadRequest) String

type DeleteInvoiceItemCustomFieldsNoContent

type DeleteInvoiceItemCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewDeleteInvoiceItemCustomFieldsNoContent

func NewDeleteInvoiceItemCustomFieldsNoContent() *DeleteInvoiceItemCustomFieldsNoContent

NewDeleteInvoiceItemCustomFieldsNoContent creates a DeleteInvoiceItemCustomFieldsNoContent with default headers values

func (*DeleteInvoiceItemCustomFieldsNoContent) Code

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

func (*DeleteInvoiceItemCustomFieldsNoContent) Error

func (*DeleteInvoiceItemCustomFieldsNoContent) IsClientError

func (o *DeleteInvoiceItemCustomFieldsNoContent) IsClientError() bool

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

func (*DeleteInvoiceItemCustomFieldsNoContent) IsCode

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

func (*DeleteInvoiceItemCustomFieldsNoContent) IsRedirect

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

func (*DeleteInvoiceItemCustomFieldsNoContent) IsServerError

func (o *DeleteInvoiceItemCustomFieldsNoContent) IsServerError() bool

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

func (*DeleteInvoiceItemCustomFieldsNoContent) IsSuccess

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

func (*DeleteInvoiceItemCustomFieldsNoContent) String

type DeleteInvoiceItemCustomFieldsParams

type DeleteInvoiceItemCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// CustomField.
	CustomField []strfmt.UUID

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

DeleteInvoiceItemCustomFieldsParams contains all the parameters to send to the API endpoint

for the delete invoice item custom fields operation.

Typically these are written to a http.Request.

func NewDeleteInvoiceItemCustomFieldsParams

func NewDeleteInvoiceItemCustomFieldsParams() *DeleteInvoiceItemCustomFieldsParams

NewDeleteInvoiceItemCustomFieldsParams creates a new DeleteInvoiceItemCustomFieldsParams 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 NewDeleteInvoiceItemCustomFieldsParamsWithContext

func NewDeleteInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams

NewDeleteInvoiceItemCustomFieldsParamsWithContext creates a new DeleteInvoiceItemCustomFieldsParams object with the ability to set a context for a request.

func NewDeleteInvoiceItemCustomFieldsParamsWithHTTPClient

func NewDeleteInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceItemCustomFieldsParams

NewDeleteInvoiceItemCustomFieldsParamsWithHTTPClient creates a new DeleteInvoiceItemCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInvoiceItemCustomFieldsParamsWithTimeout

func NewDeleteInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceItemCustomFieldsParams

NewDeleteInvoiceItemCustomFieldsParamsWithTimeout creates a new DeleteInvoiceItemCustomFieldsParams object with the ability to set a timeout on a request.

func (*DeleteInvoiceItemCustomFieldsParams) SetContext

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

func (*DeleteInvoiceItemCustomFieldsParams) SetCustomField

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

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

func (*DeleteInvoiceItemCustomFieldsParams) SetDefaults

func (o *DeleteInvoiceItemCustomFieldsParams) SetDefaults()

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

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

func (*DeleteInvoiceItemCustomFieldsParams) SetHTTPClient

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

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

func (*DeleteInvoiceItemCustomFieldsParams) SetInvoiceItemID

func (o *DeleteInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)

SetInvoiceItemID adds the invoiceItemId to the delete invoice item custom fields params

func (*DeleteInvoiceItemCustomFieldsParams) SetTimeout

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

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

func (*DeleteInvoiceItemCustomFieldsParams) SetXKillbillComment

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

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

func (*DeleteInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*DeleteInvoiceItemCustomFieldsParams) SetXKillbillReason

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

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

func (*DeleteInvoiceItemCustomFieldsParams) WithContext

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

func (*DeleteInvoiceItemCustomFieldsParams) WithCustomField

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

func (*DeleteInvoiceItemCustomFieldsParams) WithDefaults

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

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

func (*DeleteInvoiceItemCustomFieldsParams) WithHTTPClient

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

func (*DeleteInvoiceItemCustomFieldsParams) WithInvoiceItemID

WithInvoiceItemID adds the invoiceItemID to the delete invoice item custom fields params

func (*DeleteInvoiceItemCustomFieldsParams) WithTimeout

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

func (*DeleteInvoiceItemCustomFieldsParams) WithXKillbillComment

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

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

func (*DeleteInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy

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

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

func (*DeleteInvoiceItemCustomFieldsParams) WithXKillbillReason

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

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

func (*DeleteInvoiceItemCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInvoiceItemCustomFieldsReader

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

DeleteInvoiceItemCustomFieldsReader is a Reader for the DeleteInvoiceItemCustomFields structure.

func (*DeleteInvoiceItemCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInvoiceItemTagsBadRequest

type DeleteInvoiceItemTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid invoice item id supplied

func NewDeleteInvoiceItemTagsBadRequest

func NewDeleteInvoiceItemTagsBadRequest() *DeleteInvoiceItemTagsBadRequest

NewDeleteInvoiceItemTagsBadRequest creates a DeleteInvoiceItemTagsBadRequest with default headers values

func (*DeleteInvoiceItemTagsBadRequest) Code

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

func (*DeleteInvoiceItemTagsBadRequest) Error

func (*DeleteInvoiceItemTagsBadRequest) IsClientError

func (o *DeleteInvoiceItemTagsBadRequest) IsClientError() bool

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

func (*DeleteInvoiceItemTagsBadRequest) IsCode

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

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

func (*DeleteInvoiceItemTagsBadRequest) IsRedirect

func (o *DeleteInvoiceItemTagsBadRequest) IsRedirect() bool

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

func (*DeleteInvoiceItemTagsBadRequest) IsServerError

func (o *DeleteInvoiceItemTagsBadRequest) IsServerError() bool

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

func (*DeleteInvoiceItemTagsBadRequest) IsSuccess

func (o *DeleteInvoiceItemTagsBadRequest) IsSuccess() bool

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

func (*DeleteInvoiceItemTagsBadRequest) String

type DeleteInvoiceItemTagsNoContent

type DeleteInvoiceItemTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewDeleteInvoiceItemTagsNoContent

func NewDeleteInvoiceItemTagsNoContent() *DeleteInvoiceItemTagsNoContent

NewDeleteInvoiceItemTagsNoContent creates a DeleteInvoiceItemTagsNoContent with default headers values

func (*DeleteInvoiceItemTagsNoContent) Code

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

func (*DeleteInvoiceItemTagsNoContent) Error

func (*DeleteInvoiceItemTagsNoContent) IsClientError

func (o *DeleteInvoiceItemTagsNoContent) IsClientError() bool

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

func (*DeleteInvoiceItemTagsNoContent) IsCode

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

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

func (*DeleteInvoiceItemTagsNoContent) IsRedirect

func (o *DeleteInvoiceItemTagsNoContent) IsRedirect() bool

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

func (*DeleteInvoiceItemTagsNoContent) IsServerError

func (o *DeleteInvoiceItemTagsNoContent) IsServerError() bool

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

func (*DeleteInvoiceItemTagsNoContent) IsSuccess

func (o *DeleteInvoiceItemTagsNoContent) IsSuccess() bool

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

func (*DeleteInvoiceItemTagsNoContent) String

type DeleteInvoiceItemTagsParams

type DeleteInvoiceItemTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

DeleteInvoiceItemTagsParams contains all the parameters to send to the API endpoint

for the delete invoice item tags operation.

Typically these are written to a http.Request.

func NewDeleteInvoiceItemTagsParams

func NewDeleteInvoiceItemTagsParams() *DeleteInvoiceItemTagsParams

NewDeleteInvoiceItemTagsParams creates a new DeleteInvoiceItemTagsParams 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 NewDeleteInvoiceItemTagsParamsWithContext

func NewDeleteInvoiceItemTagsParamsWithContext(ctx context.Context) *DeleteInvoiceItemTagsParams

NewDeleteInvoiceItemTagsParamsWithContext creates a new DeleteInvoiceItemTagsParams object with the ability to set a context for a request.

func NewDeleteInvoiceItemTagsParamsWithHTTPClient

func NewDeleteInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceItemTagsParams

NewDeleteInvoiceItemTagsParamsWithHTTPClient creates a new DeleteInvoiceItemTagsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInvoiceItemTagsParamsWithTimeout

func NewDeleteInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceItemTagsParams

NewDeleteInvoiceItemTagsParamsWithTimeout creates a new DeleteInvoiceItemTagsParams object with the ability to set a timeout on a request.

func (*DeleteInvoiceItemTagsParams) SetContext

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

SetContext adds the context to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) SetDefaults

func (o *DeleteInvoiceItemTagsParams) SetDefaults()

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

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

func (*DeleteInvoiceItemTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) SetInvoiceItemID

func (o *DeleteInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)

SetInvoiceItemID adds the invoiceItemId to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) SetTagDef

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

SetTagDef adds the tagDef to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) SetXKillbillCreatedBy

func (o *DeleteInvoiceItemTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WithContext

WithContext adds the context to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WithDefaults

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

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

func (*DeleteInvoiceItemTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WithInvoiceItemID

func (o *DeleteInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteInvoiceItemTagsParams

WithInvoiceItemID adds the invoiceItemID to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WithTimeout

WithTimeout adds the timeout to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete invoice item tags params

func (*DeleteInvoiceItemTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInvoiceItemTagsReader

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

DeleteInvoiceItemTagsReader is a Reader for the DeleteInvoiceItemTags structure.

func (*DeleteInvoiceItemTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceItemAuditLogsWithHistoryNotFound

type GetInvoiceItemAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Invoice item not found

func NewGetInvoiceItemAuditLogsWithHistoryNotFound

func NewGetInvoiceItemAuditLogsWithHistoryNotFound() *GetInvoiceItemAuditLogsWithHistoryNotFound

NewGetInvoiceItemAuditLogsWithHistoryNotFound creates a GetInvoiceItemAuditLogsWithHistoryNotFound with default headers values

func (*GetInvoiceItemAuditLogsWithHistoryNotFound) Code

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

func (*GetInvoiceItemAuditLogsWithHistoryNotFound) Error

func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsClientError

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

func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsCode

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

func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsRedirect

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

func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsServerError

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

func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsSuccess

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

func (*GetInvoiceItemAuditLogsWithHistoryNotFound) String

type GetInvoiceItemAuditLogsWithHistoryOK

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

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

successful operation

func NewGetInvoiceItemAuditLogsWithHistoryOK

func NewGetInvoiceItemAuditLogsWithHistoryOK() *GetInvoiceItemAuditLogsWithHistoryOK

NewGetInvoiceItemAuditLogsWithHistoryOK creates a GetInvoiceItemAuditLogsWithHistoryOK with default headers values

func (*GetInvoiceItemAuditLogsWithHistoryOK) Code

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

func (*GetInvoiceItemAuditLogsWithHistoryOK) Error

func (*GetInvoiceItemAuditLogsWithHistoryOK) GetPayload

func (*GetInvoiceItemAuditLogsWithHistoryOK) IsClientError

func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsClientError() bool

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

func (*GetInvoiceItemAuditLogsWithHistoryOK) IsCode

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

func (*GetInvoiceItemAuditLogsWithHistoryOK) IsRedirect

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

func (*GetInvoiceItemAuditLogsWithHistoryOK) IsServerError

func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsServerError() bool

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

func (*GetInvoiceItemAuditLogsWithHistoryOK) IsSuccess

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

func (*GetInvoiceItemAuditLogsWithHistoryOK) String

type GetInvoiceItemAuditLogsWithHistoryParams

type GetInvoiceItemAuditLogsWithHistoryParams struct {

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

GetInvoiceItemAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get invoice item audit logs with history operation.

Typically these are written to a http.Request.

func NewGetInvoiceItemAuditLogsWithHistoryParams

func NewGetInvoiceItemAuditLogsWithHistoryParams() *GetInvoiceItemAuditLogsWithHistoryParams

NewGetInvoiceItemAuditLogsWithHistoryParams creates a new GetInvoiceItemAuditLogsWithHistoryParams 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 NewGetInvoiceItemAuditLogsWithHistoryParamsWithContext

func NewGetInvoiceItemAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoiceItemAuditLogsWithHistoryParams

NewGetInvoiceItemAuditLogsWithHistoryParamsWithContext creates a new GetInvoiceItemAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetInvoiceItemAuditLogsWithHistoryParamsWithHTTPClient

func NewGetInvoiceItemAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoiceItemAuditLogsWithHistoryParams

NewGetInvoiceItemAuditLogsWithHistoryParamsWithHTTPClient creates a new GetInvoiceItemAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoiceItemAuditLogsWithHistoryParamsWithTimeout

func NewGetInvoiceItemAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoiceItemAuditLogsWithHistoryParams

NewGetInvoiceItemAuditLogsWithHistoryParamsWithTimeout creates a new GetInvoiceItemAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetInvoiceItemAuditLogsWithHistoryParams) SetContext

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

func (*GetInvoiceItemAuditLogsWithHistoryParams) SetDefaults

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

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

func (*GetInvoiceItemAuditLogsWithHistoryParams) SetHTTPClient

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

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

func (*GetInvoiceItemAuditLogsWithHistoryParams) SetInvoiceItemID

func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)

SetInvoiceItemID adds the invoiceItemId to the get invoice item audit logs with history params

func (*GetInvoiceItemAuditLogsWithHistoryParams) SetTimeout

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

func (*GetInvoiceItemAuditLogsWithHistoryParams) WithContext

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

func (*GetInvoiceItemAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetInvoiceItemAuditLogsWithHistoryParams) WithHTTPClient

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

func (*GetInvoiceItemAuditLogsWithHistoryParams) WithInvoiceItemID

WithInvoiceItemID adds the invoiceItemID to the get invoice item audit logs with history params

func (*GetInvoiceItemAuditLogsWithHistoryParams) WithTimeout

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

func (*GetInvoiceItemAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceItemAuditLogsWithHistoryReader

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

GetInvoiceItemAuditLogsWithHistoryReader is a Reader for the GetInvoiceItemAuditLogsWithHistory structure.

func (*GetInvoiceItemAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceItemCustomFieldsBadRequest

type GetInvoiceItemCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid invoice item id supplied

func NewGetInvoiceItemCustomFieldsBadRequest

func NewGetInvoiceItemCustomFieldsBadRequest() *GetInvoiceItemCustomFieldsBadRequest

NewGetInvoiceItemCustomFieldsBadRequest creates a GetInvoiceItemCustomFieldsBadRequest with default headers values

func (*GetInvoiceItemCustomFieldsBadRequest) Code

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

func (*GetInvoiceItemCustomFieldsBadRequest) Error

func (*GetInvoiceItemCustomFieldsBadRequest) IsClientError

func (o *GetInvoiceItemCustomFieldsBadRequest) IsClientError() bool

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

func (*GetInvoiceItemCustomFieldsBadRequest) IsCode

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

func (*GetInvoiceItemCustomFieldsBadRequest) IsRedirect

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

func (*GetInvoiceItemCustomFieldsBadRequest) IsServerError

func (o *GetInvoiceItemCustomFieldsBadRequest) IsServerError() bool

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

func (*GetInvoiceItemCustomFieldsBadRequest) IsSuccess

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

func (*GetInvoiceItemCustomFieldsBadRequest) String

type GetInvoiceItemCustomFieldsOK

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

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

successful operation

func NewGetInvoiceItemCustomFieldsOK

func NewGetInvoiceItemCustomFieldsOK() *GetInvoiceItemCustomFieldsOK

NewGetInvoiceItemCustomFieldsOK creates a GetInvoiceItemCustomFieldsOK with default headers values

func (*GetInvoiceItemCustomFieldsOK) Code

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

func (*GetInvoiceItemCustomFieldsOK) Error

func (*GetInvoiceItemCustomFieldsOK) GetPayload

func (*GetInvoiceItemCustomFieldsOK) IsClientError

func (o *GetInvoiceItemCustomFieldsOK) IsClientError() bool

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

func (*GetInvoiceItemCustomFieldsOK) IsCode

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

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

func (*GetInvoiceItemCustomFieldsOK) IsRedirect

func (o *GetInvoiceItemCustomFieldsOK) IsRedirect() bool

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

func (*GetInvoiceItemCustomFieldsOK) IsServerError

func (o *GetInvoiceItemCustomFieldsOK) IsServerError() bool

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

func (*GetInvoiceItemCustomFieldsOK) IsSuccess

func (o *GetInvoiceItemCustomFieldsOK) IsSuccess() bool

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

func (*GetInvoiceItemCustomFieldsOK) String

type GetInvoiceItemCustomFieldsParams

type GetInvoiceItemCustomFieldsParams struct {

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

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

GetInvoiceItemCustomFieldsParams contains all the parameters to send to the API endpoint

for the get invoice item custom fields operation.

Typically these are written to a http.Request.

func NewGetInvoiceItemCustomFieldsParams

func NewGetInvoiceItemCustomFieldsParams() *GetInvoiceItemCustomFieldsParams

NewGetInvoiceItemCustomFieldsParams creates a new GetInvoiceItemCustomFieldsParams 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 NewGetInvoiceItemCustomFieldsParamsWithContext

func NewGetInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams

NewGetInvoiceItemCustomFieldsParamsWithContext creates a new GetInvoiceItemCustomFieldsParams object with the ability to set a context for a request.

func NewGetInvoiceItemCustomFieldsParamsWithHTTPClient

func NewGetInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoiceItemCustomFieldsParams

NewGetInvoiceItemCustomFieldsParamsWithHTTPClient creates a new GetInvoiceItemCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoiceItemCustomFieldsParamsWithTimeout

func NewGetInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoiceItemCustomFieldsParams

NewGetInvoiceItemCustomFieldsParamsWithTimeout creates a new GetInvoiceItemCustomFieldsParams object with the ability to set a timeout on a request.

func (*GetInvoiceItemCustomFieldsParams) SetAudit

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

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

func (*GetInvoiceItemCustomFieldsParams) SetContext

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

func (*GetInvoiceItemCustomFieldsParams) SetDefaults

func (o *GetInvoiceItemCustomFieldsParams) SetDefaults()

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

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

func (*GetInvoiceItemCustomFieldsParams) SetHTTPClient

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

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

func (*GetInvoiceItemCustomFieldsParams) SetInvoiceItemID

func (o *GetInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)

SetInvoiceItemID adds the invoiceItemId to the get invoice item custom fields params

func (*GetInvoiceItemCustomFieldsParams) SetTimeout

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

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

func (*GetInvoiceItemCustomFieldsParams) WithAudit

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

func (*GetInvoiceItemCustomFieldsParams) WithContext

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

func (*GetInvoiceItemCustomFieldsParams) WithDefaults

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

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

func (*GetInvoiceItemCustomFieldsParams) WithHTTPClient

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

func (*GetInvoiceItemCustomFieldsParams) WithInvoiceItemID

WithInvoiceItemID adds the invoiceItemID to the get invoice item custom fields params

func (*GetInvoiceItemCustomFieldsParams) WithTimeout

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

func (*GetInvoiceItemCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceItemCustomFieldsReader

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

GetInvoiceItemCustomFieldsReader is a Reader for the GetInvoiceItemCustomFields structure.

func (*GetInvoiceItemCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceItemTagsBadRequest

type GetInvoiceItemTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid invoice item id supplied

func NewGetInvoiceItemTagsBadRequest

func NewGetInvoiceItemTagsBadRequest() *GetInvoiceItemTagsBadRequest

NewGetInvoiceItemTagsBadRequest creates a GetInvoiceItemTagsBadRequest with default headers values

func (*GetInvoiceItemTagsBadRequest) Code

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

func (*GetInvoiceItemTagsBadRequest) Error

func (*GetInvoiceItemTagsBadRequest) IsClientError

func (o *GetInvoiceItemTagsBadRequest) IsClientError() bool

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

func (*GetInvoiceItemTagsBadRequest) IsCode

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

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

func (*GetInvoiceItemTagsBadRequest) IsRedirect

func (o *GetInvoiceItemTagsBadRequest) IsRedirect() bool

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

func (*GetInvoiceItemTagsBadRequest) IsServerError

func (o *GetInvoiceItemTagsBadRequest) IsServerError() bool

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

func (*GetInvoiceItemTagsBadRequest) IsSuccess

func (o *GetInvoiceItemTagsBadRequest) IsSuccess() bool

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

func (*GetInvoiceItemTagsBadRequest) String

type GetInvoiceItemTagsNotFound

type GetInvoiceItemTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetInvoiceItemTagsNotFound

func NewGetInvoiceItemTagsNotFound() *GetInvoiceItemTagsNotFound

NewGetInvoiceItemTagsNotFound creates a GetInvoiceItemTagsNotFound with default headers values

func (*GetInvoiceItemTagsNotFound) Code

func (o *GetInvoiceItemTagsNotFound) Code() int

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

func (*GetInvoiceItemTagsNotFound) Error

func (*GetInvoiceItemTagsNotFound) IsClientError

func (o *GetInvoiceItemTagsNotFound) IsClientError() bool

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

func (*GetInvoiceItemTagsNotFound) IsCode

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

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

func (*GetInvoiceItemTagsNotFound) IsRedirect

func (o *GetInvoiceItemTagsNotFound) IsRedirect() bool

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

func (*GetInvoiceItemTagsNotFound) IsServerError

func (o *GetInvoiceItemTagsNotFound) IsServerError() bool

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

func (*GetInvoiceItemTagsNotFound) IsSuccess

func (o *GetInvoiceItemTagsNotFound) IsSuccess() bool

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

func (*GetInvoiceItemTagsNotFound) String

func (o *GetInvoiceItemTagsNotFound) String() string

type GetInvoiceItemTagsOK

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

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

successful operation

func NewGetInvoiceItemTagsOK

func NewGetInvoiceItemTagsOK() *GetInvoiceItemTagsOK

NewGetInvoiceItemTagsOK creates a GetInvoiceItemTagsOK with default headers values

func (*GetInvoiceItemTagsOK) Code

func (o *GetInvoiceItemTagsOK) Code() int

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

func (*GetInvoiceItemTagsOK) Error

func (o *GetInvoiceItemTagsOK) Error() string

func (*GetInvoiceItemTagsOK) GetPayload

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

func (*GetInvoiceItemTagsOK) IsClientError

func (o *GetInvoiceItemTagsOK) IsClientError() bool

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

func (*GetInvoiceItemTagsOK) IsCode

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

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

func (*GetInvoiceItemTagsOK) IsRedirect

func (o *GetInvoiceItemTagsOK) IsRedirect() bool

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

func (*GetInvoiceItemTagsOK) IsServerError

func (o *GetInvoiceItemTagsOK) IsServerError() bool

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

func (*GetInvoiceItemTagsOK) IsSuccess

func (o *GetInvoiceItemTagsOK) IsSuccess() bool

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

func (*GetInvoiceItemTagsOK) String

func (o *GetInvoiceItemTagsOK) String() string

type GetInvoiceItemTagsParams

type GetInvoiceItemTagsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

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

	// IncludedDeleted.
	IncludedDeleted *bool

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

GetInvoiceItemTagsParams contains all the parameters to send to the API endpoint

for the get invoice item tags operation.

Typically these are written to a http.Request.

func NewGetInvoiceItemTagsParams

func NewGetInvoiceItemTagsParams() *GetInvoiceItemTagsParams

NewGetInvoiceItemTagsParams creates a new GetInvoiceItemTagsParams 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 NewGetInvoiceItemTagsParamsWithContext

func NewGetInvoiceItemTagsParamsWithContext(ctx context.Context) *GetInvoiceItemTagsParams

NewGetInvoiceItemTagsParamsWithContext creates a new GetInvoiceItemTagsParams object with the ability to set a context for a request.

func NewGetInvoiceItemTagsParamsWithHTTPClient

func NewGetInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *GetInvoiceItemTagsParams

NewGetInvoiceItemTagsParamsWithHTTPClient creates a new GetInvoiceItemTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoiceItemTagsParamsWithTimeout

func NewGetInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *GetInvoiceItemTagsParams

NewGetInvoiceItemTagsParamsWithTimeout creates a new GetInvoiceItemTagsParams object with the ability to set a timeout on a request.

func (*GetInvoiceItemTagsParams) SetAccountID

func (o *GetInvoiceItemTagsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get invoice item tags params

func (*GetInvoiceItemTagsParams) SetAudit

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

SetAudit adds the audit to the get invoice item tags params

func (*GetInvoiceItemTagsParams) SetContext

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

SetContext adds the context to the get invoice item tags params

func (*GetInvoiceItemTagsParams) SetDefaults

func (o *GetInvoiceItemTagsParams) SetDefaults()

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

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

func (*GetInvoiceItemTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice item tags params

func (*GetInvoiceItemTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get invoice item tags params

func (*GetInvoiceItemTagsParams) SetInvoiceItemID

func (o *GetInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)

SetInvoiceItemID adds the invoiceItemId to the get invoice item tags params

func (*GetInvoiceItemTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice item tags params

func (*GetInvoiceItemTagsParams) WithAccountID

func (o *GetInvoiceItemTagsParams) WithAccountID(accountID strfmt.UUID) *GetInvoiceItemTagsParams

WithAccountID adds the accountID to the get invoice item tags params

func (*GetInvoiceItemTagsParams) WithAudit

WithAudit adds the audit to the get invoice item tags params

func (*GetInvoiceItemTagsParams) WithContext

WithContext adds the context to the get invoice item tags params

func (*GetInvoiceItemTagsParams) WithDefaults

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

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

func (*GetInvoiceItemTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice item tags params

func (*GetInvoiceItemTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get invoice item tags params

func (*GetInvoiceItemTagsParams) WithInvoiceItemID

func (o *GetInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemTagsParams

WithInvoiceItemID adds the invoiceItemID to the get invoice item tags params

func (*GetInvoiceItemTagsParams) WithTimeout

WithTimeout adds the timeout to the get invoice item tags params

func (*GetInvoiceItemTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceItemTagsReader

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

GetInvoiceItemTagsReader is a Reader for the GetInvoiceItemTags structure.

func (*GetInvoiceItemTagsReader) ReadResponse

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

type ModifyInvoiceItemCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid invoice item id supplied

func NewModifyInvoiceItemCustomFieldsBadRequest

func NewModifyInvoiceItemCustomFieldsBadRequest() *ModifyInvoiceItemCustomFieldsBadRequest

NewModifyInvoiceItemCustomFieldsBadRequest creates a ModifyInvoiceItemCustomFieldsBadRequest with default headers values

func (*ModifyInvoiceItemCustomFieldsBadRequest) Code

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

func (*ModifyInvoiceItemCustomFieldsBadRequest) Error

func (*ModifyInvoiceItemCustomFieldsBadRequest) IsClientError

func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsClientError() bool

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

func (*ModifyInvoiceItemCustomFieldsBadRequest) IsCode

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

func (*ModifyInvoiceItemCustomFieldsBadRequest) IsRedirect

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

func (*ModifyInvoiceItemCustomFieldsBadRequest) IsServerError

func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsServerError() bool

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

func (*ModifyInvoiceItemCustomFieldsBadRequest) IsSuccess

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

func (*ModifyInvoiceItemCustomFieldsBadRequest) String

type ModifyInvoiceItemCustomFieldsNoContent

type ModifyInvoiceItemCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewModifyInvoiceItemCustomFieldsNoContent

func NewModifyInvoiceItemCustomFieldsNoContent() *ModifyInvoiceItemCustomFieldsNoContent

NewModifyInvoiceItemCustomFieldsNoContent creates a ModifyInvoiceItemCustomFieldsNoContent with default headers values

func (*ModifyInvoiceItemCustomFieldsNoContent) Code

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

func (*ModifyInvoiceItemCustomFieldsNoContent) Error

func (*ModifyInvoiceItemCustomFieldsNoContent) IsClientError

func (o *ModifyInvoiceItemCustomFieldsNoContent) IsClientError() bool

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

func (*ModifyInvoiceItemCustomFieldsNoContent) IsCode

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

func (*ModifyInvoiceItemCustomFieldsNoContent) IsRedirect

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

func (*ModifyInvoiceItemCustomFieldsNoContent) IsServerError

func (o *ModifyInvoiceItemCustomFieldsNoContent) IsServerError() bool

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

func (*ModifyInvoiceItemCustomFieldsNoContent) IsSuccess

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

func (*ModifyInvoiceItemCustomFieldsNoContent) String

type ModifyInvoiceItemCustomFieldsParams

type ModifyInvoiceItemCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

ModifyInvoiceItemCustomFieldsParams contains all the parameters to send to the API endpoint

for the modify invoice item custom fields operation.

Typically these are written to a http.Request.

func NewModifyInvoiceItemCustomFieldsParams

func NewModifyInvoiceItemCustomFieldsParams() *ModifyInvoiceItemCustomFieldsParams

NewModifyInvoiceItemCustomFieldsParams creates a new ModifyInvoiceItemCustomFieldsParams 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 NewModifyInvoiceItemCustomFieldsParamsWithContext

func NewModifyInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams

NewModifyInvoiceItemCustomFieldsParamsWithContext creates a new ModifyInvoiceItemCustomFieldsParams object with the ability to set a context for a request.

func NewModifyInvoiceItemCustomFieldsParamsWithHTTPClient

func NewModifyInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoiceItemCustomFieldsParams

NewModifyInvoiceItemCustomFieldsParamsWithHTTPClient creates a new ModifyInvoiceItemCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewModifyInvoiceItemCustomFieldsParamsWithTimeout

func NewModifyInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoiceItemCustomFieldsParams

NewModifyInvoiceItemCustomFieldsParamsWithTimeout creates a new ModifyInvoiceItemCustomFieldsParams object with the ability to set a timeout on a request.

func (*ModifyInvoiceItemCustomFieldsParams) SetBody

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

func (*ModifyInvoiceItemCustomFieldsParams) SetContext

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

func (*ModifyInvoiceItemCustomFieldsParams) SetDefaults

func (o *ModifyInvoiceItemCustomFieldsParams) SetDefaults()

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

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

func (*ModifyInvoiceItemCustomFieldsParams) SetHTTPClient

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

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

func (*ModifyInvoiceItemCustomFieldsParams) SetInvoiceItemID

func (o *ModifyInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)

SetInvoiceItemID adds the invoiceItemId to the modify invoice item custom fields params

func (*ModifyInvoiceItemCustomFieldsParams) SetTimeout

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

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

func (*ModifyInvoiceItemCustomFieldsParams) SetXKillbillComment

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

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

func (*ModifyInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

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

func (*ModifyInvoiceItemCustomFieldsParams) SetXKillbillReason

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

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

func (*ModifyInvoiceItemCustomFieldsParams) WithBody

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

func (*ModifyInvoiceItemCustomFieldsParams) WithContext

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

func (*ModifyInvoiceItemCustomFieldsParams) WithDefaults

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

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

func (*ModifyInvoiceItemCustomFieldsParams) WithHTTPClient

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

func (*ModifyInvoiceItemCustomFieldsParams) WithInvoiceItemID

WithInvoiceItemID adds the invoiceItemID to the modify invoice item custom fields params

func (*ModifyInvoiceItemCustomFieldsParams) WithTimeout

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

func (*ModifyInvoiceItemCustomFieldsParams) WithXKillbillComment

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

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

func (*ModifyInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy

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

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

func (*ModifyInvoiceItemCustomFieldsParams) WithXKillbillReason

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

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

func (*ModifyInvoiceItemCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyInvoiceItemCustomFieldsReader

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

ModifyInvoiceItemCustomFieldsReader is a Reader for the ModifyInvoiceItemCustomFields structure.

func (*ModifyInvoiceItemCustomFieldsReader) ReadResponse

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