invoice

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdjustInvoiceItemBadRequest

type AdjustInvoiceItemBadRequest struct {
	HttpResponse runtime.ClientResponse
}

AdjustInvoiceItemBadRequest 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) Code

func (o *AdjustInvoiceItemBadRequest) Code() int

Code gets the status code for the adjust invoice item bad request response

func (*AdjustInvoiceItemBadRequest) Error

func (*AdjustInvoiceItemBadRequest) IsClientError

func (o *AdjustInvoiceItemBadRequest) IsClientError() bool

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

func (*AdjustInvoiceItemBadRequest) IsCode

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

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

func (*AdjustInvoiceItemBadRequest) IsRedirect

func (o *AdjustInvoiceItemBadRequest) IsRedirect() bool

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

func (*AdjustInvoiceItemBadRequest) IsServerError

func (o *AdjustInvoiceItemBadRequest) IsServerError() bool

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

func (*AdjustInvoiceItemBadRequest) IsSuccess

func (o *AdjustInvoiceItemBadRequest) IsSuccess() bool

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

func (*AdjustInvoiceItemBadRequest) String

func (o *AdjustInvoiceItemBadRequest) String() string

type AdjustInvoiceItemCreated

type AdjustInvoiceItemCreated struct {
	Payload      *kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

func (o *AdjustInvoiceItemCreated) Code() int

Code gets the status code for the adjust invoice item created response

func (*AdjustInvoiceItemCreated) Error

func (o *AdjustInvoiceItemCreated) Error() string

func (*AdjustInvoiceItemCreated) GetPayload

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

func (*AdjustInvoiceItemCreated) IsClientError

func (o *AdjustInvoiceItemCreated) IsClientError() bool

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

func (*AdjustInvoiceItemCreated) IsCode

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

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

func (*AdjustInvoiceItemCreated) IsRedirect

func (o *AdjustInvoiceItemCreated) IsRedirect() bool

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

func (*AdjustInvoiceItemCreated) IsServerError

func (o *AdjustInvoiceItemCreated) IsServerError() bool

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

func (*AdjustInvoiceItemCreated) IsSuccess

func (o *AdjustInvoiceItemCreated) IsSuccess() bool

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

func (*AdjustInvoiceItemCreated) String

func (o *AdjustInvoiceItemCreated) String() string

type AdjustInvoiceItemNotFound

type AdjustInvoiceItemNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *AdjustInvoiceItemNotFound) Code() int

Code gets the status code for the adjust invoice item not found response

func (*AdjustInvoiceItemNotFound) Error

func (o *AdjustInvoiceItemNotFound) Error() string

func (*AdjustInvoiceItemNotFound) IsClientError

func (o *AdjustInvoiceItemNotFound) IsClientError() bool

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

func (*AdjustInvoiceItemNotFound) IsCode

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

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

func (*AdjustInvoiceItemNotFound) IsRedirect

func (o *AdjustInvoiceItemNotFound) IsRedirect() bool

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

func (*AdjustInvoiceItemNotFound) IsServerError

func (o *AdjustInvoiceItemNotFound) IsServerError() bool

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

func (*AdjustInvoiceItemNotFound) IsSuccess

func (o *AdjustInvoiceItemNotFound) IsSuccess() bool

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

func (*AdjustInvoiceItemNotFound) String

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 New

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

New creates a new invoice API client.

func (*Client) AdjustInvoiceItem

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

AdjustInvoiceItem adjusts an invoice item

func (*Client) CommitInvoice

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

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

func (*Client) CreateExternalCharges

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

CreateExternalCharges creates external charge s

func (*Client) CreateFutureInvoice

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

CreateFutureInvoice triggers an invoice generation

func (*Client) CreateFutureInvoiceGroup

func (a *Client) CreateFutureInvoiceGroup(ctx context.Context, params *CreateFutureInvoiceGroupParams) (*CreateFutureInvoiceGroupCreated, error)

CreateFutureInvoiceGroup triggers an invoice generation

func (*Client) CreateInstantPayment

CreateInstantPayment triggers a payment for invoice

func (*Client) CreateInvoiceCustomFields

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

CreateInvoiceCustomFields adds custom fields to invoice

func (*Client) CreateInvoiceTags

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

CreateInvoiceTags adds tags to invoice

func (*Client) CreateMigrationInvoice

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

CreateMigrationInvoice creates a migration invoice

func (*Client) CreateTaxItems

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

CreateTaxItems creates tax items

func (*Client) DeleteCBA

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

DeleteCBA deletes a c b a item

func (*Client) DeleteInvoiceCustomFields

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

DeleteInvoiceCustomFields removes custom fields from invoice

func (*Client) DeleteInvoiceTags

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

DeleteInvoiceTags removes tags from invoice

func (*Client) GenerateDryRunInvoice

GenerateDryRunInvoice generates a dry run invoice

func (*Client) GetCatalogTranslation

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

GetCatalogTranslation retrieves the catalog translation for the tenant

func (*Client) GetInvoice

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

GetInvoice retrieves an invoice by id

func (*Client) GetInvoiceAsHTML

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

GetInvoiceAsHTML renders an invoice as HTML

func (*Client) GetInvoiceAuditLogsWithHistory

func (a *Client) GetInvoiceAuditLogsWithHistory(ctx context.Context, params *GetInvoiceAuditLogsWithHistoryParams) (*GetInvoiceAuditLogsWithHistoryOK, error)

GetInvoiceAuditLogsWithHistory retrieves invoice audit logs with history by id

func (*Client) GetInvoiceByItemID

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

GetInvoiceByItemID retrieves an invoice by invoice item id

func (*Client) GetInvoiceByNumber

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

GetInvoiceByNumber retrieves an invoice by number

func (*Client) GetInvoiceCustomFields

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

GetInvoiceCustomFields retrieves invoice custom fields

func (*Client) GetInvoiceMPTemplate

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

GetInvoiceMPTemplate retrieves the manual pay invoice template for the tenant

func (*Client) GetInvoiceTags

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

GetInvoiceTags retrieves invoice tags

func (*Client) GetInvoiceTemplate

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

GetInvoiceTemplate retrieves the invoice template for the tenant

func (*Client) GetInvoiceTranslation

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

GetInvoiceTranslation retrieves the invoice translation for the tenant

func (*Client) GetInvoices

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

GetInvoices lists invoices

func (*Client) GetInvoicesGroup

func (a *Client) GetInvoicesGroup(ctx context.Context, params *GetInvoicesGroupParams) (*GetInvoicesGroupOK, error)

GetInvoicesGroup retrieves a set of invoices by group id

func (*Client) GetPaymentsForInvoice

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

GetPaymentsForInvoice retrieves payments associated with an invoice

func (*Client) ModifyInvoiceCustomFields

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

ModifyInvoiceCustomFields modifies custom fields to invoice

func (*Client) SearchInvoices

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

SearchInvoices searches invoices

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadCatalogTranslation

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

UploadCatalogTranslation uploads the catalog translation for the tenant

func (*Client) UploadInvoiceMPTemplate

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

UploadInvoiceMPTemplate uploads the manual pay invoice template for the tenant

func (*Client) UploadInvoiceTemplate

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

UploadInvoiceTemplate uploads the invoice template for the tenant

func (*Client) UploadInvoiceTranslation

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

UploadInvoiceTranslation uploads the invoice translation for the tenant

func (*Client) VoidInvoice

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

VoidInvoice performs the action of voiding an invoice

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AdjustInvoiceItem(ctx context.Context, params *AdjustInvoiceItemParams) (*AdjustInvoiceItemCreated, error)

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

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

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

	CreateFutureInvoiceGroup(ctx context.Context, params *CreateFutureInvoiceGroupParams) (*CreateFutureInvoiceGroupCreated, error)

	CreateInstantPayment(ctx context.Context, params *CreateInstantPaymentParams) (*CreateInstantPaymentCreated, *CreateInstantPaymentNoContent, error)

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

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

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

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

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

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

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

	GenerateDryRunInvoice(ctx context.Context, params *GenerateDryRunInvoiceParams) (*GenerateDryRunInvoiceOK, *GenerateDryRunInvoiceNoContent, error)

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

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

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

	GetInvoiceAuditLogsWithHistory(ctx context.Context, params *GetInvoiceAuditLogsWithHistoryParams) (*GetInvoiceAuditLogsWithHistoryOK, error)

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

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

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

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

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

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

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

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

	GetInvoicesGroup(ctx context.Context, params *GetInvoicesGroupParams) (*GetInvoicesGroupOK, error)

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

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

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

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

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

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

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

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

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type CommitInvoiceNoContent

type CommitInvoiceNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *CommitInvoiceNoContent) Code() int

Code gets the status code for the commit invoice no content response

func (*CommitInvoiceNoContent) Error

func (o *CommitInvoiceNoContent) Error() string

func (*CommitInvoiceNoContent) IsClientError

func (o *CommitInvoiceNoContent) IsClientError() bool

IsClientError returns true when this commit invoice no content response has a 4xx status code

func (*CommitInvoiceNoContent) IsCode

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

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

func (*CommitInvoiceNoContent) IsRedirect

func (o *CommitInvoiceNoContent) IsRedirect() bool

IsRedirect returns true when this commit invoice no content response has a 3xx status code

func (*CommitInvoiceNoContent) IsServerError

func (o *CommitInvoiceNoContent) IsServerError() bool

IsServerError returns true when this commit invoice no content response has a 5xx status code

func (*CommitInvoiceNoContent) IsSuccess

func (o *CommitInvoiceNoContent) IsSuccess() bool

IsSuccess returns true when this commit invoice no content response has a 2xx status code

func (*CommitInvoiceNoContent) String

func (o *CommitInvoiceNoContent) String() string

type CommitInvoiceNotFound

type CommitInvoiceNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *CommitInvoiceNotFound) Code() int

Code gets the status code for the commit invoice not found response

func (*CommitInvoiceNotFound) Error

func (o *CommitInvoiceNotFound) Error() string

func (*CommitInvoiceNotFound) IsClientError

func (o *CommitInvoiceNotFound) IsClientError() bool

IsClientError returns true when this commit invoice not found response has a 4xx status code

func (*CommitInvoiceNotFound) IsCode

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

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

func (*CommitInvoiceNotFound) IsRedirect

func (o *CommitInvoiceNotFound) IsRedirect() bool

IsRedirect returns true when this commit invoice not found response has a 3xx status code

func (*CommitInvoiceNotFound) IsServerError

func (o *CommitInvoiceNotFound) IsServerError() bool

IsServerError returns true when this commit invoice not found response has a 5xx status code

func (*CommitInvoiceNotFound) IsSuccess

func (o *CommitInvoiceNotFound) IsSuccess() bool

IsSuccess returns true when this commit invoice not found response has a 2xx status code

func (*CommitInvoiceNotFound) String

func (o *CommitInvoiceNotFound) String() string

type CommitInvoiceParams

type CommitInvoiceParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the create external charges bad request response

func (*CreateExternalChargesBadRequest) Error

func (*CreateExternalChargesBadRequest) IsClientError

func (o *CreateExternalChargesBadRequest) IsClientError() bool

IsClientError returns true when this create external charges bad request response has a 4xx status code

func (*CreateExternalChargesBadRequest) IsCode

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

IsCode returns true when this create external charges bad request response a status code equal to that given

func (*CreateExternalChargesBadRequest) IsRedirect

func (o *CreateExternalChargesBadRequest) IsRedirect() bool

IsRedirect returns true when this create external charges bad request response has a 3xx status code

func (*CreateExternalChargesBadRequest) IsServerError

func (o *CreateExternalChargesBadRequest) IsServerError() bool

IsServerError returns true when this create external charges bad request response has a 5xx status code

func (*CreateExternalChargesBadRequest) IsSuccess

func (o *CreateExternalChargesBadRequest) IsSuccess() bool

IsSuccess returns true when this create external charges bad request response has a 2xx status code

func (*CreateExternalChargesBadRequest) String

type CreateExternalChargesCreated

type CreateExternalChargesCreated struct {
	Payload      []*kbmodel.InvoiceItem
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the create external charges created response

func (*CreateExternalChargesCreated) Error

func (*CreateExternalChargesCreated) GetPayload

func (*CreateExternalChargesCreated) IsClientError

func (o *CreateExternalChargesCreated) IsClientError() bool

IsClientError returns true when this create external charges created response has a 4xx status code

func (*CreateExternalChargesCreated) IsCode

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

IsCode returns true when this create external charges created response a status code equal to that given

func (*CreateExternalChargesCreated) IsRedirect

func (o *CreateExternalChargesCreated) IsRedirect() bool

IsRedirect returns true when this create external charges created response has a 3xx status code

func (*CreateExternalChargesCreated) IsServerError

func (o *CreateExternalChargesCreated) IsServerError() bool

IsServerError returns true when this create external charges created response has a 5xx status code

func (*CreateExternalChargesCreated) IsSuccess

func (o *CreateExternalChargesCreated) IsSuccess() bool

IsSuccess returns true when this create external charges created response has a 2xx status code

func (*CreateExternalChargesCreated) String

type CreateExternalChargesNotFound

type CreateExternalChargesNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the create external charges not found response

func (*CreateExternalChargesNotFound) Error

func (*CreateExternalChargesNotFound) IsClientError

func (o *CreateExternalChargesNotFound) IsClientError() bool

IsClientError returns true when this create external charges not found response has a 4xx status code

func (*CreateExternalChargesNotFound) IsCode

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

IsCode returns true when this create external charges not found response a status code equal to that given

func (*CreateExternalChargesNotFound) IsRedirect

func (o *CreateExternalChargesNotFound) IsRedirect() bool

IsRedirect returns true when this create external charges not found response has a 3xx status code

func (*CreateExternalChargesNotFound) IsServerError

func (o *CreateExternalChargesNotFound) IsServerError() bool

IsServerError returns true when this create external charges not found response has a 5xx status code

func (*CreateExternalChargesNotFound) IsSuccess

func (o *CreateExternalChargesNotFound) IsSuccess() bool

IsSuccess returns true when this create external charges not found response has a 2xx status code

func (*CreateExternalChargesNotFound) String

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the create future invoice bad request response

func (*CreateFutureInvoiceBadRequest) Error

func (*CreateFutureInvoiceBadRequest) IsClientError

func (o *CreateFutureInvoiceBadRequest) IsClientError() bool

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

func (*CreateFutureInvoiceBadRequest) IsCode

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

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

func (*CreateFutureInvoiceBadRequest) IsRedirect

func (o *CreateFutureInvoiceBadRequest) IsRedirect() bool

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

func (*CreateFutureInvoiceBadRequest) IsServerError

func (o *CreateFutureInvoiceBadRequest) IsServerError() bool

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

func (*CreateFutureInvoiceBadRequest) IsSuccess

func (o *CreateFutureInvoiceBadRequest) IsSuccess() bool

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

func (*CreateFutureInvoiceBadRequest) String

type CreateFutureInvoiceCreated

type CreateFutureInvoiceCreated struct {
	Payload      *kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

func (o *CreateFutureInvoiceCreated) Code() int

Code gets the status code for the create future invoice created response

func (*CreateFutureInvoiceCreated) Error

func (*CreateFutureInvoiceCreated) GetPayload

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

func (*CreateFutureInvoiceCreated) IsClientError

func (o *CreateFutureInvoiceCreated) IsClientError() bool

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

func (*CreateFutureInvoiceCreated) IsCode

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

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

func (*CreateFutureInvoiceCreated) IsRedirect

func (o *CreateFutureInvoiceCreated) IsRedirect() bool

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

func (*CreateFutureInvoiceCreated) IsServerError

func (o *CreateFutureInvoiceCreated) IsServerError() bool

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

func (*CreateFutureInvoiceCreated) IsSuccess

func (o *CreateFutureInvoiceCreated) IsSuccess() bool

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

func (*CreateFutureInvoiceCreated) String

func (o *CreateFutureInvoiceCreated) String() string

type CreateFutureInvoiceGroupBadRequest

type CreateFutureInvoiceGroupBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id or target datetime supplied

func NewCreateFutureInvoiceGroupBadRequest

func NewCreateFutureInvoiceGroupBadRequest() *CreateFutureInvoiceGroupBadRequest

NewCreateFutureInvoiceGroupBadRequest creates a CreateFutureInvoiceGroupBadRequest with default headers values

func (*CreateFutureInvoiceGroupBadRequest) Code

Code gets the status code for the create future invoice group bad request response

func (*CreateFutureInvoiceGroupBadRequest) Error

func (*CreateFutureInvoiceGroupBadRequest) IsClientError

func (o *CreateFutureInvoiceGroupBadRequest) IsClientError() bool

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

func (*CreateFutureInvoiceGroupBadRequest) IsCode

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

func (*CreateFutureInvoiceGroupBadRequest) IsRedirect

func (o *CreateFutureInvoiceGroupBadRequest) IsRedirect() bool

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

func (*CreateFutureInvoiceGroupBadRequest) IsServerError

func (o *CreateFutureInvoiceGroupBadRequest) IsServerError() bool

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

func (*CreateFutureInvoiceGroupBadRequest) IsSuccess

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

func (*CreateFutureInvoiceGroupBadRequest) String

type CreateFutureInvoiceGroupCreated

type CreateFutureInvoiceGroupCreated struct {
	Payload      []*kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

Created invoice successfully

func NewCreateFutureInvoiceGroupCreated

func NewCreateFutureInvoiceGroupCreated() *CreateFutureInvoiceGroupCreated

NewCreateFutureInvoiceGroupCreated creates a CreateFutureInvoiceGroupCreated with default headers values

func (*CreateFutureInvoiceGroupCreated) Code

Code gets the status code for the create future invoice group created response

func (*CreateFutureInvoiceGroupCreated) Error

func (*CreateFutureInvoiceGroupCreated) GetPayload

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

func (*CreateFutureInvoiceGroupCreated) IsClientError

func (o *CreateFutureInvoiceGroupCreated) IsClientError() bool

IsClientError returns true when this create future invoice group created response has a 4xx status code

func (*CreateFutureInvoiceGroupCreated) IsCode

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

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

func (*CreateFutureInvoiceGroupCreated) IsRedirect

func (o *CreateFutureInvoiceGroupCreated) IsRedirect() bool

IsRedirect returns true when this create future invoice group created response has a 3xx status code

func (*CreateFutureInvoiceGroupCreated) IsServerError

func (o *CreateFutureInvoiceGroupCreated) IsServerError() bool

IsServerError returns true when this create future invoice group created response has a 5xx status code

func (*CreateFutureInvoiceGroupCreated) IsSuccess

func (o *CreateFutureInvoiceGroupCreated) IsSuccess() bool

IsSuccess returns true when this create future invoice group created response has a 2xx status code

func (*CreateFutureInvoiceGroupCreated) String

type CreateFutureInvoiceGroupParams

type CreateFutureInvoiceGroupParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// PluginProperty.
	PluginProperty []string

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

CreateFutureInvoiceGroupParams contains all the parameters to send to the API endpoint

for the create future invoice group operation.

Typically these are written to a http.Request.

func NewCreateFutureInvoiceGroupParams

func NewCreateFutureInvoiceGroupParams() *CreateFutureInvoiceGroupParams

NewCreateFutureInvoiceGroupParams creates a new CreateFutureInvoiceGroupParams 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 NewCreateFutureInvoiceGroupParamsWithContext

func NewCreateFutureInvoiceGroupParamsWithContext(ctx context.Context) *CreateFutureInvoiceGroupParams

NewCreateFutureInvoiceGroupParamsWithContext creates a new CreateFutureInvoiceGroupParams object with the ability to set a context for a request.

func NewCreateFutureInvoiceGroupParamsWithHTTPClient

func NewCreateFutureInvoiceGroupParamsWithHTTPClient(client *http.Client) *CreateFutureInvoiceGroupParams

NewCreateFutureInvoiceGroupParamsWithHTTPClient creates a new CreateFutureInvoiceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFutureInvoiceGroupParamsWithTimeout

func NewCreateFutureInvoiceGroupParamsWithTimeout(timeout time.Duration) *CreateFutureInvoiceGroupParams

NewCreateFutureInvoiceGroupParamsWithTimeout creates a new CreateFutureInvoiceGroupParams object with the ability to set a timeout on a request.

func (*CreateFutureInvoiceGroupParams) SetAccountID

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

SetAccountID adds the accountId to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) SetContext

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

SetContext adds the context to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) SetDefaults

func (o *CreateFutureInvoiceGroupParams) SetDefaults()

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

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

func (*CreateFutureInvoiceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) SetTargetDate

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

SetTargetDate adds the targetDate to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) SetXKillbillCreatedBy

func (o *CreateFutureInvoiceGroupParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithAccountID

WithAccountID adds the accountID to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithContext

WithContext adds the context to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithDefaults

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

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

func (*CreateFutureInvoiceGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithTargetDate

WithTargetDate adds the targetDate to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithTimeout

WithTimeout adds the timeout to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create future invoice group params

func (*CreateFutureInvoiceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFutureInvoiceGroupReader

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

CreateFutureInvoiceGroupReader is a Reader for the CreateFutureInvoiceGroup structure.

func (*CreateFutureInvoiceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFutureInvoiceParams

type CreateFutureInvoiceParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// PluginProperty.
	PluginProperty []string

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

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

SetPluginProperty adds the pluginProperty 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) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create future invoice params

func (*CreateFutureInvoiceParams) WithTargetDate

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

WithTargetDate adds the targetDate to the create future invoice params

func (*CreateFutureInvoiceParams) WithTimeout

WithTimeout adds the timeout to the create future invoice params

func (*CreateFutureInvoiceParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create future invoice params

func (*CreateFutureInvoiceParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create future invoice params

func (*CreateFutureInvoiceParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create future invoice params

func (*CreateFutureInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFutureInvoiceReader

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

CreateFutureInvoiceReader is a Reader for the CreateFutureInvoice structure.

func (*CreateFutureInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInstantPaymentBadRequest

type CreateInstantPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateInstantPaymentBadRequest 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) Code

Code gets the status code for the create instant payment bad request response

func (*CreateInstantPaymentBadRequest) Error

func (*CreateInstantPaymentBadRequest) IsClientError

func (o *CreateInstantPaymentBadRequest) IsClientError() bool

IsClientError returns true when this create instant payment bad request response has a 4xx status code

func (*CreateInstantPaymentBadRequest) IsCode

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

IsCode returns true when this create instant payment bad request response a status code equal to that given

func (*CreateInstantPaymentBadRequest) IsRedirect

func (o *CreateInstantPaymentBadRequest) IsRedirect() bool

IsRedirect returns true when this create instant payment bad request response has a 3xx status code

func (*CreateInstantPaymentBadRequest) IsServerError

func (o *CreateInstantPaymentBadRequest) IsServerError() bool

IsServerError returns true when this create instant payment bad request response has a 5xx status code

func (*CreateInstantPaymentBadRequest) IsSuccess

func (o *CreateInstantPaymentBadRequest) IsSuccess() bool

IsSuccess returns true when this create instant payment bad request response has a 2xx status code

func (*CreateInstantPaymentBadRequest) String

type CreateInstantPaymentCreated

type CreateInstantPaymentCreated struct {
	Payload      *kbmodel.InvoicePayment
	HttpResponse runtime.ClientResponse
}

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

func (o *CreateInstantPaymentCreated) Code() int

Code gets the status code for the create instant payment created response

func (*CreateInstantPaymentCreated) Error

func (*CreateInstantPaymentCreated) GetPayload

func (*CreateInstantPaymentCreated) IsClientError

func (o *CreateInstantPaymentCreated) IsClientError() bool

IsClientError returns true when this create instant payment created response has a 4xx status code

func (*CreateInstantPaymentCreated) IsCode

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

IsCode returns true when this create instant payment created response a status code equal to that given

func (*CreateInstantPaymentCreated) IsRedirect

func (o *CreateInstantPaymentCreated) IsRedirect() bool

IsRedirect returns true when this create instant payment created response has a 3xx status code

func (*CreateInstantPaymentCreated) IsServerError

func (o *CreateInstantPaymentCreated) IsServerError() bool

IsServerError returns true when this create instant payment created response has a 5xx status code

func (*CreateInstantPaymentCreated) IsSuccess

func (o *CreateInstantPaymentCreated) IsSuccess() bool

IsSuccess returns true when this create instant payment created response has a 2xx status code

func (*CreateInstantPaymentCreated) String

func (o *CreateInstantPaymentCreated) String() string

type CreateInstantPaymentNoContent

type CreateInstantPaymentNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the create instant payment no content response

func (*CreateInstantPaymentNoContent) Error

func (*CreateInstantPaymentNoContent) IsClientError

func (o *CreateInstantPaymentNoContent) IsClientError() bool

IsClientError returns true when this create instant payment no content response has a 4xx status code

func (*CreateInstantPaymentNoContent) IsCode

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

IsCode returns true when this create instant payment no content response a status code equal to that given

func (*CreateInstantPaymentNoContent) IsRedirect

func (o *CreateInstantPaymentNoContent) IsRedirect() bool

IsRedirect returns true when this create instant payment no content response has a 3xx status code

func (*CreateInstantPaymentNoContent) IsServerError

func (o *CreateInstantPaymentNoContent) IsServerError() bool

IsServerError returns true when this create instant payment no content response has a 5xx status code

func (*CreateInstantPaymentNoContent) IsSuccess

func (o *CreateInstantPaymentNoContent) IsSuccess() bool

IsSuccess returns true when this create instant payment no content response has a 2xx status code

func (*CreateInstantPaymentNoContent) String

type CreateInstantPaymentNotFound

type CreateInstantPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the create instant payment not found response

func (*CreateInstantPaymentNotFound) Error

func (*CreateInstantPaymentNotFound) IsClientError

func (o *CreateInstantPaymentNotFound) IsClientError() bool

IsClientError returns true when this create instant payment not found response has a 4xx status code

func (*CreateInstantPaymentNotFound) IsCode

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

IsCode returns true when this create instant payment not found response a status code equal to that given

func (*CreateInstantPaymentNotFound) IsRedirect

func (o *CreateInstantPaymentNotFound) IsRedirect() bool

IsRedirect returns true when this create instant payment not found response has a 3xx status code

func (*CreateInstantPaymentNotFound) IsServerError

func (o *CreateInstantPaymentNotFound) IsServerError() bool

IsServerError returns true when this create instant payment not found response has a 5xx status code

func (*CreateInstantPaymentNotFound) IsSuccess

func (o *CreateInstantPaymentNotFound) IsSuccess() bool

IsSuccess returns true when this create instant payment not found response has a 2xx status code

func (*CreateInstantPaymentNotFound) String

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

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

func (*CreateInvoiceCustomFieldsBadRequest) Error

func (*CreateInvoiceCustomFieldsBadRequest) IsClientError

func (o *CreateInvoiceCustomFieldsBadRequest) IsClientError() bool

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

func (*CreateInvoiceCustomFieldsBadRequest) IsCode

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

func (*CreateInvoiceCustomFieldsBadRequest) IsRedirect

func (o *CreateInvoiceCustomFieldsBadRequest) IsRedirect() bool

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

func (*CreateInvoiceCustomFieldsBadRequest) IsServerError

func (o *CreateInvoiceCustomFieldsBadRequest) IsServerError() bool

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

func (*CreateInvoiceCustomFieldsBadRequest) IsSuccess

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

func (*CreateInvoiceCustomFieldsBadRequest) String

type CreateInvoiceCustomFieldsCreated

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

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

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

func (*CreateInvoiceCustomFieldsCreated) Error

func (*CreateInvoiceCustomFieldsCreated) GetPayload

func (*CreateInvoiceCustomFieldsCreated) IsClientError

func (o *CreateInvoiceCustomFieldsCreated) IsClientError() bool

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

func (*CreateInvoiceCustomFieldsCreated) IsCode

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

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

func (*CreateInvoiceCustomFieldsCreated) IsRedirect

func (o *CreateInvoiceCustomFieldsCreated) IsRedirect() bool

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

func (*CreateInvoiceCustomFieldsCreated) IsServerError

func (o *CreateInvoiceCustomFieldsCreated) IsServerError() bool

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

func (*CreateInvoiceCustomFieldsCreated) IsSuccess

func (o *CreateInvoiceCustomFieldsCreated) IsSuccess() bool

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

func (*CreateInvoiceCustomFieldsCreated) String

type CreateInvoiceCustomFieldsParams

type CreateInvoiceCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *CreateInvoiceTagsBadRequest) Code() int

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

func (*CreateInvoiceTagsBadRequest) Error

func (*CreateInvoiceTagsBadRequest) IsClientError

func (o *CreateInvoiceTagsBadRequest) IsClientError() bool

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

func (*CreateInvoiceTagsBadRequest) IsCode

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

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

func (*CreateInvoiceTagsBadRequest) IsRedirect

func (o *CreateInvoiceTagsBadRequest) IsRedirect() bool

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

func (*CreateInvoiceTagsBadRequest) IsServerError

func (o *CreateInvoiceTagsBadRequest) IsServerError() bool

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

func (*CreateInvoiceTagsBadRequest) IsSuccess

func (o *CreateInvoiceTagsBadRequest) IsSuccess() bool

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

func (*CreateInvoiceTagsBadRequest) String

func (o *CreateInvoiceTagsBadRequest) String() string

type CreateInvoiceTagsCreated

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

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

func (o *CreateInvoiceTagsCreated) Code() int

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

func (*CreateInvoiceTagsCreated) Error

func (o *CreateInvoiceTagsCreated) Error() string

func (*CreateInvoiceTagsCreated) GetPayload

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

func (*CreateInvoiceTagsCreated) IsClientError

func (o *CreateInvoiceTagsCreated) IsClientError() bool

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

func (*CreateInvoiceTagsCreated) IsCode

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

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

func (*CreateInvoiceTagsCreated) IsRedirect

func (o *CreateInvoiceTagsCreated) IsRedirect() bool

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

func (*CreateInvoiceTagsCreated) IsServerError

func (o *CreateInvoiceTagsCreated) IsServerError() bool

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

func (*CreateInvoiceTagsCreated) IsSuccess

func (o *CreateInvoiceTagsCreated) IsSuccess() bool

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

func (*CreateInvoiceTagsCreated) String

func (o *CreateInvoiceTagsCreated) String() string

type CreateInvoiceTagsParams

type CreateInvoiceTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []strfmt.UUID

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the create migration invoice bad request response

func (*CreateMigrationInvoiceBadRequest) Error

func (*CreateMigrationInvoiceBadRequest) IsClientError

func (o *CreateMigrationInvoiceBadRequest) IsClientError() bool

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

func (*CreateMigrationInvoiceBadRequest) IsCode

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

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

func (*CreateMigrationInvoiceBadRequest) IsRedirect

func (o *CreateMigrationInvoiceBadRequest) IsRedirect() bool

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

func (*CreateMigrationInvoiceBadRequest) IsServerError

func (o *CreateMigrationInvoiceBadRequest) IsServerError() bool

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

func (*CreateMigrationInvoiceBadRequest) IsSuccess

func (o *CreateMigrationInvoiceBadRequest) IsSuccess() bool

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

func (*CreateMigrationInvoiceBadRequest) String

type CreateMigrationInvoiceCreated

type CreateMigrationInvoiceCreated struct {
	Payload      *kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the create migration invoice created response

func (*CreateMigrationInvoiceCreated) Error

func (*CreateMigrationInvoiceCreated) GetPayload

func (*CreateMigrationInvoiceCreated) IsClientError

func (o *CreateMigrationInvoiceCreated) IsClientError() bool

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

func (*CreateMigrationInvoiceCreated) IsCode

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

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

func (*CreateMigrationInvoiceCreated) IsRedirect

func (o *CreateMigrationInvoiceCreated) IsRedirect() bool

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

func (*CreateMigrationInvoiceCreated) IsServerError

func (o *CreateMigrationInvoiceCreated) IsServerError() bool

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

func (*CreateMigrationInvoiceCreated) IsSuccess

func (o *CreateMigrationInvoiceCreated) IsSuccess() bool

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

func (*CreateMigrationInvoiceCreated) String

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *CreateTaxItemsBadRequest) Code() int

Code gets the status code for the create tax items bad request response

func (*CreateTaxItemsBadRequest) Error

func (o *CreateTaxItemsBadRequest) Error() string

func (*CreateTaxItemsBadRequest) IsClientError

func (o *CreateTaxItemsBadRequest) IsClientError() bool

IsClientError returns true when this create tax items bad request response has a 4xx status code

func (*CreateTaxItemsBadRequest) IsCode

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

IsCode returns true when this create tax items bad request response a status code equal to that given

func (*CreateTaxItemsBadRequest) IsRedirect

func (o *CreateTaxItemsBadRequest) IsRedirect() bool

IsRedirect returns true when this create tax items bad request response has a 3xx status code

func (*CreateTaxItemsBadRequest) IsServerError

func (o *CreateTaxItemsBadRequest) IsServerError() bool

IsServerError returns true when this create tax items bad request response has a 5xx status code

func (*CreateTaxItemsBadRequest) IsSuccess

func (o *CreateTaxItemsBadRequest) IsSuccess() bool

IsSuccess returns true when this create tax items bad request response has a 2xx status code

func (*CreateTaxItemsBadRequest) String

func (o *CreateTaxItemsBadRequest) String() string

type CreateTaxItemsCreated

type CreateTaxItemsCreated struct {
	Payload      []*kbmodel.InvoiceItem
	HttpResponse runtime.ClientResponse
}

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

func (o *CreateTaxItemsCreated) Code() int

Code gets the status code for the create tax items created response

func (*CreateTaxItemsCreated) Error

func (o *CreateTaxItemsCreated) Error() string

func (*CreateTaxItemsCreated) GetPayload

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

func (*CreateTaxItemsCreated) IsClientError

func (o *CreateTaxItemsCreated) IsClientError() bool

IsClientError returns true when this create tax items created response has a 4xx status code

func (*CreateTaxItemsCreated) IsCode

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

IsCode returns true when this create tax items created response a status code equal to that given

func (*CreateTaxItemsCreated) IsRedirect

func (o *CreateTaxItemsCreated) IsRedirect() bool

IsRedirect returns true when this create tax items created response has a 3xx status code

func (*CreateTaxItemsCreated) IsServerError

func (o *CreateTaxItemsCreated) IsServerError() bool

IsServerError returns true when this create tax items created response has a 5xx status code

func (*CreateTaxItemsCreated) IsSuccess

func (o *CreateTaxItemsCreated) IsSuccess() bool

IsSuccess returns true when this create tax items created response has a 2xx status code

func (*CreateTaxItemsCreated) String

func (o *CreateTaxItemsCreated) String() string

type CreateTaxItemsNotFound

type CreateTaxItemsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *CreateTaxItemsNotFound) Code() int

Code gets the status code for the create tax items not found response

func (*CreateTaxItemsNotFound) Error

func (o *CreateTaxItemsNotFound) Error() string

func (*CreateTaxItemsNotFound) IsClientError

func (o *CreateTaxItemsNotFound) IsClientError() bool

IsClientError returns true when this create tax items not found response has a 4xx status code

func (*CreateTaxItemsNotFound) IsCode

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

IsCode returns true when this create tax items not found response a status code equal to that given

func (*CreateTaxItemsNotFound) IsRedirect

func (o *CreateTaxItemsNotFound) IsRedirect() bool

IsRedirect returns true when this create tax items not found response has a 3xx status code

func (*CreateTaxItemsNotFound) IsServerError

func (o *CreateTaxItemsNotFound) IsServerError() bool

IsServerError returns true when this create tax items not found response has a 5xx status code

func (*CreateTaxItemsNotFound) IsSuccess

func (o *CreateTaxItemsNotFound) IsSuccess() bool

IsSuccess returns true when this create tax items not found response has a 2xx status code

func (*CreateTaxItemsNotFound) String

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *DeleteCBABadRequest) Code() int

Code gets the status code for the delete c b a bad request response

func (*DeleteCBABadRequest) Error

func (o *DeleteCBABadRequest) Error() string

func (*DeleteCBABadRequest) IsClientError

func (o *DeleteCBABadRequest) IsClientError() bool

IsClientError returns true when this delete c b a bad request response has a 4xx status code

func (*DeleteCBABadRequest) IsCode

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

IsCode returns true when this delete c b a bad request response a status code equal to that given

func (*DeleteCBABadRequest) IsRedirect

func (o *DeleteCBABadRequest) IsRedirect() bool

IsRedirect returns true when this delete c b a bad request response has a 3xx status code

func (*DeleteCBABadRequest) IsServerError

func (o *DeleteCBABadRequest) IsServerError() bool

IsServerError returns true when this delete c b a bad request response has a 5xx status code

func (*DeleteCBABadRequest) IsSuccess

func (o *DeleteCBABadRequest) IsSuccess() bool

IsSuccess returns true when this delete c b a bad request response has a 2xx status code

func (*DeleteCBABadRequest) String

func (o *DeleteCBABadRequest) String() string

type DeleteCBANoContent

type DeleteCBANoContent struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *DeleteCBANoContent) Code() int

Code gets the status code for the delete c b a no content response

func (*DeleteCBANoContent) Error

func (o *DeleteCBANoContent) Error() string

func (*DeleteCBANoContent) IsClientError

func (o *DeleteCBANoContent) IsClientError() bool

IsClientError returns true when this delete c b a no content response has a 4xx status code

func (*DeleteCBANoContent) IsCode

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

IsCode returns true when this delete c b a no content response a status code equal to that given

func (*DeleteCBANoContent) IsRedirect

func (o *DeleteCBANoContent) IsRedirect() bool

IsRedirect returns true when this delete c b a no content response has a 3xx status code

func (*DeleteCBANoContent) IsServerError

func (o *DeleteCBANoContent) IsServerError() bool

IsServerError returns true when this delete c b a no content response has a 5xx status code

func (*DeleteCBANoContent) IsSuccess

func (o *DeleteCBANoContent) IsSuccess() bool

IsSuccess returns true when this delete c b a no content response has a 2xx status code

func (*DeleteCBANoContent) String

func (o *DeleteCBANoContent) String() string

type DeleteCBANotFound

type DeleteCBANotFound struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *DeleteCBANotFound) Code() int

Code gets the status code for the delete c b a not found response

func (*DeleteCBANotFound) Error

func (o *DeleteCBANotFound) Error() string

func (*DeleteCBANotFound) IsClientError

func (o *DeleteCBANotFound) IsClientError() bool

IsClientError returns true when this delete c b a not found response has a 4xx status code

func (*DeleteCBANotFound) IsCode

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

IsCode returns true when this delete c b a not found response a status code equal to that given

func (*DeleteCBANotFound) IsRedirect

func (o *DeleteCBANotFound) IsRedirect() bool

IsRedirect returns true when this delete c b a not found response has a 3xx status code

func (*DeleteCBANotFound) IsServerError

func (o *DeleteCBANotFound) IsServerError() bool

IsServerError returns true when this delete c b a not found response has a 5xx status code

func (*DeleteCBANotFound) IsSuccess

func (o *DeleteCBANotFound) IsSuccess() bool

IsSuccess returns true when this delete c b a not found response has a 2xx status code

func (*DeleteCBANotFound) String

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

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

func (*DeleteInvoiceCustomFieldsBadRequest) Error

func (*DeleteInvoiceCustomFieldsBadRequest) IsClientError

func (o *DeleteInvoiceCustomFieldsBadRequest) IsClientError() bool

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

func (*DeleteInvoiceCustomFieldsBadRequest) IsCode

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

func (*DeleteInvoiceCustomFieldsBadRequest) IsRedirect

func (o *DeleteInvoiceCustomFieldsBadRequest) IsRedirect() bool

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

func (*DeleteInvoiceCustomFieldsBadRequest) IsServerError

func (o *DeleteInvoiceCustomFieldsBadRequest) IsServerError() bool

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

func (*DeleteInvoiceCustomFieldsBadRequest) IsSuccess

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

func (*DeleteInvoiceCustomFieldsBadRequest) String

type DeleteInvoiceCustomFieldsNoContent

type DeleteInvoiceCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

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

func (*DeleteInvoiceCustomFieldsNoContent) Error

func (*DeleteInvoiceCustomFieldsNoContent) IsClientError

func (o *DeleteInvoiceCustomFieldsNoContent) IsClientError() bool

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

func (*DeleteInvoiceCustomFieldsNoContent) IsCode

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

func (*DeleteInvoiceCustomFieldsNoContent) IsRedirect

func (o *DeleteInvoiceCustomFieldsNoContent) IsRedirect() bool

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

func (*DeleteInvoiceCustomFieldsNoContent) IsServerError

func (o *DeleteInvoiceCustomFieldsNoContent) IsServerError() bool

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

func (*DeleteInvoiceCustomFieldsNoContent) IsSuccess

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

func (*DeleteInvoiceCustomFieldsNoContent) String

type DeleteInvoiceCustomFieldsParams

type DeleteInvoiceCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// CustomField.
	CustomField []strfmt.UUID

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *DeleteInvoiceTagsBadRequest) Code() int

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

func (*DeleteInvoiceTagsBadRequest) Error

func (*DeleteInvoiceTagsBadRequest) IsClientError

func (o *DeleteInvoiceTagsBadRequest) IsClientError() bool

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

func (*DeleteInvoiceTagsBadRequest) IsCode

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

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

func (*DeleteInvoiceTagsBadRequest) IsRedirect

func (o *DeleteInvoiceTagsBadRequest) IsRedirect() bool

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

func (*DeleteInvoiceTagsBadRequest) IsServerError

func (o *DeleteInvoiceTagsBadRequest) IsServerError() bool

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

func (*DeleteInvoiceTagsBadRequest) IsSuccess

func (o *DeleteInvoiceTagsBadRequest) IsSuccess() bool

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

func (*DeleteInvoiceTagsBadRequest) String

func (o *DeleteInvoiceTagsBadRequest) String() string

type DeleteInvoiceTagsNoContent

type DeleteInvoiceTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *DeleteInvoiceTagsNoContent) Code() int

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

func (*DeleteInvoiceTagsNoContent) Error

func (*DeleteInvoiceTagsNoContent) IsClientError

func (o *DeleteInvoiceTagsNoContent) IsClientError() bool

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

func (*DeleteInvoiceTagsNoContent) IsCode

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

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

func (*DeleteInvoiceTagsNoContent) IsRedirect

func (o *DeleteInvoiceTagsNoContent) IsRedirect() bool

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

func (*DeleteInvoiceTagsNoContent) IsServerError

func (o *DeleteInvoiceTagsNoContent) IsServerError() bool

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

func (*DeleteInvoiceTagsNoContent) IsSuccess

func (o *DeleteInvoiceTagsNoContent) IsSuccess() bool

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

func (*DeleteInvoiceTagsNoContent) String

func (o *DeleteInvoiceTagsNoContent) String() string

type DeleteInvoiceTagsParams

type DeleteInvoiceTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// TagDef.
	TagDef []strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the generate dry run invoice bad request response

func (*GenerateDryRunInvoiceBadRequest) Error

func (*GenerateDryRunInvoiceBadRequest) IsClientError

func (o *GenerateDryRunInvoiceBadRequest) IsClientError() bool

IsClientError returns true when this generate dry run invoice bad request response has a 4xx status code

func (*GenerateDryRunInvoiceBadRequest) IsCode

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

IsCode returns true when this generate dry run invoice bad request response a status code equal to that given

func (*GenerateDryRunInvoiceBadRequest) IsRedirect

func (o *GenerateDryRunInvoiceBadRequest) IsRedirect() bool

IsRedirect returns true when this generate dry run invoice bad request response has a 3xx status code

func (*GenerateDryRunInvoiceBadRequest) IsServerError

func (o *GenerateDryRunInvoiceBadRequest) IsServerError() bool

IsServerError returns true when this generate dry run invoice bad request response has a 5xx status code

func (*GenerateDryRunInvoiceBadRequest) IsSuccess

func (o *GenerateDryRunInvoiceBadRequest) IsSuccess() bool

IsSuccess returns true when this generate dry run invoice bad request response has a 2xx status code

func (*GenerateDryRunInvoiceBadRequest) String

type GenerateDryRunInvoiceNoContent

type GenerateDryRunInvoiceNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the generate dry run invoice no content response

func (*GenerateDryRunInvoiceNoContent) Error

func (*GenerateDryRunInvoiceNoContent) IsClientError

func (o *GenerateDryRunInvoiceNoContent) IsClientError() bool

IsClientError returns true when this generate dry run invoice no content response has a 4xx status code

func (*GenerateDryRunInvoiceNoContent) IsCode

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

IsCode returns true when this generate dry run invoice no content response a status code equal to that given

func (*GenerateDryRunInvoiceNoContent) IsRedirect

func (o *GenerateDryRunInvoiceNoContent) IsRedirect() bool

IsRedirect returns true when this generate dry run invoice no content response has a 3xx status code

func (*GenerateDryRunInvoiceNoContent) IsServerError

func (o *GenerateDryRunInvoiceNoContent) IsServerError() bool

IsServerError returns true when this generate dry run invoice no content response has a 5xx status code

func (*GenerateDryRunInvoiceNoContent) IsSuccess

func (o *GenerateDryRunInvoiceNoContent) IsSuccess() bool

IsSuccess returns true when this generate dry run invoice no content response has a 2xx status code

func (*GenerateDryRunInvoiceNoContent) String

type GenerateDryRunInvoiceOK

type GenerateDryRunInvoiceOK struct {
	Payload      *kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

func (o *GenerateDryRunInvoiceOK) Code() int

Code gets the status code for the generate dry run invoice o k response

func (*GenerateDryRunInvoiceOK) Error

func (o *GenerateDryRunInvoiceOK) Error() string

func (*GenerateDryRunInvoiceOK) GetPayload

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

func (*GenerateDryRunInvoiceOK) IsClientError

func (o *GenerateDryRunInvoiceOK) IsClientError() bool

IsClientError returns true when this generate dry run invoice o k response has a 4xx status code

func (*GenerateDryRunInvoiceOK) IsCode

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

IsCode returns true when this generate dry run invoice o k response a status code equal to that given

func (*GenerateDryRunInvoiceOK) IsRedirect

func (o *GenerateDryRunInvoiceOK) IsRedirect() bool

IsRedirect returns true when this generate dry run invoice o k response has a 3xx status code

func (*GenerateDryRunInvoiceOK) IsServerError

func (o *GenerateDryRunInvoiceOK) IsServerError() bool

IsServerError returns true when this generate dry run invoice o k response has a 5xx status code

func (*GenerateDryRunInvoiceOK) IsSuccess

func (o *GenerateDryRunInvoiceOK) IsSuccess() bool

IsSuccess returns true when this generate dry run invoice o k response has a 2xx status code

func (*GenerateDryRunInvoiceOK) String

func (o *GenerateDryRunInvoiceOK) String() string

type GenerateDryRunInvoiceParams

type GenerateDryRunInvoiceParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	// Body.
	Body *kbmodel.InvoiceDryRun

	// PluginProperty.
	PluginProperty []string

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

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

SetPluginProperty adds the pluginProperty 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) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithTargetDate

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

WithTargetDate adds the targetDate to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithTimeout

WithTimeout adds the timeout to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the generate dry run invoice params

func (*GenerateDryRunInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateDryRunInvoiceReader

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

GenerateDryRunInvoiceReader is a Reader for the GenerateDryRunInvoice structure.

func (*GenerateDryRunInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCatalogTranslationBadRequest

type GetCatalogTranslationBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetCatalogTranslationBadRequest 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) Code

Code gets the status code for the get catalog translation bad request response

func (*GetCatalogTranslationBadRequest) Error

func (*GetCatalogTranslationBadRequest) IsClientError

func (o *GetCatalogTranslationBadRequest) IsClientError() bool

IsClientError returns true when this get catalog translation bad request response has a 4xx status code

func (*GetCatalogTranslationBadRequest) IsCode

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

IsCode returns true when this get catalog translation bad request response a status code equal to that given

func (*GetCatalogTranslationBadRequest) IsRedirect

func (o *GetCatalogTranslationBadRequest) IsRedirect() bool

IsRedirect returns true when this get catalog translation bad request response has a 3xx status code

func (*GetCatalogTranslationBadRequest) IsServerError

func (o *GetCatalogTranslationBadRequest) IsServerError() bool

IsServerError returns true when this get catalog translation bad request response has a 5xx status code

func (*GetCatalogTranslationBadRequest) IsSuccess

func (o *GetCatalogTranslationBadRequest) IsSuccess() bool

IsSuccess returns true when this get catalog translation bad request response has a 2xx status code

func (*GetCatalogTranslationBadRequest) String

type GetCatalogTranslationNotFound

type GetCatalogTranslationNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the get catalog translation not found response

func (*GetCatalogTranslationNotFound) Error

func (*GetCatalogTranslationNotFound) IsClientError

func (o *GetCatalogTranslationNotFound) IsClientError() bool

IsClientError returns true when this get catalog translation not found response has a 4xx status code

func (*GetCatalogTranslationNotFound) IsCode

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

IsCode returns true when this get catalog translation not found response a status code equal to that given

func (*GetCatalogTranslationNotFound) IsRedirect

func (o *GetCatalogTranslationNotFound) IsRedirect() bool

IsRedirect returns true when this get catalog translation not found response has a 3xx status code

func (*GetCatalogTranslationNotFound) IsServerError

func (o *GetCatalogTranslationNotFound) IsServerError() bool

IsServerError returns true when this get catalog translation not found response has a 5xx status code

func (*GetCatalogTranslationNotFound) IsSuccess

func (o *GetCatalogTranslationNotFound) IsSuccess() bool

IsSuccess returns true when this get catalog translation not found response has a 2xx status code

func (*GetCatalogTranslationNotFound) String

type GetCatalogTranslationOK

type GetCatalogTranslationOK struct {
	Payload      string
	HttpResponse runtime.ClientResponse
}

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

func (o *GetCatalogTranslationOK) Code() int

Code gets the status code for the get catalog translation o k response

func (*GetCatalogTranslationOK) Error

func (o *GetCatalogTranslationOK) Error() string

func (*GetCatalogTranslationOK) GetPayload

func (o *GetCatalogTranslationOK) GetPayload() string

func (*GetCatalogTranslationOK) IsClientError

func (o *GetCatalogTranslationOK) IsClientError() bool

IsClientError returns true when this get catalog translation o k response has a 4xx status code

func (*GetCatalogTranslationOK) IsCode

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

IsCode returns true when this get catalog translation o k response a status code equal to that given

func (*GetCatalogTranslationOK) IsRedirect

func (o *GetCatalogTranslationOK) IsRedirect() bool

IsRedirect returns true when this get catalog translation o k response has a 3xx status code

func (*GetCatalogTranslationOK) IsServerError

func (o *GetCatalogTranslationOK) IsServerError() bool

IsServerError returns true when this get catalog translation o k response has a 5xx status code

func (*GetCatalogTranslationOK) IsSuccess

func (o *GetCatalogTranslationOK) IsSuccess() bool

IsSuccess returns true when this get catalog translation o k response has a 2xx status code

func (*GetCatalogTranslationOK) String

func (o *GetCatalogTranslationOK) String() string

type GetCatalogTranslationParams

type GetCatalogTranslationParams struct {

	// Locale.
	Locale string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceAsHTMLNotFound) Code() int

Code gets the status code for the get invoice as Html not found response

func (*GetInvoiceAsHTMLNotFound) Error

func (o *GetInvoiceAsHTMLNotFound) Error() string

func (*GetInvoiceAsHTMLNotFound) IsClientError

func (o *GetInvoiceAsHTMLNotFound) IsClientError() bool

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

func (*GetInvoiceAsHTMLNotFound) IsCode

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

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

func (*GetInvoiceAsHTMLNotFound) IsRedirect

func (o *GetInvoiceAsHTMLNotFound) IsRedirect() bool

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

func (*GetInvoiceAsHTMLNotFound) IsServerError

func (o *GetInvoiceAsHTMLNotFound) IsServerError() bool

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

func (*GetInvoiceAsHTMLNotFound) IsSuccess

func (o *GetInvoiceAsHTMLNotFound) IsSuccess() bool

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

func (*GetInvoiceAsHTMLNotFound) String

func (o *GetInvoiceAsHTMLNotFound) String() string

type GetInvoiceAsHTMLOK

type GetInvoiceAsHTMLOK struct {
	Payload      string
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceAsHTMLOK) Code() int

Code gets the status code for the get invoice as Html o k response

func (*GetInvoiceAsHTMLOK) Error

func (o *GetInvoiceAsHTMLOK) Error() string

func (*GetInvoiceAsHTMLOK) GetPayload

func (o *GetInvoiceAsHTMLOK) GetPayload() string

func (*GetInvoiceAsHTMLOK) IsClientError

func (o *GetInvoiceAsHTMLOK) IsClientError() bool

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

func (*GetInvoiceAsHTMLOK) IsCode

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

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

func (*GetInvoiceAsHTMLOK) IsRedirect

func (o *GetInvoiceAsHTMLOK) IsRedirect() bool

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

func (*GetInvoiceAsHTMLOK) IsServerError

func (o *GetInvoiceAsHTMLOK) IsServerError() bool

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

func (*GetInvoiceAsHTMLOK) IsSuccess

func (o *GetInvoiceAsHTMLOK) IsSuccess() bool

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

func (*GetInvoiceAsHTMLOK) String

func (o *GetInvoiceAsHTMLOK) String() string

type GetInvoiceAsHTMLParams

type GetInvoiceAsHTMLParams struct {

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

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

func (*GetInvoiceAuditLogsWithHistoryNotFound) Error

func (*GetInvoiceAuditLogsWithHistoryNotFound) IsClientError

func (o *GetInvoiceAuditLogsWithHistoryNotFound) IsClientError() bool

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

func (*GetInvoiceAuditLogsWithHistoryNotFound) IsCode

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

func (*GetInvoiceAuditLogsWithHistoryNotFound) IsRedirect

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

func (*GetInvoiceAuditLogsWithHistoryNotFound) IsServerError

func (o *GetInvoiceAuditLogsWithHistoryNotFound) IsServerError() bool

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

func (*GetInvoiceAuditLogsWithHistoryNotFound) IsSuccess

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

func (*GetInvoiceAuditLogsWithHistoryNotFound) String

type GetInvoiceAuditLogsWithHistoryOK

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

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

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

func (*GetInvoiceAuditLogsWithHistoryOK) Error

func (*GetInvoiceAuditLogsWithHistoryOK) GetPayload

func (*GetInvoiceAuditLogsWithHistoryOK) IsClientError

func (o *GetInvoiceAuditLogsWithHistoryOK) IsClientError() bool

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

func (*GetInvoiceAuditLogsWithHistoryOK) IsCode

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

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

func (*GetInvoiceAuditLogsWithHistoryOK) IsRedirect

func (o *GetInvoiceAuditLogsWithHistoryOK) IsRedirect() bool

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

func (*GetInvoiceAuditLogsWithHistoryOK) IsServerError

func (o *GetInvoiceAuditLogsWithHistoryOK) IsServerError() bool

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

func (*GetInvoiceAuditLogsWithHistoryOK) IsSuccess

func (o *GetInvoiceAuditLogsWithHistoryOK) IsSuccess() bool

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

func (*GetInvoiceAuditLogsWithHistoryOK) String

type GetInvoiceAuditLogsWithHistoryParams

type GetInvoiceAuditLogsWithHistoryParams struct {

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceBadRequest) Code() int

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

func (*GetInvoiceBadRequest) Error

func (o *GetInvoiceBadRequest) Error() string

func (*GetInvoiceBadRequest) IsClientError

func (o *GetInvoiceBadRequest) IsClientError() bool

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

func (*GetInvoiceBadRequest) IsCode

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

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

func (*GetInvoiceBadRequest) IsRedirect

func (o *GetInvoiceBadRequest) IsRedirect() bool

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

func (*GetInvoiceBadRequest) IsServerError

func (o *GetInvoiceBadRequest) IsServerError() bool

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

func (*GetInvoiceBadRequest) IsSuccess

func (o *GetInvoiceBadRequest) IsSuccess() bool

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

func (*GetInvoiceBadRequest) String

func (o *GetInvoiceBadRequest) String() string

type GetInvoiceByItemIDNotFound

type GetInvoiceByItemIDNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceByItemIDNotFound) Code() int

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

func (*GetInvoiceByItemIDNotFound) Error

func (*GetInvoiceByItemIDNotFound) IsClientError

func (o *GetInvoiceByItemIDNotFound) IsClientError() bool

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

func (*GetInvoiceByItemIDNotFound) IsCode

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

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

func (*GetInvoiceByItemIDNotFound) IsRedirect

func (o *GetInvoiceByItemIDNotFound) IsRedirect() bool

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

func (*GetInvoiceByItemIDNotFound) IsServerError

func (o *GetInvoiceByItemIDNotFound) IsServerError() bool

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

func (*GetInvoiceByItemIDNotFound) IsSuccess

func (o *GetInvoiceByItemIDNotFound) IsSuccess() bool

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

func (*GetInvoiceByItemIDNotFound) String

func (o *GetInvoiceByItemIDNotFound) String() string

type GetInvoiceByItemIDOK

type GetInvoiceByItemIDOK struct {
	Payload      *kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceByItemIDOK) Code() int

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

func (*GetInvoiceByItemIDOK) Error

func (o *GetInvoiceByItemIDOK) Error() string

func (*GetInvoiceByItemIDOK) GetPayload

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

func (*GetInvoiceByItemIDOK) IsClientError

func (o *GetInvoiceByItemIDOK) IsClientError() bool

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

func (*GetInvoiceByItemIDOK) IsCode

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

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

func (*GetInvoiceByItemIDOK) IsRedirect

func (o *GetInvoiceByItemIDOK) IsRedirect() bool

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

func (*GetInvoiceByItemIDOK) IsServerError

func (o *GetInvoiceByItemIDOK) IsServerError() bool

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

func (*GetInvoiceByItemIDOK) IsSuccess

func (o *GetInvoiceByItemIDOK) IsSuccess() bool

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

func (*GetInvoiceByItemIDOK) String

func (o *GetInvoiceByItemIDOK) String() string

type GetInvoiceByItemIDParams

type GetInvoiceByItemIDParams struct {

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

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

	// WithChildrenItems.
	WithChildrenItems *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceByNumberNotFound) Code() int

Code gets the status code for the get invoice by number not found response

func (*GetInvoiceByNumberNotFound) Error

func (*GetInvoiceByNumberNotFound) IsClientError

func (o *GetInvoiceByNumberNotFound) IsClientError() bool

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

func (*GetInvoiceByNumberNotFound) IsCode

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

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

func (*GetInvoiceByNumberNotFound) IsRedirect

func (o *GetInvoiceByNumberNotFound) IsRedirect() bool

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

func (*GetInvoiceByNumberNotFound) IsServerError

func (o *GetInvoiceByNumberNotFound) IsServerError() bool

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

func (*GetInvoiceByNumberNotFound) IsSuccess

func (o *GetInvoiceByNumberNotFound) IsSuccess() bool

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

func (*GetInvoiceByNumberNotFound) String

func (o *GetInvoiceByNumberNotFound) String() string

type GetInvoiceByNumberOK

type GetInvoiceByNumberOK struct {
	Payload      *kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceByNumberOK) Code() int

Code gets the status code for the get invoice by number o k response

func (*GetInvoiceByNumberOK) Error

func (o *GetInvoiceByNumberOK) Error() string

func (*GetInvoiceByNumberOK) GetPayload

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

func (*GetInvoiceByNumberOK) IsClientError

func (o *GetInvoiceByNumberOK) IsClientError() bool

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

func (*GetInvoiceByNumberOK) IsCode

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

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

func (*GetInvoiceByNumberOK) IsRedirect

func (o *GetInvoiceByNumberOK) IsRedirect() bool

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

func (*GetInvoiceByNumberOK) IsServerError

func (o *GetInvoiceByNumberOK) IsServerError() bool

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

func (*GetInvoiceByNumberOK) IsSuccess

func (o *GetInvoiceByNumberOK) IsSuccess() bool

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

func (*GetInvoiceByNumberOK) String

func (o *GetInvoiceByNumberOK) String() string

type GetInvoiceByNumberParams

type GetInvoiceByNumberParams struct {

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

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

	// WithChildrenItems.
	WithChildrenItems *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

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

func (*GetInvoiceCustomFieldsBadRequest) Error

func (*GetInvoiceCustomFieldsBadRequest) IsClientError

func (o *GetInvoiceCustomFieldsBadRequest) IsClientError() bool

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

func (*GetInvoiceCustomFieldsBadRequest) IsCode

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

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

func (*GetInvoiceCustomFieldsBadRequest) IsRedirect

func (o *GetInvoiceCustomFieldsBadRequest) IsRedirect() bool

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

func (*GetInvoiceCustomFieldsBadRequest) IsServerError

func (o *GetInvoiceCustomFieldsBadRequest) IsServerError() bool

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

func (*GetInvoiceCustomFieldsBadRequest) IsSuccess

func (o *GetInvoiceCustomFieldsBadRequest) IsSuccess() bool

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

func (*GetInvoiceCustomFieldsBadRequest) String

type GetInvoiceCustomFieldsOK

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

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

func (o *GetInvoiceCustomFieldsOK) Code() int

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

func (*GetInvoiceCustomFieldsOK) Error

func (o *GetInvoiceCustomFieldsOK) Error() string

func (*GetInvoiceCustomFieldsOK) GetPayload

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

func (*GetInvoiceCustomFieldsOK) IsClientError

func (o *GetInvoiceCustomFieldsOK) IsClientError() bool

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

func (*GetInvoiceCustomFieldsOK) IsCode

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

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

func (*GetInvoiceCustomFieldsOK) IsRedirect

func (o *GetInvoiceCustomFieldsOK) IsRedirect() bool

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

func (*GetInvoiceCustomFieldsOK) IsServerError

func (o *GetInvoiceCustomFieldsOK) IsServerError() bool

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

func (*GetInvoiceCustomFieldsOK) IsSuccess

func (o *GetInvoiceCustomFieldsOK) IsSuccess() bool

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

func (*GetInvoiceCustomFieldsOK) String

func (o *GetInvoiceCustomFieldsOK) String() string

type GetInvoiceCustomFieldsParams

type GetInvoiceCustomFieldsParams struct {

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

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the get invoice m p template not found response

func (*GetInvoiceMPTemplateNotFound) Error

func (*GetInvoiceMPTemplateNotFound) IsClientError

func (o *GetInvoiceMPTemplateNotFound) IsClientError() bool

IsClientError returns true when this get invoice m p template not found response has a 4xx status code

func (*GetInvoiceMPTemplateNotFound) IsCode

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

IsCode returns true when this get invoice m p template not found response a status code equal to that given

func (*GetInvoiceMPTemplateNotFound) IsRedirect

func (o *GetInvoiceMPTemplateNotFound) IsRedirect() bool

IsRedirect returns true when this get invoice m p template not found response has a 3xx status code

func (*GetInvoiceMPTemplateNotFound) IsServerError

func (o *GetInvoiceMPTemplateNotFound) IsServerError() bool

IsServerError returns true when this get invoice m p template not found response has a 5xx status code

func (*GetInvoiceMPTemplateNotFound) IsSuccess

func (o *GetInvoiceMPTemplateNotFound) IsSuccess() bool

IsSuccess returns true when this get invoice m p template not found response has a 2xx status code

func (*GetInvoiceMPTemplateNotFound) String

type GetInvoiceMPTemplateOK

type GetInvoiceMPTemplateOK struct {
	Payload      string
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceMPTemplateOK) Code() int

Code gets the status code for the get invoice m p template o k response

func (*GetInvoiceMPTemplateOK) Error

func (o *GetInvoiceMPTemplateOK) Error() string

func (*GetInvoiceMPTemplateOK) GetPayload

func (o *GetInvoiceMPTemplateOK) GetPayload() string

func (*GetInvoiceMPTemplateOK) IsClientError

func (o *GetInvoiceMPTemplateOK) IsClientError() bool

IsClientError returns true when this get invoice m p template o k response has a 4xx status code

func (*GetInvoiceMPTemplateOK) IsCode

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

IsCode returns true when this get invoice m p template o k response a status code equal to that given

func (*GetInvoiceMPTemplateOK) IsRedirect

func (o *GetInvoiceMPTemplateOK) IsRedirect() bool

IsRedirect returns true when this get invoice m p template o k response has a 3xx status code

func (*GetInvoiceMPTemplateOK) IsServerError

func (o *GetInvoiceMPTemplateOK) IsServerError() bool

IsServerError returns true when this get invoice m p template o k response has a 5xx status code

func (*GetInvoiceMPTemplateOK) IsSuccess

func (o *GetInvoiceMPTemplateOK) IsSuccess() bool

IsSuccess returns true when this get invoice m p template o k response has a 2xx status code

func (*GetInvoiceMPTemplateOK) String

func (o *GetInvoiceMPTemplateOK) String() string

type GetInvoiceMPTemplateParams

type GetInvoiceMPTemplateParams struct {

	// Locale.
	Locale string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceNotFound) Code() int

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

func (*GetInvoiceNotFound) Error

func (o *GetInvoiceNotFound) Error() string

func (*GetInvoiceNotFound) IsClientError

func (o *GetInvoiceNotFound) IsClientError() bool

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

func (*GetInvoiceNotFound) IsCode

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

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

func (*GetInvoiceNotFound) IsRedirect

func (o *GetInvoiceNotFound) IsRedirect() bool

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

func (*GetInvoiceNotFound) IsServerError

func (o *GetInvoiceNotFound) IsServerError() bool

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

func (*GetInvoiceNotFound) IsSuccess

func (o *GetInvoiceNotFound) IsSuccess() bool

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

func (*GetInvoiceNotFound) String

func (o *GetInvoiceNotFound) String() string

type GetInvoiceOK

type GetInvoiceOK struct {
	Payload      *kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceOK) Code() int

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

func (*GetInvoiceOK) Error

func (o *GetInvoiceOK) Error() string

func (*GetInvoiceOK) GetPayload

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

func (*GetInvoiceOK) IsClientError

func (o *GetInvoiceOK) IsClientError() bool

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

func (*GetInvoiceOK) IsCode

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

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

func (*GetInvoiceOK) IsRedirect

func (o *GetInvoiceOK) IsRedirect() bool

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

func (*GetInvoiceOK) IsServerError

func (o *GetInvoiceOK) IsServerError() bool

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

func (*GetInvoiceOK) IsSuccess

func (o *GetInvoiceOK) IsSuccess() bool

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

func (*GetInvoiceOK) String

func (o *GetInvoiceOK) String() string

type GetInvoiceParams

type GetInvoiceParams struct {

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

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

	// WithChildrenItems.
	WithChildrenItems *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceTagsBadRequest) Code() int

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

func (*GetInvoiceTagsBadRequest) Error

func (o *GetInvoiceTagsBadRequest) Error() string

func (*GetInvoiceTagsBadRequest) IsClientError

func (o *GetInvoiceTagsBadRequest) IsClientError() bool

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

func (*GetInvoiceTagsBadRequest) IsCode

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

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

func (*GetInvoiceTagsBadRequest) IsRedirect

func (o *GetInvoiceTagsBadRequest) IsRedirect() bool

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

func (*GetInvoiceTagsBadRequest) IsServerError

func (o *GetInvoiceTagsBadRequest) IsServerError() bool

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

func (*GetInvoiceTagsBadRequest) IsSuccess

func (o *GetInvoiceTagsBadRequest) IsSuccess() bool

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

func (*GetInvoiceTagsBadRequest) String

func (o *GetInvoiceTagsBadRequest) String() string

type GetInvoiceTagsNotFound

type GetInvoiceTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceTagsNotFound) Code() int

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

func (*GetInvoiceTagsNotFound) Error

func (o *GetInvoiceTagsNotFound) Error() string

func (*GetInvoiceTagsNotFound) IsClientError

func (o *GetInvoiceTagsNotFound) IsClientError() bool

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

func (*GetInvoiceTagsNotFound) IsCode

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

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

func (*GetInvoiceTagsNotFound) IsRedirect

func (o *GetInvoiceTagsNotFound) IsRedirect() bool

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

func (*GetInvoiceTagsNotFound) IsServerError

func (o *GetInvoiceTagsNotFound) IsServerError() bool

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

func (*GetInvoiceTagsNotFound) IsSuccess

func (o *GetInvoiceTagsNotFound) IsSuccess() bool

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

func (*GetInvoiceTagsNotFound) String

func (o *GetInvoiceTagsNotFound) String() string

type GetInvoiceTagsOK

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

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

func (o *GetInvoiceTagsOK) Code() int

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

func (*GetInvoiceTagsOK) Error

func (o *GetInvoiceTagsOK) Error() string

func (*GetInvoiceTagsOK) GetPayload

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

func (*GetInvoiceTagsOK) IsClientError

func (o *GetInvoiceTagsOK) IsClientError() bool

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

func (*GetInvoiceTagsOK) IsCode

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

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

func (*GetInvoiceTagsOK) IsRedirect

func (o *GetInvoiceTagsOK) IsRedirect() bool

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

func (*GetInvoiceTagsOK) IsServerError

func (o *GetInvoiceTagsOK) IsServerError() bool

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

func (*GetInvoiceTagsOK) IsSuccess

func (o *GetInvoiceTagsOK) IsSuccess() bool

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

func (*GetInvoiceTagsOK) String

func (o *GetInvoiceTagsOK) String() string

type GetInvoiceTagsParams

type GetInvoiceTagsParams struct {

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

	// IncludedDeleted.
	IncludedDeleted *bool

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceTemplateNotFound) Code() int

Code gets the status code for the get invoice template not found response

func (*GetInvoiceTemplateNotFound) Error

func (*GetInvoiceTemplateNotFound) IsClientError

func (o *GetInvoiceTemplateNotFound) IsClientError() bool

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

func (*GetInvoiceTemplateNotFound) IsCode

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

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

func (*GetInvoiceTemplateNotFound) IsRedirect

func (o *GetInvoiceTemplateNotFound) IsRedirect() bool

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

func (*GetInvoiceTemplateNotFound) IsServerError

func (o *GetInvoiceTemplateNotFound) IsServerError() bool

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

func (*GetInvoiceTemplateNotFound) IsSuccess

func (o *GetInvoiceTemplateNotFound) IsSuccess() bool

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

func (*GetInvoiceTemplateNotFound) String

func (o *GetInvoiceTemplateNotFound) String() string

type GetInvoiceTemplateOK

type GetInvoiceTemplateOK struct {
	Payload      string
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceTemplateOK) Code() int

Code gets the status code for the get invoice template o k response

func (*GetInvoiceTemplateOK) Error

func (o *GetInvoiceTemplateOK) Error() string

func (*GetInvoiceTemplateOK) GetPayload

func (o *GetInvoiceTemplateOK) GetPayload() string

func (*GetInvoiceTemplateOK) IsClientError

func (o *GetInvoiceTemplateOK) IsClientError() bool

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

func (*GetInvoiceTemplateOK) IsCode

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

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

func (*GetInvoiceTemplateOK) IsRedirect

func (o *GetInvoiceTemplateOK) IsRedirect() bool

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

func (*GetInvoiceTemplateOK) IsServerError

func (o *GetInvoiceTemplateOK) IsServerError() bool

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

func (*GetInvoiceTemplateOK) IsSuccess

func (o *GetInvoiceTemplateOK) IsSuccess() bool

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

func (*GetInvoiceTemplateOK) String

func (o *GetInvoiceTemplateOK) String() string

type GetInvoiceTemplateParams

type GetInvoiceTemplateParams struct {
	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the get invoice translation bad request response

func (*GetInvoiceTranslationBadRequest) Error

func (*GetInvoiceTranslationBadRequest) IsClientError

func (o *GetInvoiceTranslationBadRequest) IsClientError() bool

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

func (*GetInvoiceTranslationBadRequest) IsCode

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

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

func (*GetInvoiceTranslationBadRequest) IsRedirect

func (o *GetInvoiceTranslationBadRequest) IsRedirect() bool

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

func (*GetInvoiceTranslationBadRequest) IsServerError

func (o *GetInvoiceTranslationBadRequest) IsServerError() bool

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

func (*GetInvoiceTranslationBadRequest) IsSuccess

func (o *GetInvoiceTranslationBadRequest) IsSuccess() bool

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

func (*GetInvoiceTranslationBadRequest) String

type GetInvoiceTranslationNotFound

type GetInvoiceTranslationNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the get invoice translation not found response

func (*GetInvoiceTranslationNotFound) Error

func (*GetInvoiceTranslationNotFound) IsClientError

func (o *GetInvoiceTranslationNotFound) IsClientError() bool

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

func (*GetInvoiceTranslationNotFound) IsCode

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

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

func (*GetInvoiceTranslationNotFound) IsRedirect

func (o *GetInvoiceTranslationNotFound) IsRedirect() bool

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

func (*GetInvoiceTranslationNotFound) IsServerError

func (o *GetInvoiceTranslationNotFound) IsServerError() bool

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

func (*GetInvoiceTranslationNotFound) IsSuccess

func (o *GetInvoiceTranslationNotFound) IsSuccess() bool

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

func (*GetInvoiceTranslationNotFound) String

type GetInvoiceTranslationOK

type GetInvoiceTranslationOK struct {
	Payload      string
	HttpResponse runtime.ClientResponse
}

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

func (o *GetInvoiceTranslationOK) Code() int

Code gets the status code for the get invoice translation o k response

func (*GetInvoiceTranslationOK) Error

func (o *GetInvoiceTranslationOK) Error() string

func (*GetInvoiceTranslationOK) GetPayload

func (o *GetInvoiceTranslationOK) GetPayload() string

func (*GetInvoiceTranslationOK) IsClientError

func (o *GetInvoiceTranslationOK) IsClientError() bool

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

func (*GetInvoiceTranslationOK) IsCode

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

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

func (*GetInvoiceTranslationOK) IsRedirect

func (o *GetInvoiceTranslationOK) IsRedirect() bool

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

func (*GetInvoiceTranslationOK) IsServerError

func (o *GetInvoiceTranslationOK) IsServerError() bool

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

func (*GetInvoiceTranslationOK) IsSuccess

func (o *GetInvoiceTranslationOK) IsSuccess() bool

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

func (*GetInvoiceTranslationOK) String

func (o *GetInvoiceTranslationOK) String() string

type GetInvoiceTranslationParams

type GetInvoiceTranslationParams struct {

	// Locale.
	Locale string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 GetInvoicesGroupBadRequest

type GetInvoicesGroupBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid group id supplied

func NewGetInvoicesGroupBadRequest

func NewGetInvoicesGroupBadRequest() *GetInvoicesGroupBadRequest

NewGetInvoicesGroupBadRequest creates a GetInvoicesGroupBadRequest with default headers values

func (*GetInvoicesGroupBadRequest) Code

func (o *GetInvoicesGroupBadRequest) Code() int

Code gets the status code for the get invoices group bad request response

func (*GetInvoicesGroupBadRequest) Error

func (*GetInvoicesGroupBadRequest) IsClientError

func (o *GetInvoicesGroupBadRequest) IsClientError() bool

IsClientError returns true when this get invoices group bad request response has a 4xx status code

func (*GetInvoicesGroupBadRequest) IsCode

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

IsCode returns true when this get invoices group bad request response a status code equal to that given

func (*GetInvoicesGroupBadRequest) IsRedirect

func (o *GetInvoicesGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this get invoices group bad request response has a 3xx status code

func (*GetInvoicesGroupBadRequest) IsServerError

func (o *GetInvoicesGroupBadRequest) IsServerError() bool

IsServerError returns true when this get invoices group bad request response has a 5xx status code

func (*GetInvoicesGroupBadRequest) IsSuccess

func (o *GetInvoicesGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this get invoices group bad request response has a 2xx status code

func (*GetInvoicesGroupBadRequest) String

func (o *GetInvoicesGroupBadRequest) String() string

type GetInvoicesGroupOK

type GetInvoicesGroupOK struct {
	Payload      []*kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetInvoicesGroupOK

func NewGetInvoicesGroupOK() *GetInvoicesGroupOK

NewGetInvoicesGroupOK creates a GetInvoicesGroupOK with default headers values

func (*GetInvoicesGroupOK) Code

func (o *GetInvoicesGroupOK) Code() int

Code gets the status code for the get invoices group o k response

func (*GetInvoicesGroupOK) Error

func (o *GetInvoicesGroupOK) Error() string

func (*GetInvoicesGroupOK) GetPayload

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

func (*GetInvoicesGroupOK) IsClientError

func (o *GetInvoicesGroupOK) IsClientError() bool

IsClientError returns true when this get invoices group o k response has a 4xx status code

func (*GetInvoicesGroupOK) IsCode

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

IsCode returns true when this get invoices group o k response a status code equal to that given

func (*GetInvoicesGroupOK) IsRedirect

func (o *GetInvoicesGroupOK) IsRedirect() bool

IsRedirect returns true when this get invoices group o k response has a 3xx status code

func (*GetInvoicesGroupOK) IsServerError

func (o *GetInvoicesGroupOK) IsServerError() bool

IsServerError returns true when this get invoices group o k response has a 5xx status code

func (*GetInvoicesGroupOK) IsSuccess

func (o *GetInvoicesGroupOK) IsSuccess() bool

IsSuccess returns true when this get invoices group o k response has a 2xx status code

func (*GetInvoicesGroupOK) String

func (o *GetInvoicesGroupOK) String() string

type GetInvoicesGroupParams

type GetInvoicesGroupParams struct {

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

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

	// GroupID.
	//
	// Format: uuid
	GroupID strfmt.UUID

	// WithChildrenItems.
	WithChildrenItems *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetInvoicesGroupParams contains all the parameters to send to the API endpoint

for the get invoices group operation.

Typically these are written to a http.Request.

func NewGetInvoicesGroupParams

func NewGetInvoicesGroupParams() *GetInvoicesGroupParams

NewGetInvoicesGroupParams creates a new GetInvoicesGroupParams 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 NewGetInvoicesGroupParamsWithContext

func NewGetInvoicesGroupParamsWithContext(ctx context.Context) *GetInvoicesGroupParams

NewGetInvoicesGroupParamsWithContext creates a new GetInvoicesGroupParams object with the ability to set a context for a request.

func NewGetInvoicesGroupParamsWithHTTPClient

func NewGetInvoicesGroupParamsWithHTTPClient(client *http.Client) *GetInvoicesGroupParams

NewGetInvoicesGroupParamsWithHTTPClient creates a new GetInvoicesGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoicesGroupParamsWithTimeout

func NewGetInvoicesGroupParamsWithTimeout(timeout time.Duration) *GetInvoicesGroupParams

NewGetInvoicesGroupParamsWithTimeout creates a new GetInvoicesGroupParams object with the ability to set a timeout on a request.

func (*GetInvoicesGroupParams) SetAccountID

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

SetAccountID adds the accountId to the get invoices group params

func (*GetInvoicesGroupParams) SetAudit

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

SetAudit adds the audit to the get invoices group params

func (*GetInvoicesGroupParams) SetContext

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

SetContext adds the context to the get invoices group params

func (*GetInvoicesGroupParams) SetDefaults

func (o *GetInvoicesGroupParams) SetDefaults()

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

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

func (*GetInvoicesGroupParams) SetGroupID

func (o *GetInvoicesGroupParams) SetGroupID(groupID strfmt.UUID)

SetGroupID adds the groupId to the get invoices group params

func (*GetInvoicesGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoices group params

func (*GetInvoicesGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get invoices group params

func (*GetInvoicesGroupParams) SetWithChildrenItems

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

SetWithChildrenItems adds the withChildrenItems to the get invoices group params

func (*GetInvoicesGroupParams) WithAccountID

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

WithAccountID adds the accountID to the get invoices group params

func (*GetInvoicesGroupParams) WithAudit

WithAudit adds the audit to the get invoices group params

func (*GetInvoicesGroupParams) WithContext

WithContext adds the context to the get invoices group params

func (*GetInvoicesGroupParams) WithDefaults

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

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

func (*GetInvoicesGroupParams) WithGroupID

func (o *GetInvoicesGroupParams) WithGroupID(groupID strfmt.UUID) *GetInvoicesGroupParams

WithGroupID adds the groupID to the get invoices group params

func (*GetInvoicesGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoices group params

func (*GetInvoicesGroupParams) WithTimeout

WithTimeout adds the timeout to the get invoices group params

func (*GetInvoicesGroupParams) WithWithChildrenItems

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

WithWithChildrenItems adds the withChildrenItems to the get invoices group params

func (*GetInvoicesGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicesGroupReader

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

GetInvoicesGroupReader is a Reader for the GetInvoicesGroup structure.

func (*GetInvoicesGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicesOK

type GetInvoicesOK struct {
	Payload      []*kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

GetInvoicesOK 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) Code

func (o *GetInvoicesOK) Code() int

Code gets the status code for the get invoices o k response

func (*GetInvoicesOK) Error

func (o *GetInvoicesOK) Error() string

func (*GetInvoicesOK) GetPayload

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

func (*GetInvoicesOK) IsClientError

func (o *GetInvoicesOK) IsClientError() bool

IsClientError returns true when this get invoices o k response has a 4xx status code

func (*GetInvoicesOK) IsCode

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

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

func (*GetInvoicesOK) IsRedirect

func (o *GetInvoicesOK) IsRedirect() bool

IsRedirect returns true when this get invoices o k response has a 3xx status code

func (*GetInvoicesOK) IsServerError

func (o *GetInvoicesOK) IsServerError() bool

IsServerError returns true when this get invoices o k response has a 5xx status code

func (*GetInvoicesOK) IsSuccess

func (o *GetInvoicesOK) IsSuccess() bool

IsSuccess returns true when this get invoices o k response has a 2xx status code

func (*GetInvoicesOK) String

func (o *GetInvoicesOK) String() string

type GetInvoicesParams

type GetInvoicesParams struct {

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

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

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the get payments for invoice bad request response

func (*GetPaymentsForInvoiceBadRequest) Error

func (*GetPaymentsForInvoiceBadRequest) IsClientError

func (o *GetPaymentsForInvoiceBadRequest) IsClientError() bool

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

func (*GetPaymentsForInvoiceBadRequest) IsCode

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

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

func (*GetPaymentsForInvoiceBadRequest) IsRedirect

func (o *GetPaymentsForInvoiceBadRequest) IsRedirect() bool

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

func (*GetPaymentsForInvoiceBadRequest) IsServerError

func (o *GetPaymentsForInvoiceBadRequest) IsServerError() bool

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

func (*GetPaymentsForInvoiceBadRequest) IsSuccess

func (o *GetPaymentsForInvoiceBadRequest) IsSuccess() bool

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

func (*GetPaymentsForInvoiceBadRequest) String

type GetPaymentsForInvoiceNotFound

type GetPaymentsForInvoiceNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the get payments for invoice not found response

func (*GetPaymentsForInvoiceNotFound) Error

func (*GetPaymentsForInvoiceNotFound) IsClientError

func (o *GetPaymentsForInvoiceNotFound) IsClientError() bool

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

func (*GetPaymentsForInvoiceNotFound) IsCode

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

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

func (*GetPaymentsForInvoiceNotFound) IsRedirect

func (o *GetPaymentsForInvoiceNotFound) IsRedirect() bool

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

func (*GetPaymentsForInvoiceNotFound) IsServerError

func (o *GetPaymentsForInvoiceNotFound) IsServerError() bool

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

func (*GetPaymentsForInvoiceNotFound) IsSuccess

func (o *GetPaymentsForInvoiceNotFound) IsSuccess() bool

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

func (*GetPaymentsForInvoiceNotFound) String

type GetPaymentsForInvoiceOK

type GetPaymentsForInvoiceOK struct {
	Payload      []*kbmodel.InvoicePayment
	HttpResponse runtime.ClientResponse
}

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

func (o *GetPaymentsForInvoiceOK) Code() int

Code gets the status code for the get payments for invoice o k response

func (*GetPaymentsForInvoiceOK) Error

func (o *GetPaymentsForInvoiceOK) Error() string

func (*GetPaymentsForInvoiceOK) GetPayload

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

func (*GetPaymentsForInvoiceOK) IsClientError

func (o *GetPaymentsForInvoiceOK) IsClientError() bool

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

func (*GetPaymentsForInvoiceOK) IsCode

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

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

func (*GetPaymentsForInvoiceOK) IsRedirect

func (o *GetPaymentsForInvoiceOK) IsRedirect() bool

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

func (*GetPaymentsForInvoiceOK) IsServerError

func (o *GetPaymentsForInvoiceOK) IsServerError() bool

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

func (*GetPaymentsForInvoiceOK) IsSuccess

func (o *GetPaymentsForInvoiceOK) IsSuccess() bool

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

func (*GetPaymentsForInvoiceOK) String

func (o *GetPaymentsForInvoiceOK) String() string

type GetPaymentsForInvoiceParams

type GetPaymentsForInvoiceParams struct {

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

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

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 KillbillDefaults

type KillbillDefaults interface {
	// Default CreatedBy. If not set explicitly in params, this will be used.
	XKillbillCreatedBy() *string
	// Default Comment. If not set explicitly in params, this will be used.
	XKillbillComment() *string
	// Default Reason. If not set explicitly in params, this will be used.
	XKillbillReason() *string
	// Default WithWithProfilingInfo. If not set explicitly in params, this will be used.
	KillbillWithProfilingInfo() *string
	// Default WithStackTrace. If not set explicitly in params, this will be used.
	KillbillWithStackTrace() *bool
}

killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.

type ModifyInvoiceCustomFieldsBadRequest

type ModifyInvoiceCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

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

func (*ModifyInvoiceCustomFieldsBadRequest) Error

func (*ModifyInvoiceCustomFieldsBadRequest) IsClientError

func (o *ModifyInvoiceCustomFieldsBadRequest) IsClientError() bool

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

func (*ModifyInvoiceCustomFieldsBadRequest) IsCode

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

func (*ModifyInvoiceCustomFieldsBadRequest) IsRedirect

func (o *ModifyInvoiceCustomFieldsBadRequest) IsRedirect() bool

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

func (*ModifyInvoiceCustomFieldsBadRequest) IsServerError

func (o *ModifyInvoiceCustomFieldsBadRequest) IsServerError() bool

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

func (*ModifyInvoiceCustomFieldsBadRequest) IsSuccess

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

func (*ModifyInvoiceCustomFieldsBadRequest) String

type ModifyInvoiceCustomFieldsNoContent

type ModifyInvoiceCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

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

func (*ModifyInvoiceCustomFieldsNoContent) Error

func (*ModifyInvoiceCustomFieldsNoContent) IsClientError

func (o *ModifyInvoiceCustomFieldsNoContent) IsClientError() bool

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

func (*ModifyInvoiceCustomFieldsNoContent) IsCode

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

func (*ModifyInvoiceCustomFieldsNoContent) IsRedirect

func (o *ModifyInvoiceCustomFieldsNoContent) IsRedirect() bool

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

func (*ModifyInvoiceCustomFieldsNoContent) IsServerError

func (o *ModifyInvoiceCustomFieldsNoContent) IsServerError() bool

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

func (*ModifyInvoiceCustomFieldsNoContent) IsSuccess

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

func (*ModifyInvoiceCustomFieldsNoContent) String

type ModifyInvoiceCustomFieldsParams

type ModifyInvoiceCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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
	HttpResponse runtime.ClientResponse
}

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

func (o *SearchInvoicesOK) Code() int

Code gets the status code for the search invoices o k response

func (*SearchInvoicesOK) Error

func (o *SearchInvoicesOK) Error() string

func (*SearchInvoicesOK) GetPayload

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

func (*SearchInvoicesOK) IsClientError

func (o *SearchInvoicesOK) IsClientError() bool

IsClientError returns true when this search invoices o k response has a 4xx status code

func (*SearchInvoicesOK) IsCode

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

IsCode returns true when this search invoices o k response a status code equal to that given

func (*SearchInvoicesOK) IsRedirect

func (o *SearchInvoicesOK) IsRedirect() bool

IsRedirect returns true when this search invoices o k response has a 3xx status code

func (*SearchInvoicesOK) IsServerError

func (o *SearchInvoicesOK) IsServerError() bool

IsServerError returns true when this search invoices o k response has a 5xx status code

func (*SearchInvoicesOK) IsSuccess

func (o *SearchInvoicesOK) IsSuccess() bool

IsSuccess returns true when this search invoices o k response has a 2xx status code

func (*SearchInvoicesOK) String

func (o *SearchInvoicesOK) String() string

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the upload catalog translation created response

func (*UploadCatalogTranslationCreated) Error

func (*UploadCatalogTranslationCreated) GetPayload

func (o *UploadCatalogTranslationCreated) GetPayload() string

func (*UploadCatalogTranslationCreated) IsClientError

func (o *UploadCatalogTranslationCreated) IsClientError() bool

IsClientError returns true when this upload catalog translation created response has a 4xx status code

func (*UploadCatalogTranslationCreated) IsCode

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

IsCode returns true when this upload catalog translation created response a status code equal to that given

func (*UploadCatalogTranslationCreated) IsRedirect

func (o *UploadCatalogTranslationCreated) IsRedirect() bool

IsRedirect returns true when this upload catalog translation created response has a 3xx status code

func (*UploadCatalogTranslationCreated) IsServerError

func (o *UploadCatalogTranslationCreated) IsServerError() bool

IsServerError returns true when this upload catalog translation created response has a 5xx status code

func (*UploadCatalogTranslationCreated) IsSuccess

func (o *UploadCatalogTranslationCreated) IsSuccess() bool

IsSuccess returns true when this upload catalog translation created response has a 2xx status code

func (*UploadCatalogTranslationCreated) String

type UploadCatalogTranslationParams

type UploadCatalogTranslationParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	// DeleteIfExists.
	DeleteIfExists *bool

	// Locale.
	Locale string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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
	HttpResponse runtime.ClientResponse
}

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

func (o *UploadInvoiceMPTemplateOK) Code() int

Code gets the status code for the upload invoice m p template o k response

func (*UploadInvoiceMPTemplateOK) Error

func (o *UploadInvoiceMPTemplateOK) Error() string

func (*UploadInvoiceMPTemplateOK) GetPayload

func (o *UploadInvoiceMPTemplateOK) GetPayload() string

func (*UploadInvoiceMPTemplateOK) IsClientError

func (o *UploadInvoiceMPTemplateOK) IsClientError() bool

IsClientError returns true when this upload invoice m p template o k response has a 4xx status code

func (*UploadInvoiceMPTemplateOK) IsCode

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

IsCode returns true when this upload invoice m p template o k response a status code equal to that given

func (*UploadInvoiceMPTemplateOK) IsRedirect

func (o *UploadInvoiceMPTemplateOK) IsRedirect() bool

IsRedirect returns true when this upload invoice m p template o k response has a 3xx status code

func (*UploadInvoiceMPTemplateOK) IsServerError

func (o *UploadInvoiceMPTemplateOK) IsServerError() bool

IsServerError returns true when this upload invoice m p template o k response has a 5xx status code

func (*UploadInvoiceMPTemplateOK) IsSuccess

func (o *UploadInvoiceMPTemplateOK) IsSuccess() bool

IsSuccess returns true when this upload invoice m p template o k response has a 2xx status code

func (*UploadInvoiceMPTemplateOK) String

func (o *UploadInvoiceMPTemplateOK) String() string

type UploadInvoiceMPTemplateParams

type UploadInvoiceMPTemplateParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	// DeleteIfExists.
	DeleteIfExists *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the upload invoice template created response

func (*UploadInvoiceTemplateCreated) Error

func (*UploadInvoiceTemplateCreated) GetPayload

func (o *UploadInvoiceTemplateCreated) GetPayload() string

func (*UploadInvoiceTemplateCreated) IsClientError

func (o *UploadInvoiceTemplateCreated) IsClientError() bool

IsClientError returns true when this upload invoice template created response has a 4xx status code

func (*UploadInvoiceTemplateCreated) IsCode

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

IsCode returns true when this upload invoice template created response a status code equal to that given

func (*UploadInvoiceTemplateCreated) IsRedirect

func (o *UploadInvoiceTemplateCreated) IsRedirect() bool

IsRedirect returns true when this upload invoice template created response has a 3xx status code

func (*UploadInvoiceTemplateCreated) IsServerError

func (o *UploadInvoiceTemplateCreated) IsServerError() bool

IsServerError returns true when this upload invoice template created response has a 5xx status code

func (*UploadInvoiceTemplateCreated) IsSuccess

func (o *UploadInvoiceTemplateCreated) IsSuccess() bool

IsSuccess returns true when this upload invoice template created response has a 2xx status code

func (*UploadInvoiceTemplateCreated) String

type UploadInvoiceTemplateParams

type UploadInvoiceTemplateParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	// DeleteIfExists.
	DeleteIfExists *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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
	HttpResponse runtime.ClientResponse
}

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

Code gets the status code for the upload invoice translation created response

func (*UploadInvoiceTranslationCreated) Error

func (*UploadInvoiceTranslationCreated) GetPayload

func (o *UploadInvoiceTranslationCreated) GetPayload() string

func (*UploadInvoiceTranslationCreated) IsClientError

func (o *UploadInvoiceTranslationCreated) IsClientError() bool

IsClientError returns true when this upload invoice translation created response has a 4xx status code

func (*UploadInvoiceTranslationCreated) IsCode

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

IsCode returns true when this upload invoice translation created response a status code equal to that given

func (*UploadInvoiceTranslationCreated) IsRedirect

func (o *UploadInvoiceTranslationCreated) IsRedirect() bool

IsRedirect returns true when this upload invoice translation created response has a 3xx status code

func (*UploadInvoiceTranslationCreated) IsServerError

func (o *UploadInvoiceTranslationCreated) IsServerError() bool

IsServerError returns true when this upload invoice translation created response has a 5xx status code

func (*UploadInvoiceTranslationCreated) IsSuccess

func (o *UploadInvoiceTranslationCreated) IsSuccess() bool

IsSuccess returns true when this upload invoice translation created response has a 2xx status code

func (*UploadInvoiceTranslationCreated) String

type UploadInvoiceTranslationParams

type UploadInvoiceTranslationParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	// DeleteIfExists.
	DeleteIfExists *bool

	// Locale.
	Locale string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 {
	HttpResponse runtime.ClientResponse
}

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

func (o *VoidInvoiceBadRequest) Code() int

Code gets the status code for the void invoice bad request response

func (*VoidInvoiceBadRequest) Error

func (o *VoidInvoiceBadRequest) Error() string

func (*VoidInvoiceBadRequest) IsClientError

func (o *VoidInvoiceBadRequest) IsClientError() bool

IsClientError returns true when this void invoice bad request response has a 4xx status code

func (*VoidInvoiceBadRequest) IsCode

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

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

func (*VoidInvoiceBadRequest) IsRedirect

func (o *VoidInvoiceBadRequest) IsRedirect() bool

IsRedirect returns true when this void invoice bad request response has a 3xx status code

func (*VoidInvoiceBadRequest) IsServerError

func (o *VoidInvoiceBadRequest) IsServerError() bool

IsServerError returns true when this void invoice bad request response has a 5xx status code

func (*VoidInvoiceBadRequest) IsSuccess

func (o *VoidInvoiceBadRequest) IsSuccess() bool

IsSuccess returns true when this void invoice bad request response has a 2xx status code

func (*VoidInvoiceBadRequest) String

func (o *VoidInvoiceBadRequest) String() string

type VoidInvoiceNoContent

type VoidInvoiceNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *VoidInvoiceNoContent) Code() int

Code gets the status code for the void invoice no content response

func (*VoidInvoiceNoContent) Error

func (o *VoidInvoiceNoContent) Error() string

func (*VoidInvoiceNoContent) IsClientError

func (o *VoidInvoiceNoContent) IsClientError() bool

IsClientError returns true when this void invoice no content response has a 4xx status code

func (*VoidInvoiceNoContent) IsCode

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

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

func (*VoidInvoiceNoContent) IsRedirect

func (o *VoidInvoiceNoContent) IsRedirect() bool

IsRedirect returns true when this void invoice no content response has a 3xx status code

func (*VoidInvoiceNoContent) IsServerError

func (o *VoidInvoiceNoContent) IsServerError() bool

IsServerError returns true when this void invoice no content response has a 5xx status code

func (*VoidInvoiceNoContent) IsSuccess

func (o *VoidInvoiceNoContent) IsSuccess() bool

IsSuccess returns true when this void invoice no content response has a 2xx status code

func (*VoidInvoiceNoContent) String

func (o *VoidInvoiceNoContent) String() string

type VoidInvoiceNotFound

type VoidInvoiceNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

func (o *VoidInvoiceNotFound) Code() int

Code gets the status code for the void invoice not found response

func (*VoidInvoiceNotFound) Error

func (o *VoidInvoiceNotFound) Error() string

func (*VoidInvoiceNotFound) IsClientError

func (o *VoidInvoiceNotFound) IsClientError() bool

IsClientError returns true when this void invoice not found response has a 4xx status code

func (*VoidInvoiceNotFound) IsCode

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

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

func (*VoidInvoiceNotFound) IsRedirect

func (o *VoidInvoiceNotFound) IsRedirect() bool

IsRedirect returns true when this void invoice not found response has a 3xx status code

func (*VoidInvoiceNotFound) IsServerError

func (o *VoidInvoiceNotFound) IsServerError() bool

IsServerError returns true when this void invoice not found response has a 5xx status code

func (*VoidInvoiceNotFound) IsSuccess

func (o *VoidInvoiceNotFound) IsSuccess() bool

IsSuccess returns true when this void invoice not found response has a 2xx status code

func (*VoidInvoiceNotFound) String

func (o *VoidInvoiceNotFound) String() string

type VoidInvoiceParams

type VoidInvoiceParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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