Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateInvoiceItemCustomFields(ctx context.Context, params *CreateInvoiceItemCustomFieldsParams) (*CreateInvoiceItemCustomFieldsCreated, error)
- func (a *Client) CreateInvoiceItemTags(ctx context.Context, params *CreateInvoiceItemTagsParams) (*CreateInvoiceItemTagsCreated, error)
- func (a *Client) DeleteInvoiceItemCustomFields(ctx context.Context, params *DeleteInvoiceItemCustomFieldsParams) (*DeleteInvoiceItemCustomFieldsNoContent, error)
- func (a *Client) DeleteInvoiceItemTags(ctx context.Context, params *DeleteInvoiceItemTagsParams) (*DeleteInvoiceItemTagsNoContent, error)
- func (a *Client) GetInvoiceItemCustomFields(ctx context.Context, params *GetInvoiceItemCustomFieldsParams) (*GetInvoiceItemCustomFieldsOK, error)
- func (a *Client) GetInvoiceItemTags(ctx context.Context, params *GetInvoiceItemTagsParams) (*GetInvoiceItemTagsOK, error)
- func (a *Client) ModifyInvoiceItemCustomFields(ctx context.Context, params *ModifyInvoiceItemCustomFieldsParams) (*ModifyInvoiceItemCustomFieldsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateInvoiceItemCustomFieldsBadRequest
- type CreateInvoiceItemCustomFieldsCreated
- type CreateInvoiceItemCustomFieldsParams
- func NewCreateInvoiceItemCustomFieldsParams() *CreateInvoiceItemCustomFieldsParams
- func NewCreateInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams
- func NewCreateInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoiceItemCustomFieldsParams
- func NewCreateInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *CreateInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
- func (o *CreateInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *CreateInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInvoiceItemCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoiceItemCustomFieldsReader
- type CreateInvoiceItemTagsBadRequest
- type CreateInvoiceItemTagsCreated
- type CreateInvoiceItemTagsParams
- func NewCreateInvoiceItemTagsParams() *CreateInvoiceItemTagsParams
- func NewCreateInvoiceItemTagsParamsWithContext(ctx context.Context) *CreateInvoiceItemTagsParams
- func NewCreateInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *CreateInvoiceItemTagsParams
- func NewCreateInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) SetBody(body []strfmt.UUID)
- func (o *CreateInvoiceItemTagsParams) SetContext(ctx context.Context)
- func (o *CreateInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *CreateInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoiceItemTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInvoiceItemTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInvoiceItemTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInvoiceItemTagsParams) WithBody(body []strfmt.UUID) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithContext(ctx context.Context) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoiceItemTagsReader
- type DeleteInvoiceItemCustomFieldsBadRequest
- type DeleteInvoiceItemCustomFieldsNoContent
- type DeleteInvoiceItemCustomFieldsParams
- func NewDeleteInvoiceItemCustomFieldsParams() *DeleteInvoiceItemCustomFieldsParams
- func NewDeleteInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams
- func NewDeleteInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceItemCustomFieldsParams
- func NewDeleteInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoiceItemCustomFieldsReader
- type DeleteInvoiceItemTagsBadRequest
- type DeleteInvoiceItemTagsNoContent
- type DeleteInvoiceItemTagsParams
- func NewDeleteInvoiceItemTagsParams() *DeleteInvoiceItemTagsParams
- func NewDeleteInvoiceItemTagsParamsWithContext(ctx context.Context) *DeleteInvoiceItemTagsParams
- func NewDeleteInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceItemTagsParams
- func NewDeleteInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) SetContext(ctx context.Context)
- func (o *DeleteInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *DeleteInvoiceItemTagsParams) SetTagDef(tagDef []strfmt.UUID)
- func (o *DeleteInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoiceItemTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteInvoiceItemTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteInvoiceItemTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteInvoiceItemTagsParams) WithContext(ctx context.Context) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoiceItemTagsReader
- type GetInvoiceItemCustomFieldsBadRequest
- type GetInvoiceItemCustomFieldsOK
- type GetInvoiceItemCustomFieldsParams
- func NewGetInvoiceItemCustomFieldsParams() *GetInvoiceItemCustomFieldsParams
- func NewGetInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams
- func NewGetInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoiceItemCustomFieldsParams
- func NewGetInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) SetAudit(audit *string)
- func (o *GetInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *GetInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceItemCustomFieldsParams) WithAudit(audit *string) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceItemCustomFieldsReader
- type GetInvoiceItemTagsBadRequest
- type GetInvoiceItemTagsNotFound
- type GetInvoiceItemTagsOK
- type GetInvoiceItemTagsParams
- func NewGetInvoiceItemTagsParams() *GetInvoiceItemTagsParams
- func NewGetInvoiceItemTagsParamsWithContext(ctx context.Context) *GetInvoiceItemTagsParams
- func NewGetInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *GetInvoiceItemTagsParams
- func NewGetInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) SetAccountID(accountID strfmt.UUID)
- func (o *GetInvoiceItemTagsParams) SetAudit(audit *string)
- func (o *GetInvoiceItemTagsParams) SetContext(ctx context.Context)
- func (o *GetInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceItemTagsParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *GetInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceItemTagsParams) WithAccountID(accountID strfmt.UUID) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithAudit(audit *string) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithContext(ctx context.Context) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceItemTagsReader
- type IInvoiceItem
- type KillbillDefaults
- type ModifyInvoiceItemCustomFieldsBadRequest
- type ModifyInvoiceItemCustomFieldsNoContent
- type ModifyInvoiceItemCustomFieldsParams
- func NewModifyInvoiceItemCustomFieldsParams() *ModifyInvoiceItemCustomFieldsParams
- func NewModifyInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams
- func NewModifyInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoiceItemCustomFieldsParams
- func NewModifyInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ModifyInvoiceItemCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyInvoiceItemCustomFieldsReader
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 ¶
func (a *Client) DeleteInvoiceItemCustomFields(ctx context.Context, params *DeleteInvoiceItemCustomFieldsParams) (*DeleteInvoiceItemCustomFieldsNoContent, error)
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 ¶
func (a *Client) ModifyInvoiceItemCustomFields(ctx context.Context, params *ModifyInvoiceItemCustomFieldsParams) (*ModifyInvoiceItemCustomFieldsNoContent, error)
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 ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) Error() string
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 ¶
func (o *CreateInvoiceItemCustomFieldsCreated) Error() string
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 ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) SetContext ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateInvoiceItemCustomFieldsParams
WithBody adds the body to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithContext ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams
WithContext adds the context to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithHTTPClient ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateInvoiceItemCustomFieldsParams
WithHTTPClient adds the HTTPClient to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithInvoiceItemID ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *CreateInvoiceItemCustomFieldsParams
WithInvoiceItemID adds the invoiceItemID to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithTimeout ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateInvoiceItemCustomFieldsParams
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 ¶
func (o *CreateInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateInvoiceItemTagsBadRequest) Error() string
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 ¶
func (o *CreateInvoiceItemTagsCreated) Error() string
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 ¶
func (o *CreateInvoiceItemTagsParams) WithBody(body []strfmt.UUID) *CreateInvoiceItemTagsParams
WithBody adds the body to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithContext ¶
func (o *CreateInvoiceItemTagsParams) WithContext(ctx context.Context) *CreateInvoiceItemTagsParams
WithContext adds the context to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithHTTPClient ¶
func (o *CreateInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *CreateInvoiceItemTagsParams
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 ¶
func (o *CreateInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *CreateInvoiceItemTagsParams
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 ¶
func (o *CreateInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) Error() string
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 ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) Error() string
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 ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams
WithContext adds the context to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithCustomField ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteInvoiceItemCustomFieldsParams
WithCustomField adds the customField to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithHTTPClient ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceItemCustomFieldsParams
WithHTTPClient adds the HTTPClient to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithInvoiceItemID ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteInvoiceItemCustomFieldsParams
WithInvoiceItemID adds the invoiceItemID to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithTimeout ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceItemCustomFieldsParams
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 ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteInvoiceItemTagsBadRequest) Error() string
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 ¶
func (o *DeleteInvoiceItemTagsNoContent) Error() string
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 ¶
func (o *DeleteInvoiceItemTagsParams) WithContext(ctx context.Context) *DeleteInvoiceItemTagsParams
WithContext adds the context to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithHTTPClient ¶
func (o *DeleteInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceItemTagsParams
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 ¶
func (o *DeleteInvoiceItemTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteInvoiceItemTagsParams
WithTagDef adds the tagDef to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithTimeout ¶
func (o *DeleteInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceItemTagsParams
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 ¶
func (o *DeleteInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) Error() string
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 ¶
func (o *GetInvoiceItemCustomFieldsOK) Error() string
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 ¶
func (o *GetInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetInvoiceItemCustomFieldsParams) WithAudit(audit *string) *GetInvoiceItemCustomFieldsParams
WithAudit adds the audit to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithContext ¶
func (o *GetInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams
WithContext adds the context to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithHTTPClient ¶
func (o *GetInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *GetInvoiceItemCustomFieldsParams
WithHTTPClient adds the HTTPClient to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithInvoiceItemID ¶
func (o *GetInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemCustomFieldsParams
WithInvoiceItemID adds the invoiceItemID to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithTimeout ¶
func (o *GetInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *GetInvoiceItemCustomFieldsParams
WithTimeout adds the timeout to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WriteToRequest ¶
func (o *GetInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetInvoiceItemTagsBadRequest) Error() string
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 ¶
func (o *GetInvoiceItemTagsNotFound) Error() string
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 ¶
func (o *GetInvoiceItemTagsParams) WithAudit(audit *string) *GetInvoiceItemTagsParams
WithAudit adds the audit to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WithContext ¶
func (o *GetInvoiceItemTagsParams) WithContext(ctx context.Context) *GetInvoiceItemTagsParams
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 ¶
func (o *GetInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *GetInvoiceItemTagsParams
WithTimeout adds the timeout to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WriteToRequest ¶
func (o *GetInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) Error() string
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 ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) Error() string
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 ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) SetContext ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
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 ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyInvoiceItemCustomFieldsParams
WithBody adds the body to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithContext ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams
WithContext adds the context to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithHTTPClient ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyInvoiceItemCustomFieldsParams
WithHTTPClient adds the HTTPClient to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithInvoiceItemID ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *ModifyInvoiceItemCustomFieldsParams
WithInvoiceItemID adds the invoiceItemID to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithTimeout ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyInvoiceItemCustomFieldsParams
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 ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_invoice_item_custom_fields_parameters.go
- create_invoice_item_custom_fields_responses.go
- create_invoice_item_tags_parameters.go
- create_invoice_item_tags_responses.go
- delete_invoice_item_custom_fields_parameters.go
- delete_invoice_item_custom_fields_responses.go
- delete_invoice_item_tags_parameters.go
- delete_invoice_item_tags_responses.go
- get_invoice_item_custom_fields_parameters.go
- get_invoice_item_custom_fields_responses.go
- get_invoice_item_tags_parameters.go
- get_invoice_item_tags_responses.go
- invoice_item_client.go
- modify_invoice_item_custom_fields_parameters.go
- modify_invoice_item_custom_fields_responses.go