invoice_item

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 13 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) 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 CreateInvoiceItemCustomFieldsBadRequest

type CreateInvoiceItemCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateInvoiceItemCustomFieldsBadRequest handles this case with default header values.

Invalid invoice item id supplied

func NewCreateInvoiceItemCustomFieldsBadRequest

func NewCreateInvoiceItemCustomFieldsBadRequest() *CreateInvoiceItemCustomFieldsBadRequest

NewCreateInvoiceItemCustomFieldsBadRequest creates a CreateInvoiceItemCustomFieldsBadRequest with default headers values

func (*CreateInvoiceItemCustomFieldsBadRequest) Error

type CreateInvoiceItemCustomFieldsCreated

type CreateInvoiceItemCustomFieldsCreated struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

CreateInvoiceItemCustomFieldsCreated handles this case with default header values.

Custom field created successfully

func NewCreateInvoiceItemCustomFieldsCreated

func NewCreateInvoiceItemCustomFieldsCreated() *CreateInvoiceItemCustomFieldsCreated

NewCreateInvoiceItemCustomFieldsCreated creates a CreateInvoiceItemCustomFieldsCreated with default headers values

func (*CreateInvoiceItemCustomFieldsCreated) Error

type CreateInvoiceItemCustomFieldsParams

type CreateInvoiceItemCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*InvoiceItemID*/
	InvoiceItemID strfmt.UUID

	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 values initialized.

func NewCreateInvoiceItemCustomFieldsParamsWithContext

func NewCreateInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams

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

Invalid invoice item id supplied

func NewCreateInvoiceItemTagsBadRequest

func NewCreateInvoiceItemTagsBadRequest() *CreateInvoiceItemTagsBadRequest

NewCreateInvoiceItemTagsBadRequest creates a CreateInvoiceItemTagsBadRequest with default headers values

func (*CreateInvoiceItemTagsBadRequest) Error

type CreateInvoiceItemTagsCreated

type CreateInvoiceItemTagsCreated struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

CreateInvoiceItemTagsCreated handles this case with default header values.

Tag created successfully

func NewCreateInvoiceItemTagsCreated

func NewCreateInvoiceItemTagsCreated() *CreateInvoiceItemTagsCreated

NewCreateInvoiceItemTagsCreated creates a CreateInvoiceItemTagsCreated with default headers values

func (*CreateInvoiceItemTagsCreated) Error

type CreateInvoiceItemTagsParams

type CreateInvoiceItemTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []strfmt.UUID
	/*InvoiceItemID*/
	InvoiceItemID strfmt.UUID

	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 values initialized.

func NewCreateInvoiceItemTagsParamsWithContext

func NewCreateInvoiceItemTagsParamsWithContext(ctx context.Context) *CreateInvoiceItemTagsParams

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

Invalid invoice item id supplied

func NewDeleteInvoiceItemCustomFieldsBadRequest

func NewDeleteInvoiceItemCustomFieldsBadRequest() *DeleteInvoiceItemCustomFieldsBadRequest

NewDeleteInvoiceItemCustomFieldsBadRequest creates a DeleteInvoiceItemCustomFieldsBadRequest with default headers values

func (*DeleteInvoiceItemCustomFieldsBadRequest) Error

type DeleteInvoiceItemCustomFieldsNoContent

type DeleteInvoiceItemCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteInvoiceItemCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewDeleteInvoiceItemCustomFieldsNoContent

func NewDeleteInvoiceItemCustomFieldsNoContent() *DeleteInvoiceItemCustomFieldsNoContent

NewDeleteInvoiceItemCustomFieldsNoContent creates a DeleteInvoiceItemCustomFieldsNoContent with default headers values

func (*DeleteInvoiceItemCustomFieldsNoContent) Error

type DeleteInvoiceItemCustomFieldsParams

type DeleteInvoiceItemCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*CustomField*/
	CustomField []strfmt.UUID
	/*InvoiceItemID*/
	InvoiceItemID strfmt.UUID

	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 values initialized.

func NewDeleteInvoiceItemCustomFieldsParamsWithContext

func NewDeleteInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams

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

Invalid invoice item id supplied

func NewDeleteInvoiceItemTagsBadRequest

func NewDeleteInvoiceItemTagsBadRequest() *DeleteInvoiceItemTagsBadRequest

NewDeleteInvoiceItemTagsBadRequest creates a DeleteInvoiceItemTagsBadRequest with default headers values

func (*DeleteInvoiceItemTagsBadRequest) Error

type DeleteInvoiceItemTagsNoContent

type DeleteInvoiceItemTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteInvoiceItemTagsNoContent handles this case with default header values.

Successful operation

func NewDeleteInvoiceItemTagsNoContent

func NewDeleteInvoiceItemTagsNoContent() *DeleteInvoiceItemTagsNoContent

NewDeleteInvoiceItemTagsNoContent creates a DeleteInvoiceItemTagsNoContent with default headers values

func (*DeleteInvoiceItemTagsNoContent) Error

type DeleteInvoiceItemTagsParams

type DeleteInvoiceItemTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*InvoiceItemID*/
	InvoiceItemID strfmt.UUID
	/*TagDef*/
	TagDef []strfmt.UUID

	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 values initialized.

func NewDeleteInvoiceItemTagsParamsWithContext

func NewDeleteInvoiceItemTagsParamsWithContext(ctx context.Context) *DeleteInvoiceItemTagsParams

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

type GetInvoiceItemCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceItemCustomFieldsBadRequest handles this case with default header values.

Invalid invoice item id supplied

func NewGetInvoiceItemCustomFieldsBadRequest

func NewGetInvoiceItemCustomFieldsBadRequest() *GetInvoiceItemCustomFieldsBadRequest

NewGetInvoiceItemCustomFieldsBadRequest creates a GetInvoiceItemCustomFieldsBadRequest with default headers values

func (*GetInvoiceItemCustomFieldsBadRequest) Error

type GetInvoiceItemCustomFieldsOK

type GetInvoiceItemCustomFieldsOK struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

GetInvoiceItemCustomFieldsOK handles this case with default header values.

successful operation

func NewGetInvoiceItemCustomFieldsOK

func NewGetInvoiceItemCustomFieldsOK() *GetInvoiceItemCustomFieldsOK

NewGetInvoiceItemCustomFieldsOK creates a GetInvoiceItemCustomFieldsOK with default headers values

func (*GetInvoiceItemCustomFieldsOK) Error

type GetInvoiceItemCustomFieldsParams

type GetInvoiceItemCustomFieldsParams struct {

	/*Audit*/
	Audit *string
	/*InvoiceItemID*/
	InvoiceItemID strfmt.UUID

	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 values initialized.

func NewGetInvoiceItemCustomFieldsParamsWithContext

func NewGetInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams

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

Invalid invoice item id supplied

func NewGetInvoiceItemTagsBadRequest

func NewGetInvoiceItemTagsBadRequest() *GetInvoiceItemTagsBadRequest

NewGetInvoiceItemTagsBadRequest creates a GetInvoiceItemTagsBadRequest with default headers values

func (*GetInvoiceItemTagsBadRequest) Error

type GetInvoiceItemTagsNotFound

type GetInvoiceItemTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceItemTagsNotFound handles this case with default header values.

Account not found

func NewGetInvoiceItemTagsNotFound

func NewGetInvoiceItemTagsNotFound() *GetInvoiceItemTagsNotFound

NewGetInvoiceItemTagsNotFound creates a GetInvoiceItemTagsNotFound with default headers values

func (*GetInvoiceItemTagsNotFound) Error

type GetInvoiceItemTagsOK

type GetInvoiceItemTagsOK struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

GetInvoiceItemTagsOK handles this case with default header values.

successful operation

func NewGetInvoiceItemTagsOK

func NewGetInvoiceItemTagsOK() *GetInvoiceItemTagsOK

NewGetInvoiceItemTagsOK creates a GetInvoiceItemTagsOK with default headers values

func (*GetInvoiceItemTagsOK) Error

func (o *GetInvoiceItemTagsOK) Error() string

type GetInvoiceItemTagsParams

type GetInvoiceItemTagsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*IncludedDeleted*/
	IncludedDeleted *bool
	/*InvoiceItemID*/
	InvoiceItemID strfmt.UUID

	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 values initialized.

func NewGetInvoiceItemTagsParamsWithContext

func NewGetInvoiceItemTagsParamsWithContext(ctx context.Context) *GetInvoiceItemTagsParams

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

type IInvoiceItem interface {
	/*
		CreateInvoiceItemCustomFields adds custom fields to invoice item
	*/
	CreateInvoiceItemCustomFields(ctx context.Context, params *CreateInvoiceItemCustomFieldsParams) (*CreateInvoiceItemCustomFieldsCreated, error)

	/*
		CreateInvoiceItemTags adds tags to invoice item
	*/
	CreateInvoiceItemTags(ctx context.Context, params *CreateInvoiceItemTagsParams) (*CreateInvoiceItemTagsCreated, error)

	/*
		DeleteInvoiceItemCustomFields removes custom fields from invoice item
	*/
	DeleteInvoiceItemCustomFields(ctx context.Context, params *DeleteInvoiceItemCustomFieldsParams) (*DeleteInvoiceItemCustomFieldsNoContent, error)

	/*
		DeleteInvoiceItemTags removes tags from invoice item
	*/
	DeleteInvoiceItemTags(ctx context.Context, params *DeleteInvoiceItemTagsParams) (*DeleteInvoiceItemTagsNoContent, error)

	/*
		GetInvoiceItemCustomFields retrieves invoice item custom fields
	*/
	GetInvoiceItemCustomFields(ctx context.Context, params *GetInvoiceItemCustomFieldsParams) (*GetInvoiceItemCustomFieldsOK, error)

	/*
		GetInvoiceItemTags retrieves invoice item tags
	*/
	GetInvoiceItemTags(ctx context.Context, params *GetInvoiceItemTagsParams) (*GetInvoiceItemTagsOK, error)

	/*
		ModifyInvoiceItemCustomFields modifies custom fields to invoice item
	*/
	ModifyInvoiceItemCustomFields(ctx context.Context, params *ModifyInvoiceItemCustomFieldsParams) (*ModifyInvoiceItemCustomFieldsNoContent, error)
}

IInvoiceItem - interface for InvoiceItem client.

type KillbillDefaults

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

Invalid invoice item id supplied

func NewModifyInvoiceItemCustomFieldsBadRequest

func NewModifyInvoiceItemCustomFieldsBadRequest() *ModifyInvoiceItemCustomFieldsBadRequest

NewModifyInvoiceItemCustomFieldsBadRequest creates a ModifyInvoiceItemCustomFieldsBadRequest with default headers values

func (*ModifyInvoiceItemCustomFieldsBadRequest) Error

type ModifyInvoiceItemCustomFieldsNoContent

type ModifyInvoiceItemCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyInvoiceItemCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewModifyInvoiceItemCustomFieldsNoContent

func NewModifyInvoiceItemCustomFieldsNoContent() *ModifyInvoiceItemCustomFieldsNoContent

NewModifyInvoiceItemCustomFieldsNoContent creates a ModifyInvoiceItemCustomFieldsNoContent with default headers values

func (*ModifyInvoiceItemCustomFieldsNoContent) Error

type ModifyInvoiceItemCustomFieldsParams

type ModifyInvoiceItemCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*InvoiceItemID*/
	InvoiceItemID strfmt.UUID

	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 values initialized.

func NewModifyInvoiceItemCustomFieldsParamsWithContext

func NewModifyInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams

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