invoice

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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdjustInvoiceItemBadRequest

type AdjustInvoiceItemBadRequest struct {
	HttpResponse runtime.ClientResponse
}

AdjustInvoiceItemBadRequest handles this case with default header values.

Invalid account id, invoice id or invoice item id supplied

func NewAdjustInvoiceItemBadRequest

func NewAdjustInvoiceItemBadRequest() *AdjustInvoiceItemBadRequest

NewAdjustInvoiceItemBadRequest creates a AdjustInvoiceItemBadRequest with default headers values

func (*AdjustInvoiceItemBadRequest) Error

type AdjustInvoiceItemCreated

type AdjustInvoiceItemCreated struct {
	Payload *kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

AdjustInvoiceItemCreated handles this case with default header values.

Created adjustment Successfully

func NewAdjustInvoiceItemCreated

func NewAdjustInvoiceItemCreated() *AdjustInvoiceItemCreated

NewAdjustInvoiceItemCreated creates a AdjustInvoiceItemCreated with default headers values

func (*AdjustInvoiceItemCreated) Error

func (o *AdjustInvoiceItemCreated) Error() string

type AdjustInvoiceItemNotFound

type AdjustInvoiceItemNotFound struct {
	HttpResponse runtime.ClientResponse
}

AdjustInvoiceItemNotFound handles this case with default header values.

Invoice not found

func NewAdjustInvoiceItemNotFound

func NewAdjustInvoiceItemNotFound() *AdjustInvoiceItemNotFound

NewAdjustInvoiceItemNotFound creates a AdjustInvoiceItemNotFound with default headers values

func (*AdjustInvoiceItemNotFound) Error

func (o *AdjustInvoiceItemNotFound) Error() string

type AdjustInvoiceItemParams

type AdjustInvoiceItemParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.InvoiceItem
	/*InvoiceID*/
	InvoiceID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	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
}

AdjustInvoiceItemParams contains all the parameters to send to the API endpoint for the adjust invoice item operation typically these are written to a http.Request

func NewAdjustInvoiceItemParams

func NewAdjustInvoiceItemParams() *AdjustInvoiceItemParams

NewAdjustInvoiceItemParams creates a new AdjustInvoiceItemParams object with the default values initialized.

func NewAdjustInvoiceItemParamsWithContext

func NewAdjustInvoiceItemParamsWithContext(ctx context.Context) *AdjustInvoiceItemParams

NewAdjustInvoiceItemParamsWithContext creates a new AdjustInvoiceItemParams object with the default values initialized, and the ability to set a context for a request

func NewAdjustInvoiceItemParamsWithHTTPClient

func NewAdjustInvoiceItemParamsWithHTTPClient(client *http.Client) *AdjustInvoiceItemParams

NewAdjustInvoiceItemParamsWithHTTPClient creates a new AdjustInvoiceItemParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdjustInvoiceItemParamsWithTimeout

func NewAdjustInvoiceItemParamsWithTimeout(timeout time.Duration) *AdjustInvoiceItemParams

NewAdjustInvoiceItemParamsWithTimeout creates a new AdjustInvoiceItemParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdjustInvoiceItemParams) SetBody

func (o *AdjustInvoiceItemParams) SetBody(body *kbmodel.InvoiceItem)

SetBody adds the body to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetContext

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

SetContext adds the context to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetInvoiceID

func (o *AdjustInvoiceItemParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetRequestedDate

func (o *AdjustInvoiceItemParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetTimeout

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

SetTimeout adds the timeout to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetXKillbillCreatedBy

func (o *AdjustInvoiceItemParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the adjust invoice item params

func (*AdjustInvoiceItemParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithBody

WithBody adds the body to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithContext

WithContext adds the context to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithInvoiceID

func (o *AdjustInvoiceItemParams) WithInvoiceID(invoiceID strfmt.UUID) *AdjustInvoiceItemParams

WithInvoiceID adds the invoiceID to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithRequestedDate

func (o *AdjustInvoiceItemParams) WithRequestedDate(requestedDate *strfmt.Date) *AdjustInvoiceItemParams

WithRequestedDate adds the requestedDate to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithTimeout

WithTimeout adds the timeout to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the adjust invoice item params

func (*AdjustInvoiceItemParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the adjust invoice item params

func (*AdjustInvoiceItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdjustInvoiceItemReader

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

AdjustInvoiceItemReader is a Reader for the AdjustInvoiceItem structure.

func (*AdjustInvoiceItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for invoice API

func New

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

New creates a new invoice API client.

func (*Client) AdjustInvoiceItem

func (a *Client) AdjustInvoiceItem(ctx context.Context, params *AdjustInvoiceItemParams) (*AdjustInvoiceItemCreated, error)

AdjustInvoiceItem adjusts an invoice item

func (*Client) CommitInvoice

func (a *Client) CommitInvoice(ctx context.Context, params *CommitInvoiceParams) (*CommitInvoiceNoContent, error)

CommitInvoice performs the invoice status transition from d r a f t to c o m m i t t e d

func (*Client) CreateExternalCharges

func (a *Client) CreateExternalCharges(ctx context.Context, params *CreateExternalChargesParams) (*CreateExternalChargesCreated, error)

CreateExternalCharges creates external charge s

func (*Client) CreateFutureInvoice

func (a *Client) CreateFutureInvoice(ctx context.Context, params *CreateFutureInvoiceParams) (*CreateFutureInvoiceCreated, error)

CreateFutureInvoice triggers an invoice generation

func (*Client) CreateInstantPayment

CreateInstantPayment triggers a payment for invoice

func (*Client) CreateInvoiceCustomFields

func (a *Client) CreateInvoiceCustomFields(ctx context.Context, params *CreateInvoiceCustomFieldsParams) (*CreateInvoiceCustomFieldsCreated, error)

CreateInvoiceCustomFields adds custom fields to invoice

func (*Client) CreateInvoiceTags

func (a *Client) CreateInvoiceTags(ctx context.Context, params *CreateInvoiceTagsParams) (*CreateInvoiceTagsCreated, error)

CreateInvoiceTags adds tags to invoice

func (*Client) CreateMigrationInvoice

func (a *Client) CreateMigrationInvoice(ctx context.Context, params *CreateMigrationInvoiceParams) (*CreateMigrationInvoiceCreated, error)

CreateMigrationInvoice creates a migration invoice

func (*Client) CreateTaxItems

func (a *Client) CreateTaxItems(ctx context.Context, params *CreateTaxItemsParams) (*CreateTaxItemsCreated, error)

CreateTaxItems creates tax items

func (*Client) DeleteCBA

func (a *Client) DeleteCBA(ctx context.Context, params *DeleteCBAParams) (*DeleteCBANoContent, error)

DeleteCBA deletes a c b a item

func (*Client) DeleteInvoiceCustomFields

func (a *Client) DeleteInvoiceCustomFields(ctx context.Context, params *DeleteInvoiceCustomFieldsParams) (*DeleteInvoiceCustomFieldsNoContent, error)

DeleteInvoiceCustomFields removes custom fields from invoice

func (*Client) DeleteInvoiceTags

func (a *Client) DeleteInvoiceTags(ctx context.Context, params *DeleteInvoiceTagsParams) (*DeleteInvoiceTagsNoContent, error)

DeleteInvoiceTags removes tags from invoice

func (*Client) GenerateDryRunInvoice

GenerateDryRunInvoice generates a dry run invoice

func (*Client) GetCatalogTranslation

func (a *Client) GetCatalogTranslation(ctx context.Context, params *GetCatalogTranslationParams) (*GetCatalogTranslationOK, error)

GetCatalogTranslation retrieves the catalog translation for the tenant

func (*Client) GetInvoice

func (a *Client) GetInvoice(ctx context.Context, params *GetInvoiceParams) (*GetInvoiceOK, error)

GetInvoice retrieves an invoice by id

func (*Client) GetInvoiceAsHTML

func (a *Client) GetInvoiceAsHTML(ctx context.Context, params *GetInvoiceAsHTMLParams) (*GetInvoiceAsHTMLOK, error)

GetInvoiceAsHTML renders an invoice as HTML

func (*Client) GetInvoiceByItemID

func (a *Client) GetInvoiceByItemID(ctx context.Context, params *GetInvoiceByItemIDParams) (*GetInvoiceByItemIDOK, error)

GetInvoiceByItemID retrieves an invoice by invoice item id

func (*Client) GetInvoiceByNumber

func (a *Client) GetInvoiceByNumber(ctx context.Context, params *GetInvoiceByNumberParams) (*GetInvoiceByNumberOK, error)

GetInvoiceByNumber retrieves an invoice by number

func (*Client) GetInvoiceCustomFields

func (a *Client) GetInvoiceCustomFields(ctx context.Context, params *GetInvoiceCustomFieldsParams) (*GetInvoiceCustomFieldsOK, error)

GetInvoiceCustomFields retrieves invoice custom fields

func (*Client) GetInvoiceMPTemplate

func (a *Client) GetInvoiceMPTemplate(ctx context.Context, params *GetInvoiceMPTemplateParams) (*GetInvoiceMPTemplateOK, error)

GetInvoiceMPTemplate retrieves the manual pay invoice template for the tenant

func (*Client) GetInvoiceTags

func (a *Client) GetInvoiceTags(ctx context.Context, params *GetInvoiceTagsParams) (*GetInvoiceTagsOK, error)

GetInvoiceTags retrieves invoice tags

func (*Client) GetInvoiceTemplate

func (a *Client) GetInvoiceTemplate(ctx context.Context, params *GetInvoiceTemplateParams) (*GetInvoiceTemplateOK, error)

GetInvoiceTemplate retrieves the invoice template for the tenant

func (*Client) GetInvoiceTranslation

func (a *Client) GetInvoiceTranslation(ctx context.Context, params *GetInvoiceTranslationParams) (*GetInvoiceTranslationOK, error)

GetInvoiceTranslation retrieves the invoice translation for the tenant

func (*Client) GetInvoices

func (a *Client) GetInvoices(ctx context.Context, params *GetInvoicesParams) (*GetInvoicesOK, error)

GetInvoices lists invoices

func (*Client) GetPaymentsForInvoice

func (a *Client) GetPaymentsForInvoice(ctx context.Context, params *GetPaymentsForInvoiceParams) (*GetPaymentsForInvoiceOK, error)

GetPaymentsForInvoice retrieves payments associated with an invoice

func (*Client) ModifyInvoiceCustomFields

func (a *Client) ModifyInvoiceCustomFields(ctx context.Context, params *ModifyInvoiceCustomFieldsParams) (*ModifyInvoiceCustomFieldsNoContent, error)

ModifyInvoiceCustomFields modifies custom fields to invoice

func (*Client) SearchInvoices

func (a *Client) SearchInvoices(ctx context.Context, params *SearchInvoicesParams) (*SearchInvoicesOK, error)

SearchInvoices searches invoices

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadCatalogTranslation

func (a *Client) UploadCatalogTranslation(ctx context.Context, params *UploadCatalogTranslationParams) (*UploadCatalogTranslationCreated, error)

UploadCatalogTranslation uploads the catalog translation for the tenant

func (*Client) UploadInvoiceMPTemplate

func (a *Client) UploadInvoiceMPTemplate(ctx context.Context, params *UploadInvoiceMPTemplateParams) (*UploadInvoiceMPTemplateOK, error)

UploadInvoiceMPTemplate uploads the manual pay invoice template for the tenant

func (*Client) UploadInvoiceTemplate

func (a *Client) UploadInvoiceTemplate(ctx context.Context, params *UploadInvoiceTemplateParams) (*UploadInvoiceTemplateCreated, error)

UploadInvoiceTemplate uploads the invoice template for the tenant

func (*Client) UploadInvoiceTranslation

func (a *Client) UploadInvoiceTranslation(ctx context.Context, params *UploadInvoiceTranslationParams) (*UploadInvoiceTranslationCreated, error)

UploadInvoiceTranslation uploads the invoice translation for the tenant

func (*Client) VoidInvoice

func (a *Client) VoidInvoice(ctx context.Context, params *VoidInvoiceParams) (*VoidInvoiceNoContent, error)

VoidInvoice performs the action of voiding an invoice

type CommitInvoiceNoContent

type CommitInvoiceNoContent struct {
	HttpResponse runtime.ClientResponse
}

CommitInvoiceNoContent handles this case with default header values.

Successful operation

func NewCommitInvoiceNoContent

func NewCommitInvoiceNoContent() *CommitInvoiceNoContent

NewCommitInvoiceNoContent creates a CommitInvoiceNoContent with default headers values

func (*CommitInvoiceNoContent) Error

func (o *CommitInvoiceNoContent) Error() string

type CommitInvoiceNotFound

type CommitInvoiceNotFound struct {
	HttpResponse runtime.ClientResponse
}

CommitInvoiceNotFound handles this case with default header values.

Invoice not found

func NewCommitInvoiceNotFound

func NewCommitInvoiceNotFound() *CommitInvoiceNotFound

NewCommitInvoiceNotFound creates a CommitInvoiceNotFound with default headers values

func (*CommitInvoiceNotFound) Error

func (o *CommitInvoiceNotFound) Error() string

type CommitInvoiceParams

type CommitInvoiceParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*InvoiceID*/
	InvoiceID 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
}

CommitInvoiceParams contains all the parameters to send to the API endpoint for the commit invoice operation typically these are written to a http.Request

func NewCommitInvoiceParams

func NewCommitInvoiceParams() *CommitInvoiceParams

NewCommitInvoiceParams creates a new CommitInvoiceParams object with the default values initialized.

func NewCommitInvoiceParamsWithContext

func NewCommitInvoiceParamsWithContext(ctx context.Context) *CommitInvoiceParams

NewCommitInvoiceParamsWithContext creates a new CommitInvoiceParams object with the default values initialized, and the ability to set a context for a request

func NewCommitInvoiceParamsWithHTTPClient

func NewCommitInvoiceParamsWithHTTPClient(client *http.Client) *CommitInvoiceParams

NewCommitInvoiceParamsWithHTTPClient creates a new CommitInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCommitInvoiceParamsWithTimeout

func NewCommitInvoiceParamsWithTimeout(timeout time.Duration) *CommitInvoiceParams

NewCommitInvoiceParamsWithTimeout creates a new CommitInvoiceParams object with the default values initialized, and the ability to set a timeout on a request

func (*CommitInvoiceParams) SetContext

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

SetContext adds the context to the commit invoice params

func (*CommitInvoiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the commit invoice params

func (*CommitInvoiceParams) SetInvoiceID

func (o *CommitInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the commit invoice params

func (*CommitInvoiceParams) SetTimeout

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

SetTimeout adds the timeout to the commit invoice params

func (*CommitInvoiceParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the commit invoice params

func (*CommitInvoiceParams) SetXKillbillCreatedBy

func (o *CommitInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the commit invoice params

func (*CommitInvoiceParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the commit invoice params

func (*CommitInvoiceParams) WithContext

WithContext adds the context to the commit invoice params

func (*CommitInvoiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the commit invoice params

func (*CommitInvoiceParams) WithInvoiceID

func (o *CommitInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *CommitInvoiceParams

WithInvoiceID adds the invoiceID to the commit invoice params

func (*CommitInvoiceParams) WithTimeout

func (o *CommitInvoiceParams) WithTimeout(timeout time.Duration) *CommitInvoiceParams

WithTimeout adds the timeout to the commit invoice params

func (*CommitInvoiceParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the commit invoice params

func (*CommitInvoiceParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the commit invoice params

func (*CommitInvoiceParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the commit invoice params

func (*CommitInvoiceParams) WriteToRequest

func (o *CommitInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CommitInvoiceReader

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

CommitInvoiceReader is a Reader for the CommitInvoice structure.

func (*CommitInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateExternalChargesBadRequest

type CreateExternalChargesBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateExternalChargesBadRequest handles this case with default header values.

Invalid account id supplied

func NewCreateExternalChargesBadRequest

func NewCreateExternalChargesBadRequest() *CreateExternalChargesBadRequest

NewCreateExternalChargesBadRequest creates a CreateExternalChargesBadRequest with default headers values

func (*CreateExternalChargesBadRequest) Error

type CreateExternalChargesCreated

type CreateExternalChargesCreated struct {
	Payload []*kbmodel.InvoiceItem

	HttpResponse runtime.ClientResponse
}

CreateExternalChargesCreated handles this case with default header values.

Created external charge Successfully

func NewCreateExternalChargesCreated

func NewCreateExternalChargesCreated() *CreateExternalChargesCreated

NewCreateExternalChargesCreated creates a CreateExternalChargesCreated with default headers values

func (*CreateExternalChargesCreated) Error

type CreateExternalChargesNotFound

type CreateExternalChargesNotFound struct {
	HttpResponse runtime.ClientResponse
}

CreateExternalChargesNotFound handles this case with default header values.

Account not found

func NewCreateExternalChargesNotFound

func NewCreateExternalChargesNotFound() *CreateExternalChargesNotFound

NewCreateExternalChargesNotFound creates a CreateExternalChargesNotFound with default headers values

func (*CreateExternalChargesNotFound) Error

type CreateExternalChargesParams

type CreateExternalChargesParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*AutoCommit*/
	AutoCommit *bool
	/*Body*/
	Body []*kbmodel.InvoiceItem
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	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
}

CreateExternalChargesParams contains all the parameters to send to the API endpoint for the create external charges operation typically these are written to a http.Request

func NewCreateExternalChargesParams

func NewCreateExternalChargesParams() *CreateExternalChargesParams

NewCreateExternalChargesParams creates a new CreateExternalChargesParams object with the default values initialized.

func NewCreateExternalChargesParamsWithContext

func NewCreateExternalChargesParamsWithContext(ctx context.Context) *CreateExternalChargesParams

NewCreateExternalChargesParamsWithContext creates a new CreateExternalChargesParams object with the default values initialized, and the ability to set a context for a request

func NewCreateExternalChargesParamsWithHTTPClient

func NewCreateExternalChargesParamsWithHTTPClient(client *http.Client) *CreateExternalChargesParams

NewCreateExternalChargesParamsWithHTTPClient creates a new CreateExternalChargesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateExternalChargesParamsWithTimeout

func NewCreateExternalChargesParamsWithTimeout(timeout time.Duration) *CreateExternalChargesParams

NewCreateExternalChargesParamsWithTimeout creates a new CreateExternalChargesParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateExternalChargesParams) SetAccountID

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

SetAccountID adds the accountId to the create external charges params

func (*CreateExternalChargesParams) SetAutoCommit

func (o *CreateExternalChargesParams) SetAutoCommit(autoCommit *bool)

SetAutoCommit adds the autoCommit to the create external charges params

func (*CreateExternalChargesParams) SetBody

func (o *CreateExternalChargesParams) SetBody(body []*kbmodel.InvoiceItem)

SetBody adds the body to the create external charges params

func (*CreateExternalChargesParams) SetContext

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

SetContext adds the context to the create external charges params

func (*CreateExternalChargesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create external charges params

func (*CreateExternalChargesParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create external charges params

func (*CreateExternalChargesParams) SetRequestedDate

func (o *CreateExternalChargesParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the create external charges params

func (*CreateExternalChargesParams) SetTimeout

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

SetTimeout adds the timeout to the create external charges params

func (*CreateExternalChargesParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create external charges params

func (*CreateExternalChargesParams) SetXKillbillCreatedBy

func (o *CreateExternalChargesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create external charges params

func (*CreateExternalChargesParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create external charges params

func (*CreateExternalChargesParams) WithAccountID

WithAccountID adds the accountID to the create external charges params

func (*CreateExternalChargesParams) WithAutoCommit

func (o *CreateExternalChargesParams) WithAutoCommit(autoCommit *bool) *CreateExternalChargesParams

WithAutoCommit adds the autoCommit to the create external charges params

func (*CreateExternalChargesParams) WithBody

WithBody adds the body to the create external charges params

func (*CreateExternalChargesParams) WithContext

WithContext adds the context to the create external charges params

func (*CreateExternalChargesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create external charges params

func (*CreateExternalChargesParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create external charges params

func (*CreateExternalChargesParams) WithRequestedDate

func (o *CreateExternalChargesParams) WithRequestedDate(requestedDate *strfmt.Date) *CreateExternalChargesParams

WithRequestedDate adds the requestedDate to the create external charges params

func (*CreateExternalChargesParams) WithTimeout

WithTimeout adds the timeout to the create external charges params

func (*CreateExternalChargesParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create external charges params

func (*CreateExternalChargesParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create external charges params

func (*CreateExternalChargesParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create external charges params

func (*CreateExternalChargesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateExternalChargesReader

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

CreateExternalChargesReader is a Reader for the CreateExternalCharges structure.

func (*CreateExternalChargesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFutureInvoiceBadRequest

type CreateFutureInvoiceBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateFutureInvoiceBadRequest handles this case with default header values.

Invalid account id or target datetime supplied

func NewCreateFutureInvoiceBadRequest

func NewCreateFutureInvoiceBadRequest() *CreateFutureInvoiceBadRequest

NewCreateFutureInvoiceBadRequest creates a CreateFutureInvoiceBadRequest with default headers values

func (*CreateFutureInvoiceBadRequest) Error

type CreateFutureInvoiceCreated

type CreateFutureInvoiceCreated struct {
	Payload *kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

CreateFutureInvoiceCreated handles this case with default header values.

Created invoice successfully

func NewCreateFutureInvoiceCreated

func NewCreateFutureInvoiceCreated() *CreateFutureInvoiceCreated

NewCreateFutureInvoiceCreated creates a CreateFutureInvoiceCreated with default headers values

func (*CreateFutureInvoiceCreated) Error

type CreateFutureInvoiceParams

type CreateFutureInvoiceParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*TargetDate*/
	TargetDate *strfmt.Date

	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
}

CreateFutureInvoiceParams contains all the parameters to send to the API endpoint for the create future invoice operation typically these are written to a http.Request

func NewCreateFutureInvoiceParams

func NewCreateFutureInvoiceParams() *CreateFutureInvoiceParams

NewCreateFutureInvoiceParams creates a new CreateFutureInvoiceParams object with the default values initialized.

func NewCreateFutureInvoiceParamsWithContext

func NewCreateFutureInvoiceParamsWithContext(ctx context.Context) *CreateFutureInvoiceParams

NewCreateFutureInvoiceParamsWithContext creates a new CreateFutureInvoiceParams object with the default values initialized, and the ability to set a context for a request

func NewCreateFutureInvoiceParamsWithHTTPClient

func NewCreateFutureInvoiceParamsWithHTTPClient(client *http.Client) *CreateFutureInvoiceParams

NewCreateFutureInvoiceParamsWithHTTPClient creates a new CreateFutureInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateFutureInvoiceParamsWithTimeout

func NewCreateFutureInvoiceParamsWithTimeout(timeout time.Duration) *CreateFutureInvoiceParams

NewCreateFutureInvoiceParamsWithTimeout creates a new CreateFutureInvoiceParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateFutureInvoiceParams) SetAccountID

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

SetAccountID adds the accountId to the create future invoice params

func (*CreateFutureInvoiceParams) SetContext

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

SetContext adds the context to the create future invoice params

func (*CreateFutureInvoiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create future invoice params

func (*CreateFutureInvoiceParams) SetTargetDate

func (o *CreateFutureInvoiceParams) SetTargetDate(targetDate *strfmt.Date)

SetTargetDate adds the targetDate to the create future invoice params

func (*CreateFutureInvoiceParams) SetTimeout

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

SetTimeout adds the timeout to the create future invoice params

func (*CreateFutureInvoiceParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create future invoice params

func (*CreateFutureInvoiceParams) SetXKillbillCreatedBy

func (o *CreateFutureInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create future invoice params

func (*CreateFutureInvoiceParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create future invoice params

func (*CreateFutureInvoiceParams) WithAccountID

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

WithAccountID adds the accountID to the create future invoice params

func (*CreateFutureInvoiceParams) WithContext

WithContext adds the context to the create future invoice params

func (*CreateFutureInvoiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create future invoice params

func (*CreateFutureInvoiceParams) WithTargetDate

func (o *CreateFutureInvoiceParams) WithTargetDate(targetDate *strfmt.Date) *CreateFutureInvoiceParams

WithTargetDate adds the targetDate to the create future invoice params

func (*CreateFutureInvoiceParams) WithTimeout

WithTimeout adds the timeout to the create future invoice params

func (*CreateFutureInvoiceParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create future invoice params

func (*CreateFutureInvoiceParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create future invoice params

func (*CreateFutureInvoiceParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create future invoice params

func (*CreateFutureInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFutureInvoiceReader

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

CreateFutureInvoiceReader is a Reader for the CreateFutureInvoice structure.

func (*CreateFutureInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInstantPaymentBadRequest

type CreateInstantPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateInstantPaymentBadRequest handles this case with default header values.

Invalid account id or invoice id supplied

func NewCreateInstantPaymentBadRequest

func NewCreateInstantPaymentBadRequest() *CreateInstantPaymentBadRequest

NewCreateInstantPaymentBadRequest creates a CreateInstantPaymentBadRequest with default headers values

func (*CreateInstantPaymentBadRequest) Error

type CreateInstantPaymentCreated

type CreateInstantPaymentCreated struct {
	Payload *kbmodel.InvoicePayment

	HttpResponse runtime.ClientResponse
}

CreateInstantPaymentCreated handles this case with default header values.

Created payment Successfully

func NewCreateInstantPaymentCreated

func NewCreateInstantPaymentCreated() *CreateInstantPaymentCreated

NewCreateInstantPaymentCreated creates a CreateInstantPaymentCreated with default headers values

func (*CreateInstantPaymentCreated) Error

type CreateInstantPaymentNoContent

type CreateInstantPaymentNoContent struct {
	HttpResponse runtime.ClientResponse
}

CreateInstantPaymentNoContent handles this case with default header values.

Nothing to pay for

func NewCreateInstantPaymentNoContent

func NewCreateInstantPaymentNoContent() *CreateInstantPaymentNoContent

NewCreateInstantPaymentNoContent creates a CreateInstantPaymentNoContent with default headers values

func (*CreateInstantPaymentNoContent) Error

type CreateInstantPaymentNotFound

type CreateInstantPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

CreateInstantPaymentNotFound handles this case with default header values.

Account not found

func NewCreateInstantPaymentNotFound

func NewCreateInstantPaymentNotFound() *CreateInstantPaymentNotFound

NewCreateInstantPaymentNotFound creates a CreateInstantPaymentNotFound with default headers values

func (*CreateInstantPaymentNotFound) Error

type CreateInstantPaymentParams

type CreateInstantPaymentParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.InvoicePayment
	/*ExternalPayment*/
	ExternalPayment *bool
	/*InvoiceID*/
	InvoiceID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	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
}

CreateInstantPaymentParams contains all the parameters to send to the API endpoint for the create instant payment operation typically these are written to a http.Request

func NewCreateInstantPaymentParams

func NewCreateInstantPaymentParams() *CreateInstantPaymentParams

NewCreateInstantPaymentParams creates a new CreateInstantPaymentParams object with the default values initialized.

func NewCreateInstantPaymentParamsWithContext

func NewCreateInstantPaymentParamsWithContext(ctx context.Context) *CreateInstantPaymentParams

NewCreateInstantPaymentParamsWithContext creates a new CreateInstantPaymentParams object with the default values initialized, and the ability to set a context for a request

func NewCreateInstantPaymentParamsWithHTTPClient

func NewCreateInstantPaymentParamsWithHTTPClient(client *http.Client) *CreateInstantPaymentParams

NewCreateInstantPaymentParamsWithHTTPClient creates a new CreateInstantPaymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateInstantPaymentParamsWithTimeout

func NewCreateInstantPaymentParamsWithTimeout(timeout time.Duration) *CreateInstantPaymentParams

NewCreateInstantPaymentParamsWithTimeout creates a new CreateInstantPaymentParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateInstantPaymentParams) SetBody

SetBody adds the body to the create instant payment params

func (*CreateInstantPaymentParams) SetContext

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

SetContext adds the context to the create instant payment params

func (*CreateInstantPaymentParams) SetExternalPayment

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

SetExternalPayment adds the externalPayment to the create instant payment params

func (*CreateInstantPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create instant payment params

func (*CreateInstantPaymentParams) SetInvoiceID

func (o *CreateInstantPaymentParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the create instant payment params

func (*CreateInstantPaymentParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create instant payment params

func (*CreateInstantPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the create instant payment params

func (*CreateInstantPaymentParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create instant payment params

func (*CreateInstantPaymentParams) SetXKillbillCreatedBy

func (o *CreateInstantPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create instant payment params

func (*CreateInstantPaymentParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create instant payment params

func (*CreateInstantPaymentParams) WithBody

WithBody adds the body to the create instant payment params

func (*CreateInstantPaymentParams) WithContext

WithContext adds the context to the create instant payment params

func (*CreateInstantPaymentParams) WithExternalPayment

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

WithExternalPayment adds the externalPayment to the create instant payment params

func (*CreateInstantPaymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create instant payment params

func (*CreateInstantPaymentParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the create instant payment params

func (*CreateInstantPaymentParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create instant payment params

func (*CreateInstantPaymentParams) WithTimeout

WithTimeout adds the timeout to the create instant payment params

func (*CreateInstantPaymentParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create instant payment params

func (*CreateInstantPaymentParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create instant payment params

func (*CreateInstantPaymentParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create instant payment params

func (*CreateInstantPaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInstantPaymentReader

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

CreateInstantPaymentReader is a Reader for the CreateInstantPayment structure.

func (*CreateInstantPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInvoiceCustomFieldsBadRequest

type CreateInvoiceCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateInvoiceCustomFieldsBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewCreateInvoiceCustomFieldsBadRequest

func NewCreateInvoiceCustomFieldsBadRequest() *CreateInvoiceCustomFieldsBadRequest

NewCreateInvoiceCustomFieldsBadRequest creates a CreateInvoiceCustomFieldsBadRequest with default headers values

func (*CreateInvoiceCustomFieldsBadRequest) Error

type CreateInvoiceCustomFieldsCreated

type CreateInvoiceCustomFieldsCreated struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

CreateInvoiceCustomFieldsCreated handles this case with default header values.

Custom field created successfully

func NewCreateInvoiceCustomFieldsCreated

func NewCreateInvoiceCustomFieldsCreated() *CreateInvoiceCustomFieldsCreated

NewCreateInvoiceCustomFieldsCreated creates a CreateInvoiceCustomFieldsCreated with default headers values

func (*CreateInvoiceCustomFieldsCreated) Error

type CreateInvoiceCustomFieldsParams

type CreateInvoiceCustomFieldsParams struct {

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

CreateInvoiceCustomFieldsParams contains all the parameters to send to the API endpoint for the create invoice custom fields operation typically these are written to a http.Request

func NewCreateInvoiceCustomFieldsParams

func NewCreateInvoiceCustomFieldsParams() *CreateInvoiceCustomFieldsParams

NewCreateInvoiceCustomFieldsParams creates a new CreateInvoiceCustomFieldsParams object with the default values initialized.

func NewCreateInvoiceCustomFieldsParamsWithContext

func NewCreateInvoiceCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceCustomFieldsParams

NewCreateInvoiceCustomFieldsParamsWithContext creates a new CreateInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a context for a request

func NewCreateInvoiceCustomFieldsParamsWithHTTPClient

func NewCreateInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoiceCustomFieldsParams

NewCreateInvoiceCustomFieldsParamsWithHTTPClient creates a new CreateInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateInvoiceCustomFieldsParamsWithTimeout

func NewCreateInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoiceCustomFieldsParams

NewCreateInvoiceCustomFieldsParamsWithTimeout creates a new CreateInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateInvoiceCustomFieldsParams) SetBody

SetBody adds the body to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) SetContext

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

SetContext adds the context to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) SetInvoiceID

func (o *CreateInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreateInvoiceCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WithBody

WithBody adds the body to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WithContext

WithContext adds the context to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create invoice custom fields params

func (*CreateInvoiceCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInvoiceCustomFieldsReader

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

CreateInvoiceCustomFieldsReader is a Reader for the CreateInvoiceCustomFields structure.

func (*CreateInvoiceCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInvoiceTagsBadRequest

type CreateInvoiceTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateInvoiceTagsBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewCreateInvoiceTagsBadRequest

func NewCreateInvoiceTagsBadRequest() *CreateInvoiceTagsBadRequest

NewCreateInvoiceTagsBadRequest creates a CreateInvoiceTagsBadRequest with default headers values

func (*CreateInvoiceTagsBadRequest) Error

type CreateInvoiceTagsCreated

type CreateInvoiceTagsCreated struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

CreateInvoiceTagsCreated handles this case with default header values.

Tag created successfully

func NewCreateInvoiceTagsCreated

func NewCreateInvoiceTagsCreated() *CreateInvoiceTagsCreated

NewCreateInvoiceTagsCreated creates a CreateInvoiceTagsCreated with default headers values

func (*CreateInvoiceTagsCreated) Error

func (o *CreateInvoiceTagsCreated) Error() string

type CreateInvoiceTagsParams

type CreateInvoiceTagsParams struct {

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

CreateInvoiceTagsParams contains all the parameters to send to the API endpoint for the create invoice tags operation typically these are written to a http.Request

func NewCreateInvoiceTagsParams

func NewCreateInvoiceTagsParams() *CreateInvoiceTagsParams

NewCreateInvoiceTagsParams creates a new CreateInvoiceTagsParams object with the default values initialized.

func NewCreateInvoiceTagsParamsWithContext

func NewCreateInvoiceTagsParamsWithContext(ctx context.Context) *CreateInvoiceTagsParams

NewCreateInvoiceTagsParamsWithContext creates a new CreateInvoiceTagsParams object with the default values initialized, and the ability to set a context for a request

func NewCreateInvoiceTagsParamsWithHTTPClient

func NewCreateInvoiceTagsParamsWithHTTPClient(client *http.Client) *CreateInvoiceTagsParams

NewCreateInvoiceTagsParamsWithHTTPClient creates a new CreateInvoiceTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateInvoiceTagsParamsWithTimeout

func NewCreateInvoiceTagsParamsWithTimeout(timeout time.Duration) *CreateInvoiceTagsParams

NewCreateInvoiceTagsParamsWithTimeout creates a new CreateInvoiceTagsParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateInvoiceTagsParams) SetBody

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

SetBody adds the body to the create invoice tags params

func (*CreateInvoiceTagsParams) SetContext

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

SetContext adds the context to the create invoice tags params

func (*CreateInvoiceTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create invoice tags params

func (*CreateInvoiceTagsParams) SetInvoiceID

func (o *CreateInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the create invoice tags params

func (*CreateInvoiceTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create invoice tags params

func (*CreateInvoiceTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create invoice tags params

func (*CreateInvoiceTagsParams) SetXKillbillCreatedBy

func (o *CreateInvoiceTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice tags params

func (*CreateInvoiceTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create invoice tags params

func (*CreateInvoiceTagsParams) WithBody

WithBody adds the body to the create invoice tags params

func (*CreateInvoiceTagsParams) WithContext

WithContext adds the context to the create invoice tags params

func (*CreateInvoiceTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create invoice tags params

func (*CreateInvoiceTagsParams) WithInvoiceID

func (o *CreateInvoiceTagsParams) WithInvoiceID(invoiceID strfmt.UUID) *CreateInvoiceTagsParams

WithInvoiceID adds the invoiceID to the create invoice tags params

func (*CreateInvoiceTagsParams) WithTimeout

WithTimeout adds the timeout to the create invoice tags params

func (*CreateInvoiceTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create invoice tags params

func (*CreateInvoiceTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice tags params

func (*CreateInvoiceTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create invoice tags params

func (*CreateInvoiceTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInvoiceTagsReader

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

CreateInvoiceTagsReader is a Reader for the CreateInvoiceTags structure.

func (*CreateInvoiceTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMigrationInvoiceBadRequest

type CreateMigrationInvoiceBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateMigrationInvoiceBadRequest handles this case with default header values.

Invalid account id or target datetime supplied

func NewCreateMigrationInvoiceBadRequest

func NewCreateMigrationInvoiceBadRequest() *CreateMigrationInvoiceBadRequest

NewCreateMigrationInvoiceBadRequest creates a CreateMigrationInvoiceBadRequest with default headers values

func (*CreateMigrationInvoiceBadRequest) Error

type CreateMigrationInvoiceCreated

type CreateMigrationInvoiceCreated struct {
	Payload *kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

CreateMigrationInvoiceCreated handles this case with default header values.

Created migration invoice successfully

func NewCreateMigrationInvoiceCreated

func NewCreateMigrationInvoiceCreated() *CreateMigrationInvoiceCreated

NewCreateMigrationInvoiceCreated creates a CreateMigrationInvoiceCreated with default headers values

func (*CreateMigrationInvoiceCreated) Error

type CreateMigrationInvoiceParams

type CreateMigrationInvoiceParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body []*kbmodel.InvoiceItem
	/*TargetDate*/
	TargetDate *strfmt.Date

	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
}

CreateMigrationInvoiceParams contains all the parameters to send to the API endpoint for the create migration invoice operation typically these are written to a http.Request

func NewCreateMigrationInvoiceParams

func NewCreateMigrationInvoiceParams() *CreateMigrationInvoiceParams

NewCreateMigrationInvoiceParams creates a new CreateMigrationInvoiceParams object with the default values initialized.

func NewCreateMigrationInvoiceParamsWithContext

func NewCreateMigrationInvoiceParamsWithContext(ctx context.Context) *CreateMigrationInvoiceParams

NewCreateMigrationInvoiceParamsWithContext creates a new CreateMigrationInvoiceParams object with the default values initialized, and the ability to set a context for a request

func NewCreateMigrationInvoiceParamsWithHTTPClient

func NewCreateMigrationInvoiceParamsWithHTTPClient(client *http.Client) *CreateMigrationInvoiceParams

NewCreateMigrationInvoiceParamsWithHTTPClient creates a new CreateMigrationInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateMigrationInvoiceParamsWithTimeout

func NewCreateMigrationInvoiceParamsWithTimeout(timeout time.Duration) *CreateMigrationInvoiceParams

NewCreateMigrationInvoiceParamsWithTimeout creates a new CreateMigrationInvoiceParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateMigrationInvoiceParams) SetAccountID

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

SetAccountID adds the accountId to the create migration invoice params

func (*CreateMigrationInvoiceParams) SetBody

func (o *CreateMigrationInvoiceParams) SetBody(body []*kbmodel.InvoiceItem)

SetBody adds the body to the create migration invoice params

func (*CreateMigrationInvoiceParams) SetContext

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

SetContext adds the context to the create migration invoice params

func (*CreateMigrationInvoiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create migration invoice params

func (*CreateMigrationInvoiceParams) SetTargetDate

func (o *CreateMigrationInvoiceParams) SetTargetDate(targetDate *strfmt.Date)

SetTargetDate adds the targetDate to the create migration invoice params

func (*CreateMigrationInvoiceParams) SetTimeout

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

SetTimeout adds the timeout to the create migration invoice params

func (*CreateMigrationInvoiceParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create migration invoice params

func (*CreateMigrationInvoiceParams) SetXKillbillCreatedBy

func (o *CreateMigrationInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create migration invoice params

func (*CreateMigrationInvoiceParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithAccountID

WithAccountID adds the accountID to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithBody

WithBody adds the body to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithContext

WithContext adds the context to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithTargetDate

func (o *CreateMigrationInvoiceParams) WithTargetDate(targetDate *strfmt.Date) *CreateMigrationInvoiceParams

WithTargetDate adds the targetDate to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithTimeout

WithTimeout adds the timeout to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create migration invoice params

func (*CreateMigrationInvoiceParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create migration invoice params

func (*CreateMigrationInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMigrationInvoiceReader

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

CreateMigrationInvoiceReader is a Reader for the CreateMigrationInvoice structure.

func (*CreateMigrationInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateTaxItemsBadRequest

type CreateTaxItemsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateTaxItemsBadRequest handles this case with default header values.

Invalid account id supplied

func NewCreateTaxItemsBadRequest

func NewCreateTaxItemsBadRequest() *CreateTaxItemsBadRequest

NewCreateTaxItemsBadRequest creates a CreateTaxItemsBadRequest with default headers values

func (*CreateTaxItemsBadRequest) Error

func (o *CreateTaxItemsBadRequest) Error() string

type CreateTaxItemsCreated

type CreateTaxItemsCreated struct {
	Payload []*kbmodel.InvoiceItem

	HttpResponse runtime.ClientResponse
}

CreateTaxItemsCreated handles this case with default header values.

Create tax items successfully

func NewCreateTaxItemsCreated

func NewCreateTaxItemsCreated() *CreateTaxItemsCreated

NewCreateTaxItemsCreated creates a CreateTaxItemsCreated with default headers values

func (*CreateTaxItemsCreated) Error

func (o *CreateTaxItemsCreated) Error() string

type CreateTaxItemsNotFound

type CreateTaxItemsNotFound struct {
	HttpResponse runtime.ClientResponse
}

CreateTaxItemsNotFound handles this case with default header values.

Account not found

func NewCreateTaxItemsNotFound

func NewCreateTaxItemsNotFound() *CreateTaxItemsNotFound

NewCreateTaxItemsNotFound creates a CreateTaxItemsNotFound with default headers values

func (*CreateTaxItemsNotFound) Error

func (o *CreateTaxItemsNotFound) Error() string

type CreateTaxItemsParams

type CreateTaxItemsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*AutoCommit*/
	AutoCommit *bool
	/*Body*/
	Body []*kbmodel.InvoiceItem
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	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
}

CreateTaxItemsParams contains all the parameters to send to the API endpoint for the create tax items operation typically these are written to a http.Request

func NewCreateTaxItemsParams

func NewCreateTaxItemsParams() *CreateTaxItemsParams

NewCreateTaxItemsParams creates a new CreateTaxItemsParams object with the default values initialized.

func NewCreateTaxItemsParamsWithContext

func NewCreateTaxItemsParamsWithContext(ctx context.Context) *CreateTaxItemsParams

NewCreateTaxItemsParamsWithContext creates a new CreateTaxItemsParams object with the default values initialized, and the ability to set a context for a request

func NewCreateTaxItemsParamsWithHTTPClient

func NewCreateTaxItemsParamsWithHTTPClient(client *http.Client) *CreateTaxItemsParams

NewCreateTaxItemsParamsWithHTTPClient creates a new CreateTaxItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateTaxItemsParamsWithTimeout

func NewCreateTaxItemsParamsWithTimeout(timeout time.Duration) *CreateTaxItemsParams

NewCreateTaxItemsParamsWithTimeout creates a new CreateTaxItemsParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateTaxItemsParams) SetAccountID

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

SetAccountID adds the accountId to the create tax items params

func (*CreateTaxItemsParams) SetAutoCommit

func (o *CreateTaxItemsParams) SetAutoCommit(autoCommit *bool)

SetAutoCommit adds the autoCommit to the create tax items params

func (*CreateTaxItemsParams) SetBody

func (o *CreateTaxItemsParams) SetBody(body []*kbmodel.InvoiceItem)

SetBody adds the body to the create tax items params

func (*CreateTaxItemsParams) SetContext

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

SetContext adds the context to the create tax items params

func (*CreateTaxItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create tax items params

func (*CreateTaxItemsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create tax items params

func (*CreateTaxItemsParams) SetRequestedDate

func (o *CreateTaxItemsParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the create tax items params

func (*CreateTaxItemsParams) SetTimeout

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

SetTimeout adds the timeout to the create tax items params

func (*CreateTaxItemsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create tax items params

func (*CreateTaxItemsParams) SetXKillbillCreatedBy

func (o *CreateTaxItemsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create tax items params

func (*CreateTaxItemsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create tax items params

func (*CreateTaxItemsParams) WithAccountID

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

WithAccountID adds the accountID to the create tax items params

func (*CreateTaxItemsParams) WithAutoCommit

func (o *CreateTaxItemsParams) WithAutoCommit(autoCommit *bool) *CreateTaxItemsParams

WithAutoCommit adds the autoCommit to the create tax items params

func (*CreateTaxItemsParams) WithBody

WithBody adds the body to the create tax items params

func (*CreateTaxItemsParams) WithContext

WithContext adds the context to the create tax items params

func (*CreateTaxItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create tax items params

func (*CreateTaxItemsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create tax items params

func (*CreateTaxItemsParams) WithRequestedDate

func (o *CreateTaxItemsParams) WithRequestedDate(requestedDate *strfmt.Date) *CreateTaxItemsParams

WithRequestedDate adds the requestedDate to the create tax items params

func (*CreateTaxItemsParams) WithTimeout

func (o *CreateTaxItemsParams) WithTimeout(timeout time.Duration) *CreateTaxItemsParams

WithTimeout adds the timeout to the create tax items params

func (*CreateTaxItemsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create tax items params

func (*CreateTaxItemsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create tax items params

func (*CreateTaxItemsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create tax items params

func (*CreateTaxItemsParams) WriteToRequest

func (o *CreateTaxItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateTaxItemsReader

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

CreateTaxItemsReader is a Reader for the CreateTaxItems structure.

func (*CreateTaxItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCBABadRequest

type DeleteCBABadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteCBABadRequest handles this case with default header values.

Invalid account id, invoice id or invoice item id supplied

func NewDeleteCBABadRequest

func NewDeleteCBABadRequest() *DeleteCBABadRequest

NewDeleteCBABadRequest creates a DeleteCBABadRequest with default headers values

func (*DeleteCBABadRequest) Error

func (o *DeleteCBABadRequest) Error() string

type DeleteCBANoContent

type DeleteCBANoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteCBANoContent handles this case with default header values.

Successful operation

func NewDeleteCBANoContent

func NewDeleteCBANoContent() *DeleteCBANoContent

NewDeleteCBANoContent creates a DeleteCBANoContent with default headers values

func (*DeleteCBANoContent) Error

func (o *DeleteCBANoContent) Error() string

type DeleteCBANotFound

type DeleteCBANotFound struct {
	HttpResponse runtime.ClientResponse
}

DeleteCBANotFound handles this case with default header values.

Account or invoice not found

func NewDeleteCBANotFound

func NewDeleteCBANotFound() *DeleteCBANotFound

NewDeleteCBANotFound creates a DeleteCBANotFound with default headers values

func (*DeleteCBANotFound) Error

func (o *DeleteCBANotFound) Error() string

type DeleteCBAParams

type DeleteCBAParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*InvoiceID*/
	InvoiceID 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
}

DeleteCBAParams contains all the parameters to send to the API endpoint for the delete c b a operation typically these are written to a http.Request

func NewDeleteCBAParams

func NewDeleteCBAParams() *DeleteCBAParams

NewDeleteCBAParams creates a new DeleteCBAParams object with the default values initialized.

func NewDeleteCBAParamsWithContext

func NewDeleteCBAParamsWithContext(ctx context.Context) *DeleteCBAParams

NewDeleteCBAParamsWithContext creates a new DeleteCBAParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteCBAParamsWithHTTPClient

func NewDeleteCBAParamsWithHTTPClient(client *http.Client) *DeleteCBAParams

NewDeleteCBAParamsWithHTTPClient creates a new DeleteCBAParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteCBAParamsWithTimeout

func NewDeleteCBAParamsWithTimeout(timeout time.Duration) *DeleteCBAParams

NewDeleteCBAParamsWithTimeout creates a new DeleteCBAParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteCBAParams) SetAccountID

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

SetAccountID adds the accountId to the delete c b a params

func (*DeleteCBAParams) SetContext

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

SetContext adds the context to the delete c b a params

func (*DeleteCBAParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete c b a params

func (*DeleteCBAParams) SetInvoiceID

func (o *DeleteCBAParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the delete c b a params

func (*DeleteCBAParams) SetInvoiceItemID

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

SetInvoiceItemID adds the invoiceItemId to the delete c b a params

func (*DeleteCBAParams) SetTimeout

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

SetTimeout adds the timeout to the delete c b a params

func (*DeleteCBAParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete c b a params

func (*DeleteCBAParams) SetXKillbillCreatedBy

func (o *DeleteCBAParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete c b a params

func (*DeleteCBAParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete c b a params

func (*DeleteCBAParams) WithAccountID

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

WithAccountID adds the accountID to the delete c b a params

func (*DeleteCBAParams) WithContext

func (o *DeleteCBAParams) WithContext(ctx context.Context) *DeleteCBAParams

WithContext adds the context to the delete c b a params

func (*DeleteCBAParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete c b a params

func (*DeleteCBAParams) WithInvoiceID

func (o *DeleteCBAParams) WithInvoiceID(invoiceID strfmt.UUID) *DeleteCBAParams

WithInvoiceID adds the invoiceID to the delete c b a params

func (*DeleteCBAParams) WithInvoiceItemID

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

WithInvoiceItemID adds the invoiceItemID to the delete c b a params

func (*DeleteCBAParams) WithTimeout

func (o *DeleteCBAParams) WithTimeout(timeout time.Duration) *DeleteCBAParams

WithTimeout adds the timeout to the delete c b a params

func (*DeleteCBAParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete c b a params

func (*DeleteCBAParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete c b a params

func (*DeleteCBAParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete c b a params

func (*DeleteCBAParams) WriteToRequest

func (o *DeleteCBAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteCBAReader

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

DeleteCBAReader is a Reader for the DeleteCBA structure.

func (*DeleteCBAReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInvoiceCustomFieldsBadRequest

type DeleteInvoiceCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteInvoiceCustomFieldsBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewDeleteInvoiceCustomFieldsBadRequest

func NewDeleteInvoiceCustomFieldsBadRequest() *DeleteInvoiceCustomFieldsBadRequest

NewDeleteInvoiceCustomFieldsBadRequest creates a DeleteInvoiceCustomFieldsBadRequest with default headers values

func (*DeleteInvoiceCustomFieldsBadRequest) Error

type DeleteInvoiceCustomFieldsNoContent

type DeleteInvoiceCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteInvoiceCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewDeleteInvoiceCustomFieldsNoContent

func NewDeleteInvoiceCustomFieldsNoContent() *DeleteInvoiceCustomFieldsNoContent

NewDeleteInvoiceCustomFieldsNoContent creates a DeleteInvoiceCustomFieldsNoContent with default headers values

func (*DeleteInvoiceCustomFieldsNoContent) Error

type DeleteInvoiceCustomFieldsParams

type DeleteInvoiceCustomFieldsParams struct {

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

DeleteInvoiceCustomFieldsParams contains all the parameters to send to the API endpoint for the delete invoice custom fields operation typically these are written to a http.Request

func NewDeleteInvoiceCustomFieldsParams

func NewDeleteInvoiceCustomFieldsParams() *DeleteInvoiceCustomFieldsParams

NewDeleteInvoiceCustomFieldsParams creates a new DeleteInvoiceCustomFieldsParams object with the default values initialized.

func NewDeleteInvoiceCustomFieldsParamsWithContext

func NewDeleteInvoiceCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceCustomFieldsParams

NewDeleteInvoiceCustomFieldsParamsWithContext creates a new DeleteInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteInvoiceCustomFieldsParamsWithHTTPClient

func NewDeleteInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceCustomFieldsParams

NewDeleteInvoiceCustomFieldsParamsWithHTTPClient creates a new DeleteInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteInvoiceCustomFieldsParamsWithTimeout

func NewDeleteInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceCustomFieldsParams

NewDeleteInvoiceCustomFieldsParamsWithTimeout creates a new DeleteInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteInvoiceCustomFieldsParams) SetContext

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

SetContext adds the context to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) SetCustomField

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

SetCustomField adds the customField to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) SetInvoiceID

func (o *DeleteInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeleteInvoiceCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WithContext

WithContext adds the context to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete invoice custom fields params

func (*DeleteInvoiceCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInvoiceCustomFieldsReader

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

DeleteInvoiceCustomFieldsReader is a Reader for the DeleteInvoiceCustomFields structure.

func (*DeleteInvoiceCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInvoiceTagsBadRequest

type DeleteInvoiceTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteInvoiceTagsBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewDeleteInvoiceTagsBadRequest

func NewDeleteInvoiceTagsBadRequest() *DeleteInvoiceTagsBadRequest

NewDeleteInvoiceTagsBadRequest creates a DeleteInvoiceTagsBadRequest with default headers values

func (*DeleteInvoiceTagsBadRequest) Error

type DeleteInvoiceTagsNoContent

type DeleteInvoiceTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteInvoiceTagsNoContent handles this case with default header values.

Successful operation

func NewDeleteInvoiceTagsNoContent

func NewDeleteInvoiceTagsNoContent() *DeleteInvoiceTagsNoContent

NewDeleteInvoiceTagsNoContent creates a DeleteInvoiceTagsNoContent with default headers values

func (*DeleteInvoiceTagsNoContent) Error

type DeleteInvoiceTagsParams

type DeleteInvoiceTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*InvoiceID*/
	InvoiceID 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
}

DeleteInvoiceTagsParams contains all the parameters to send to the API endpoint for the delete invoice tags operation typically these are written to a http.Request

func NewDeleteInvoiceTagsParams

func NewDeleteInvoiceTagsParams() *DeleteInvoiceTagsParams

NewDeleteInvoiceTagsParams creates a new DeleteInvoiceTagsParams object with the default values initialized.

func NewDeleteInvoiceTagsParamsWithContext

func NewDeleteInvoiceTagsParamsWithContext(ctx context.Context) *DeleteInvoiceTagsParams

NewDeleteInvoiceTagsParamsWithContext creates a new DeleteInvoiceTagsParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteInvoiceTagsParamsWithHTTPClient

func NewDeleteInvoiceTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceTagsParams

NewDeleteInvoiceTagsParamsWithHTTPClient creates a new DeleteInvoiceTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteInvoiceTagsParamsWithTimeout

func NewDeleteInvoiceTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceTagsParams

NewDeleteInvoiceTagsParamsWithTimeout creates a new DeleteInvoiceTagsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteInvoiceTagsParams) SetContext

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

SetContext adds the context to the delete invoice tags params

func (*DeleteInvoiceTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete invoice tags params

func (*DeleteInvoiceTagsParams) SetInvoiceID

func (o *DeleteInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the delete invoice tags params

func (*DeleteInvoiceTagsParams) SetTagDef

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

SetTagDef adds the tagDef to the delete invoice tags params

func (*DeleteInvoiceTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete invoice tags params

func (*DeleteInvoiceTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete invoice tags params

func (*DeleteInvoiceTagsParams) SetXKillbillCreatedBy

func (o *DeleteInvoiceTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice tags params

func (*DeleteInvoiceTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WithContext

WithContext adds the context to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WithInvoiceID

func (o *DeleteInvoiceTagsParams) WithInvoiceID(invoiceID strfmt.UUID) *DeleteInvoiceTagsParams

WithInvoiceID adds the invoiceID to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WithTimeout

WithTimeout adds the timeout to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete invoice tags params

func (*DeleteInvoiceTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInvoiceTagsReader

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

DeleteInvoiceTagsReader is a Reader for the DeleteInvoiceTags structure.

func (*DeleteInvoiceTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GenerateDryRunInvoiceBadRequest

type GenerateDryRunInvoiceBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GenerateDryRunInvoiceBadRequest handles this case with default header values.

Invalid account id or target datetime supplied

func NewGenerateDryRunInvoiceBadRequest

func NewGenerateDryRunInvoiceBadRequest() *GenerateDryRunInvoiceBadRequest

NewGenerateDryRunInvoiceBadRequest creates a GenerateDryRunInvoiceBadRequest with default headers values

func (*GenerateDryRunInvoiceBadRequest) Error

type GenerateDryRunInvoiceNoContent

type GenerateDryRunInvoiceNoContent struct {
	HttpResponse runtime.ClientResponse
}

GenerateDryRunInvoiceNoContent handles this case with default header values.

Nothing to generate

func NewGenerateDryRunInvoiceNoContent

func NewGenerateDryRunInvoiceNoContent() *GenerateDryRunInvoiceNoContent

NewGenerateDryRunInvoiceNoContent creates a GenerateDryRunInvoiceNoContent with default headers values

func (*GenerateDryRunInvoiceNoContent) Error

type GenerateDryRunInvoiceOK

type GenerateDryRunInvoiceOK struct {
	Payload *kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

GenerateDryRunInvoiceOK handles this case with default header values.

successful operation

func NewGenerateDryRunInvoiceOK

func NewGenerateDryRunInvoiceOK() *GenerateDryRunInvoiceOK

NewGenerateDryRunInvoiceOK creates a GenerateDryRunInvoiceOK with default headers values

func (*GenerateDryRunInvoiceOK) Error

func (o *GenerateDryRunInvoiceOK) Error() string

type GenerateDryRunInvoiceParams

type GenerateDryRunInvoiceParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body *kbmodel.InvoiceDryRun
	/*TargetDate*/
	TargetDate *strfmt.Date

	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
}

GenerateDryRunInvoiceParams contains all the parameters to send to the API endpoint for the generate dry run invoice operation typically these are written to a http.Request

func NewGenerateDryRunInvoiceParams

func NewGenerateDryRunInvoiceParams() *GenerateDryRunInvoiceParams

NewGenerateDryRunInvoiceParams creates a new GenerateDryRunInvoiceParams object with the default values initialized.

func NewGenerateDryRunInvoiceParamsWithContext

func NewGenerateDryRunInvoiceParamsWithContext(ctx context.Context) *GenerateDryRunInvoiceParams

NewGenerateDryRunInvoiceParamsWithContext creates a new GenerateDryRunInvoiceParams object with the default values initialized, and the ability to set a context for a request

func NewGenerateDryRunInvoiceParamsWithHTTPClient

func NewGenerateDryRunInvoiceParamsWithHTTPClient(client *http.Client) *GenerateDryRunInvoiceParams

NewGenerateDryRunInvoiceParamsWithHTTPClient creates a new GenerateDryRunInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGenerateDryRunInvoiceParamsWithTimeout

func NewGenerateDryRunInvoiceParamsWithTimeout(timeout time.Duration) *GenerateDryRunInvoiceParams

NewGenerateDryRunInvoiceParamsWithTimeout creates a new GenerateDryRunInvoiceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GenerateDryRunInvoiceParams) SetAccountID

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

SetAccountID adds the accountId to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) SetBody

SetBody adds the body to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) SetContext

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

SetContext adds the context to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) SetTargetDate

func (o *GenerateDryRunInvoiceParams) SetTargetDate(targetDate *strfmt.Date)

SetTargetDate adds the targetDate to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) SetTimeout

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

SetTimeout adds the timeout to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) SetXKillbillCreatedBy

func (o *GenerateDryRunInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithAccountID

WithAccountID adds the accountID to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithBody

WithBody adds the body to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithContext

WithContext adds the context to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithTargetDate

func (o *GenerateDryRunInvoiceParams) WithTargetDate(targetDate *strfmt.Date) *GenerateDryRunInvoiceParams

WithTargetDate adds the targetDate to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithTimeout

WithTimeout adds the timeout to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateDryRunInvoiceReader

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

GenerateDryRunInvoiceReader is a Reader for the GenerateDryRunInvoice structure.

func (*GenerateDryRunInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCatalogTranslationBadRequest

type GetCatalogTranslationBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetCatalogTranslationBadRequest handles this case with default header values.

Invalid locale supplied

func NewGetCatalogTranslationBadRequest

func NewGetCatalogTranslationBadRequest() *GetCatalogTranslationBadRequest

NewGetCatalogTranslationBadRequest creates a GetCatalogTranslationBadRequest with default headers values

func (*GetCatalogTranslationBadRequest) Error

type GetCatalogTranslationNotFound

type GetCatalogTranslationNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetCatalogTranslationNotFound handles this case with default header values.

Template not found

func NewGetCatalogTranslationNotFound

func NewGetCatalogTranslationNotFound() *GetCatalogTranslationNotFound

NewGetCatalogTranslationNotFound creates a GetCatalogTranslationNotFound with default headers values

func (*GetCatalogTranslationNotFound) Error

type GetCatalogTranslationOK

type GetCatalogTranslationOK struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

GetCatalogTranslationOK handles this case with default header values.

successful operation

func NewGetCatalogTranslationOK

func NewGetCatalogTranslationOK() *GetCatalogTranslationOK

NewGetCatalogTranslationOK creates a GetCatalogTranslationOK with default headers values

func (*GetCatalogTranslationOK) Error

func (o *GetCatalogTranslationOK) Error() string

type GetCatalogTranslationParams

type GetCatalogTranslationParams struct {

	/*Locale*/
	Locale string

	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
}

GetCatalogTranslationParams contains all the parameters to send to the API endpoint for the get catalog translation operation typically these are written to a http.Request

func NewGetCatalogTranslationParams

func NewGetCatalogTranslationParams() *GetCatalogTranslationParams

NewGetCatalogTranslationParams creates a new GetCatalogTranslationParams object with the default values initialized.

func NewGetCatalogTranslationParamsWithContext

func NewGetCatalogTranslationParamsWithContext(ctx context.Context) *GetCatalogTranslationParams

NewGetCatalogTranslationParamsWithContext creates a new GetCatalogTranslationParams object with the default values initialized, and the ability to set a context for a request

func NewGetCatalogTranslationParamsWithHTTPClient

func NewGetCatalogTranslationParamsWithHTTPClient(client *http.Client) *GetCatalogTranslationParams

NewGetCatalogTranslationParamsWithHTTPClient creates a new GetCatalogTranslationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCatalogTranslationParamsWithTimeout

func NewGetCatalogTranslationParamsWithTimeout(timeout time.Duration) *GetCatalogTranslationParams

NewGetCatalogTranslationParamsWithTimeout creates a new GetCatalogTranslationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCatalogTranslationParams) SetContext

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

SetContext adds the context to the get catalog translation params

func (*GetCatalogTranslationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get catalog translation params

func (*GetCatalogTranslationParams) SetLocale

func (o *GetCatalogTranslationParams) SetLocale(locale string)

SetLocale adds the locale to the get catalog translation params

func (*GetCatalogTranslationParams) SetTimeout

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

SetTimeout adds the timeout to the get catalog translation params

func (*GetCatalogTranslationParams) WithContext

WithContext adds the context to the get catalog translation params

func (*GetCatalogTranslationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get catalog translation params

func (*GetCatalogTranslationParams) WithLocale

WithLocale adds the locale to the get catalog translation params

func (*GetCatalogTranslationParams) WithTimeout

WithTimeout adds the timeout to the get catalog translation params

func (*GetCatalogTranslationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCatalogTranslationReader

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

GetCatalogTranslationReader is a Reader for the GetCatalogTranslation structure.

func (*GetCatalogTranslationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceAsHTMLNotFound

type GetInvoiceAsHTMLNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceAsHTMLNotFound handles this case with default header values.

Invoice not found

func NewGetInvoiceAsHTMLNotFound

func NewGetInvoiceAsHTMLNotFound() *GetInvoiceAsHTMLNotFound

NewGetInvoiceAsHTMLNotFound creates a GetInvoiceAsHTMLNotFound with default headers values

func (*GetInvoiceAsHTMLNotFound) Error

func (o *GetInvoiceAsHTMLNotFound) Error() string

type GetInvoiceAsHTMLOK

type GetInvoiceAsHTMLOK struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

GetInvoiceAsHTMLOK handles this case with default header values.

successful operation

func NewGetInvoiceAsHTMLOK

func NewGetInvoiceAsHTMLOK() *GetInvoiceAsHTMLOK

NewGetInvoiceAsHTMLOK creates a GetInvoiceAsHTMLOK with default headers values

func (*GetInvoiceAsHTMLOK) Error

func (o *GetInvoiceAsHTMLOK) Error() string

type GetInvoiceAsHTMLParams

type GetInvoiceAsHTMLParams struct {

	/*InvoiceID*/
	InvoiceID 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
}

GetInvoiceAsHTMLParams contains all the parameters to send to the API endpoint for the get invoice as HTML operation typically these are written to a http.Request

func NewGetInvoiceAsHTMLParams

func NewGetInvoiceAsHTMLParams() *GetInvoiceAsHTMLParams

NewGetInvoiceAsHTMLParams creates a new GetInvoiceAsHTMLParams object with the default values initialized.

func NewGetInvoiceAsHTMLParamsWithContext

func NewGetInvoiceAsHTMLParamsWithContext(ctx context.Context) *GetInvoiceAsHTMLParams

NewGetInvoiceAsHTMLParamsWithContext creates a new GetInvoiceAsHTMLParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceAsHTMLParamsWithHTTPClient

func NewGetInvoiceAsHTMLParamsWithHTTPClient(client *http.Client) *GetInvoiceAsHTMLParams

NewGetInvoiceAsHTMLParamsWithHTTPClient creates a new GetInvoiceAsHTMLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceAsHTMLParamsWithTimeout

func NewGetInvoiceAsHTMLParamsWithTimeout(timeout time.Duration) *GetInvoiceAsHTMLParams

NewGetInvoiceAsHTMLParamsWithTimeout creates a new GetInvoiceAsHTMLParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceAsHTMLParams) SetContext

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

SetContext adds the context to the get invoice as HTML params

func (*GetInvoiceAsHTMLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice as HTML params

func (*GetInvoiceAsHTMLParams) SetInvoiceID

func (o *GetInvoiceAsHTMLParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the get invoice as HTML params

func (*GetInvoiceAsHTMLParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice as HTML params

func (*GetInvoiceAsHTMLParams) WithContext

WithContext adds the context to the get invoice as HTML params

func (*GetInvoiceAsHTMLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice as HTML params

func (*GetInvoiceAsHTMLParams) WithInvoiceID

func (o *GetInvoiceAsHTMLParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceAsHTMLParams

WithInvoiceID adds the invoiceID to the get invoice as HTML params

func (*GetInvoiceAsHTMLParams) WithTimeout

WithTimeout adds the timeout to the get invoice as HTML params

func (*GetInvoiceAsHTMLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceAsHTMLReader

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

GetInvoiceAsHTMLReader is a Reader for the GetInvoiceAsHTML structure.

func (*GetInvoiceAsHTMLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceBadRequest

type GetInvoiceBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewGetInvoiceBadRequest

func NewGetInvoiceBadRequest() *GetInvoiceBadRequest

NewGetInvoiceBadRequest creates a GetInvoiceBadRequest with default headers values

func (*GetInvoiceBadRequest) Error

func (o *GetInvoiceBadRequest) Error() string

type GetInvoiceByItemIDNotFound

type GetInvoiceByItemIDNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceByItemIDNotFound handles this case with default header values.

Invoice not found

func NewGetInvoiceByItemIDNotFound

func NewGetInvoiceByItemIDNotFound() *GetInvoiceByItemIDNotFound

NewGetInvoiceByItemIDNotFound creates a GetInvoiceByItemIDNotFound with default headers values

func (*GetInvoiceByItemIDNotFound) Error

type GetInvoiceByItemIDOK

type GetInvoiceByItemIDOK struct {
	Payload *kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

GetInvoiceByItemIDOK handles this case with default header values.

successful operation

func NewGetInvoiceByItemIDOK

func NewGetInvoiceByItemIDOK() *GetInvoiceByItemIDOK

NewGetInvoiceByItemIDOK creates a GetInvoiceByItemIDOK with default headers values

func (*GetInvoiceByItemIDOK) Error

func (o *GetInvoiceByItemIDOK) Error() string

type GetInvoiceByItemIDParams

type GetInvoiceByItemIDParams struct {

	/*Audit*/
	Audit *string
	/*ItemID*/
	ItemID strfmt.UUID
	/*WithChildrenItems*/
	WithChildrenItems *bool
	/*WithItems*/
	WithItems *bool

	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
}

GetInvoiceByItemIDParams contains all the parameters to send to the API endpoint for the get invoice by item Id operation typically these are written to a http.Request

func NewGetInvoiceByItemIDParams

func NewGetInvoiceByItemIDParams() *GetInvoiceByItemIDParams

NewGetInvoiceByItemIDParams creates a new GetInvoiceByItemIDParams object with the default values initialized.

func NewGetInvoiceByItemIDParamsWithContext

func NewGetInvoiceByItemIDParamsWithContext(ctx context.Context) *GetInvoiceByItemIDParams

NewGetInvoiceByItemIDParamsWithContext creates a new GetInvoiceByItemIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceByItemIDParamsWithHTTPClient

func NewGetInvoiceByItemIDParamsWithHTTPClient(client *http.Client) *GetInvoiceByItemIDParams

NewGetInvoiceByItemIDParamsWithHTTPClient creates a new GetInvoiceByItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceByItemIDParamsWithTimeout

func NewGetInvoiceByItemIDParamsWithTimeout(timeout time.Duration) *GetInvoiceByItemIDParams

NewGetInvoiceByItemIDParamsWithTimeout creates a new GetInvoiceByItemIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceByItemIDParams) SetAudit

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

SetAudit adds the audit to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) SetContext

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

SetContext adds the context to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) SetItemID

func (o *GetInvoiceByItemIDParams) SetItemID(itemID strfmt.UUID)

SetItemID adds the itemId to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) SetWithChildrenItems

func (o *GetInvoiceByItemIDParams) SetWithChildrenItems(withChildrenItems *bool)

SetWithChildrenItems adds the withChildrenItems to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) SetWithItems

func (o *GetInvoiceByItemIDParams) SetWithItems(withItems *bool)

SetWithItems adds the withItems to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) WithAudit

WithAudit adds the audit to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) WithContext

WithContext adds the context to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) WithItemID

WithItemID adds the itemID to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) WithTimeout

WithTimeout adds the timeout to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) WithWithChildrenItems

func (o *GetInvoiceByItemIDParams) WithWithChildrenItems(withChildrenItems *bool) *GetInvoiceByItemIDParams

WithWithChildrenItems adds the withChildrenItems to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) WithWithItems

func (o *GetInvoiceByItemIDParams) WithWithItems(withItems *bool) *GetInvoiceByItemIDParams

WithWithItems adds the withItems to the get invoice by item Id params

func (*GetInvoiceByItemIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceByItemIDReader

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

GetInvoiceByItemIDReader is a Reader for the GetInvoiceByItemID structure.

func (*GetInvoiceByItemIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceByNumberNotFound

type GetInvoiceByNumberNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceByNumberNotFound handles this case with default header values.

Invoice not found

func NewGetInvoiceByNumberNotFound

func NewGetInvoiceByNumberNotFound() *GetInvoiceByNumberNotFound

NewGetInvoiceByNumberNotFound creates a GetInvoiceByNumberNotFound with default headers values

func (*GetInvoiceByNumberNotFound) Error

type GetInvoiceByNumberOK

type GetInvoiceByNumberOK struct {
	Payload *kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

GetInvoiceByNumberOK handles this case with default header values.

successful operation

func NewGetInvoiceByNumberOK

func NewGetInvoiceByNumberOK() *GetInvoiceByNumberOK

NewGetInvoiceByNumberOK creates a GetInvoiceByNumberOK with default headers values

func (*GetInvoiceByNumberOK) Error

func (o *GetInvoiceByNumberOK) Error() string

type GetInvoiceByNumberParams

type GetInvoiceByNumberParams struct {

	/*Audit*/
	Audit *string
	/*InvoiceNumber*/
	InvoiceNumber int32
	/*WithChildrenItems*/
	WithChildrenItems *bool
	/*WithItems*/
	WithItems *bool

	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
}

GetInvoiceByNumberParams contains all the parameters to send to the API endpoint for the get invoice by number operation typically these are written to a http.Request

func NewGetInvoiceByNumberParams

func NewGetInvoiceByNumberParams() *GetInvoiceByNumberParams

NewGetInvoiceByNumberParams creates a new GetInvoiceByNumberParams object with the default values initialized.

func NewGetInvoiceByNumberParamsWithContext

func NewGetInvoiceByNumberParamsWithContext(ctx context.Context) *GetInvoiceByNumberParams

NewGetInvoiceByNumberParamsWithContext creates a new GetInvoiceByNumberParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceByNumberParamsWithHTTPClient

func NewGetInvoiceByNumberParamsWithHTTPClient(client *http.Client) *GetInvoiceByNumberParams

NewGetInvoiceByNumberParamsWithHTTPClient creates a new GetInvoiceByNumberParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceByNumberParamsWithTimeout

func NewGetInvoiceByNumberParamsWithTimeout(timeout time.Duration) *GetInvoiceByNumberParams

NewGetInvoiceByNumberParamsWithTimeout creates a new GetInvoiceByNumberParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceByNumberParams) SetAudit

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

SetAudit adds the audit to the get invoice by number params

func (*GetInvoiceByNumberParams) SetContext

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

SetContext adds the context to the get invoice by number params

func (*GetInvoiceByNumberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice by number params

func (*GetInvoiceByNumberParams) SetInvoiceNumber

func (o *GetInvoiceByNumberParams) SetInvoiceNumber(invoiceNumber int32)

SetInvoiceNumber adds the invoiceNumber to the get invoice by number params

func (*GetInvoiceByNumberParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice by number params

func (*GetInvoiceByNumberParams) SetWithChildrenItems

func (o *GetInvoiceByNumberParams) SetWithChildrenItems(withChildrenItems *bool)

SetWithChildrenItems adds the withChildrenItems to the get invoice by number params

func (*GetInvoiceByNumberParams) SetWithItems

func (o *GetInvoiceByNumberParams) SetWithItems(withItems *bool)

SetWithItems adds the withItems to the get invoice by number params

func (*GetInvoiceByNumberParams) WithAudit

WithAudit adds the audit to the get invoice by number params

func (*GetInvoiceByNumberParams) WithContext

WithContext adds the context to the get invoice by number params

func (*GetInvoiceByNumberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice by number params

func (*GetInvoiceByNumberParams) WithInvoiceNumber

func (o *GetInvoiceByNumberParams) WithInvoiceNumber(invoiceNumber int32) *GetInvoiceByNumberParams

WithInvoiceNumber adds the invoiceNumber to the get invoice by number params

func (*GetInvoiceByNumberParams) WithTimeout

WithTimeout adds the timeout to the get invoice by number params

func (*GetInvoiceByNumberParams) WithWithChildrenItems

func (o *GetInvoiceByNumberParams) WithWithChildrenItems(withChildrenItems *bool) *GetInvoiceByNumberParams

WithWithChildrenItems adds the withChildrenItems to the get invoice by number params

func (*GetInvoiceByNumberParams) WithWithItems

func (o *GetInvoiceByNumberParams) WithWithItems(withItems *bool) *GetInvoiceByNumberParams

WithWithItems adds the withItems to the get invoice by number params

func (*GetInvoiceByNumberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceByNumberReader

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

GetInvoiceByNumberReader is a Reader for the GetInvoiceByNumber structure.

func (*GetInvoiceByNumberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceCustomFieldsBadRequest

type GetInvoiceCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceCustomFieldsBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewGetInvoiceCustomFieldsBadRequest

func NewGetInvoiceCustomFieldsBadRequest() *GetInvoiceCustomFieldsBadRequest

NewGetInvoiceCustomFieldsBadRequest creates a GetInvoiceCustomFieldsBadRequest with default headers values

func (*GetInvoiceCustomFieldsBadRequest) Error

type GetInvoiceCustomFieldsOK

type GetInvoiceCustomFieldsOK struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

GetInvoiceCustomFieldsOK handles this case with default header values.

successful operation

func NewGetInvoiceCustomFieldsOK

func NewGetInvoiceCustomFieldsOK() *GetInvoiceCustomFieldsOK

NewGetInvoiceCustomFieldsOK creates a GetInvoiceCustomFieldsOK with default headers values

func (*GetInvoiceCustomFieldsOK) Error

func (o *GetInvoiceCustomFieldsOK) Error() string

type GetInvoiceCustomFieldsParams

type GetInvoiceCustomFieldsParams struct {

	/*Audit*/
	Audit *string
	/*InvoiceID*/
	InvoiceID 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
}

GetInvoiceCustomFieldsParams contains all the parameters to send to the API endpoint for the get invoice custom fields operation typically these are written to a http.Request

func NewGetInvoiceCustomFieldsParams

func NewGetInvoiceCustomFieldsParams() *GetInvoiceCustomFieldsParams

NewGetInvoiceCustomFieldsParams creates a new GetInvoiceCustomFieldsParams object with the default values initialized.

func NewGetInvoiceCustomFieldsParamsWithContext

func NewGetInvoiceCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceCustomFieldsParams

NewGetInvoiceCustomFieldsParamsWithContext creates a new GetInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceCustomFieldsParamsWithHTTPClient

func NewGetInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoiceCustomFieldsParams

NewGetInvoiceCustomFieldsParamsWithHTTPClient creates a new GetInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceCustomFieldsParamsWithTimeout

func NewGetInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoiceCustomFieldsParams

NewGetInvoiceCustomFieldsParamsWithTimeout creates a new GetInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) SetContext

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

SetContext adds the context to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) SetInvoiceID

func (o *GetInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) WithAudit

WithAudit adds the audit to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) WithContext

WithContext adds the context to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get invoice custom fields params

func (*GetInvoiceCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceCustomFieldsReader

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

GetInvoiceCustomFieldsReader is a Reader for the GetInvoiceCustomFields structure.

func (*GetInvoiceCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceMPTemplateNotFound

type GetInvoiceMPTemplateNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceMPTemplateNotFound handles this case with default header values.

Template not found

func NewGetInvoiceMPTemplateNotFound

func NewGetInvoiceMPTemplateNotFound() *GetInvoiceMPTemplateNotFound

NewGetInvoiceMPTemplateNotFound creates a GetInvoiceMPTemplateNotFound with default headers values

func (*GetInvoiceMPTemplateNotFound) Error

type GetInvoiceMPTemplateOK

type GetInvoiceMPTemplateOK struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

GetInvoiceMPTemplateOK handles this case with default header values.

successful operation

func NewGetInvoiceMPTemplateOK

func NewGetInvoiceMPTemplateOK() *GetInvoiceMPTemplateOK

NewGetInvoiceMPTemplateOK creates a GetInvoiceMPTemplateOK with default headers values

func (*GetInvoiceMPTemplateOK) Error

func (o *GetInvoiceMPTemplateOK) Error() string

type GetInvoiceMPTemplateParams

type GetInvoiceMPTemplateParams struct {

	/*Locale*/
	Locale string

	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
}

GetInvoiceMPTemplateParams contains all the parameters to send to the API endpoint for the get invoice m p template operation typically these are written to a http.Request

func NewGetInvoiceMPTemplateParams

func NewGetInvoiceMPTemplateParams() *GetInvoiceMPTemplateParams

NewGetInvoiceMPTemplateParams creates a new GetInvoiceMPTemplateParams object with the default values initialized.

func NewGetInvoiceMPTemplateParamsWithContext

func NewGetInvoiceMPTemplateParamsWithContext(ctx context.Context) *GetInvoiceMPTemplateParams

NewGetInvoiceMPTemplateParamsWithContext creates a new GetInvoiceMPTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceMPTemplateParamsWithHTTPClient

func NewGetInvoiceMPTemplateParamsWithHTTPClient(client *http.Client) *GetInvoiceMPTemplateParams

NewGetInvoiceMPTemplateParamsWithHTTPClient creates a new GetInvoiceMPTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceMPTemplateParamsWithTimeout

func NewGetInvoiceMPTemplateParamsWithTimeout(timeout time.Duration) *GetInvoiceMPTemplateParams

NewGetInvoiceMPTemplateParamsWithTimeout creates a new GetInvoiceMPTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceMPTemplateParams) SetContext

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

SetContext adds the context to the get invoice m p template params

func (*GetInvoiceMPTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice m p template params

func (*GetInvoiceMPTemplateParams) SetLocale

func (o *GetInvoiceMPTemplateParams) SetLocale(locale string)

SetLocale adds the locale to the get invoice m p template params

func (*GetInvoiceMPTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice m p template params

func (*GetInvoiceMPTemplateParams) WithContext

WithContext adds the context to the get invoice m p template params

func (*GetInvoiceMPTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoice m p template params

func (*GetInvoiceMPTemplateParams) WithLocale

WithLocale adds the locale to the get invoice m p template params

func (*GetInvoiceMPTemplateParams) WithTimeout

WithTimeout adds the timeout to the get invoice m p template params

func (*GetInvoiceMPTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceMPTemplateReader

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

GetInvoiceMPTemplateReader is a Reader for the GetInvoiceMPTemplate structure.

func (*GetInvoiceMPTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceNotFound

type GetInvoiceNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceNotFound handles this case with default header values.

Invoice not found

func NewGetInvoiceNotFound

func NewGetInvoiceNotFound() *GetInvoiceNotFound

NewGetInvoiceNotFound creates a GetInvoiceNotFound with default headers values

func (*GetInvoiceNotFound) Error

func (o *GetInvoiceNotFound) Error() string

type GetInvoiceOK

type GetInvoiceOK struct {
	Payload *kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

GetInvoiceOK handles this case with default header values.

successful operation

func NewGetInvoiceOK

func NewGetInvoiceOK() *GetInvoiceOK

NewGetInvoiceOK creates a GetInvoiceOK with default headers values

func (*GetInvoiceOK) Error

func (o *GetInvoiceOK) Error() string

type GetInvoiceParams

type GetInvoiceParams struct {

	/*Audit*/
	Audit *string
	/*InvoiceID*/
	InvoiceID strfmt.UUID
	/*WithChildrenItems*/
	WithChildrenItems *bool
	/*WithItems*/
	WithItems *bool

	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
}

GetInvoiceParams contains all the parameters to send to the API endpoint for the get invoice operation typically these are written to a http.Request

func NewGetInvoiceParams

func NewGetInvoiceParams() *GetInvoiceParams

NewGetInvoiceParams creates a new GetInvoiceParams object with the default values initialized.

func NewGetInvoiceParamsWithContext

func NewGetInvoiceParamsWithContext(ctx context.Context) *GetInvoiceParams

NewGetInvoiceParamsWithContext creates a new GetInvoiceParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceParamsWithHTTPClient

func NewGetInvoiceParamsWithHTTPClient(client *http.Client) *GetInvoiceParams

NewGetInvoiceParamsWithHTTPClient creates a new GetInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceParamsWithTimeout

func NewGetInvoiceParamsWithTimeout(timeout time.Duration) *GetInvoiceParams

NewGetInvoiceParamsWithTimeout creates a new GetInvoiceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceParams) SetAudit

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

SetAudit adds the audit to the get invoice params

func (*GetInvoiceParams) SetContext

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

SetContext adds the context to the get invoice params

func (*GetInvoiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice params

func (*GetInvoiceParams) SetInvoiceID

func (o *GetInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the get invoice params

func (*GetInvoiceParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice params

func (*GetInvoiceParams) SetWithChildrenItems

func (o *GetInvoiceParams) SetWithChildrenItems(withChildrenItems *bool)

SetWithChildrenItems adds the withChildrenItems to the get invoice params

func (*GetInvoiceParams) SetWithItems

func (o *GetInvoiceParams) SetWithItems(withItems *bool)

SetWithItems adds the withItems to the get invoice params

func (*GetInvoiceParams) WithAudit

func (o *GetInvoiceParams) WithAudit(audit *string) *GetInvoiceParams

WithAudit adds the audit to the get invoice params

func (*GetInvoiceParams) WithContext

func (o *GetInvoiceParams) WithContext(ctx context.Context) *GetInvoiceParams

WithContext adds the context to the get invoice params

func (*GetInvoiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice params

func (*GetInvoiceParams) WithInvoiceID

func (o *GetInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceParams

WithInvoiceID adds the invoiceID to the get invoice params

func (*GetInvoiceParams) WithTimeout

func (o *GetInvoiceParams) WithTimeout(timeout time.Duration) *GetInvoiceParams

WithTimeout adds the timeout to the get invoice params

func (*GetInvoiceParams) WithWithChildrenItems

func (o *GetInvoiceParams) WithWithChildrenItems(withChildrenItems *bool) *GetInvoiceParams

WithWithChildrenItems adds the withChildrenItems to the get invoice params

func (*GetInvoiceParams) WithWithItems

func (o *GetInvoiceParams) WithWithItems(withItems *bool) *GetInvoiceParams

WithWithItems adds the withItems to the get invoice params

func (*GetInvoiceParams) WriteToRequest

func (o *GetInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetInvoiceReader

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

GetInvoiceReader is a Reader for the GetInvoice structure.

func (*GetInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceTagsBadRequest

type GetInvoiceTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceTagsBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewGetInvoiceTagsBadRequest

func NewGetInvoiceTagsBadRequest() *GetInvoiceTagsBadRequest

NewGetInvoiceTagsBadRequest creates a GetInvoiceTagsBadRequest with default headers values

func (*GetInvoiceTagsBadRequest) Error

func (o *GetInvoiceTagsBadRequest) Error() string

type GetInvoiceTagsNotFound

type GetInvoiceTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceTagsNotFound handles this case with default header values.

Invoice not found

func NewGetInvoiceTagsNotFound

func NewGetInvoiceTagsNotFound() *GetInvoiceTagsNotFound

NewGetInvoiceTagsNotFound creates a GetInvoiceTagsNotFound with default headers values

func (*GetInvoiceTagsNotFound) Error

func (o *GetInvoiceTagsNotFound) Error() string

type GetInvoiceTagsOK

type GetInvoiceTagsOK struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

GetInvoiceTagsOK handles this case with default header values.

successful operation

func NewGetInvoiceTagsOK

func NewGetInvoiceTagsOK() *GetInvoiceTagsOK

NewGetInvoiceTagsOK creates a GetInvoiceTagsOK with default headers values

func (*GetInvoiceTagsOK) Error

func (o *GetInvoiceTagsOK) Error() string

type GetInvoiceTagsParams

type GetInvoiceTagsParams struct {

	/*Audit*/
	Audit *string
	/*IncludedDeleted*/
	IncludedDeleted *bool
	/*InvoiceID*/
	InvoiceID 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
}

GetInvoiceTagsParams contains all the parameters to send to the API endpoint for the get invoice tags operation typically these are written to a http.Request

func NewGetInvoiceTagsParams

func NewGetInvoiceTagsParams() *GetInvoiceTagsParams

NewGetInvoiceTagsParams creates a new GetInvoiceTagsParams object with the default values initialized.

func NewGetInvoiceTagsParamsWithContext

func NewGetInvoiceTagsParamsWithContext(ctx context.Context) *GetInvoiceTagsParams

NewGetInvoiceTagsParamsWithContext creates a new GetInvoiceTagsParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceTagsParamsWithHTTPClient

func NewGetInvoiceTagsParamsWithHTTPClient(client *http.Client) *GetInvoiceTagsParams

NewGetInvoiceTagsParamsWithHTTPClient creates a new GetInvoiceTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceTagsParamsWithTimeout

func NewGetInvoiceTagsParamsWithTimeout(timeout time.Duration) *GetInvoiceTagsParams

NewGetInvoiceTagsParamsWithTimeout creates a new GetInvoiceTagsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceTagsParams) SetAudit

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

SetAudit adds the audit to the get invoice tags params

func (*GetInvoiceTagsParams) SetContext

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

SetContext adds the context to the get invoice tags params

func (*GetInvoiceTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice tags params

func (*GetInvoiceTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get invoice tags params

func (*GetInvoiceTagsParams) SetInvoiceID

func (o *GetInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the get invoice tags params

func (*GetInvoiceTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice tags params

func (*GetInvoiceTagsParams) WithAudit

func (o *GetInvoiceTagsParams) WithAudit(audit *string) *GetInvoiceTagsParams

WithAudit adds the audit to the get invoice tags params

func (*GetInvoiceTagsParams) WithContext

WithContext adds the context to the get invoice tags params

func (*GetInvoiceTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice tags params

func (*GetInvoiceTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get invoice tags params

func (*GetInvoiceTagsParams) WithInvoiceID

func (o *GetInvoiceTagsParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceTagsParams

WithInvoiceID adds the invoiceID to the get invoice tags params

func (*GetInvoiceTagsParams) WithTimeout

func (o *GetInvoiceTagsParams) WithTimeout(timeout time.Duration) *GetInvoiceTagsParams

WithTimeout adds the timeout to the get invoice tags params

func (*GetInvoiceTagsParams) WriteToRequest

func (o *GetInvoiceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetInvoiceTagsReader

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

GetInvoiceTagsReader is a Reader for the GetInvoiceTags structure.

func (*GetInvoiceTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceTemplateNotFound

type GetInvoiceTemplateNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceTemplateNotFound handles this case with default header values.

Template not found

func NewGetInvoiceTemplateNotFound

func NewGetInvoiceTemplateNotFound() *GetInvoiceTemplateNotFound

NewGetInvoiceTemplateNotFound creates a GetInvoiceTemplateNotFound with default headers values

func (*GetInvoiceTemplateNotFound) Error

type GetInvoiceTemplateOK

type GetInvoiceTemplateOK struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

GetInvoiceTemplateOK handles this case with default header values.

successful operation

func NewGetInvoiceTemplateOK

func NewGetInvoiceTemplateOK() *GetInvoiceTemplateOK

NewGetInvoiceTemplateOK creates a GetInvoiceTemplateOK with default headers values

func (*GetInvoiceTemplateOK) Error

func (o *GetInvoiceTemplateOK) Error() string

type GetInvoiceTemplateParams

type GetInvoiceTemplateParams struct {
	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
}

GetInvoiceTemplateParams contains all the parameters to send to the API endpoint for the get invoice template operation typically these are written to a http.Request

func NewGetInvoiceTemplateParams

func NewGetInvoiceTemplateParams() *GetInvoiceTemplateParams

NewGetInvoiceTemplateParams creates a new GetInvoiceTemplateParams object with the default values initialized.

func NewGetInvoiceTemplateParamsWithContext

func NewGetInvoiceTemplateParamsWithContext(ctx context.Context) *GetInvoiceTemplateParams

NewGetInvoiceTemplateParamsWithContext creates a new GetInvoiceTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceTemplateParamsWithHTTPClient

func NewGetInvoiceTemplateParamsWithHTTPClient(client *http.Client) *GetInvoiceTemplateParams

NewGetInvoiceTemplateParamsWithHTTPClient creates a new GetInvoiceTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceTemplateParamsWithTimeout

func NewGetInvoiceTemplateParamsWithTimeout(timeout time.Duration) *GetInvoiceTemplateParams

NewGetInvoiceTemplateParamsWithTimeout creates a new GetInvoiceTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceTemplateParams) SetContext

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

SetContext adds the context to the get invoice template params

func (*GetInvoiceTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice template params

func (*GetInvoiceTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice template params

func (*GetInvoiceTemplateParams) WithContext

WithContext adds the context to the get invoice template params

func (*GetInvoiceTemplateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice template params

func (*GetInvoiceTemplateParams) WithTimeout

WithTimeout adds the timeout to the get invoice template params

func (*GetInvoiceTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceTemplateReader

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

GetInvoiceTemplateReader is a Reader for the GetInvoiceTemplate structure.

func (*GetInvoiceTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceTranslationBadRequest

type GetInvoiceTranslationBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceTranslationBadRequest handles this case with default header values.

Invalid locale supplied

func NewGetInvoiceTranslationBadRequest

func NewGetInvoiceTranslationBadRequest() *GetInvoiceTranslationBadRequest

NewGetInvoiceTranslationBadRequest creates a GetInvoiceTranslationBadRequest with default headers values

func (*GetInvoiceTranslationBadRequest) Error

type GetInvoiceTranslationNotFound

type GetInvoiceTranslationNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoiceTranslationNotFound handles this case with default header values.

Translation not found

func NewGetInvoiceTranslationNotFound

func NewGetInvoiceTranslationNotFound() *GetInvoiceTranslationNotFound

NewGetInvoiceTranslationNotFound creates a GetInvoiceTranslationNotFound with default headers values

func (*GetInvoiceTranslationNotFound) Error

type GetInvoiceTranslationOK

type GetInvoiceTranslationOK struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

GetInvoiceTranslationOK handles this case with default header values.

successful operation

func NewGetInvoiceTranslationOK

func NewGetInvoiceTranslationOK() *GetInvoiceTranslationOK

NewGetInvoiceTranslationOK creates a GetInvoiceTranslationOK with default headers values

func (*GetInvoiceTranslationOK) Error

func (o *GetInvoiceTranslationOK) Error() string

type GetInvoiceTranslationParams

type GetInvoiceTranslationParams struct {

	/*Locale*/
	Locale string

	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
}

GetInvoiceTranslationParams contains all the parameters to send to the API endpoint for the get invoice translation operation typically these are written to a http.Request

func NewGetInvoiceTranslationParams

func NewGetInvoiceTranslationParams() *GetInvoiceTranslationParams

NewGetInvoiceTranslationParams creates a new GetInvoiceTranslationParams object with the default values initialized.

func NewGetInvoiceTranslationParamsWithContext

func NewGetInvoiceTranslationParamsWithContext(ctx context.Context) *GetInvoiceTranslationParams

NewGetInvoiceTranslationParamsWithContext creates a new GetInvoiceTranslationParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoiceTranslationParamsWithHTTPClient

func NewGetInvoiceTranslationParamsWithHTTPClient(client *http.Client) *GetInvoiceTranslationParams

NewGetInvoiceTranslationParamsWithHTTPClient creates a new GetInvoiceTranslationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoiceTranslationParamsWithTimeout

func NewGetInvoiceTranslationParamsWithTimeout(timeout time.Duration) *GetInvoiceTranslationParams

NewGetInvoiceTranslationParamsWithTimeout creates a new GetInvoiceTranslationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoiceTranslationParams) SetContext

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

SetContext adds the context to the get invoice translation params

func (*GetInvoiceTranslationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice translation params

func (*GetInvoiceTranslationParams) SetLocale

func (o *GetInvoiceTranslationParams) SetLocale(locale string)

SetLocale adds the locale to the get invoice translation params

func (*GetInvoiceTranslationParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice translation params

func (*GetInvoiceTranslationParams) WithContext

WithContext adds the context to the get invoice translation params

func (*GetInvoiceTranslationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoice translation params

func (*GetInvoiceTranslationParams) WithLocale

WithLocale adds the locale to the get invoice translation params

func (*GetInvoiceTranslationParams) WithTimeout

WithTimeout adds the timeout to the get invoice translation params

func (*GetInvoiceTranslationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceTranslationReader

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

GetInvoiceTranslationReader is a Reader for the GetInvoiceTranslation structure.

func (*GetInvoiceTranslationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicesOK

type GetInvoicesOK struct {
	Payload []*kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

GetInvoicesOK handles this case with default header values.

successful operation

func NewGetInvoicesOK

func NewGetInvoicesOK() *GetInvoicesOK

NewGetInvoicesOK creates a GetInvoicesOK with default headers values

func (*GetInvoicesOK) Error

func (o *GetInvoicesOK) Error() string

type GetInvoicesParams

type GetInvoicesParams struct {

	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*WithItems*/
	WithItems *bool

	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
}

GetInvoicesParams contains all the parameters to send to the API endpoint for the get invoices operation typically these are written to a http.Request

func NewGetInvoicesParams

func NewGetInvoicesParams() *GetInvoicesParams

NewGetInvoicesParams creates a new GetInvoicesParams object with the default values initialized.

func NewGetInvoicesParamsWithContext

func NewGetInvoicesParamsWithContext(ctx context.Context) *GetInvoicesParams

NewGetInvoicesParamsWithContext creates a new GetInvoicesParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvoicesParamsWithHTTPClient

func NewGetInvoicesParamsWithHTTPClient(client *http.Client) *GetInvoicesParams

NewGetInvoicesParamsWithHTTPClient creates a new GetInvoicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvoicesParamsWithTimeout

func NewGetInvoicesParamsWithTimeout(timeout time.Duration) *GetInvoicesParams

NewGetInvoicesParamsWithTimeout creates a new GetInvoicesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvoicesParams) SetAudit

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

SetAudit adds the audit to the get invoices params

func (*GetInvoicesParams) SetContext

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

SetContext adds the context to the get invoices params

func (*GetInvoicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoices params

func (*GetInvoicesParams) SetLimit

func (o *GetInvoicesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get invoices params

func (*GetInvoicesParams) SetOffset

func (o *GetInvoicesParams) SetOffset(offset *int64)

SetOffset adds the offset to the get invoices params

func (*GetInvoicesParams) SetTimeout

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

SetTimeout adds the timeout to the get invoices params

func (*GetInvoicesParams) SetWithItems

func (o *GetInvoicesParams) SetWithItems(withItems *bool)

SetWithItems adds the withItems to the get invoices params

func (*GetInvoicesParams) WithAudit

func (o *GetInvoicesParams) WithAudit(audit *string) *GetInvoicesParams

WithAudit adds the audit to the get invoices params

func (*GetInvoicesParams) WithContext

func (o *GetInvoicesParams) WithContext(ctx context.Context) *GetInvoicesParams

WithContext adds the context to the get invoices params

func (*GetInvoicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoices params

func (*GetInvoicesParams) WithLimit

func (o *GetInvoicesParams) WithLimit(limit *int64) *GetInvoicesParams

WithLimit adds the limit to the get invoices params

func (*GetInvoicesParams) WithOffset

func (o *GetInvoicesParams) WithOffset(offset *int64) *GetInvoicesParams

WithOffset adds the offset to the get invoices params

func (*GetInvoicesParams) WithTimeout

func (o *GetInvoicesParams) WithTimeout(timeout time.Duration) *GetInvoicesParams

WithTimeout adds the timeout to the get invoices params

func (*GetInvoicesParams) WithWithItems

func (o *GetInvoicesParams) WithWithItems(withItems *bool) *GetInvoicesParams

WithWithItems adds the withItems to the get invoices params

func (*GetInvoicesParams) WriteToRequest

func (o *GetInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetInvoicesReader

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

GetInvoicesReader is a Reader for the GetInvoices structure.

func (*GetInvoicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentsForInvoiceBadRequest

type GetPaymentsForInvoiceBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentsForInvoiceBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewGetPaymentsForInvoiceBadRequest

func NewGetPaymentsForInvoiceBadRequest() *GetPaymentsForInvoiceBadRequest

NewGetPaymentsForInvoiceBadRequest creates a GetPaymentsForInvoiceBadRequest with default headers values

func (*GetPaymentsForInvoiceBadRequest) Error

type GetPaymentsForInvoiceNotFound

type GetPaymentsForInvoiceNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentsForInvoiceNotFound handles this case with default header values.

Invoice not found

func NewGetPaymentsForInvoiceNotFound

func NewGetPaymentsForInvoiceNotFound() *GetPaymentsForInvoiceNotFound

NewGetPaymentsForInvoiceNotFound creates a GetPaymentsForInvoiceNotFound with default headers values

func (*GetPaymentsForInvoiceNotFound) Error

type GetPaymentsForInvoiceOK

type GetPaymentsForInvoiceOK struct {
	Payload []*kbmodel.InvoicePayment

	HttpResponse runtime.ClientResponse
}

GetPaymentsForInvoiceOK handles this case with default header values.

successful operation

func NewGetPaymentsForInvoiceOK

func NewGetPaymentsForInvoiceOK() *GetPaymentsForInvoiceOK

NewGetPaymentsForInvoiceOK creates a GetPaymentsForInvoiceOK with default headers values

func (*GetPaymentsForInvoiceOK) Error

func (o *GetPaymentsForInvoiceOK) Error() string

type GetPaymentsForInvoiceParams

type GetPaymentsForInvoiceParams struct {

	/*Audit*/
	Audit *string
	/*InvoiceID*/
	InvoiceID strfmt.UUID
	/*WithAttempts*/
	WithAttempts *bool
	/*WithPluginInfo*/
	WithPluginInfo *bool

	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
}

GetPaymentsForInvoiceParams contains all the parameters to send to the API endpoint for the get payments for invoice operation typically these are written to a http.Request

func NewGetPaymentsForInvoiceParams

func NewGetPaymentsForInvoiceParams() *GetPaymentsForInvoiceParams

NewGetPaymentsForInvoiceParams creates a new GetPaymentsForInvoiceParams object with the default values initialized.

func NewGetPaymentsForInvoiceParamsWithContext

func NewGetPaymentsForInvoiceParamsWithContext(ctx context.Context) *GetPaymentsForInvoiceParams

NewGetPaymentsForInvoiceParamsWithContext creates a new GetPaymentsForInvoiceParams object with the default values initialized, and the ability to set a context for a request

func NewGetPaymentsForInvoiceParamsWithHTTPClient

func NewGetPaymentsForInvoiceParamsWithHTTPClient(client *http.Client) *GetPaymentsForInvoiceParams

NewGetPaymentsForInvoiceParamsWithHTTPClient creates a new GetPaymentsForInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPaymentsForInvoiceParamsWithTimeout

func NewGetPaymentsForInvoiceParamsWithTimeout(timeout time.Duration) *GetPaymentsForInvoiceParams

NewGetPaymentsForInvoiceParamsWithTimeout creates a new GetPaymentsForInvoiceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPaymentsForInvoiceParams) SetAudit

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

SetAudit adds the audit to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) SetContext

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

SetContext adds the context to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) SetInvoiceID

func (o *GetPaymentsForInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) SetTimeout

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

SetTimeout adds the timeout to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) SetWithAttempts

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

SetWithAttempts adds the withAttempts to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) WithAudit

WithAudit adds the audit to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) WithContext

WithContext adds the context to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) WithTimeout

WithTimeout adds the timeout to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) WithWithAttempts

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

WithWithAttempts adds the withAttempts to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the get payments for invoice params

func (*GetPaymentsForInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentsForInvoiceReader

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

GetPaymentsForInvoiceReader is a Reader for the GetPaymentsForInvoice structure.

func (*GetPaymentsForInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IInvoice

type IInvoice interface {
	/*
		AdjustInvoiceItem adjusts an invoice item
	*/
	AdjustInvoiceItem(ctx context.Context, params *AdjustInvoiceItemParams) (*AdjustInvoiceItemCreated, error)

	/*
		CommitInvoice performs the invoice status transition from d r a f t to c o m m i t t e d
	*/
	CommitInvoice(ctx context.Context, params *CommitInvoiceParams) (*CommitInvoiceNoContent, error)

	/*
		CreateExternalCharges creates external charge s
	*/
	CreateExternalCharges(ctx context.Context, params *CreateExternalChargesParams) (*CreateExternalChargesCreated, error)

	/*
		CreateFutureInvoice triggers an invoice generation
	*/
	CreateFutureInvoice(ctx context.Context, params *CreateFutureInvoiceParams) (*CreateFutureInvoiceCreated, error)

	/*
		CreateInstantPayment triggers a payment for invoice
	*/
	CreateInstantPayment(ctx context.Context, params *CreateInstantPaymentParams) (*CreateInstantPaymentCreated, *CreateInstantPaymentNoContent, error)

	/*
		CreateInvoiceCustomFields adds custom fields to invoice
	*/
	CreateInvoiceCustomFields(ctx context.Context, params *CreateInvoiceCustomFieldsParams) (*CreateInvoiceCustomFieldsCreated, error)

	/*
		CreateInvoiceTags adds tags to invoice
	*/
	CreateInvoiceTags(ctx context.Context, params *CreateInvoiceTagsParams) (*CreateInvoiceTagsCreated, error)

	/*
		CreateMigrationInvoice creates a migration invoice
	*/
	CreateMigrationInvoice(ctx context.Context, params *CreateMigrationInvoiceParams) (*CreateMigrationInvoiceCreated, error)

	/*
		CreateTaxItems creates tax items
	*/
	CreateTaxItems(ctx context.Context, params *CreateTaxItemsParams) (*CreateTaxItemsCreated, error)

	/*
		DeleteCBA deletes a c b a item
	*/
	DeleteCBA(ctx context.Context, params *DeleteCBAParams) (*DeleteCBANoContent, error)

	/*
		DeleteInvoiceCustomFields removes custom fields from invoice
	*/
	DeleteInvoiceCustomFields(ctx context.Context, params *DeleteInvoiceCustomFieldsParams) (*DeleteInvoiceCustomFieldsNoContent, error)

	/*
		DeleteInvoiceTags removes tags from invoice
	*/
	DeleteInvoiceTags(ctx context.Context, params *DeleteInvoiceTagsParams) (*DeleteInvoiceTagsNoContent, error)

	/*
		GenerateDryRunInvoice generates a dry run invoice
	*/
	GenerateDryRunInvoice(ctx context.Context, params *GenerateDryRunInvoiceParams) (*GenerateDryRunInvoiceOK, *GenerateDryRunInvoiceNoContent, error)

	/*
		GetCatalogTranslation retrieves the catalog translation for the tenant
	*/
	GetCatalogTranslation(ctx context.Context, params *GetCatalogTranslationParams) (*GetCatalogTranslationOK, error)

	/*
		GetInvoice retrieves an invoice by id
	*/
	GetInvoice(ctx context.Context, params *GetInvoiceParams) (*GetInvoiceOK, error)

	/*
		GetInvoiceAsHTML renders an invoice as HTML
	*/
	GetInvoiceAsHTML(ctx context.Context, params *GetInvoiceAsHTMLParams) (*GetInvoiceAsHTMLOK, error)

	/*
		GetInvoiceByItemID retrieves an invoice by invoice item id
	*/
	GetInvoiceByItemID(ctx context.Context, params *GetInvoiceByItemIDParams) (*GetInvoiceByItemIDOK, error)

	/*
		GetInvoiceByNumber retrieves an invoice by number
	*/
	GetInvoiceByNumber(ctx context.Context, params *GetInvoiceByNumberParams) (*GetInvoiceByNumberOK, error)

	/*
		GetInvoiceCustomFields retrieves invoice custom fields
	*/
	GetInvoiceCustomFields(ctx context.Context, params *GetInvoiceCustomFieldsParams) (*GetInvoiceCustomFieldsOK, error)

	/*
		GetInvoiceMPTemplate retrieves the manual pay invoice template for the tenant
	*/
	GetInvoiceMPTemplate(ctx context.Context, params *GetInvoiceMPTemplateParams) (*GetInvoiceMPTemplateOK, error)

	/*
		GetInvoiceTags retrieves invoice tags
	*/
	GetInvoiceTags(ctx context.Context, params *GetInvoiceTagsParams) (*GetInvoiceTagsOK, error)

	/*
		GetInvoiceTemplate retrieves the invoice template for the tenant
	*/
	GetInvoiceTemplate(ctx context.Context, params *GetInvoiceTemplateParams) (*GetInvoiceTemplateOK, error)

	/*
		GetInvoiceTranslation retrieves the invoice translation for the tenant
	*/
	GetInvoiceTranslation(ctx context.Context, params *GetInvoiceTranslationParams) (*GetInvoiceTranslationOK, error)

	/*
		GetInvoices lists invoices
	*/
	GetInvoices(ctx context.Context, params *GetInvoicesParams) (*GetInvoicesOK, error)

	/*
		GetPaymentsForInvoice retrieves payments associated with an invoice
	*/
	GetPaymentsForInvoice(ctx context.Context, params *GetPaymentsForInvoiceParams) (*GetPaymentsForInvoiceOK, error)

	/*
		ModifyInvoiceCustomFields modifies custom fields to invoice
	*/
	ModifyInvoiceCustomFields(ctx context.Context, params *ModifyInvoiceCustomFieldsParams) (*ModifyInvoiceCustomFieldsNoContent, error)

	/*
		SearchInvoices searches invoices
	*/
	SearchInvoices(ctx context.Context, params *SearchInvoicesParams) (*SearchInvoicesOK, error)

	/*
		UploadCatalogTranslation uploads the catalog translation for the tenant
	*/
	UploadCatalogTranslation(ctx context.Context, params *UploadCatalogTranslationParams) (*UploadCatalogTranslationCreated, error)

	/*
		UploadInvoiceMPTemplate uploads the manual pay invoice template for the tenant
	*/
	UploadInvoiceMPTemplate(ctx context.Context, params *UploadInvoiceMPTemplateParams) (*UploadInvoiceMPTemplateOK, error)

	/*
		UploadInvoiceTemplate uploads the invoice template for the tenant
	*/
	UploadInvoiceTemplate(ctx context.Context, params *UploadInvoiceTemplateParams) (*UploadInvoiceTemplateCreated, error)

	/*
		UploadInvoiceTranslation uploads the invoice translation for the tenant
	*/
	UploadInvoiceTranslation(ctx context.Context, params *UploadInvoiceTranslationParams) (*UploadInvoiceTranslationCreated, error)

	/*
		VoidInvoice performs the action of voiding an invoice
	*/
	VoidInvoice(ctx context.Context, params *VoidInvoiceParams) (*VoidInvoiceNoContent, error)
}

IInvoice - interface for Invoice 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 ModifyInvoiceCustomFieldsBadRequest

type ModifyInvoiceCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifyInvoiceCustomFieldsBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewModifyInvoiceCustomFieldsBadRequest

func NewModifyInvoiceCustomFieldsBadRequest() *ModifyInvoiceCustomFieldsBadRequest

NewModifyInvoiceCustomFieldsBadRequest creates a ModifyInvoiceCustomFieldsBadRequest with default headers values

func (*ModifyInvoiceCustomFieldsBadRequest) Error

type ModifyInvoiceCustomFieldsNoContent

type ModifyInvoiceCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyInvoiceCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewModifyInvoiceCustomFieldsNoContent

func NewModifyInvoiceCustomFieldsNoContent() *ModifyInvoiceCustomFieldsNoContent

NewModifyInvoiceCustomFieldsNoContent creates a ModifyInvoiceCustomFieldsNoContent with default headers values

func (*ModifyInvoiceCustomFieldsNoContent) Error

type ModifyInvoiceCustomFieldsParams

type ModifyInvoiceCustomFieldsParams struct {

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

ModifyInvoiceCustomFieldsParams contains all the parameters to send to the API endpoint for the modify invoice custom fields operation typically these are written to a http.Request

func NewModifyInvoiceCustomFieldsParams

func NewModifyInvoiceCustomFieldsParams() *ModifyInvoiceCustomFieldsParams

NewModifyInvoiceCustomFieldsParams creates a new ModifyInvoiceCustomFieldsParams object with the default values initialized.

func NewModifyInvoiceCustomFieldsParamsWithContext

func NewModifyInvoiceCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceCustomFieldsParams

NewModifyInvoiceCustomFieldsParamsWithContext creates a new ModifyInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a context for a request

func NewModifyInvoiceCustomFieldsParamsWithHTTPClient

func NewModifyInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoiceCustomFieldsParams

NewModifyInvoiceCustomFieldsParamsWithHTTPClient creates a new ModifyInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewModifyInvoiceCustomFieldsParamsWithTimeout

func NewModifyInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoiceCustomFieldsParams

NewModifyInvoiceCustomFieldsParamsWithTimeout creates a new ModifyInvoiceCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ModifyInvoiceCustomFieldsParams) SetBody

SetBody adds the body to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) SetContext

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

SetContext adds the context to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) SetInvoiceID

func (o *ModifyInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyInvoiceCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WithBody

WithBody adds the body to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WithContext

WithContext adds the context to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the modify invoice custom fields params

func (*ModifyInvoiceCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyInvoiceCustomFieldsReader

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

ModifyInvoiceCustomFieldsReader is a Reader for the ModifyInvoiceCustomFields structure.

func (*ModifyInvoiceCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchInvoicesOK

type SearchInvoicesOK struct {
	Payload []*kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

SearchInvoicesOK handles this case with default header values.

successful operation

func NewSearchInvoicesOK

func NewSearchInvoicesOK() *SearchInvoicesOK

NewSearchInvoicesOK creates a SearchInvoicesOK with default headers values

func (*SearchInvoicesOK) Error

func (o *SearchInvoicesOK) Error() string

type SearchInvoicesParams

type SearchInvoicesParams struct {

	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*SearchKey*/
	SearchKey string
	/*WithItems*/
	WithItems *bool

	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
}

SearchInvoicesParams contains all the parameters to send to the API endpoint for the search invoices operation typically these are written to a http.Request

func NewSearchInvoicesParams

func NewSearchInvoicesParams() *SearchInvoicesParams

NewSearchInvoicesParams creates a new SearchInvoicesParams object with the default values initialized.

func NewSearchInvoicesParamsWithContext

func NewSearchInvoicesParamsWithContext(ctx context.Context) *SearchInvoicesParams

NewSearchInvoicesParamsWithContext creates a new SearchInvoicesParams object with the default values initialized, and the ability to set a context for a request

func NewSearchInvoicesParamsWithHTTPClient

func NewSearchInvoicesParamsWithHTTPClient(client *http.Client) *SearchInvoicesParams

NewSearchInvoicesParamsWithHTTPClient creates a new SearchInvoicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSearchInvoicesParamsWithTimeout

func NewSearchInvoicesParamsWithTimeout(timeout time.Duration) *SearchInvoicesParams

NewSearchInvoicesParamsWithTimeout creates a new SearchInvoicesParams object with the default values initialized, and the ability to set a timeout on a request

func (*SearchInvoicesParams) SetAudit

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

SetAudit adds the audit to the search invoices params

func (*SearchInvoicesParams) SetContext

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

SetContext adds the context to the search invoices params

func (*SearchInvoicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search invoices params

func (*SearchInvoicesParams) SetLimit

func (o *SearchInvoicesParams) SetLimit(limit *int64)

SetLimit adds the limit to the search invoices params

func (*SearchInvoicesParams) SetOffset

func (o *SearchInvoicesParams) SetOffset(offset *int64)

SetOffset adds the offset to the search invoices params

func (*SearchInvoicesParams) SetSearchKey

func (o *SearchInvoicesParams) SetSearchKey(searchKey string)

SetSearchKey adds the searchKey to the search invoices params

func (*SearchInvoicesParams) SetTimeout

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

SetTimeout adds the timeout to the search invoices params

func (*SearchInvoicesParams) SetWithItems

func (o *SearchInvoicesParams) SetWithItems(withItems *bool)

SetWithItems adds the withItems to the search invoices params

func (*SearchInvoicesParams) WithAudit

func (o *SearchInvoicesParams) WithAudit(audit *string) *SearchInvoicesParams

WithAudit adds the audit to the search invoices params

func (*SearchInvoicesParams) WithContext

WithContext adds the context to the search invoices params

func (*SearchInvoicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search invoices params

func (*SearchInvoicesParams) WithLimit

func (o *SearchInvoicesParams) WithLimit(limit *int64) *SearchInvoicesParams

WithLimit adds the limit to the search invoices params

func (*SearchInvoicesParams) WithOffset

func (o *SearchInvoicesParams) WithOffset(offset *int64) *SearchInvoicesParams

WithOffset adds the offset to the search invoices params

func (*SearchInvoicesParams) WithSearchKey

func (o *SearchInvoicesParams) WithSearchKey(searchKey string) *SearchInvoicesParams

WithSearchKey adds the searchKey to the search invoices params

func (*SearchInvoicesParams) WithTimeout

func (o *SearchInvoicesParams) WithTimeout(timeout time.Duration) *SearchInvoicesParams

WithTimeout adds the timeout to the search invoices params

func (*SearchInvoicesParams) WithWithItems

func (o *SearchInvoicesParams) WithWithItems(withItems *bool) *SearchInvoicesParams

WithWithItems adds the withItems to the search invoices params

func (*SearchInvoicesParams) WriteToRequest

func (o *SearchInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchInvoicesReader

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

SearchInvoicesReader is a Reader for the SearchInvoices structure.

func (*SearchInvoicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadCatalogTranslationCreated

type UploadCatalogTranslationCreated struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

UploadCatalogTranslationCreated handles this case with default header values.

Uploaded catalog translation Successfully

func NewUploadCatalogTranslationCreated

func NewUploadCatalogTranslationCreated() *UploadCatalogTranslationCreated

NewUploadCatalogTranslationCreated creates a UploadCatalogTranslationCreated with default headers values

func (*UploadCatalogTranslationCreated) Error

type UploadCatalogTranslationParams

type UploadCatalogTranslationParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *string
	/*DeleteIfExists*/
	DeleteIfExists *bool
	/*Locale*/
	Locale string

	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
}

UploadCatalogTranslationParams contains all the parameters to send to the API endpoint for the upload catalog translation operation typically these are written to a http.Request

func NewUploadCatalogTranslationParams

func NewUploadCatalogTranslationParams() *UploadCatalogTranslationParams

NewUploadCatalogTranslationParams creates a new UploadCatalogTranslationParams object with the default values initialized.

func NewUploadCatalogTranslationParamsWithContext

func NewUploadCatalogTranslationParamsWithContext(ctx context.Context) *UploadCatalogTranslationParams

NewUploadCatalogTranslationParamsWithContext creates a new UploadCatalogTranslationParams object with the default values initialized, and the ability to set a context for a request

func NewUploadCatalogTranslationParamsWithHTTPClient

func NewUploadCatalogTranslationParamsWithHTTPClient(client *http.Client) *UploadCatalogTranslationParams

NewUploadCatalogTranslationParamsWithHTTPClient creates a new UploadCatalogTranslationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUploadCatalogTranslationParamsWithTimeout

func NewUploadCatalogTranslationParamsWithTimeout(timeout time.Duration) *UploadCatalogTranslationParams

NewUploadCatalogTranslationParamsWithTimeout creates a new UploadCatalogTranslationParams object with the default values initialized, and the ability to set a timeout on a request

func (*UploadCatalogTranslationParams) SetBody

func (o *UploadCatalogTranslationParams) SetBody(body *string)

SetBody adds the body to the upload catalog translation params

func (*UploadCatalogTranslationParams) SetContext

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

SetContext adds the context to the upload catalog translation params

func (*UploadCatalogTranslationParams) SetDeleteIfExists

func (o *UploadCatalogTranslationParams) SetDeleteIfExists(deleteIfExists *bool)

SetDeleteIfExists adds the deleteIfExists to the upload catalog translation params

func (*UploadCatalogTranslationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload catalog translation params

func (*UploadCatalogTranslationParams) SetLocale

func (o *UploadCatalogTranslationParams) SetLocale(locale string)

SetLocale adds the locale to the upload catalog translation params

func (*UploadCatalogTranslationParams) SetTimeout

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

SetTimeout adds the timeout to the upload catalog translation params

func (*UploadCatalogTranslationParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the upload catalog translation params

func (*UploadCatalogTranslationParams) SetXKillbillCreatedBy

func (o *UploadCatalogTranslationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog translation params

func (*UploadCatalogTranslationParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithBody

WithBody adds the body to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithContext

WithContext adds the context to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithDeleteIfExists

func (o *UploadCatalogTranslationParams) WithDeleteIfExists(deleteIfExists *bool) *UploadCatalogTranslationParams

WithDeleteIfExists adds the deleteIfExists to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithLocale

WithLocale adds the locale to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithTimeout

WithTimeout adds the timeout to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog translation params

func (*UploadCatalogTranslationParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the upload catalog translation params

func (*UploadCatalogTranslationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadCatalogTranslationReader

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

UploadCatalogTranslationReader is a Reader for the UploadCatalogTranslation structure.

func (*UploadCatalogTranslationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadInvoiceMPTemplateOK

type UploadInvoiceMPTemplateOK struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

UploadInvoiceMPTemplateOK handles this case with default header values.

successful operation

func NewUploadInvoiceMPTemplateOK

func NewUploadInvoiceMPTemplateOK() *UploadInvoiceMPTemplateOK

NewUploadInvoiceMPTemplateOK creates a UploadInvoiceMPTemplateOK with default headers values

func (*UploadInvoiceMPTemplateOK) Error

func (o *UploadInvoiceMPTemplateOK) Error() string

type UploadInvoiceMPTemplateParams

type UploadInvoiceMPTemplateParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *string
	/*DeleteIfExists*/
	DeleteIfExists *bool

	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
}

UploadInvoiceMPTemplateParams contains all the parameters to send to the API endpoint for the upload invoice m p template operation typically these are written to a http.Request

func NewUploadInvoiceMPTemplateParams

func NewUploadInvoiceMPTemplateParams() *UploadInvoiceMPTemplateParams

NewUploadInvoiceMPTemplateParams creates a new UploadInvoiceMPTemplateParams object with the default values initialized.

func NewUploadInvoiceMPTemplateParamsWithContext

func NewUploadInvoiceMPTemplateParamsWithContext(ctx context.Context) *UploadInvoiceMPTemplateParams

NewUploadInvoiceMPTemplateParamsWithContext creates a new UploadInvoiceMPTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewUploadInvoiceMPTemplateParamsWithHTTPClient

func NewUploadInvoiceMPTemplateParamsWithHTTPClient(client *http.Client) *UploadInvoiceMPTemplateParams

NewUploadInvoiceMPTemplateParamsWithHTTPClient creates a new UploadInvoiceMPTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUploadInvoiceMPTemplateParamsWithTimeout

func NewUploadInvoiceMPTemplateParamsWithTimeout(timeout time.Duration) *UploadInvoiceMPTemplateParams

NewUploadInvoiceMPTemplateParamsWithTimeout creates a new UploadInvoiceMPTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*UploadInvoiceMPTemplateParams) SetBody

func (o *UploadInvoiceMPTemplateParams) SetBody(body *string)

SetBody adds the body to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) SetContext

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

SetContext adds the context to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) SetDeleteIfExists

func (o *UploadInvoiceMPTemplateParams) SetDeleteIfExists(deleteIfExists *bool)

SetDeleteIfExists adds the deleteIfExists to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) SetXKillbillCreatedBy

func (o *UploadInvoiceMPTemplateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WithBody

WithBody adds the body to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WithContext

WithContext adds the context to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WithDeleteIfExists

func (o *UploadInvoiceMPTemplateParams) WithDeleteIfExists(deleteIfExists *bool) *UploadInvoiceMPTemplateParams

WithDeleteIfExists adds the deleteIfExists to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WithTimeout

WithTimeout adds the timeout to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the upload invoice m p template params

func (*UploadInvoiceMPTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadInvoiceMPTemplateReader

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

UploadInvoiceMPTemplateReader is a Reader for the UploadInvoiceMPTemplate structure.

func (*UploadInvoiceMPTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadInvoiceTemplateCreated

type UploadInvoiceTemplateCreated struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

UploadInvoiceTemplateCreated handles this case with default header values.

Uploaded invoice template Successfully

func NewUploadInvoiceTemplateCreated

func NewUploadInvoiceTemplateCreated() *UploadInvoiceTemplateCreated

NewUploadInvoiceTemplateCreated creates a UploadInvoiceTemplateCreated with default headers values

func (*UploadInvoiceTemplateCreated) Error

type UploadInvoiceTemplateParams

type UploadInvoiceTemplateParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *string
	/*DeleteIfExists*/
	DeleteIfExists *bool

	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
}

UploadInvoiceTemplateParams contains all the parameters to send to the API endpoint for the upload invoice template operation typically these are written to a http.Request

func NewUploadInvoiceTemplateParams

func NewUploadInvoiceTemplateParams() *UploadInvoiceTemplateParams

NewUploadInvoiceTemplateParams creates a new UploadInvoiceTemplateParams object with the default values initialized.

func NewUploadInvoiceTemplateParamsWithContext

func NewUploadInvoiceTemplateParamsWithContext(ctx context.Context) *UploadInvoiceTemplateParams

NewUploadInvoiceTemplateParamsWithContext creates a new UploadInvoiceTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewUploadInvoiceTemplateParamsWithHTTPClient

func NewUploadInvoiceTemplateParamsWithHTTPClient(client *http.Client) *UploadInvoiceTemplateParams

NewUploadInvoiceTemplateParamsWithHTTPClient creates a new UploadInvoiceTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUploadInvoiceTemplateParamsWithTimeout

func NewUploadInvoiceTemplateParamsWithTimeout(timeout time.Duration) *UploadInvoiceTemplateParams

NewUploadInvoiceTemplateParamsWithTimeout creates a new UploadInvoiceTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*UploadInvoiceTemplateParams) SetBody

func (o *UploadInvoiceTemplateParams) SetBody(body *string)

SetBody adds the body to the upload invoice template params

func (*UploadInvoiceTemplateParams) SetContext

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

SetContext adds the context to the upload invoice template params

func (*UploadInvoiceTemplateParams) SetDeleteIfExists

func (o *UploadInvoiceTemplateParams) SetDeleteIfExists(deleteIfExists *bool)

SetDeleteIfExists adds the deleteIfExists to the upload invoice template params

func (*UploadInvoiceTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload invoice template params

func (*UploadInvoiceTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the upload invoice template params

func (*UploadInvoiceTemplateParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the upload invoice template params

func (*UploadInvoiceTemplateParams) SetXKillbillCreatedBy

func (o *UploadInvoiceTemplateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice template params

func (*UploadInvoiceTemplateParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the upload invoice template params

func (*UploadInvoiceTemplateParams) WithBody

WithBody adds the body to the upload invoice template params

func (*UploadInvoiceTemplateParams) WithContext

WithContext adds the context to the upload invoice template params

func (*UploadInvoiceTemplateParams) WithDeleteIfExists

func (o *UploadInvoiceTemplateParams) WithDeleteIfExists(deleteIfExists *bool) *UploadInvoiceTemplateParams

WithDeleteIfExists adds the deleteIfExists to the upload invoice template params

func (*UploadInvoiceTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload invoice template params

func (*UploadInvoiceTemplateParams) WithTimeout

WithTimeout adds the timeout to the upload invoice template params

func (*UploadInvoiceTemplateParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the upload invoice template params

func (*UploadInvoiceTemplateParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice template params

func (*UploadInvoiceTemplateParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the upload invoice template params

func (*UploadInvoiceTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadInvoiceTemplateReader

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

UploadInvoiceTemplateReader is a Reader for the UploadInvoiceTemplate structure.

func (*UploadInvoiceTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadInvoiceTranslationCreated

type UploadInvoiceTranslationCreated struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

UploadInvoiceTranslationCreated handles this case with default header values.

Uploaded invoice translation Successfully

func NewUploadInvoiceTranslationCreated

func NewUploadInvoiceTranslationCreated() *UploadInvoiceTranslationCreated

NewUploadInvoiceTranslationCreated creates a UploadInvoiceTranslationCreated with default headers values

func (*UploadInvoiceTranslationCreated) Error

type UploadInvoiceTranslationParams

type UploadInvoiceTranslationParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *string
	/*DeleteIfExists*/
	DeleteIfExists *bool
	/*Locale*/
	Locale string

	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
}

UploadInvoiceTranslationParams contains all the parameters to send to the API endpoint for the upload invoice translation operation typically these are written to a http.Request

func NewUploadInvoiceTranslationParams

func NewUploadInvoiceTranslationParams() *UploadInvoiceTranslationParams

NewUploadInvoiceTranslationParams creates a new UploadInvoiceTranslationParams object with the default values initialized.

func NewUploadInvoiceTranslationParamsWithContext

func NewUploadInvoiceTranslationParamsWithContext(ctx context.Context) *UploadInvoiceTranslationParams

NewUploadInvoiceTranslationParamsWithContext creates a new UploadInvoiceTranslationParams object with the default values initialized, and the ability to set a context for a request

func NewUploadInvoiceTranslationParamsWithHTTPClient

func NewUploadInvoiceTranslationParamsWithHTTPClient(client *http.Client) *UploadInvoiceTranslationParams

NewUploadInvoiceTranslationParamsWithHTTPClient creates a new UploadInvoiceTranslationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUploadInvoiceTranslationParamsWithTimeout

func NewUploadInvoiceTranslationParamsWithTimeout(timeout time.Duration) *UploadInvoiceTranslationParams

NewUploadInvoiceTranslationParamsWithTimeout creates a new UploadInvoiceTranslationParams object with the default values initialized, and the ability to set a timeout on a request

func (*UploadInvoiceTranslationParams) SetBody

func (o *UploadInvoiceTranslationParams) SetBody(body *string)

SetBody adds the body to the upload invoice translation params

func (*UploadInvoiceTranslationParams) SetContext

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

SetContext adds the context to the upload invoice translation params

func (*UploadInvoiceTranslationParams) SetDeleteIfExists

func (o *UploadInvoiceTranslationParams) SetDeleteIfExists(deleteIfExists *bool)

SetDeleteIfExists adds the deleteIfExists to the upload invoice translation params

func (*UploadInvoiceTranslationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload invoice translation params

func (*UploadInvoiceTranslationParams) SetLocale

func (o *UploadInvoiceTranslationParams) SetLocale(locale string)

SetLocale adds the locale to the upload invoice translation params

func (*UploadInvoiceTranslationParams) SetTimeout

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

SetTimeout adds the timeout to the upload invoice translation params

func (*UploadInvoiceTranslationParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the upload invoice translation params

func (*UploadInvoiceTranslationParams) SetXKillbillCreatedBy

func (o *UploadInvoiceTranslationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice translation params

func (*UploadInvoiceTranslationParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithBody

WithBody adds the body to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithContext

WithContext adds the context to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithDeleteIfExists

func (o *UploadInvoiceTranslationParams) WithDeleteIfExists(deleteIfExists *bool) *UploadInvoiceTranslationParams

WithDeleteIfExists adds the deleteIfExists to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithLocale

WithLocale adds the locale to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithTimeout

WithTimeout adds the timeout to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the upload invoice translation params

func (*UploadInvoiceTranslationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadInvoiceTranslationReader

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

UploadInvoiceTranslationReader is a Reader for the UploadInvoiceTranslation structure.

func (*UploadInvoiceTranslationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VoidInvoiceBadRequest

type VoidInvoiceBadRequest struct {
	HttpResponse runtime.ClientResponse
}

VoidInvoiceBadRequest handles this case with default header values.

Invalid invoice id supplied

func NewVoidInvoiceBadRequest

func NewVoidInvoiceBadRequest() *VoidInvoiceBadRequest

NewVoidInvoiceBadRequest creates a VoidInvoiceBadRequest with default headers values

func (*VoidInvoiceBadRequest) Error

func (o *VoidInvoiceBadRequest) Error() string

type VoidInvoiceNoContent

type VoidInvoiceNoContent struct {
	HttpResponse runtime.ClientResponse
}

VoidInvoiceNoContent handles this case with default header values.

Successful operation

func NewVoidInvoiceNoContent

func NewVoidInvoiceNoContent() *VoidInvoiceNoContent

NewVoidInvoiceNoContent creates a VoidInvoiceNoContent with default headers values

func (*VoidInvoiceNoContent) Error

func (o *VoidInvoiceNoContent) Error() string

type VoidInvoiceNotFound

type VoidInvoiceNotFound struct {
	HttpResponse runtime.ClientResponse
}

VoidInvoiceNotFound handles this case with default header values.

Invoice not found

func NewVoidInvoiceNotFound

func NewVoidInvoiceNotFound() *VoidInvoiceNotFound

NewVoidInvoiceNotFound creates a VoidInvoiceNotFound with default headers values

func (*VoidInvoiceNotFound) Error

func (o *VoidInvoiceNotFound) Error() string

type VoidInvoiceParams

type VoidInvoiceParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*InvoiceID*/
	InvoiceID 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
}

VoidInvoiceParams contains all the parameters to send to the API endpoint for the void invoice operation typically these are written to a http.Request

func NewVoidInvoiceParams

func NewVoidInvoiceParams() *VoidInvoiceParams

NewVoidInvoiceParams creates a new VoidInvoiceParams object with the default values initialized.

func NewVoidInvoiceParamsWithContext

func NewVoidInvoiceParamsWithContext(ctx context.Context) *VoidInvoiceParams

NewVoidInvoiceParamsWithContext creates a new VoidInvoiceParams object with the default values initialized, and the ability to set a context for a request

func NewVoidInvoiceParamsWithHTTPClient

func NewVoidInvoiceParamsWithHTTPClient(client *http.Client) *VoidInvoiceParams

NewVoidInvoiceParamsWithHTTPClient creates a new VoidInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewVoidInvoiceParamsWithTimeout

func NewVoidInvoiceParamsWithTimeout(timeout time.Duration) *VoidInvoiceParams

NewVoidInvoiceParamsWithTimeout creates a new VoidInvoiceParams object with the default values initialized, and the ability to set a timeout on a request

func (*VoidInvoiceParams) SetContext

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

SetContext adds the context to the void invoice params

func (*VoidInvoiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the void invoice params

func (*VoidInvoiceParams) SetInvoiceID

func (o *VoidInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)

SetInvoiceID adds the invoiceId to the void invoice params

func (*VoidInvoiceParams) SetTimeout

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

SetTimeout adds the timeout to the void invoice params

func (*VoidInvoiceParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the void invoice params

func (*VoidInvoiceParams) SetXKillbillCreatedBy

func (o *VoidInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the void invoice params

func (*VoidInvoiceParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the void invoice params

func (*VoidInvoiceParams) WithContext

func (o *VoidInvoiceParams) WithContext(ctx context.Context) *VoidInvoiceParams

WithContext adds the context to the void invoice params

func (*VoidInvoiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the void invoice params

func (*VoidInvoiceParams) WithInvoiceID

func (o *VoidInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *VoidInvoiceParams

WithInvoiceID adds the invoiceID to the void invoice params

func (*VoidInvoiceParams) WithTimeout

func (o *VoidInvoiceParams) WithTimeout(timeout time.Duration) *VoidInvoiceParams

WithTimeout adds the timeout to the void invoice params

func (*VoidInvoiceParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the void invoice params

func (*VoidInvoiceParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the void invoice params

func (*VoidInvoiceParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the void invoice params

func (*VoidInvoiceParams) WriteToRequest

func (o *VoidInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type VoidInvoiceReader

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

VoidInvoiceReader is a Reader for the VoidInvoice structure.

func (*VoidInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL