invoice

package
v3.0.3-draft Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 11 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 {
}
AdjustInvoiceItemBadRequest describes a response with status code 400, 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
}
AdjustInvoiceItemCreated describes a response with status code 201, 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

func (*AdjustInvoiceItemCreated) GetPayload

func (o *AdjustInvoiceItemCreated) GetPayload() *kbmodel.Invoice

type AdjustInvoiceItemNotFound

type AdjustInvoiceItemNotFound struct {
}
AdjustInvoiceItemNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	// RequestedDate.
	//
	// Format: date
	RequestedDate *strfmt.Date

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAdjustInvoiceItemParamsWithContext

func NewAdjustInvoiceItemParamsWithContext(ctx context.Context) *AdjustInvoiceItemParams

NewAdjustInvoiceItemParamsWithContext creates a new AdjustInvoiceItemParams object with 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 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 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) SetDefaults

func (o *AdjustInvoiceItemParams) SetDefaults()

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

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

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

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

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

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 (*Client) AdjustInvoiceItem

func (a *Client) AdjustInvoiceItem(params *AdjustInvoiceItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdjustInvoiceItemCreated, error)

AdjustInvoiceItem adjusts an invoice item

func (*Client) CommitInvoice

func (a *Client) CommitInvoice(params *CommitInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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(params *CreateExternalChargesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateExternalChargesCreated, error)

CreateExternalCharges creates external charge s

func (*Client) CreateFutureInvoice

func (a *Client) CreateFutureInvoice(params *CreateFutureInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFutureInvoiceCreated, error)

CreateFutureInvoice triggers an invoice generation

func (*Client) CreateInstantPayment

CreateInstantPayment triggers a payment for invoice

func (*Client) CreateInvoiceCustomFields

func (a *Client) CreateInvoiceCustomFields(params *CreateInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceCustomFieldsCreated, error)

CreateInvoiceCustomFields adds custom fields to invoice

func (*Client) CreateInvoiceTags

func (a *Client) CreateInvoiceTags(params *CreateInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceTagsCreated, error)

CreateInvoiceTags adds tags to invoice

func (*Client) CreateMigrationInvoice

func (a *Client) CreateMigrationInvoice(params *CreateMigrationInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMigrationInvoiceCreated, error)

CreateMigrationInvoice creates a migration invoice

func (*Client) CreateTaxItems

func (a *Client) CreateTaxItems(params *CreateTaxItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTaxItemsCreated, error)

CreateTaxItems creates tax items

func (*Client) DeleteCBA

func (a *Client) DeleteCBA(params *DeleteCBAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCBANoContent, error)

DeleteCBA deletes a c b a item

func (*Client) DeleteInvoiceCustomFields

DeleteInvoiceCustomFields removes custom fields from invoice

func (*Client) DeleteInvoiceTags

func (a *Client) DeleteInvoiceTags(params *DeleteInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceTagsNoContent, error)

DeleteInvoiceTags removes tags from invoice

func (*Client) GenerateDryRunInvoice

GenerateDryRunInvoice generates a dry run invoice

func (*Client) GetCatalogTranslation

func (a *Client) GetCatalogTranslation(params *GetCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogTranslationOK, error)

GetCatalogTranslation retrieves the catalog translation for the tenant

func (*Client) GetInvoice

func (a *Client) GetInvoice(params *GetInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceOK, error)

GetInvoice retrieves an invoice by id

func (*Client) GetInvoiceAsHTML

func (a *Client) GetInvoiceAsHTML(params *GetInvoiceAsHTMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceAsHTMLOK, error)

GetInvoiceAsHTML renders an invoice as HTML

func (*Client) GetInvoiceAuditLogsWithHistory

func (a *Client) GetInvoiceAuditLogsWithHistory(params *GetInvoiceAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceAuditLogsWithHistoryOK, error)

GetInvoiceAuditLogsWithHistory retrieves invoice audit logs with history by id

func (*Client) GetInvoiceByItemID

func (a *Client) GetInvoiceByItemID(params *GetInvoiceByItemIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceByItemIDOK, error)

GetInvoiceByItemID retrieves an invoice by invoice item id

func (*Client) GetInvoiceByNumber

func (a *Client) GetInvoiceByNumber(params *GetInvoiceByNumberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceByNumberOK, error)

GetInvoiceByNumber retrieves an invoice by number

func (*Client) GetInvoiceCustomFields

func (a *Client) GetInvoiceCustomFields(params *GetInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceCustomFieldsOK, error)

GetInvoiceCustomFields retrieves invoice custom fields

func (*Client) GetInvoiceMPTemplate

func (a *Client) GetInvoiceMPTemplate(params *GetInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceMPTemplateOK, error)

GetInvoiceMPTemplate retrieves the manual pay invoice template for the tenant

func (*Client) GetInvoiceTags

func (a *Client) GetInvoiceTags(params *GetInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTagsOK, error)

GetInvoiceTags retrieves invoice tags

func (*Client) GetInvoiceTemplate

func (a *Client) GetInvoiceTemplate(params *GetInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTemplateOK, error)

GetInvoiceTemplate retrieves the invoice template for the tenant

func (*Client) GetInvoiceTranslation

func (a *Client) GetInvoiceTranslation(params *GetInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTranslationOK, error)

GetInvoiceTranslation retrieves the invoice translation for the tenant

func (*Client) GetInvoices

func (a *Client) GetInvoices(params *GetInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoicesOK, error)

GetInvoices lists invoices

func (*Client) GetPaymentsForInvoice

func (a *Client) GetPaymentsForInvoice(params *GetPaymentsForInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentsForInvoiceOK, error)

GetPaymentsForInvoice retrieves payments associated with an invoice

func (*Client) ModifyInvoiceCustomFields

ModifyInvoiceCustomFields modifies custom fields to invoice

func (*Client) SearchInvoices

func (a *Client) SearchInvoices(params *SearchInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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(params *UploadCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadCatalogTranslationCreated, error)

UploadCatalogTranslation uploads the catalog translation for the tenant

func (*Client) UploadInvoiceMPTemplate

func (a *Client) UploadInvoiceMPTemplate(params *UploadInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceMPTemplateOK, error)

UploadInvoiceMPTemplate uploads the manual pay invoice template for the tenant

func (*Client) UploadInvoiceTemplate

func (a *Client) UploadInvoiceTemplate(params *UploadInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceTemplateCreated, error)

UploadInvoiceTemplate uploads the invoice template for the tenant

func (*Client) UploadInvoiceTranslation

func (a *Client) UploadInvoiceTranslation(params *UploadInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceTranslationCreated, error)

UploadInvoiceTranslation uploads the invoice translation for the tenant

func (*Client) VoidInvoice

func (a *Client) VoidInvoice(params *VoidInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VoidInvoiceNoContent, error)

VoidInvoice performs the action of voiding an invoice

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AdjustInvoiceItem(params *AdjustInvoiceItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdjustInvoiceItemCreated, error)

	CommitInvoice(params *CommitInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CommitInvoiceNoContent, error)

	CreateExternalCharges(params *CreateExternalChargesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateExternalChargesCreated, error)

	CreateFutureInvoice(params *CreateFutureInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFutureInvoiceCreated, error)

	CreateInstantPayment(params *CreateInstantPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInstantPaymentCreated, *CreateInstantPaymentNoContent, error)

	CreateInvoiceCustomFields(params *CreateInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceCustomFieldsCreated, error)

	CreateInvoiceTags(params *CreateInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceTagsCreated, error)

	CreateMigrationInvoice(params *CreateMigrationInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMigrationInvoiceCreated, error)

	CreateTaxItems(params *CreateTaxItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTaxItemsCreated, error)

	DeleteCBA(params *DeleteCBAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCBANoContent, error)

	DeleteInvoiceCustomFields(params *DeleteInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceCustomFieldsNoContent, error)

	DeleteInvoiceTags(params *DeleteInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceTagsNoContent, error)

	GenerateDryRunInvoice(params *GenerateDryRunInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateDryRunInvoiceOK, *GenerateDryRunInvoiceNoContent, error)

	GetCatalogTranslation(params *GetCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogTranslationOK, error)

	GetInvoice(params *GetInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceOK, error)

	GetInvoiceAsHTML(params *GetInvoiceAsHTMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceAsHTMLOK, error)

	GetInvoiceAuditLogsWithHistory(params *GetInvoiceAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceAuditLogsWithHistoryOK, error)

	GetInvoiceByItemID(params *GetInvoiceByItemIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceByItemIDOK, error)

	GetInvoiceByNumber(params *GetInvoiceByNumberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceByNumberOK, error)

	GetInvoiceCustomFields(params *GetInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceCustomFieldsOK, error)

	GetInvoiceMPTemplate(params *GetInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceMPTemplateOK, error)

	GetInvoiceTags(params *GetInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTagsOK, error)

	GetInvoiceTemplate(params *GetInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTemplateOK, error)

	GetInvoiceTranslation(params *GetInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTranslationOK, error)

	GetInvoices(params *GetInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoicesOK, error)

	GetPaymentsForInvoice(params *GetPaymentsForInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentsForInvoiceOK, error)

	ModifyInvoiceCustomFields(params *ModifyInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ModifyInvoiceCustomFieldsNoContent, error)

	SearchInvoices(params *SearchInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchInvoicesOK, error)

	UploadCatalogTranslation(params *UploadCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadCatalogTranslationCreated, error)

	UploadInvoiceMPTemplate(params *UploadInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceMPTemplateOK, error)

	UploadInvoiceTemplate(params *UploadInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceTemplateCreated, error)

	UploadInvoiceTranslation(params *UploadInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceTranslationCreated, error)

	VoidInvoice(params *VoidInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VoidInvoiceNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new invoice API client.

type CommitInvoiceNoContent

type CommitInvoiceNoContent struct {
}
CommitInvoiceNoContent describes a response with status code 204, 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 {
}
CommitInvoiceNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCommitInvoiceParamsWithContext

func NewCommitInvoiceParamsWithContext(ctx context.Context) *CommitInvoiceParams

NewCommitInvoiceParamsWithContext creates a new CommitInvoiceParams object with 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 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 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) SetDefaults

func (o *CommitInvoiceParams) SetDefaults()

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

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

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

func (o *CommitInvoiceParams) WithDefaults() *CommitInvoiceParams

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

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

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 {
}
CreateExternalChargesBadRequest describes a response with status code 400, 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
}
CreateExternalChargesCreated describes a response with status code 201, with default header values.

Created external charge Successfully

func NewCreateExternalChargesCreated

func NewCreateExternalChargesCreated() *CreateExternalChargesCreated

NewCreateExternalChargesCreated creates a CreateExternalChargesCreated with default headers values

func (*CreateExternalChargesCreated) Error

func (*CreateExternalChargesCreated) GetPayload

type CreateExternalChargesNotFound

type CreateExternalChargesNotFound struct {
}
CreateExternalChargesNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// AutoCommit.
	AutoCommit *bool

	// Body.
	Body []*kbmodel.InvoiceItem

	// PluginProperty.
	PluginProperty []string

	// RequestedDate.
	//
	// Format: date
	RequestedDate *strfmt.Date

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateExternalChargesParamsWithContext

func NewCreateExternalChargesParamsWithContext(ctx context.Context) *CreateExternalChargesParams

NewCreateExternalChargesParamsWithContext creates a new CreateExternalChargesParams object with 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 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 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) SetDefaults

func (o *CreateExternalChargesParams) SetDefaults()

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

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

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

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

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

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 {
}
CreateFutureInvoiceBadRequest describes a response with status code 400, 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
}
CreateFutureInvoiceCreated describes a response with status code 201, with default header values.

Created invoice successfully

func NewCreateFutureInvoiceCreated

func NewCreateFutureInvoiceCreated() *CreateFutureInvoiceCreated

NewCreateFutureInvoiceCreated creates a CreateFutureInvoiceCreated with default headers values

func (*CreateFutureInvoiceCreated) Error

func (*CreateFutureInvoiceCreated) GetPayload

func (o *CreateFutureInvoiceCreated) GetPayload() *kbmodel.Invoice

type CreateFutureInvoiceParams

type CreateFutureInvoiceParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// TargetDate.
	//
	// Format: date
	TargetDate *strfmt.Date

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateFutureInvoiceParamsWithContext

func NewCreateFutureInvoiceParamsWithContext(ctx context.Context) *CreateFutureInvoiceParams

NewCreateFutureInvoiceParamsWithContext creates a new CreateFutureInvoiceParams object with 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 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 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) SetDefaults

func (o *CreateFutureInvoiceParams) SetDefaults()

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

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

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

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

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

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 {
}
CreateInstantPaymentBadRequest describes a response with status code 400, 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
}
CreateInstantPaymentCreated describes a response with status code 201, with default header values.

Created payment Successfully

func NewCreateInstantPaymentCreated

func NewCreateInstantPaymentCreated() *CreateInstantPaymentCreated

NewCreateInstantPaymentCreated creates a CreateInstantPaymentCreated with default headers values

func (*CreateInstantPaymentCreated) Error

func (*CreateInstantPaymentCreated) GetPayload

type CreateInstantPaymentNoContent

type CreateInstantPaymentNoContent struct {
}
CreateInstantPaymentNoContent describes a response with status code 204, 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 {
}
CreateInstantPaymentNotFound describes a response with status code 404, 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

	// ControlPluginName.
	ControlPluginName []string

	// ExternalPayment.
	ExternalPayment *bool

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateInstantPaymentParamsWithContext

func NewCreateInstantPaymentParamsWithContext(ctx context.Context) *CreateInstantPaymentParams

NewCreateInstantPaymentParamsWithContext creates a new CreateInstantPaymentParams object with 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 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 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) SetControlPluginName

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

SetControlPluginName adds the controlPluginName to the create instant payment params

func (*CreateInstantPaymentParams) SetDefaults

func (o *CreateInstantPaymentParams) SetDefaults()

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

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

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

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

WithControlPluginName adds the controlPluginName to the create instant payment params

func (*CreateInstantPaymentParams) WithDefaults

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

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

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 {
}
CreateInvoiceCustomFieldsBadRequest describes a response with status code 400, 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
}
CreateInvoiceCustomFieldsCreated describes a response with status code 201, with default header values.

Custom field created successfully

func NewCreateInvoiceCustomFieldsCreated

func NewCreateInvoiceCustomFieldsCreated() *CreateInvoiceCustomFieldsCreated

NewCreateInvoiceCustomFieldsCreated creates a CreateInvoiceCustomFieldsCreated with default headers values

func (*CreateInvoiceCustomFieldsCreated) Error

func (*CreateInvoiceCustomFieldsCreated) GetPayload

type CreateInvoiceCustomFieldsParams

type CreateInvoiceCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateInvoiceCustomFieldsParamsWithContext

func NewCreateInvoiceCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceCustomFieldsParams

NewCreateInvoiceCustomFieldsParamsWithContext creates a new CreateInvoiceCustomFieldsParams object with 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 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 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) SetDefaults

func (o *CreateInvoiceCustomFieldsParams) SetDefaults()

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

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

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

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

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

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 {
}
CreateInvoiceTagsBadRequest describes a response with status code 400, 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
}
CreateInvoiceTagsCreated describes a response with status code 201, 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

func (*CreateInvoiceTagsCreated) GetPayload

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

type CreateInvoiceTagsParams

type CreateInvoiceTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []strfmt.UUID

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateInvoiceTagsParamsWithContext

func NewCreateInvoiceTagsParamsWithContext(ctx context.Context) *CreateInvoiceTagsParams

NewCreateInvoiceTagsParamsWithContext creates a new CreateInvoiceTagsParams object with 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 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 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) SetDefaults

func (o *CreateInvoiceTagsParams) SetDefaults()

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

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

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

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

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

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 {
}
CreateMigrationInvoiceBadRequest describes a response with status code 400, 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
}
CreateMigrationInvoiceCreated describes a response with status code 201, with default header values.

Created migration invoice successfully

func NewCreateMigrationInvoiceCreated

func NewCreateMigrationInvoiceCreated() *CreateMigrationInvoiceCreated

NewCreateMigrationInvoiceCreated creates a CreateMigrationInvoiceCreated with default headers values

func (*CreateMigrationInvoiceCreated) Error

func (*CreateMigrationInvoiceCreated) GetPayload

type CreateMigrationInvoiceParams

type CreateMigrationInvoiceParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// Body.
	Body []*kbmodel.InvoiceItem

	// TargetDate.
	//
	// Format: date
	TargetDate *strfmt.Date

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateMigrationInvoiceParamsWithContext

func NewCreateMigrationInvoiceParamsWithContext(ctx context.Context) *CreateMigrationInvoiceParams

NewCreateMigrationInvoiceParamsWithContext creates a new CreateMigrationInvoiceParams object with 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 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 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) SetDefaults

func (o *CreateMigrationInvoiceParams) SetDefaults()

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

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

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

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

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

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 {
}
CreateTaxItemsBadRequest describes a response with status code 400, 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
}
CreateTaxItemsCreated describes a response with status code 201, 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

func (*CreateTaxItemsCreated) GetPayload

func (o *CreateTaxItemsCreated) GetPayload() []*kbmodel.InvoiceItem

type CreateTaxItemsNotFound

type CreateTaxItemsNotFound struct {
}
CreateTaxItemsNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// AutoCommit.
	AutoCommit *bool

	// Body.
	Body []*kbmodel.InvoiceItem

	// PluginProperty.
	PluginProperty []string

	// RequestedDate.
	//
	// Format: date
	RequestedDate *strfmt.Date

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateTaxItemsParamsWithContext

func NewCreateTaxItemsParamsWithContext(ctx context.Context) *CreateTaxItemsParams

NewCreateTaxItemsParamsWithContext creates a new CreateTaxItemsParams object with 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 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 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) SetDefaults

func (o *CreateTaxItemsParams) SetDefaults()

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

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

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

func (o *CreateTaxItemsParams) WithDefaults() *CreateTaxItemsParams

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

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

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 {
}
DeleteCBABadRequest describes a response with status code 400, 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 {
}
DeleteCBANoContent describes a response with status code 204, 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 {
}
DeleteCBANotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	// InvoiceItemID.
	//
	// Format: uuid
	InvoiceItemID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteCBAParamsWithContext

func NewDeleteCBAParamsWithContext(ctx context.Context) *DeleteCBAParams

NewDeleteCBAParamsWithContext creates a new DeleteCBAParams object with 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 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 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) SetDefaults

func (o *DeleteCBAParams) SetDefaults()

SetDefaults hydrates default values in the delete c b a params (not the query body).

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

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

func (o *DeleteCBAParams) WithDefaults() *DeleteCBAParams

WithDefaults hydrates default values in the delete c b a params (not the query body).

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

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 {
}
DeleteInvoiceCustomFieldsBadRequest describes a response with status code 400, 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 {
}
DeleteInvoiceCustomFieldsNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteInvoiceCustomFieldsParamsWithContext

func NewDeleteInvoiceCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceCustomFieldsParams

NewDeleteInvoiceCustomFieldsParamsWithContext creates a new DeleteInvoiceCustomFieldsParams object with 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 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 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) SetDefaults

func (o *DeleteInvoiceCustomFieldsParams) SetDefaults()

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

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

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

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

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

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 {
}
DeleteInvoiceTagsBadRequest describes a response with status code 400, 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 {
}
DeleteInvoiceTagsNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	// TagDef.
	TagDef []strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteInvoiceTagsParamsWithContext

func NewDeleteInvoiceTagsParamsWithContext(ctx context.Context) *DeleteInvoiceTagsParams

NewDeleteInvoiceTagsParamsWithContext creates a new DeleteInvoiceTagsParams object with 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 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 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) SetDefaults

func (o *DeleteInvoiceTagsParams) SetDefaults()

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

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

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

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

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

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 {
}
GenerateDryRunInvoiceBadRequest describes a response with status code 400, 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 {
}
GenerateDryRunInvoiceNoContent describes a response with status code 204, 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
}
GenerateDryRunInvoiceOK describes a response with status code 200, 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

func (*GenerateDryRunInvoiceOK) GetPayload

func (o *GenerateDryRunInvoiceOK) GetPayload() *kbmodel.Invoice

type GenerateDryRunInvoiceParams

type GenerateDryRunInvoiceParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// Body.
	Body *kbmodel.InvoiceDryRun

	// TargetDate.
	//
	// Format: date
	TargetDate *strfmt.Date

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGenerateDryRunInvoiceParamsWithContext

func NewGenerateDryRunInvoiceParamsWithContext(ctx context.Context) *GenerateDryRunInvoiceParams

NewGenerateDryRunInvoiceParamsWithContext creates a new GenerateDryRunInvoiceParams object with 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 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 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) SetDefaults

func (o *GenerateDryRunInvoiceParams) SetDefaults()

SetDefaults hydrates default values in the generate dry run invoice params (not the query body).

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

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

WithDefaults hydrates default values in the generate dry run invoice params (not the query body).

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

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 {
}
GetCatalogTranslationBadRequest describes a response with status code 400, 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 {
}
GetCatalogTranslationNotFound describes a response with status code 404, 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
}
GetCatalogTranslationOK describes a response with status code 200, 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

func (*GetCatalogTranslationOK) GetPayload

func (o *GetCatalogTranslationOK) GetPayload() string

type GetCatalogTranslationParams

type GetCatalogTranslationParams struct {

	// Locale.
	Locale string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCatalogTranslationParamsWithContext

func NewGetCatalogTranslationParamsWithContext(ctx context.Context) *GetCatalogTranslationParams

NewGetCatalogTranslationParamsWithContext creates a new GetCatalogTranslationParams object with 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 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 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) SetDefaults

func (o *GetCatalogTranslationParams) SetDefaults()

SetDefaults hydrates default values in the get catalog translation params (not the query body).

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

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

WithDefaults hydrates default values in the get catalog translation params (not the query body).

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

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 {
}
GetInvoiceAsHTMLNotFound describes a response with status code 404, 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
}
GetInvoiceAsHTMLOK describes a response with status code 200, 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

func (*GetInvoiceAsHTMLOK) GetPayload

func (o *GetInvoiceAsHTMLOK) GetPayload() string

type GetInvoiceAsHTMLParams

type GetInvoiceAsHTMLParams struct {

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceAsHTMLParamsWithContext

func NewGetInvoiceAsHTMLParamsWithContext(ctx context.Context) *GetInvoiceAsHTMLParams

NewGetInvoiceAsHTMLParamsWithContext creates a new GetInvoiceAsHTMLParams object with 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 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 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) SetDefaults

func (o *GetInvoiceAsHTMLParams) SetDefaults()

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

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

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

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

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

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 GetInvoiceAuditLogsWithHistoryNotFound

type GetInvoiceAuditLogsWithHistoryNotFound struct {
}
GetInvoiceAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.

Invoice not found

func NewGetInvoiceAuditLogsWithHistoryNotFound

func NewGetInvoiceAuditLogsWithHistoryNotFound() *GetInvoiceAuditLogsWithHistoryNotFound

NewGetInvoiceAuditLogsWithHistoryNotFound creates a GetInvoiceAuditLogsWithHistoryNotFound with default headers values

func (*GetInvoiceAuditLogsWithHistoryNotFound) Error

type GetInvoiceAuditLogsWithHistoryOK

type GetInvoiceAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog
}
GetInvoiceAuditLogsWithHistoryOK describes a response with status code 200, with default header values.

successful operation

func NewGetInvoiceAuditLogsWithHistoryOK

func NewGetInvoiceAuditLogsWithHistoryOK() *GetInvoiceAuditLogsWithHistoryOK

NewGetInvoiceAuditLogsWithHistoryOK creates a GetInvoiceAuditLogsWithHistoryOK with default headers values

func (*GetInvoiceAuditLogsWithHistoryOK) Error

func (*GetInvoiceAuditLogsWithHistoryOK) GetPayload

type GetInvoiceAuditLogsWithHistoryParams

type GetInvoiceAuditLogsWithHistoryParams struct {

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetInvoiceAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get invoice audit logs with history operation.

Typically these are written to a http.Request.

func NewGetInvoiceAuditLogsWithHistoryParams

func NewGetInvoiceAuditLogsWithHistoryParams() *GetInvoiceAuditLogsWithHistoryParams

NewGetInvoiceAuditLogsWithHistoryParams creates a new GetInvoiceAuditLogsWithHistoryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceAuditLogsWithHistoryParamsWithContext

func NewGetInvoiceAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoiceAuditLogsWithHistoryParams

NewGetInvoiceAuditLogsWithHistoryParamsWithContext creates a new GetInvoiceAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetInvoiceAuditLogsWithHistoryParamsWithHTTPClient

func NewGetInvoiceAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoiceAuditLogsWithHistoryParams

NewGetInvoiceAuditLogsWithHistoryParamsWithHTTPClient creates a new GetInvoiceAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoiceAuditLogsWithHistoryParamsWithTimeout

func NewGetInvoiceAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoiceAuditLogsWithHistoryParams

NewGetInvoiceAuditLogsWithHistoryParamsWithTimeout creates a new GetInvoiceAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetInvoiceAuditLogsWithHistoryParams) SetContext

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

func (*GetInvoiceAuditLogsWithHistoryParams) SetDefaults

func (o *GetInvoiceAuditLogsWithHistoryParams) SetDefaults()

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

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

func (*GetInvoiceAuditLogsWithHistoryParams) SetHTTPClient

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

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

func (*GetInvoiceAuditLogsWithHistoryParams) SetInvoiceID

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

SetInvoiceID adds the invoiceId to the get invoice audit logs with history params

func (*GetInvoiceAuditLogsWithHistoryParams) SetTimeout

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

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

func (*GetInvoiceAuditLogsWithHistoryParams) WithContext

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

func (*GetInvoiceAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetInvoiceAuditLogsWithHistoryParams) WithHTTPClient

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

func (*GetInvoiceAuditLogsWithHistoryParams) WithInvoiceID

WithInvoiceID adds the invoiceID to the get invoice audit logs with history params

func (*GetInvoiceAuditLogsWithHistoryParams) WithTimeout

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

func (*GetInvoiceAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceAuditLogsWithHistoryReader

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

GetInvoiceAuditLogsWithHistoryReader is a Reader for the GetInvoiceAuditLogsWithHistory structure.

func (*GetInvoiceAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceBadRequest

type GetInvoiceBadRequest struct {
}
GetInvoiceBadRequest describes a response with status code 400, 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 {
}
GetInvoiceByItemIDNotFound describes a response with status code 404, 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
}
GetInvoiceByItemIDOK describes a response with status code 200, 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

func (*GetInvoiceByItemIDOK) GetPayload

func (o *GetInvoiceByItemIDOK) GetPayload() *kbmodel.Invoice

type GetInvoiceByItemIDParams

type GetInvoiceByItemIDParams struct {

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

	// ItemID.
	//
	// Format: uuid
	ItemID strfmt.UUID

	// WithChildrenItems.
	WithChildrenItems *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceByItemIDParamsWithContext

func NewGetInvoiceByItemIDParamsWithContext(ctx context.Context) *GetInvoiceByItemIDParams

NewGetInvoiceByItemIDParamsWithContext creates a new GetInvoiceByItemIDParams object with 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 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 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) SetDefaults

func (o *GetInvoiceByItemIDParams) SetDefaults()

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

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

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

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

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

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) 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 {
}
GetInvoiceByNumberNotFound describes a response with status code 404, 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
}
GetInvoiceByNumberOK describes a response with status code 200, 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

func (*GetInvoiceByNumberOK) GetPayload

func (o *GetInvoiceByNumberOK) GetPayload() *kbmodel.Invoice

type GetInvoiceByNumberParams

type GetInvoiceByNumberParams struct {

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

	// InvoiceNumber.
	//
	// Format: int32
	InvoiceNumber int32

	// WithChildrenItems.
	WithChildrenItems *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceByNumberParamsWithContext

func NewGetInvoiceByNumberParamsWithContext(ctx context.Context) *GetInvoiceByNumberParams

NewGetInvoiceByNumberParamsWithContext creates a new GetInvoiceByNumberParams object with 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 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 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) SetDefaults

func (o *GetInvoiceByNumberParams) SetDefaults()

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

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

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

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

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

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) 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 {
}
GetInvoiceCustomFieldsBadRequest describes a response with status code 400, 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
}
GetInvoiceCustomFieldsOK describes a response with status code 200, 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

func (*GetInvoiceCustomFieldsOK) GetPayload

func (o *GetInvoiceCustomFieldsOK) GetPayload() []*kbmodel.CustomField

type GetInvoiceCustomFieldsParams

type GetInvoiceCustomFieldsParams struct {

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

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceCustomFieldsParamsWithContext

func NewGetInvoiceCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceCustomFieldsParams

NewGetInvoiceCustomFieldsParamsWithContext creates a new GetInvoiceCustomFieldsParams object with 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 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 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) SetDefaults

func (o *GetInvoiceCustomFieldsParams) SetDefaults()

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

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

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

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

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

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 {
}
GetInvoiceMPTemplateNotFound describes a response with status code 404, 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
}
GetInvoiceMPTemplateOK describes a response with status code 200, 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

func (*GetInvoiceMPTemplateOK) GetPayload

func (o *GetInvoiceMPTemplateOK) GetPayload() string

type GetInvoiceMPTemplateParams

type GetInvoiceMPTemplateParams struct {

	// Locale.
	Locale string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceMPTemplateParamsWithContext

func NewGetInvoiceMPTemplateParamsWithContext(ctx context.Context) *GetInvoiceMPTemplateParams

NewGetInvoiceMPTemplateParamsWithContext creates a new GetInvoiceMPTemplateParams object with 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 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 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) SetDefaults

func (o *GetInvoiceMPTemplateParams) SetDefaults()

SetDefaults hydrates default values in the get invoice m p template params (not the query body).

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

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

WithDefaults hydrates default values in the get invoice m p template params (not the query body).

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

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 {
}
GetInvoiceNotFound describes a response with status code 404, 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
}
GetInvoiceOK describes a response with status code 200, 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

func (*GetInvoiceOK) GetPayload

func (o *GetInvoiceOK) GetPayload() *kbmodel.Invoice

type GetInvoiceParams

type GetInvoiceParams struct {

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

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	// WithChildrenItems.
	WithChildrenItems *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceParamsWithContext

func NewGetInvoiceParamsWithContext(ctx context.Context) *GetInvoiceParams

NewGetInvoiceParamsWithContext creates a new GetInvoiceParams object with 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 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 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) SetDefaults

func (o *GetInvoiceParams) SetDefaults()

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

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

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

func (o *GetInvoiceParams) WithDefaults() *GetInvoiceParams

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

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

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) 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 {
}
GetInvoiceTagsBadRequest describes a response with status code 400, 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 {
}
GetInvoiceTagsNotFound describes a response with status code 404, 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
}
GetInvoiceTagsOK describes a response with status code 200, 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

func (*GetInvoiceTagsOK) GetPayload

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

type GetInvoiceTagsParams

type GetInvoiceTagsParams struct {

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

	// IncludedDeleted.
	IncludedDeleted *bool

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceTagsParamsWithContext

func NewGetInvoiceTagsParamsWithContext(ctx context.Context) *GetInvoiceTagsParams

NewGetInvoiceTagsParamsWithContext creates a new GetInvoiceTagsParams object with 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 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 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) SetDefaults

func (o *GetInvoiceTagsParams) SetDefaults()

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

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

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

func (o *GetInvoiceTagsParams) WithDefaults() *GetInvoiceTagsParams

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

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

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 {
}
GetInvoiceTemplateNotFound describes a response with status code 404, 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
}
GetInvoiceTemplateOK describes a response with status code 200, 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

func (*GetInvoiceTemplateOK) GetPayload

func (o *GetInvoiceTemplateOK) GetPayload() string

type GetInvoiceTemplateParams

type GetInvoiceTemplateParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceTemplateParamsWithContext

func NewGetInvoiceTemplateParamsWithContext(ctx context.Context) *GetInvoiceTemplateParams

NewGetInvoiceTemplateParamsWithContext creates a new GetInvoiceTemplateParams object with 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 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 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) SetDefaults

func (o *GetInvoiceTemplateParams) SetDefaults()

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

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

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

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

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

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 {
}
GetInvoiceTranslationBadRequest describes a response with status code 400, 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 {
}
GetInvoiceTranslationNotFound describes a response with status code 404, 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
}
GetInvoiceTranslationOK describes a response with status code 200, 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

func (*GetInvoiceTranslationOK) GetPayload

func (o *GetInvoiceTranslationOK) GetPayload() string

type GetInvoiceTranslationParams

type GetInvoiceTranslationParams struct {

	// Locale.
	Locale string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoiceTranslationParamsWithContext

func NewGetInvoiceTranslationParamsWithContext(ctx context.Context) *GetInvoiceTranslationParams

NewGetInvoiceTranslationParamsWithContext creates a new GetInvoiceTranslationParams object with 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 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 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) SetDefaults

func (o *GetInvoiceTranslationParams) SetDefaults()

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

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

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

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

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

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
}
GetInvoicesOK describes a response with status code 200, 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

func (*GetInvoicesOK) GetPayload

func (o *GetInvoicesOK) GetPayload() []*kbmodel.Invoice

type GetInvoicesParams

type GetInvoicesParams struct {

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

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoicesParamsWithContext

func NewGetInvoicesParamsWithContext(ctx context.Context) *GetInvoicesParams

NewGetInvoicesParamsWithContext creates a new GetInvoicesParams object with 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 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 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) SetDefaults

func (o *GetInvoicesParams) SetDefaults()

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

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

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

func (o *GetInvoicesParams) WithDefaults() *GetInvoicesParams

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

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

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) 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 {
}
GetPaymentsForInvoiceBadRequest describes a response with status code 400, 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 {
}
GetPaymentsForInvoiceNotFound describes a response with status code 404, 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
}
GetPaymentsForInvoiceOK describes a response with status code 200, 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

func (*GetPaymentsForInvoiceOK) GetPayload

func (o *GetPaymentsForInvoiceOK) GetPayload() []*kbmodel.InvoicePayment

type GetPaymentsForInvoiceParams

type GetPaymentsForInvoiceParams struct {

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

	// InvoiceID.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentsForInvoiceParamsWithContext

func NewGetPaymentsForInvoiceParamsWithContext(ctx context.Context) *GetPaymentsForInvoiceParams

NewGetPaymentsForInvoiceParamsWithContext creates a new GetPaymentsForInvoiceParams object with 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 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 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) SetDefaults

func (o *GetPaymentsForInvoiceParams) SetDefaults()

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

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

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

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

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

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 ModifyInvoiceCustomFieldsBadRequest

type ModifyInvoiceCustomFieldsBadRequest struct {
}
ModifyInvoiceCustomFieldsBadRequest describes a response with status code 400, 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 {
}
ModifyInvoiceCustomFieldsNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewModifyInvoiceCustomFieldsParamsWithContext

func NewModifyInvoiceCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceCustomFieldsParams

NewModifyInvoiceCustomFieldsParamsWithContext creates a new ModifyInvoiceCustomFieldsParams object with 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 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 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) SetDefaults

func (o *ModifyInvoiceCustomFieldsParams) SetDefaults()

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

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

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

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

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

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
}
SearchInvoicesOK describes a response with status code 200, 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

func (*SearchInvoicesOK) GetPayload

func (o *SearchInvoicesOK) GetPayload() []*kbmodel.Invoice

type SearchInvoicesParams

type SearchInvoicesParams struct {

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

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	// SearchKey.
	SearchKey string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchInvoicesParamsWithContext

func NewSearchInvoicesParamsWithContext(ctx context.Context) *SearchInvoicesParams

NewSearchInvoicesParamsWithContext creates a new SearchInvoicesParams object with 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 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 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) SetDefaults

func (o *SearchInvoicesParams) SetDefaults()

SetDefaults hydrates default values in the search invoices params (not the query body).

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

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

func (o *SearchInvoicesParams) WithDefaults() *SearchInvoicesParams

WithDefaults hydrates default values in the search invoices params (not the query body).

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

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) 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
}
UploadCatalogTranslationCreated describes a response with status code 201, with default header values.

Uploaded catalog translation Successfully

func NewUploadCatalogTranslationCreated

func NewUploadCatalogTranslationCreated() *UploadCatalogTranslationCreated

NewUploadCatalogTranslationCreated creates a UploadCatalogTranslationCreated with default headers values

func (*UploadCatalogTranslationCreated) Error

func (*UploadCatalogTranslationCreated) GetPayload

func (o *UploadCatalogTranslationCreated) GetPayload() string

type UploadCatalogTranslationParams

type UploadCatalogTranslationParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	// DeleteIfExists.
	DeleteIfExists *bool

	// Locale.
	Locale string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUploadCatalogTranslationParamsWithContext

func NewUploadCatalogTranslationParamsWithContext(ctx context.Context) *UploadCatalogTranslationParams

NewUploadCatalogTranslationParamsWithContext creates a new UploadCatalogTranslationParams object with 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 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 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) SetDefaults

func (o *UploadCatalogTranslationParams) SetDefaults()

SetDefaults hydrates default values in the upload catalog translation params (not the query body).

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

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

WithDefaults hydrates default values in the upload catalog translation params (not the query body).

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

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
}
UploadInvoiceMPTemplateOK describes a response with status code 200, 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

func (*UploadInvoiceMPTemplateOK) GetPayload

func (o *UploadInvoiceMPTemplateOK) GetPayload() string

type UploadInvoiceMPTemplateParams

type UploadInvoiceMPTemplateParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	// DeleteIfExists.
	DeleteIfExists *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUploadInvoiceMPTemplateParamsWithContext

func NewUploadInvoiceMPTemplateParamsWithContext(ctx context.Context) *UploadInvoiceMPTemplateParams

NewUploadInvoiceMPTemplateParamsWithContext creates a new UploadInvoiceMPTemplateParams object with 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 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 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) SetDefaults

func (o *UploadInvoiceMPTemplateParams) SetDefaults()

SetDefaults hydrates default values in the upload invoice m p template params (not the query body).

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

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

WithDefaults hydrates default values in the upload invoice m p template params (not the query body).

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

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
}
UploadInvoiceTemplateCreated describes a response with status code 201, with default header values.

Uploaded invoice template Successfully

func NewUploadInvoiceTemplateCreated

func NewUploadInvoiceTemplateCreated() *UploadInvoiceTemplateCreated

NewUploadInvoiceTemplateCreated creates a UploadInvoiceTemplateCreated with default headers values

func (*UploadInvoiceTemplateCreated) Error

func (*UploadInvoiceTemplateCreated) GetPayload

func (o *UploadInvoiceTemplateCreated) GetPayload() string

type UploadInvoiceTemplateParams

type UploadInvoiceTemplateParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	// DeleteIfExists.
	DeleteIfExists *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUploadInvoiceTemplateParamsWithContext

func NewUploadInvoiceTemplateParamsWithContext(ctx context.Context) *UploadInvoiceTemplateParams

NewUploadInvoiceTemplateParamsWithContext creates a new UploadInvoiceTemplateParams object with 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 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 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) SetDefaults

func (o *UploadInvoiceTemplateParams) SetDefaults()

SetDefaults hydrates default values in the upload invoice template params (not the query body).

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

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

WithDefaults hydrates default values in the upload invoice template params (not the query body).

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

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
}
UploadInvoiceTranslationCreated describes a response with status code 201, with default header values.

Uploaded invoice translation Successfully

func NewUploadInvoiceTranslationCreated

func NewUploadInvoiceTranslationCreated() *UploadInvoiceTranslationCreated

NewUploadInvoiceTranslationCreated creates a UploadInvoiceTranslationCreated with default headers values

func (*UploadInvoiceTranslationCreated) Error

func (*UploadInvoiceTranslationCreated) GetPayload

func (o *UploadInvoiceTranslationCreated) GetPayload() string

type UploadInvoiceTranslationParams

type UploadInvoiceTranslationParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	// DeleteIfExists.
	DeleteIfExists *bool

	// Locale.
	Locale string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUploadInvoiceTranslationParamsWithContext

func NewUploadInvoiceTranslationParamsWithContext(ctx context.Context) *UploadInvoiceTranslationParams

NewUploadInvoiceTranslationParamsWithContext creates a new UploadInvoiceTranslationParams object with 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 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 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) SetDefaults

func (o *UploadInvoiceTranslationParams) SetDefaults()

SetDefaults hydrates default values in the upload invoice translation params (not the query body).

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

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

WithDefaults hydrates default values in the upload invoice translation params (not the query body).

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

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 {
}
VoidInvoiceBadRequest describes a response with status code 400, 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 {
}
VoidInvoiceNoContent describes a response with status code 204, 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 {
}
VoidInvoiceNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	InvoiceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVoidInvoiceParamsWithContext

func NewVoidInvoiceParamsWithContext(ctx context.Context) *VoidInvoiceParams

NewVoidInvoiceParamsWithContext creates a new VoidInvoiceParams object with 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 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 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) SetDefaults

func (o *VoidInvoiceParams) SetDefaults()

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

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

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

func (o *VoidInvoiceParams) WithDefaults() *VoidInvoiceParams

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

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

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