Documentation
¶
Index ¶
- type AdjustInvoiceItemBadRequest
- type AdjustInvoiceItemCreated
- type AdjustInvoiceItemNotFound
- type AdjustInvoiceItemParams
- func NewAdjustInvoiceItemParams() *AdjustInvoiceItemParams
- func NewAdjustInvoiceItemParamsWithContext(ctx context.Context) *AdjustInvoiceItemParams
- func NewAdjustInvoiceItemParamsWithHTTPClient(client *http.Client) *AdjustInvoiceItemParams
- func NewAdjustInvoiceItemParamsWithTimeout(timeout time.Duration) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) SetBody(body *kbmodel.InvoiceItem)
- func (o *AdjustInvoiceItemParams) SetContext(ctx context.Context)
- func (o *AdjustInvoiceItemParams) SetDefaults()
- func (o *AdjustInvoiceItemParams) SetHTTPClient(client *http.Client)
- func (o *AdjustInvoiceItemParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *AdjustInvoiceItemParams) SetPluginProperty(pluginProperty []string)
- func (o *AdjustInvoiceItemParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *AdjustInvoiceItemParams) SetTimeout(timeout time.Duration)
- func (o *AdjustInvoiceItemParams) SetXKillbillComment(xKillbillComment *string)
- func (o *AdjustInvoiceItemParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *AdjustInvoiceItemParams) SetXKillbillReason(xKillbillReason *string)
- func (o *AdjustInvoiceItemParams) WithBody(body *kbmodel.InvoiceItem) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithContext(ctx context.Context) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithDefaults() *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithHTTPClient(client *http.Client) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithInvoiceID(invoiceID strfmt.UUID) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithPluginProperty(pluginProperty []string) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithRequestedDate(requestedDate *strfmt.Date) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithTimeout(timeout time.Duration) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithXKillbillComment(xKillbillComment *string) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WithXKillbillReason(xKillbillReason *string) *AdjustInvoiceItemParams
- func (o *AdjustInvoiceItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdjustInvoiceItemReader
- type Client
- func (a *Client) AdjustInvoiceItem(params *AdjustInvoiceItemParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdjustInvoiceItemCreated, error)
- func (a *Client) CommitInvoice(params *CommitInvoiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CommitInvoiceNoContent, error)
- func (a *Client) CreateExternalCharges(params *CreateExternalChargesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateExternalChargesCreated, error)
- func (a *Client) CreateFutureInvoice(params *CreateFutureInvoiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateFutureInvoiceCreated, error)
- func (a *Client) CreateInstantPayment(params *CreateInstantPaymentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateInstantPaymentCreated, *CreateInstantPaymentNoContent, error)
- func (a *Client) CreateInvoiceCustomFields(params *CreateInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateInvoiceCustomFieldsCreated, error)
- func (a *Client) CreateInvoiceTags(params *CreateInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateInvoiceTagsCreated, error)
- func (a *Client) CreateMigrationInvoice(params *CreateMigrationInvoiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateMigrationInvoiceCreated, error)
- func (a *Client) CreateTaxItems(params *CreateTaxItemsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTaxItemsCreated, error)
- func (a *Client) DeleteCBA(params *DeleteCBAParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCBANoContent, error)
- func (a *Client) DeleteInvoiceCustomFields(params *DeleteInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteInvoiceCustomFieldsNoContent, error)
- func (a *Client) DeleteInvoiceTags(params *DeleteInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteInvoiceTagsNoContent, error)
- func (a *Client) GenerateDryRunInvoice(params *GenerateDryRunInvoiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GenerateDryRunInvoiceOK, *GenerateDryRunInvoiceNoContent, error)
- func (a *Client) GetCatalogTranslation(params *GetCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCatalogTranslationOK, error)
- func (a *Client) GetInvoice(params *GetInvoiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceOK, error)
- func (a *Client) GetInvoiceAsHTML(params *GetInvoiceAsHTMLParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceAsHTMLOK, error)
- func (a *Client) GetInvoiceAuditLogsWithHistory(params *GetInvoiceAuditLogsWithHistoryParams, ...) (*GetInvoiceAuditLogsWithHistoryOK, error)
- func (a *Client) GetInvoiceByItemID(params *GetInvoiceByItemIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceByItemIDOK, error)
- func (a *Client) GetInvoiceByNumber(params *GetInvoiceByNumberParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceByNumberOK, error)
- func (a *Client) GetInvoiceCustomFields(params *GetInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceCustomFieldsOK, error)
- func (a *Client) GetInvoiceMPTemplate(params *GetInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceMPTemplateOK, error)
- func (a *Client) GetInvoiceTags(params *GetInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceTagsOK, error)
- func (a *Client) GetInvoiceTemplate(params *GetInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceTemplateOK, error)
- func (a *Client) GetInvoiceTranslation(params *GetInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceTranslationOK, error)
- func (a *Client) GetInvoices(params *GetInvoicesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoicesOK, error)
- func (a *Client) GetPaymentsForInvoice(params *GetPaymentsForInvoiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPaymentsForInvoiceOK, error)
- func (a *Client) ModifyInvoiceCustomFields(params *ModifyInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ModifyInvoiceCustomFieldsNoContent, error)
- func (a *Client) SearchInvoices(params *SearchInvoicesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchInvoicesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadCatalogTranslation(params *UploadCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadCatalogTranslationCreated, error)
- func (a *Client) UploadInvoiceMPTemplate(params *UploadInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadInvoiceMPTemplateOK, error)
- func (a *Client) UploadInvoiceTemplate(params *UploadInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadInvoiceTemplateCreated, error)
- func (a *Client) UploadInvoiceTranslation(params *UploadInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadInvoiceTranslationCreated, error)
- func (a *Client) VoidInvoice(params *VoidInvoiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*VoidInvoiceNoContent, error)
- type ClientOption
- type ClientService
- type CommitInvoiceNoContent
- type CommitInvoiceNotFound
- type CommitInvoiceParams
- func (o *CommitInvoiceParams) SetContext(ctx context.Context)
- func (o *CommitInvoiceParams) SetDefaults()
- func (o *CommitInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *CommitInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *CommitInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *CommitInvoiceParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CommitInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CommitInvoiceParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CommitInvoiceParams) WithContext(ctx context.Context) *CommitInvoiceParams
- func (o *CommitInvoiceParams) WithDefaults() *CommitInvoiceParams
- func (o *CommitInvoiceParams) WithHTTPClient(client *http.Client) *CommitInvoiceParams
- func (o *CommitInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *CommitInvoiceParams
- func (o *CommitInvoiceParams) WithTimeout(timeout time.Duration) *CommitInvoiceParams
- func (o *CommitInvoiceParams) WithXKillbillComment(xKillbillComment *string) *CommitInvoiceParams
- func (o *CommitInvoiceParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CommitInvoiceParams
- func (o *CommitInvoiceParams) WithXKillbillReason(xKillbillReason *string) *CommitInvoiceParams
- func (o *CommitInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CommitInvoiceReader
- type CreateExternalChargesBadRequest
- type CreateExternalChargesCreated
- type CreateExternalChargesNotFound
- type CreateExternalChargesParams
- func NewCreateExternalChargesParams() *CreateExternalChargesParams
- func NewCreateExternalChargesParamsWithContext(ctx context.Context) *CreateExternalChargesParams
- func NewCreateExternalChargesParamsWithHTTPClient(client *http.Client) *CreateExternalChargesParams
- func NewCreateExternalChargesParamsWithTimeout(timeout time.Duration) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) SetAccountID(accountID strfmt.UUID)
- func (o *CreateExternalChargesParams) SetAutoCommit(autoCommit *bool)
- func (o *CreateExternalChargesParams) SetBody(body []*kbmodel.InvoiceItem)
- func (o *CreateExternalChargesParams) SetContext(ctx context.Context)
- func (o *CreateExternalChargesParams) SetDefaults()
- func (o *CreateExternalChargesParams) SetHTTPClient(client *http.Client)
- func (o *CreateExternalChargesParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateExternalChargesParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *CreateExternalChargesParams) SetTimeout(timeout time.Duration)
- func (o *CreateExternalChargesParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateExternalChargesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateExternalChargesParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateExternalChargesParams) WithAccountID(accountID strfmt.UUID) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithAutoCommit(autoCommit *bool) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithBody(body []*kbmodel.InvoiceItem) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithContext(ctx context.Context) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithDefaults() *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithHTTPClient(client *http.Client) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithPluginProperty(pluginProperty []string) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithRequestedDate(requestedDate *strfmt.Date) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithTimeout(timeout time.Duration) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithXKillbillComment(xKillbillComment *string) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WithXKillbillReason(xKillbillReason *string) *CreateExternalChargesParams
- func (o *CreateExternalChargesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateExternalChargesReader
- type CreateFutureInvoiceBadRequest
- type CreateFutureInvoiceCreated
- type CreateFutureInvoiceParams
- func NewCreateFutureInvoiceParams() *CreateFutureInvoiceParams
- func NewCreateFutureInvoiceParamsWithContext(ctx context.Context) *CreateFutureInvoiceParams
- func NewCreateFutureInvoiceParamsWithHTTPClient(client *http.Client) *CreateFutureInvoiceParams
- func NewCreateFutureInvoiceParamsWithTimeout(timeout time.Duration) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) SetAccountID(accountID strfmt.UUID)
- func (o *CreateFutureInvoiceParams) SetContext(ctx context.Context)
- func (o *CreateFutureInvoiceParams) SetDefaults()
- func (o *CreateFutureInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *CreateFutureInvoiceParams) SetTargetDate(targetDate *strfmt.Date)
- func (o *CreateFutureInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *CreateFutureInvoiceParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateFutureInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateFutureInvoiceParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateFutureInvoiceParams) WithAccountID(accountID strfmt.UUID) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WithContext(ctx context.Context) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WithDefaults() *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WithHTTPClient(client *http.Client) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WithTargetDate(targetDate *strfmt.Date) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WithTimeout(timeout time.Duration) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WithXKillbillComment(xKillbillComment *string) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WithXKillbillReason(xKillbillReason *string) *CreateFutureInvoiceParams
- func (o *CreateFutureInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFutureInvoiceReader
- type CreateInstantPaymentBadRequest
- type CreateInstantPaymentCreated
- type CreateInstantPaymentNoContent
- type CreateInstantPaymentNotFound
- type CreateInstantPaymentParams
- func NewCreateInstantPaymentParams() *CreateInstantPaymentParams
- func NewCreateInstantPaymentParamsWithContext(ctx context.Context) *CreateInstantPaymentParams
- func NewCreateInstantPaymentParamsWithHTTPClient(client *http.Client) *CreateInstantPaymentParams
- func NewCreateInstantPaymentParamsWithTimeout(timeout time.Duration) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) SetBody(body *kbmodel.InvoicePayment)
- func (o *CreateInstantPaymentParams) SetContext(ctx context.Context)
- func (o *CreateInstantPaymentParams) SetControlPluginName(controlPluginName []string)
- func (o *CreateInstantPaymentParams) SetDefaults()
- func (o *CreateInstantPaymentParams) SetExternalPayment(externalPayment *bool)
- func (o *CreateInstantPaymentParams) SetHTTPClient(client *http.Client)
- func (o *CreateInstantPaymentParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *CreateInstantPaymentParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateInstantPaymentParams) SetTimeout(timeout time.Duration)
- func (o *CreateInstantPaymentParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInstantPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInstantPaymentParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInstantPaymentParams) WithBody(body *kbmodel.InvoicePayment) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithContext(ctx context.Context) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithControlPluginName(controlPluginName []string) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithDefaults() *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithExternalPayment(externalPayment *bool) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithHTTPClient(client *http.Client) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithInvoiceID(invoiceID strfmt.UUID) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithPluginProperty(pluginProperty []string) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithTimeout(timeout time.Duration) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithXKillbillComment(xKillbillComment *string) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WithXKillbillReason(xKillbillReason *string) *CreateInstantPaymentParams
- func (o *CreateInstantPaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInstantPaymentReader
- type CreateInvoiceCustomFieldsBadRequest
- type CreateInvoiceCustomFieldsCreated
- type CreateInvoiceCustomFieldsParams
- func NewCreateInvoiceCustomFieldsParams() *CreateInvoiceCustomFieldsParams
- func NewCreateInvoiceCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceCustomFieldsParams
- func NewCreateInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoiceCustomFieldsParams
- func NewCreateInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *CreateInvoiceCustomFieldsParams) SetContext(ctx context.Context)
- func (o *CreateInvoiceCustomFieldsParams) SetDefaults()
- func (o *CreateInvoiceCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *CreateInvoiceCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoiceCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInvoiceCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInvoiceCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInvoiceCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WithContext(ctx context.Context) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WithDefaults() *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WithInvoiceID(invoiceID strfmt.UUID) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoiceCustomFieldsParams
- func (o *CreateInvoiceCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoiceCustomFieldsReader
- type CreateInvoiceTagsBadRequest
- type CreateInvoiceTagsCreated
- type CreateInvoiceTagsParams
- func NewCreateInvoiceTagsParams() *CreateInvoiceTagsParams
- func NewCreateInvoiceTagsParamsWithContext(ctx context.Context) *CreateInvoiceTagsParams
- func NewCreateInvoiceTagsParamsWithHTTPClient(client *http.Client) *CreateInvoiceTagsParams
- func NewCreateInvoiceTagsParamsWithTimeout(timeout time.Duration) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) SetBody(body []strfmt.UUID)
- func (o *CreateInvoiceTagsParams) SetContext(ctx context.Context)
- func (o *CreateInvoiceTagsParams) SetDefaults()
- func (o *CreateInvoiceTagsParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *CreateInvoiceTagsParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoiceTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInvoiceTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInvoiceTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInvoiceTagsParams) WithBody(body []strfmt.UUID) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WithContext(ctx context.Context) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WithDefaults() *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WithHTTPClient(client *http.Client) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WithInvoiceID(invoiceID strfmt.UUID) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WithTimeout(timeout time.Duration) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoiceTagsParams
- func (o *CreateInvoiceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoiceTagsReader
- type CreateMigrationInvoiceBadRequest
- type CreateMigrationInvoiceCreated
- type CreateMigrationInvoiceParams
- func NewCreateMigrationInvoiceParams() *CreateMigrationInvoiceParams
- func NewCreateMigrationInvoiceParamsWithContext(ctx context.Context) *CreateMigrationInvoiceParams
- func NewCreateMigrationInvoiceParamsWithHTTPClient(client *http.Client) *CreateMigrationInvoiceParams
- func NewCreateMigrationInvoiceParamsWithTimeout(timeout time.Duration) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) SetAccountID(accountID strfmt.UUID)
- func (o *CreateMigrationInvoiceParams) SetBody(body []*kbmodel.InvoiceItem)
- func (o *CreateMigrationInvoiceParams) SetContext(ctx context.Context)
- func (o *CreateMigrationInvoiceParams) SetDefaults()
- func (o *CreateMigrationInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *CreateMigrationInvoiceParams) SetTargetDate(targetDate *strfmt.Date)
- func (o *CreateMigrationInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *CreateMigrationInvoiceParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateMigrationInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateMigrationInvoiceParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateMigrationInvoiceParams) WithAccountID(accountID strfmt.UUID) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithBody(body []*kbmodel.InvoiceItem) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithContext(ctx context.Context) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithDefaults() *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithHTTPClient(client *http.Client) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithTargetDate(targetDate *strfmt.Date) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithTimeout(timeout time.Duration) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithXKillbillComment(xKillbillComment *string) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WithXKillbillReason(xKillbillReason *string) *CreateMigrationInvoiceParams
- func (o *CreateMigrationInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMigrationInvoiceReader
- type CreateTaxItemsBadRequest
- type CreateTaxItemsCreated
- type CreateTaxItemsNotFound
- type CreateTaxItemsParams
- func NewCreateTaxItemsParams() *CreateTaxItemsParams
- func NewCreateTaxItemsParamsWithContext(ctx context.Context) *CreateTaxItemsParams
- func NewCreateTaxItemsParamsWithHTTPClient(client *http.Client) *CreateTaxItemsParams
- func NewCreateTaxItemsParamsWithTimeout(timeout time.Duration) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) SetAccountID(accountID strfmt.UUID)
- func (o *CreateTaxItemsParams) SetAutoCommit(autoCommit *bool)
- func (o *CreateTaxItemsParams) SetBody(body []*kbmodel.InvoiceItem)
- func (o *CreateTaxItemsParams) SetContext(ctx context.Context)
- func (o *CreateTaxItemsParams) SetDefaults()
- func (o *CreateTaxItemsParams) SetHTTPClient(client *http.Client)
- func (o *CreateTaxItemsParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateTaxItemsParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *CreateTaxItemsParams) SetTimeout(timeout time.Duration)
- func (o *CreateTaxItemsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateTaxItemsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateTaxItemsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateTaxItemsParams) WithAccountID(accountID strfmt.UUID) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithAutoCommit(autoCommit *bool) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithBody(body []*kbmodel.InvoiceItem) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithContext(ctx context.Context) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithDefaults() *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithHTTPClient(client *http.Client) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithPluginProperty(pluginProperty []string) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithRequestedDate(requestedDate *strfmt.Date) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithTimeout(timeout time.Duration) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithXKillbillComment(xKillbillComment *string) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WithXKillbillReason(xKillbillReason *string) *CreateTaxItemsParams
- func (o *CreateTaxItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTaxItemsReader
- type DeleteCBABadRequest
- type DeleteCBANoContent
- type DeleteCBANotFound
- type DeleteCBAParams
- func (o *DeleteCBAParams) SetAccountID(accountID strfmt.UUID)
- func (o *DeleteCBAParams) SetContext(ctx context.Context)
- func (o *DeleteCBAParams) SetDefaults()
- func (o *DeleteCBAParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCBAParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *DeleteCBAParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *DeleteCBAParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCBAParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteCBAParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteCBAParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteCBAParams) WithAccountID(accountID strfmt.UUID) *DeleteCBAParams
- func (o *DeleteCBAParams) WithContext(ctx context.Context) *DeleteCBAParams
- func (o *DeleteCBAParams) WithDefaults() *DeleteCBAParams
- func (o *DeleteCBAParams) WithHTTPClient(client *http.Client) *DeleteCBAParams
- func (o *DeleteCBAParams) WithInvoiceID(invoiceID strfmt.UUID) *DeleteCBAParams
- func (o *DeleteCBAParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteCBAParams
- func (o *DeleteCBAParams) WithTimeout(timeout time.Duration) *DeleteCBAParams
- func (o *DeleteCBAParams) WithXKillbillComment(xKillbillComment *string) *DeleteCBAParams
- func (o *DeleteCBAParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteCBAParams
- func (o *DeleteCBAParams) WithXKillbillReason(xKillbillReason *string) *DeleteCBAParams
- func (o *DeleteCBAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCBAReader
- type DeleteInvoiceCustomFieldsBadRequest
- type DeleteInvoiceCustomFieldsNoContent
- type DeleteInvoiceCustomFieldsParams
- func NewDeleteInvoiceCustomFieldsParams() *DeleteInvoiceCustomFieldsParams
- func NewDeleteInvoiceCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceCustomFieldsParams
- func NewDeleteInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceCustomFieldsParams
- func NewDeleteInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) SetContext(ctx context.Context)
- func (o *DeleteInvoiceCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
- func (o *DeleteInvoiceCustomFieldsParams) SetDefaults()
- func (o *DeleteInvoiceCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *DeleteInvoiceCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoiceCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteInvoiceCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteInvoiceCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteInvoiceCustomFieldsParams) WithContext(ctx context.Context) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WithDefaults() *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WithInvoiceID(invoiceID strfmt.UUID) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoiceCustomFieldsParams
- func (o *DeleteInvoiceCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoiceCustomFieldsReader
- type DeleteInvoiceTagsBadRequest
- type DeleteInvoiceTagsNoContent
- type DeleteInvoiceTagsParams
- func NewDeleteInvoiceTagsParams() *DeleteInvoiceTagsParams
- func NewDeleteInvoiceTagsParamsWithContext(ctx context.Context) *DeleteInvoiceTagsParams
- func NewDeleteInvoiceTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceTagsParams
- func NewDeleteInvoiceTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) SetContext(ctx context.Context)
- func (o *DeleteInvoiceTagsParams) SetDefaults()
- func (o *DeleteInvoiceTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *DeleteInvoiceTagsParams) SetTagDef(tagDef []strfmt.UUID)
- func (o *DeleteInvoiceTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoiceTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteInvoiceTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteInvoiceTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteInvoiceTagsParams) WithContext(ctx context.Context) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WithDefaults() *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WithInvoiceID(invoiceID strfmt.UUID) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoiceTagsParams
- func (o *DeleteInvoiceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoiceTagsReader
- type GenerateDryRunInvoiceBadRequest
- type GenerateDryRunInvoiceNoContent
- type GenerateDryRunInvoiceOK
- type GenerateDryRunInvoiceParams
- func NewGenerateDryRunInvoiceParams() *GenerateDryRunInvoiceParams
- func NewGenerateDryRunInvoiceParamsWithContext(ctx context.Context) *GenerateDryRunInvoiceParams
- func NewGenerateDryRunInvoiceParamsWithHTTPClient(client *http.Client) *GenerateDryRunInvoiceParams
- func NewGenerateDryRunInvoiceParamsWithTimeout(timeout time.Duration) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) SetAccountID(accountID strfmt.UUID)
- func (o *GenerateDryRunInvoiceParams) SetBody(body *kbmodel.InvoiceDryRun)
- func (o *GenerateDryRunInvoiceParams) SetContext(ctx context.Context)
- func (o *GenerateDryRunInvoiceParams) SetDefaults()
- func (o *GenerateDryRunInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *GenerateDryRunInvoiceParams) SetTargetDate(targetDate *strfmt.Date)
- func (o *GenerateDryRunInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *GenerateDryRunInvoiceParams) SetXKillbillComment(xKillbillComment *string)
- func (o *GenerateDryRunInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *GenerateDryRunInvoiceParams) SetXKillbillReason(xKillbillReason *string)
- func (o *GenerateDryRunInvoiceParams) WithAccountID(accountID strfmt.UUID) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithBody(body *kbmodel.InvoiceDryRun) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithContext(ctx context.Context) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithDefaults() *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithHTTPClient(client *http.Client) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithTargetDate(targetDate *strfmt.Date) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithTimeout(timeout time.Duration) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithXKillbillComment(xKillbillComment *string) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WithXKillbillReason(xKillbillReason *string) *GenerateDryRunInvoiceParams
- func (o *GenerateDryRunInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateDryRunInvoiceReader
- type GetCatalogTranslationBadRequest
- type GetCatalogTranslationNotFound
- type GetCatalogTranslationOK
- type GetCatalogTranslationParams
- func NewGetCatalogTranslationParams() *GetCatalogTranslationParams
- func NewGetCatalogTranslationParamsWithContext(ctx context.Context) *GetCatalogTranslationParams
- func NewGetCatalogTranslationParamsWithHTTPClient(client *http.Client) *GetCatalogTranslationParams
- func NewGetCatalogTranslationParamsWithTimeout(timeout time.Duration) *GetCatalogTranslationParams
- func (o *GetCatalogTranslationParams) SetContext(ctx context.Context)
- func (o *GetCatalogTranslationParams) SetDefaults()
- func (o *GetCatalogTranslationParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogTranslationParams) SetLocale(locale string)
- func (o *GetCatalogTranslationParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogTranslationParams) WithContext(ctx context.Context) *GetCatalogTranslationParams
- func (o *GetCatalogTranslationParams) WithDefaults() *GetCatalogTranslationParams
- func (o *GetCatalogTranslationParams) WithHTTPClient(client *http.Client) *GetCatalogTranslationParams
- func (o *GetCatalogTranslationParams) WithLocale(locale string) *GetCatalogTranslationParams
- func (o *GetCatalogTranslationParams) WithTimeout(timeout time.Duration) *GetCatalogTranslationParams
- func (o *GetCatalogTranslationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogTranslationReader
- type GetInvoiceAsHTMLNotFound
- type GetInvoiceAsHTMLOK
- type GetInvoiceAsHTMLParams
- func NewGetInvoiceAsHTMLParams() *GetInvoiceAsHTMLParams
- func NewGetInvoiceAsHTMLParamsWithContext(ctx context.Context) *GetInvoiceAsHTMLParams
- func NewGetInvoiceAsHTMLParamsWithHTTPClient(client *http.Client) *GetInvoiceAsHTMLParams
- func NewGetInvoiceAsHTMLParamsWithTimeout(timeout time.Duration) *GetInvoiceAsHTMLParams
- func (o *GetInvoiceAsHTMLParams) SetContext(ctx context.Context)
- func (o *GetInvoiceAsHTMLParams) SetDefaults()
- func (o *GetInvoiceAsHTMLParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceAsHTMLParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *GetInvoiceAsHTMLParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceAsHTMLParams) WithContext(ctx context.Context) *GetInvoiceAsHTMLParams
- func (o *GetInvoiceAsHTMLParams) WithDefaults() *GetInvoiceAsHTMLParams
- func (o *GetInvoiceAsHTMLParams) WithHTTPClient(client *http.Client) *GetInvoiceAsHTMLParams
- func (o *GetInvoiceAsHTMLParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceAsHTMLParams
- func (o *GetInvoiceAsHTMLParams) WithTimeout(timeout time.Duration) *GetInvoiceAsHTMLParams
- func (o *GetInvoiceAsHTMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceAsHTMLReader
- type GetInvoiceAuditLogsWithHistoryNotFound
- type GetInvoiceAuditLogsWithHistoryOK
- type GetInvoiceAuditLogsWithHistoryParams
- func NewGetInvoiceAuditLogsWithHistoryParams() *GetInvoiceAuditLogsWithHistoryParams
- func NewGetInvoiceAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoiceAuditLogsWithHistoryParams
- func NewGetInvoiceAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoiceAuditLogsWithHistoryParams
- func NewGetInvoiceAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoiceAuditLogsWithHistoryParams
- func (o *GetInvoiceAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetInvoiceAuditLogsWithHistoryParams) SetDefaults()
- func (o *GetInvoiceAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceAuditLogsWithHistoryParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *GetInvoiceAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetInvoiceAuditLogsWithHistoryParams
- func (o *GetInvoiceAuditLogsWithHistoryParams) WithDefaults() *GetInvoiceAuditLogsWithHistoryParams
- func (o *GetInvoiceAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetInvoiceAuditLogsWithHistoryParams
- func (o *GetInvoiceAuditLogsWithHistoryParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceAuditLogsWithHistoryParams
- func (o *GetInvoiceAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetInvoiceAuditLogsWithHistoryParams
- func (o *GetInvoiceAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceAuditLogsWithHistoryReader
- type GetInvoiceBadRequest
- type GetInvoiceByItemIDNotFound
- type GetInvoiceByItemIDOK
- type GetInvoiceByItemIDParams
- func NewGetInvoiceByItemIDParams() *GetInvoiceByItemIDParams
- func NewGetInvoiceByItemIDParamsWithContext(ctx context.Context) *GetInvoiceByItemIDParams
- func NewGetInvoiceByItemIDParamsWithHTTPClient(client *http.Client) *GetInvoiceByItemIDParams
- func NewGetInvoiceByItemIDParamsWithTimeout(timeout time.Duration) *GetInvoiceByItemIDParams
- func (o *GetInvoiceByItemIDParams) SetAudit(audit *string)
- func (o *GetInvoiceByItemIDParams) SetContext(ctx context.Context)
- func (o *GetInvoiceByItemIDParams) SetDefaults()
- func (o *GetInvoiceByItemIDParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceByItemIDParams) SetItemID(itemID strfmt.UUID)
- func (o *GetInvoiceByItemIDParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceByItemIDParams) SetWithChildrenItems(withChildrenItems *bool)
- func (o *GetInvoiceByItemIDParams) WithAudit(audit *string) *GetInvoiceByItemIDParams
- func (o *GetInvoiceByItemIDParams) WithContext(ctx context.Context) *GetInvoiceByItemIDParams
- func (o *GetInvoiceByItemIDParams) WithDefaults() *GetInvoiceByItemIDParams
- func (o *GetInvoiceByItemIDParams) WithHTTPClient(client *http.Client) *GetInvoiceByItemIDParams
- func (o *GetInvoiceByItemIDParams) WithItemID(itemID strfmt.UUID) *GetInvoiceByItemIDParams
- func (o *GetInvoiceByItemIDParams) WithTimeout(timeout time.Duration) *GetInvoiceByItemIDParams
- func (o *GetInvoiceByItemIDParams) WithWithChildrenItems(withChildrenItems *bool) *GetInvoiceByItemIDParams
- func (o *GetInvoiceByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceByItemIDReader
- type GetInvoiceByNumberNotFound
- type GetInvoiceByNumberOK
- type GetInvoiceByNumberParams
- func NewGetInvoiceByNumberParams() *GetInvoiceByNumberParams
- func NewGetInvoiceByNumberParamsWithContext(ctx context.Context) *GetInvoiceByNumberParams
- func NewGetInvoiceByNumberParamsWithHTTPClient(client *http.Client) *GetInvoiceByNumberParams
- func NewGetInvoiceByNumberParamsWithTimeout(timeout time.Duration) *GetInvoiceByNumberParams
- func (o *GetInvoiceByNumberParams) SetAudit(audit *string)
- func (o *GetInvoiceByNumberParams) SetContext(ctx context.Context)
- func (o *GetInvoiceByNumberParams) SetDefaults()
- func (o *GetInvoiceByNumberParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceByNumberParams) SetInvoiceNumber(invoiceNumber int32)
- func (o *GetInvoiceByNumberParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceByNumberParams) SetWithChildrenItems(withChildrenItems *bool)
- func (o *GetInvoiceByNumberParams) WithAudit(audit *string) *GetInvoiceByNumberParams
- func (o *GetInvoiceByNumberParams) WithContext(ctx context.Context) *GetInvoiceByNumberParams
- func (o *GetInvoiceByNumberParams) WithDefaults() *GetInvoiceByNumberParams
- func (o *GetInvoiceByNumberParams) WithHTTPClient(client *http.Client) *GetInvoiceByNumberParams
- func (o *GetInvoiceByNumberParams) WithInvoiceNumber(invoiceNumber int32) *GetInvoiceByNumberParams
- func (o *GetInvoiceByNumberParams) WithTimeout(timeout time.Duration) *GetInvoiceByNumberParams
- func (o *GetInvoiceByNumberParams) WithWithChildrenItems(withChildrenItems *bool) *GetInvoiceByNumberParams
- func (o *GetInvoiceByNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceByNumberReader
- type GetInvoiceCustomFieldsBadRequest
- type GetInvoiceCustomFieldsOK
- type GetInvoiceCustomFieldsParams
- func NewGetInvoiceCustomFieldsParams() *GetInvoiceCustomFieldsParams
- func NewGetInvoiceCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceCustomFieldsParams
- func NewGetInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoiceCustomFieldsParams
- func NewGetInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoiceCustomFieldsParams
- func (o *GetInvoiceCustomFieldsParams) SetAudit(audit *string)
- func (o *GetInvoiceCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetInvoiceCustomFieldsParams) SetDefaults()
- func (o *GetInvoiceCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *GetInvoiceCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceCustomFieldsParams) WithAudit(audit *string) *GetInvoiceCustomFieldsParams
- func (o *GetInvoiceCustomFieldsParams) WithContext(ctx context.Context) *GetInvoiceCustomFieldsParams
- func (o *GetInvoiceCustomFieldsParams) WithDefaults() *GetInvoiceCustomFieldsParams
- func (o *GetInvoiceCustomFieldsParams) WithHTTPClient(client *http.Client) *GetInvoiceCustomFieldsParams
- func (o *GetInvoiceCustomFieldsParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceCustomFieldsParams
- func (o *GetInvoiceCustomFieldsParams) WithTimeout(timeout time.Duration) *GetInvoiceCustomFieldsParams
- func (o *GetInvoiceCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceCustomFieldsReader
- type GetInvoiceMPTemplateNotFound
- type GetInvoiceMPTemplateOK
- type GetInvoiceMPTemplateParams
- func NewGetInvoiceMPTemplateParams() *GetInvoiceMPTemplateParams
- func NewGetInvoiceMPTemplateParamsWithContext(ctx context.Context) *GetInvoiceMPTemplateParams
- func NewGetInvoiceMPTemplateParamsWithHTTPClient(client *http.Client) *GetInvoiceMPTemplateParams
- func NewGetInvoiceMPTemplateParamsWithTimeout(timeout time.Duration) *GetInvoiceMPTemplateParams
- func (o *GetInvoiceMPTemplateParams) SetContext(ctx context.Context)
- func (o *GetInvoiceMPTemplateParams) SetDefaults()
- func (o *GetInvoiceMPTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceMPTemplateParams) SetLocale(locale string)
- func (o *GetInvoiceMPTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceMPTemplateParams) WithContext(ctx context.Context) *GetInvoiceMPTemplateParams
- func (o *GetInvoiceMPTemplateParams) WithDefaults() *GetInvoiceMPTemplateParams
- func (o *GetInvoiceMPTemplateParams) WithHTTPClient(client *http.Client) *GetInvoiceMPTemplateParams
- func (o *GetInvoiceMPTemplateParams) WithLocale(locale string) *GetInvoiceMPTemplateParams
- func (o *GetInvoiceMPTemplateParams) WithTimeout(timeout time.Duration) *GetInvoiceMPTemplateParams
- func (o *GetInvoiceMPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceMPTemplateReader
- type GetInvoiceNotFound
- type GetInvoiceOK
- type GetInvoiceParams
- func (o *GetInvoiceParams) SetAudit(audit *string)
- func (o *GetInvoiceParams) SetContext(ctx context.Context)
- func (o *GetInvoiceParams) SetDefaults()
- func (o *GetInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *GetInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceParams) SetWithChildrenItems(withChildrenItems *bool)
- func (o *GetInvoiceParams) WithAudit(audit *string) *GetInvoiceParams
- func (o *GetInvoiceParams) WithContext(ctx context.Context) *GetInvoiceParams
- func (o *GetInvoiceParams) WithDefaults() *GetInvoiceParams
- func (o *GetInvoiceParams) WithHTTPClient(client *http.Client) *GetInvoiceParams
- func (o *GetInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceParams
- func (o *GetInvoiceParams) WithTimeout(timeout time.Duration) *GetInvoiceParams
- func (o *GetInvoiceParams) WithWithChildrenItems(withChildrenItems *bool) *GetInvoiceParams
- func (o *GetInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceReader
- type GetInvoiceTagsBadRequest
- type GetInvoiceTagsNotFound
- type GetInvoiceTagsOK
- type GetInvoiceTagsParams
- func NewGetInvoiceTagsParams() *GetInvoiceTagsParams
- func NewGetInvoiceTagsParamsWithContext(ctx context.Context) *GetInvoiceTagsParams
- func NewGetInvoiceTagsParamsWithHTTPClient(client *http.Client) *GetInvoiceTagsParams
- func NewGetInvoiceTagsParamsWithTimeout(timeout time.Duration) *GetInvoiceTagsParams
- func (o *GetInvoiceTagsParams) SetAudit(audit *string)
- func (o *GetInvoiceTagsParams) SetContext(ctx context.Context)
- func (o *GetInvoiceTagsParams) SetDefaults()
- func (o *GetInvoiceTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceTagsParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *GetInvoiceTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceTagsParams) WithAudit(audit *string) *GetInvoiceTagsParams
- func (o *GetInvoiceTagsParams) WithContext(ctx context.Context) *GetInvoiceTagsParams
- func (o *GetInvoiceTagsParams) WithDefaults() *GetInvoiceTagsParams
- func (o *GetInvoiceTagsParams) WithHTTPClient(client *http.Client) *GetInvoiceTagsParams
- func (o *GetInvoiceTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetInvoiceTagsParams
- func (o *GetInvoiceTagsParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceTagsParams
- func (o *GetInvoiceTagsParams) WithTimeout(timeout time.Duration) *GetInvoiceTagsParams
- func (o *GetInvoiceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceTagsReader
- type GetInvoiceTemplateNotFound
- type GetInvoiceTemplateOK
- type GetInvoiceTemplateParams
- func NewGetInvoiceTemplateParams() *GetInvoiceTemplateParams
- func NewGetInvoiceTemplateParamsWithContext(ctx context.Context) *GetInvoiceTemplateParams
- func NewGetInvoiceTemplateParamsWithHTTPClient(client *http.Client) *GetInvoiceTemplateParams
- func NewGetInvoiceTemplateParamsWithTimeout(timeout time.Duration) *GetInvoiceTemplateParams
- func (o *GetInvoiceTemplateParams) SetContext(ctx context.Context)
- func (o *GetInvoiceTemplateParams) SetDefaults()
- func (o *GetInvoiceTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceTemplateParams) WithContext(ctx context.Context) *GetInvoiceTemplateParams
- func (o *GetInvoiceTemplateParams) WithDefaults() *GetInvoiceTemplateParams
- func (o *GetInvoiceTemplateParams) WithHTTPClient(client *http.Client) *GetInvoiceTemplateParams
- func (o *GetInvoiceTemplateParams) WithTimeout(timeout time.Duration) *GetInvoiceTemplateParams
- func (o *GetInvoiceTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceTemplateReader
- type GetInvoiceTranslationBadRequest
- type GetInvoiceTranslationNotFound
- type GetInvoiceTranslationOK
- type GetInvoiceTranslationParams
- func NewGetInvoiceTranslationParams() *GetInvoiceTranslationParams
- func NewGetInvoiceTranslationParamsWithContext(ctx context.Context) *GetInvoiceTranslationParams
- func NewGetInvoiceTranslationParamsWithHTTPClient(client *http.Client) *GetInvoiceTranslationParams
- func NewGetInvoiceTranslationParamsWithTimeout(timeout time.Duration) *GetInvoiceTranslationParams
- func (o *GetInvoiceTranslationParams) SetContext(ctx context.Context)
- func (o *GetInvoiceTranslationParams) SetDefaults()
- func (o *GetInvoiceTranslationParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceTranslationParams) SetLocale(locale string)
- func (o *GetInvoiceTranslationParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceTranslationParams) WithContext(ctx context.Context) *GetInvoiceTranslationParams
- func (o *GetInvoiceTranslationParams) WithDefaults() *GetInvoiceTranslationParams
- func (o *GetInvoiceTranslationParams) WithHTTPClient(client *http.Client) *GetInvoiceTranslationParams
- func (o *GetInvoiceTranslationParams) WithLocale(locale string) *GetInvoiceTranslationParams
- func (o *GetInvoiceTranslationParams) WithTimeout(timeout time.Duration) *GetInvoiceTranslationParams
- func (o *GetInvoiceTranslationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceTranslationReader
- type GetInvoicesOK
- type GetInvoicesParams
- func (o *GetInvoicesParams) SetAudit(audit *string)
- func (o *GetInvoicesParams) SetContext(ctx context.Context)
- func (o *GetInvoicesParams) SetDefaults()
- func (o *GetInvoicesParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoicesParams) SetLimit(limit *int64)
- func (o *GetInvoicesParams) SetOffset(offset *int64)
- func (o *GetInvoicesParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoicesParams) WithAudit(audit *string) *GetInvoicesParams
- func (o *GetInvoicesParams) WithContext(ctx context.Context) *GetInvoicesParams
- func (o *GetInvoicesParams) WithDefaults() *GetInvoicesParams
- func (o *GetInvoicesParams) WithHTTPClient(client *http.Client) *GetInvoicesParams
- func (o *GetInvoicesParams) WithLimit(limit *int64) *GetInvoicesParams
- func (o *GetInvoicesParams) WithOffset(offset *int64) *GetInvoicesParams
- func (o *GetInvoicesParams) WithTimeout(timeout time.Duration) *GetInvoicesParams
- func (o *GetInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoicesReader
- type GetPaymentsForInvoiceBadRequest
- type GetPaymentsForInvoiceNotFound
- type GetPaymentsForInvoiceOK
- type GetPaymentsForInvoiceParams
- func NewGetPaymentsForInvoiceParams() *GetPaymentsForInvoiceParams
- func NewGetPaymentsForInvoiceParamsWithContext(ctx context.Context) *GetPaymentsForInvoiceParams
- func NewGetPaymentsForInvoiceParamsWithHTTPClient(client *http.Client) *GetPaymentsForInvoiceParams
- func NewGetPaymentsForInvoiceParamsWithTimeout(timeout time.Duration) *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) SetAudit(audit *string)
- func (o *GetPaymentsForInvoiceParams) SetContext(ctx context.Context)
- func (o *GetPaymentsForInvoiceParams) SetDefaults()
- func (o *GetPaymentsForInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentsForInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *GetPaymentsForInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentsForInvoiceParams) SetWithAttempts(withAttempts *bool)
- func (o *GetPaymentsForInvoiceParams) SetWithPluginInfo(withPluginInfo *bool)
- func (o *GetPaymentsForInvoiceParams) WithAudit(audit *string) *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) WithContext(ctx context.Context) *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) WithDefaults() *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) WithHTTPClient(client *http.Client) *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) WithTimeout(timeout time.Duration) *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) WithWithAttempts(withAttempts *bool) *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentsForInvoiceParams
- func (o *GetPaymentsForInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentsForInvoiceReader
- type ModifyInvoiceCustomFieldsBadRequest
- type ModifyInvoiceCustomFieldsNoContent
- type ModifyInvoiceCustomFieldsParams
- func NewModifyInvoiceCustomFieldsParams() *ModifyInvoiceCustomFieldsParams
- func NewModifyInvoiceCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceCustomFieldsParams
- func NewModifyInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoiceCustomFieldsParams
- func NewModifyInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *ModifyInvoiceCustomFieldsParams) SetContext(ctx context.Context)
- func (o *ModifyInvoiceCustomFieldsParams) SetDefaults()
- func (o *ModifyInvoiceCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *ModifyInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *ModifyInvoiceCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *ModifyInvoiceCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ModifyInvoiceCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ModifyInvoiceCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ModifyInvoiceCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WithContext(ctx context.Context) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WithDefaults() *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WithInvoiceID(invoiceID strfmt.UUID) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyInvoiceCustomFieldsParams
- func (o *ModifyInvoiceCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyInvoiceCustomFieldsReader
- type SearchInvoicesOK
- type SearchInvoicesParams
- func NewSearchInvoicesParams() *SearchInvoicesParams
- func NewSearchInvoicesParamsWithContext(ctx context.Context) *SearchInvoicesParams
- func NewSearchInvoicesParamsWithHTTPClient(client *http.Client) *SearchInvoicesParams
- func NewSearchInvoicesParamsWithTimeout(timeout time.Duration) *SearchInvoicesParams
- func (o *SearchInvoicesParams) SetAudit(audit *string)
- func (o *SearchInvoicesParams) SetContext(ctx context.Context)
- func (o *SearchInvoicesParams) SetDefaults()
- func (o *SearchInvoicesParams) SetHTTPClient(client *http.Client)
- func (o *SearchInvoicesParams) SetLimit(limit *int64)
- func (o *SearchInvoicesParams) SetOffset(offset *int64)
- func (o *SearchInvoicesParams) SetSearchKey(searchKey string)
- func (o *SearchInvoicesParams) SetTimeout(timeout time.Duration)
- func (o *SearchInvoicesParams) WithAudit(audit *string) *SearchInvoicesParams
- func (o *SearchInvoicesParams) WithContext(ctx context.Context) *SearchInvoicesParams
- func (o *SearchInvoicesParams) WithDefaults() *SearchInvoicesParams
- func (o *SearchInvoicesParams) WithHTTPClient(client *http.Client) *SearchInvoicesParams
- func (o *SearchInvoicesParams) WithLimit(limit *int64) *SearchInvoicesParams
- func (o *SearchInvoicesParams) WithOffset(offset *int64) *SearchInvoicesParams
- func (o *SearchInvoicesParams) WithSearchKey(searchKey string) *SearchInvoicesParams
- func (o *SearchInvoicesParams) WithTimeout(timeout time.Duration) *SearchInvoicesParams
- func (o *SearchInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchInvoicesReader
- type UploadCatalogTranslationCreated
- type UploadCatalogTranslationParams
- func NewUploadCatalogTranslationParams() *UploadCatalogTranslationParams
- func NewUploadCatalogTranslationParamsWithContext(ctx context.Context) *UploadCatalogTranslationParams
- func NewUploadCatalogTranslationParamsWithHTTPClient(client *http.Client) *UploadCatalogTranslationParams
- func NewUploadCatalogTranslationParamsWithTimeout(timeout time.Duration) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) SetBody(body string)
- func (o *UploadCatalogTranslationParams) SetContext(ctx context.Context)
- func (o *UploadCatalogTranslationParams) SetDefaults()
- func (o *UploadCatalogTranslationParams) SetDeleteIfExists(deleteIfExists *bool)
- func (o *UploadCatalogTranslationParams) SetHTTPClient(client *http.Client)
- func (o *UploadCatalogTranslationParams) SetLocale(locale string)
- func (o *UploadCatalogTranslationParams) SetTimeout(timeout time.Duration)
- func (o *UploadCatalogTranslationParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UploadCatalogTranslationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UploadCatalogTranslationParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UploadCatalogTranslationParams) WithBody(body string) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithContext(ctx context.Context) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithDefaults() *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithDeleteIfExists(deleteIfExists *bool) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithHTTPClient(client *http.Client) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithLocale(locale string) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithTimeout(timeout time.Duration) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithXKillbillComment(xKillbillComment *string) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WithXKillbillReason(xKillbillReason *string) *UploadCatalogTranslationParams
- func (o *UploadCatalogTranslationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadCatalogTranslationReader
- type UploadInvoiceMPTemplateOK
- type UploadInvoiceMPTemplateParams
- func NewUploadInvoiceMPTemplateParams() *UploadInvoiceMPTemplateParams
- func NewUploadInvoiceMPTemplateParamsWithContext(ctx context.Context) *UploadInvoiceMPTemplateParams
- func NewUploadInvoiceMPTemplateParamsWithHTTPClient(client *http.Client) *UploadInvoiceMPTemplateParams
- func NewUploadInvoiceMPTemplateParamsWithTimeout(timeout time.Duration) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) SetBody(body string)
- func (o *UploadInvoiceMPTemplateParams) SetContext(ctx context.Context)
- func (o *UploadInvoiceMPTemplateParams) SetDefaults()
- func (o *UploadInvoiceMPTemplateParams) SetDeleteIfExists(deleteIfExists *bool)
- func (o *UploadInvoiceMPTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UploadInvoiceMPTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UploadInvoiceMPTemplateParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UploadInvoiceMPTemplateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UploadInvoiceMPTemplateParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UploadInvoiceMPTemplateParams) WithBody(body string) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WithContext(ctx context.Context) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WithDefaults() *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WithDeleteIfExists(deleteIfExists *bool) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WithHTTPClient(client *http.Client) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WithTimeout(timeout time.Duration) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WithXKillbillComment(xKillbillComment *string) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WithXKillbillReason(xKillbillReason *string) *UploadInvoiceMPTemplateParams
- func (o *UploadInvoiceMPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadInvoiceMPTemplateReader
- type UploadInvoiceTemplateCreated
- type UploadInvoiceTemplateParams
- func NewUploadInvoiceTemplateParams() *UploadInvoiceTemplateParams
- func NewUploadInvoiceTemplateParamsWithContext(ctx context.Context) *UploadInvoiceTemplateParams
- func NewUploadInvoiceTemplateParamsWithHTTPClient(client *http.Client) *UploadInvoiceTemplateParams
- func NewUploadInvoiceTemplateParamsWithTimeout(timeout time.Duration) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) SetBody(body string)
- func (o *UploadInvoiceTemplateParams) SetContext(ctx context.Context)
- func (o *UploadInvoiceTemplateParams) SetDefaults()
- func (o *UploadInvoiceTemplateParams) SetDeleteIfExists(deleteIfExists *bool)
- func (o *UploadInvoiceTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UploadInvoiceTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UploadInvoiceTemplateParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UploadInvoiceTemplateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UploadInvoiceTemplateParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UploadInvoiceTemplateParams) WithBody(body string) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WithContext(ctx context.Context) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WithDefaults() *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WithDeleteIfExists(deleteIfExists *bool) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WithHTTPClient(client *http.Client) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WithTimeout(timeout time.Duration) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WithXKillbillComment(xKillbillComment *string) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WithXKillbillReason(xKillbillReason *string) *UploadInvoiceTemplateParams
- func (o *UploadInvoiceTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadInvoiceTemplateReader
- type UploadInvoiceTranslationCreated
- type UploadInvoiceTranslationParams
- func NewUploadInvoiceTranslationParams() *UploadInvoiceTranslationParams
- func NewUploadInvoiceTranslationParamsWithContext(ctx context.Context) *UploadInvoiceTranslationParams
- func NewUploadInvoiceTranslationParamsWithHTTPClient(client *http.Client) *UploadInvoiceTranslationParams
- func NewUploadInvoiceTranslationParamsWithTimeout(timeout time.Duration) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) SetBody(body string)
- func (o *UploadInvoiceTranslationParams) SetContext(ctx context.Context)
- func (o *UploadInvoiceTranslationParams) SetDefaults()
- func (o *UploadInvoiceTranslationParams) SetDeleteIfExists(deleteIfExists *bool)
- func (o *UploadInvoiceTranslationParams) SetHTTPClient(client *http.Client)
- func (o *UploadInvoiceTranslationParams) SetLocale(locale string)
- func (o *UploadInvoiceTranslationParams) SetTimeout(timeout time.Duration)
- func (o *UploadInvoiceTranslationParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UploadInvoiceTranslationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UploadInvoiceTranslationParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UploadInvoiceTranslationParams) WithBody(body string) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithContext(ctx context.Context) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithDefaults() *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithDeleteIfExists(deleteIfExists *bool) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithHTTPClient(client *http.Client) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithLocale(locale string) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithTimeout(timeout time.Duration) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithXKillbillComment(xKillbillComment *string) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WithXKillbillReason(xKillbillReason *string) *UploadInvoiceTranslationParams
- func (o *UploadInvoiceTranslationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadInvoiceTranslationReader
- type VoidInvoiceBadRequest
- type VoidInvoiceNoContent
- type VoidInvoiceNotFound
- type VoidInvoiceParams
- func (o *VoidInvoiceParams) SetContext(ctx context.Context)
- func (o *VoidInvoiceParams) SetDefaults()
- func (o *VoidInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *VoidInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)
- func (o *VoidInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *VoidInvoiceParams) SetXKillbillComment(xKillbillComment *string)
- func (o *VoidInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *VoidInvoiceParams) SetXKillbillReason(xKillbillReason *string)
- func (o *VoidInvoiceParams) WithContext(ctx context.Context) *VoidInvoiceParams
- func (o *VoidInvoiceParams) WithDefaults() *VoidInvoiceParams
- func (o *VoidInvoiceParams) WithHTTPClient(client *http.Client) *VoidInvoiceParams
- func (o *VoidInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *VoidInvoiceParams
- func (o *VoidInvoiceParams) WithTimeout(timeout time.Duration) *VoidInvoiceParams
- func (o *VoidInvoiceParams) WithXKillbillComment(xKillbillComment *string) *VoidInvoiceParams
- func (o *VoidInvoiceParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *VoidInvoiceParams
- func (o *VoidInvoiceParams) WithXKillbillReason(xKillbillReason *string) *VoidInvoiceParams
- func (o *VoidInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VoidInvoiceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdjustInvoiceItemBadRequest ¶
type AdjustInvoiceItemBadRequest struct { }
AdjustInvoiceItemBadRequest describes a response with status code 400, with default header values.
Invalid account id, invoice id or invoice item id supplied
func NewAdjustInvoiceItemBadRequest ¶
func NewAdjustInvoiceItemBadRequest() *AdjustInvoiceItemBadRequest
NewAdjustInvoiceItemBadRequest creates a AdjustInvoiceItemBadRequest with default headers values
func (*AdjustInvoiceItemBadRequest) Error ¶
func (o *AdjustInvoiceItemBadRequest) Error() string
type AdjustInvoiceItemCreated ¶
AdjustInvoiceItemCreated describes a response with status code 201, with default header values.
Created adjustment Successfully
func NewAdjustInvoiceItemCreated ¶
func NewAdjustInvoiceItemCreated() *AdjustInvoiceItemCreated
NewAdjustInvoiceItemCreated creates a AdjustInvoiceItemCreated with default headers values
func (*AdjustInvoiceItemCreated) Error ¶
func (o *AdjustInvoiceItemCreated) Error() string
func (*AdjustInvoiceItemCreated) GetPayload ¶
func (o *AdjustInvoiceItemCreated) GetPayload() *kbmodel.Invoice
type AdjustInvoiceItemNotFound ¶
type AdjustInvoiceItemNotFound struct { }
AdjustInvoiceItemNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewAdjustInvoiceItemNotFound ¶
func NewAdjustInvoiceItemNotFound() *AdjustInvoiceItemNotFound
NewAdjustInvoiceItemNotFound creates a AdjustInvoiceItemNotFound with default headers values
func (*AdjustInvoiceItemNotFound) Error ¶
func (o *AdjustInvoiceItemNotFound) Error() string
type AdjustInvoiceItemParams ¶
type AdjustInvoiceItemParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.InvoiceItem // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID // PluginProperty. PluginProperty []string // RequestedDate. // // Format: date RequestedDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdjustInvoiceItemParams contains all the parameters to send to the API endpoint
for the adjust invoice item operation. Typically these are written to a http.Request.
func NewAdjustInvoiceItemParams ¶
func NewAdjustInvoiceItemParams() *AdjustInvoiceItemParams
NewAdjustInvoiceItemParams creates a new AdjustInvoiceItemParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAdjustInvoiceItemParamsWithContext ¶
func NewAdjustInvoiceItemParamsWithContext(ctx context.Context) *AdjustInvoiceItemParams
NewAdjustInvoiceItemParamsWithContext creates a new AdjustInvoiceItemParams object with the ability to set a context for a request.
func NewAdjustInvoiceItemParamsWithHTTPClient ¶
func NewAdjustInvoiceItemParamsWithHTTPClient(client *http.Client) *AdjustInvoiceItemParams
NewAdjustInvoiceItemParamsWithHTTPClient creates a new AdjustInvoiceItemParams object with the ability to set a custom HTTPClient for a request.
func NewAdjustInvoiceItemParamsWithTimeout ¶
func NewAdjustInvoiceItemParamsWithTimeout(timeout time.Duration) *AdjustInvoiceItemParams
NewAdjustInvoiceItemParamsWithTimeout creates a new AdjustInvoiceItemParams object with the ability to set a timeout on a request.
func (*AdjustInvoiceItemParams) SetBody ¶
func (o *AdjustInvoiceItemParams) SetBody(body *kbmodel.InvoiceItem)
SetBody adds the body to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetContext ¶
func (o *AdjustInvoiceItemParams) SetContext(ctx context.Context)
SetContext adds the context to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetDefaults ¶
func (o *AdjustInvoiceItemParams) SetDefaults()
SetDefaults hydrates default values in the adjust invoice item params (not the query body).
All values with no default are reset to their zero value.
func (*AdjustInvoiceItemParams) SetHTTPClient ¶
func (o *AdjustInvoiceItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetInvoiceID ¶
func (o *AdjustInvoiceItemParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetPluginProperty ¶
func (o *AdjustInvoiceItemParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetRequestedDate ¶
func (o *AdjustInvoiceItemParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetTimeout ¶
func (o *AdjustInvoiceItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetXKillbillComment ¶
func (o *AdjustInvoiceItemParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetXKillbillCreatedBy ¶
func (o *AdjustInvoiceItemParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the adjust invoice item params
func (*AdjustInvoiceItemParams) SetXKillbillReason ¶
func (o *AdjustInvoiceItemParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the adjust invoice item params
func (*AdjustInvoiceItemParams) WithBody ¶
func (o *AdjustInvoiceItemParams) WithBody(body *kbmodel.InvoiceItem) *AdjustInvoiceItemParams
WithBody adds the body to the adjust invoice item params
func (*AdjustInvoiceItemParams) WithContext ¶
func (o *AdjustInvoiceItemParams) WithContext(ctx context.Context) *AdjustInvoiceItemParams
WithContext adds the context to the adjust invoice item params
func (*AdjustInvoiceItemParams) WithDefaults ¶
func (o *AdjustInvoiceItemParams) WithDefaults() *AdjustInvoiceItemParams
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 ¶
func (o *AdjustInvoiceItemParams) WithTimeout(timeout time.Duration) *AdjustInvoiceItemParams
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 ¶
func (o *AdjustInvoiceItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdjustInvoiceItemReader ¶
type AdjustInvoiceItemReader struct {
// contains filtered or unexported fields
}
AdjustInvoiceItemReader is a Reader for the AdjustInvoiceItem structure.
func (*AdjustInvoiceItemReader) ReadResponse ¶
func (o *AdjustInvoiceItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for invoice API
func (*Client) AdjustInvoiceItem ¶
func (a *Client) AdjustInvoiceItem(params *AdjustInvoiceItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdjustInvoiceItemCreated, error)
AdjustInvoiceItem adjusts an invoice item
func (*Client) CommitInvoice ¶
func (a *Client) CommitInvoice(params *CommitInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CommitInvoiceNoContent, error)
CommitInvoice performs the invoice status transition from d r a f t to c o m m i t t e d
func (*Client) CreateExternalCharges ¶
func (a *Client) CreateExternalCharges(params *CreateExternalChargesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateExternalChargesCreated, error)
CreateExternalCharges creates external charge s
func (*Client) CreateFutureInvoice ¶
func (a *Client) CreateFutureInvoice(params *CreateFutureInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFutureInvoiceCreated, error)
CreateFutureInvoice triggers an invoice generation
func (*Client) CreateInstantPayment ¶
func (a *Client) CreateInstantPayment(params *CreateInstantPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInstantPaymentCreated, *CreateInstantPaymentNoContent, error)
CreateInstantPayment triggers a payment for invoice
func (*Client) CreateInvoiceCustomFields ¶
func (a *Client) CreateInvoiceCustomFields(params *CreateInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceCustomFieldsCreated, error)
CreateInvoiceCustomFields adds custom fields to invoice
func (*Client) CreateInvoiceTags ¶
func (a *Client) CreateInvoiceTags(params *CreateInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceTagsCreated, error)
CreateInvoiceTags adds tags to invoice
func (*Client) CreateMigrationInvoice ¶
func (a *Client) CreateMigrationInvoice(params *CreateMigrationInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMigrationInvoiceCreated, error)
CreateMigrationInvoice creates a migration invoice
func (*Client) CreateTaxItems ¶
func (a *Client) CreateTaxItems(params *CreateTaxItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTaxItemsCreated, error)
CreateTaxItems creates tax items
func (*Client) DeleteCBA ¶
func (a *Client) DeleteCBA(params *DeleteCBAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCBANoContent, error)
DeleteCBA deletes a c b a item
func (*Client) DeleteInvoiceCustomFields ¶
func (a *Client) DeleteInvoiceCustomFields(params *DeleteInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceCustomFieldsNoContent, error)
DeleteInvoiceCustomFields removes custom fields from invoice
func (*Client) DeleteInvoiceTags ¶
func (a *Client) DeleteInvoiceTags(params *DeleteInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceTagsNoContent, error)
DeleteInvoiceTags removes tags from invoice
func (*Client) GenerateDryRunInvoice ¶
func (a *Client) GenerateDryRunInvoice(params *GenerateDryRunInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateDryRunInvoiceOK, *GenerateDryRunInvoiceNoContent, error)
GenerateDryRunInvoice generates a dry run invoice
func (*Client) GetCatalogTranslation ¶
func (a *Client) GetCatalogTranslation(params *GetCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogTranslationOK, error)
GetCatalogTranslation retrieves the catalog translation for the tenant
func (*Client) GetInvoice ¶
func (a *Client) GetInvoice(params *GetInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceOK, error)
GetInvoice retrieves an invoice by id
func (*Client) GetInvoiceAsHTML ¶
func (a *Client) GetInvoiceAsHTML(params *GetInvoiceAsHTMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceAsHTMLOK, error)
GetInvoiceAsHTML renders an invoice as HTML
func (*Client) GetInvoiceAuditLogsWithHistory ¶
func (a *Client) GetInvoiceAuditLogsWithHistory(params *GetInvoiceAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceAuditLogsWithHistoryOK, error)
GetInvoiceAuditLogsWithHistory retrieves invoice audit logs with history by id
func (*Client) GetInvoiceByItemID ¶
func (a *Client) GetInvoiceByItemID(params *GetInvoiceByItemIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceByItemIDOK, error)
GetInvoiceByItemID retrieves an invoice by invoice item id
func (*Client) GetInvoiceByNumber ¶
func (a *Client) GetInvoiceByNumber(params *GetInvoiceByNumberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceByNumberOK, error)
GetInvoiceByNumber retrieves an invoice by number
func (*Client) GetInvoiceCustomFields ¶
func (a *Client) GetInvoiceCustomFields(params *GetInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceCustomFieldsOK, error)
GetInvoiceCustomFields retrieves invoice custom fields
func (*Client) GetInvoiceMPTemplate ¶
func (a *Client) GetInvoiceMPTemplate(params *GetInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceMPTemplateOK, error)
GetInvoiceMPTemplate retrieves the manual pay invoice template for the tenant
func (*Client) GetInvoiceTags ¶
func (a *Client) GetInvoiceTags(params *GetInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTagsOK, error)
GetInvoiceTags retrieves invoice tags
func (*Client) GetInvoiceTemplate ¶
func (a *Client) GetInvoiceTemplate(params *GetInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTemplateOK, error)
GetInvoiceTemplate retrieves the invoice template for the tenant
func (*Client) GetInvoiceTranslation ¶
func (a *Client) GetInvoiceTranslation(params *GetInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTranslationOK, error)
GetInvoiceTranslation retrieves the invoice translation for the tenant
func (*Client) GetInvoices ¶
func (a *Client) GetInvoices(params *GetInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoicesOK, error)
GetInvoices lists invoices
func (*Client) GetPaymentsForInvoice ¶
func (a *Client) GetPaymentsForInvoice(params *GetPaymentsForInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentsForInvoiceOK, error)
GetPaymentsForInvoice retrieves payments associated with an invoice
func (*Client) ModifyInvoiceCustomFields ¶
func (a *Client) ModifyInvoiceCustomFields(params *ModifyInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ModifyInvoiceCustomFieldsNoContent, error)
ModifyInvoiceCustomFields modifies custom fields to invoice
func (*Client) SearchInvoices ¶
func (a *Client) SearchInvoices(params *SearchInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchInvoicesOK, error)
SearchInvoices searches invoices
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadCatalogTranslation ¶
func (a *Client) UploadCatalogTranslation(params *UploadCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadCatalogTranslationCreated, error)
UploadCatalogTranslation uploads the catalog translation for the tenant
func (*Client) UploadInvoiceMPTemplate ¶
func (a *Client) UploadInvoiceMPTemplate(params *UploadInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceMPTemplateOK, error)
UploadInvoiceMPTemplate uploads the manual pay invoice template for the tenant
func (*Client) UploadInvoiceTemplate ¶
func (a *Client) UploadInvoiceTemplate(params *UploadInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceTemplateCreated, error)
UploadInvoiceTemplate uploads the invoice template for the tenant
func (*Client) UploadInvoiceTranslation ¶
func (a *Client) UploadInvoiceTranslation(params *UploadInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceTranslationCreated, error)
UploadInvoiceTranslation uploads the invoice translation for the tenant
func (*Client) VoidInvoice ¶
func (a *Client) VoidInvoice(params *VoidInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VoidInvoiceNoContent, error)
VoidInvoice performs the action of voiding an invoice
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AdjustInvoiceItem(params *AdjustInvoiceItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdjustInvoiceItemCreated, error) CommitInvoice(params *CommitInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CommitInvoiceNoContent, error) CreateExternalCharges(params *CreateExternalChargesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateExternalChargesCreated, error) CreateFutureInvoice(params *CreateFutureInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFutureInvoiceCreated, error) CreateInstantPayment(params *CreateInstantPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInstantPaymentCreated, *CreateInstantPaymentNoContent, error) CreateInvoiceCustomFields(params *CreateInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceCustomFieldsCreated, error) CreateInvoiceTags(params *CreateInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceTagsCreated, error) CreateMigrationInvoice(params *CreateMigrationInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMigrationInvoiceCreated, error) CreateTaxItems(params *CreateTaxItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTaxItemsCreated, error) DeleteCBA(params *DeleteCBAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCBANoContent, error) DeleteInvoiceCustomFields(params *DeleteInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceCustomFieldsNoContent, error) DeleteInvoiceTags(params *DeleteInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceTagsNoContent, error) GenerateDryRunInvoice(params *GenerateDryRunInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateDryRunInvoiceOK, *GenerateDryRunInvoiceNoContent, error) GetCatalogTranslation(params *GetCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogTranslationOK, error) GetInvoice(params *GetInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceOK, error) GetInvoiceAsHTML(params *GetInvoiceAsHTMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceAsHTMLOK, error) GetInvoiceAuditLogsWithHistory(params *GetInvoiceAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceAuditLogsWithHistoryOK, error) GetInvoiceByItemID(params *GetInvoiceByItemIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceByItemIDOK, error) GetInvoiceByNumber(params *GetInvoiceByNumberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceByNumberOK, error) GetInvoiceCustomFields(params *GetInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceCustomFieldsOK, error) GetInvoiceMPTemplate(params *GetInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceMPTemplateOK, error) GetInvoiceTags(params *GetInvoiceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTagsOK, error) GetInvoiceTemplate(params *GetInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTemplateOK, error) GetInvoiceTranslation(params *GetInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceTranslationOK, error) GetInvoices(params *GetInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoicesOK, error) GetPaymentsForInvoice(params *GetPaymentsForInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentsForInvoiceOK, error) ModifyInvoiceCustomFields(params *ModifyInvoiceCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ModifyInvoiceCustomFieldsNoContent, error) SearchInvoices(params *SearchInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchInvoicesOK, error) UploadCatalogTranslation(params *UploadCatalogTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadCatalogTranslationCreated, error) UploadInvoiceMPTemplate(params *UploadInvoiceMPTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceMPTemplateOK, error) UploadInvoiceTemplate(params *UploadInvoiceTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceTemplateCreated, error) UploadInvoiceTranslation(params *UploadInvoiceTranslationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadInvoiceTranslationCreated, error) VoidInvoice(params *VoidInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VoidInvoiceNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new invoice API client.
type CommitInvoiceNoContent ¶
type CommitInvoiceNoContent struct { }
CommitInvoiceNoContent describes a response with status code 204, with default header values.
Successful operation
func NewCommitInvoiceNoContent ¶
func NewCommitInvoiceNoContent() *CommitInvoiceNoContent
NewCommitInvoiceNoContent creates a CommitInvoiceNoContent with default headers values
func (*CommitInvoiceNoContent) Error ¶
func (o *CommitInvoiceNoContent) Error() string
type CommitInvoiceNotFound ¶
type CommitInvoiceNotFound struct { }
CommitInvoiceNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewCommitInvoiceNotFound ¶
func NewCommitInvoiceNotFound() *CommitInvoiceNotFound
NewCommitInvoiceNotFound creates a CommitInvoiceNotFound with default headers values
func (*CommitInvoiceNotFound) Error ¶
func (o *CommitInvoiceNotFound) Error() string
type CommitInvoiceParams ¶
type CommitInvoiceParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CommitInvoiceParams contains all the parameters to send to the API endpoint
for the commit invoice operation. Typically these are written to a http.Request.
func NewCommitInvoiceParams ¶
func NewCommitInvoiceParams() *CommitInvoiceParams
NewCommitInvoiceParams creates a new CommitInvoiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCommitInvoiceParamsWithContext ¶
func NewCommitInvoiceParamsWithContext(ctx context.Context) *CommitInvoiceParams
NewCommitInvoiceParamsWithContext creates a new CommitInvoiceParams object with the ability to set a context for a request.
func NewCommitInvoiceParamsWithHTTPClient ¶
func NewCommitInvoiceParamsWithHTTPClient(client *http.Client) *CommitInvoiceParams
NewCommitInvoiceParamsWithHTTPClient creates a new CommitInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewCommitInvoiceParamsWithTimeout ¶
func NewCommitInvoiceParamsWithTimeout(timeout time.Duration) *CommitInvoiceParams
NewCommitInvoiceParamsWithTimeout creates a new CommitInvoiceParams object with the ability to set a timeout on a request.
func (*CommitInvoiceParams) SetContext ¶
func (o *CommitInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the commit invoice params
func (*CommitInvoiceParams) SetDefaults ¶
func (o *CommitInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the commit invoice params (not the query body).
All values with no default are reset to their zero value.
func (*CommitInvoiceParams) SetHTTPClient ¶
func (o *CommitInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the commit invoice params
func (*CommitInvoiceParams) SetInvoiceID ¶
func (o *CommitInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the commit invoice params
func (*CommitInvoiceParams) SetTimeout ¶
func (o *CommitInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the commit invoice params
func (*CommitInvoiceParams) SetXKillbillComment ¶
func (o *CommitInvoiceParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the commit invoice params
func (*CommitInvoiceParams) SetXKillbillCreatedBy ¶
func (o *CommitInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the commit invoice params
func (*CommitInvoiceParams) SetXKillbillReason ¶
func (o *CommitInvoiceParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the commit invoice params
func (*CommitInvoiceParams) WithContext ¶
func (o *CommitInvoiceParams) WithContext(ctx context.Context) *CommitInvoiceParams
WithContext adds the context to the commit invoice params
func (*CommitInvoiceParams) WithDefaults ¶
func (o *CommitInvoiceParams) WithDefaults() *CommitInvoiceParams
WithDefaults hydrates default values in the commit invoice params (not the query body).
All values with no default are reset to their zero value.
func (*CommitInvoiceParams) WithHTTPClient ¶
func (o *CommitInvoiceParams) WithHTTPClient(client *http.Client) *CommitInvoiceParams
WithHTTPClient adds the HTTPClient to the commit invoice params
func (*CommitInvoiceParams) WithInvoiceID ¶
func (o *CommitInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *CommitInvoiceParams
WithInvoiceID adds the invoiceID to the commit invoice params
func (*CommitInvoiceParams) WithTimeout ¶
func (o *CommitInvoiceParams) WithTimeout(timeout time.Duration) *CommitInvoiceParams
WithTimeout adds the timeout to the commit invoice params
func (*CommitInvoiceParams) WithXKillbillComment ¶
func (o *CommitInvoiceParams) WithXKillbillComment(xKillbillComment *string) *CommitInvoiceParams
WithXKillbillComment adds the xKillbillComment to the commit invoice params
func (*CommitInvoiceParams) WithXKillbillCreatedBy ¶
func (o *CommitInvoiceParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CommitInvoiceParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the commit invoice params
func (*CommitInvoiceParams) WithXKillbillReason ¶
func (o *CommitInvoiceParams) WithXKillbillReason(xKillbillReason *string) *CommitInvoiceParams
WithXKillbillReason adds the xKillbillReason to the commit invoice params
func (*CommitInvoiceParams) WriteToRequest ¶
func (o *CommitInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CommitInvoiceReader ¶
type CommitInvoiceReader struct {
// contains filtered or unexported fields
}
CommitInvoiceReader is a Reader for the CommitInvoice structure.
func (*CommitInvoiceReader) ReadResponse ¶
func (o *CommitInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateExternalChargesBadRequest ¶
type CreateExternalChargesBadRequest struct { }
CreateExternalChargesBadRequest describes a response with status code 400, with default header values.
Invalid account id supplied
func NewCreateExternalChargesBadRequest ¶
func NewCreateExternalChargesBadRequest() *CreateExternalChargesBadRequest
NewCreateExternalChargesBadRequest creates a CreateExternalChargesBadRequest with default headers values
func (*CreateExternalChargesBadRequest) Error ¶
func (o *CreateExternalChargesBadRequest) Error() string
type CreateExternalChargesCreated ¶
type CreateExternalChargesCreated struct {
Payload []*kbmodel.InvoiceItem
}
CreateExternalChargesCreated describes a response with status code 201, with default header values.
Created external charge Successfully
func NewCreateExternalChargesCreated ¶
func NewCreateExternalChargesCreated() *CreateExternalChargesCreated
NewCreateExternalChargesCreated creates a CreateExternalChargesCreated with default headers values
func (*CreateExternalChargesCreated) Error ¶
func (o *CreateExternalChargesCreated) Error() string
func (*CreateExternalChargesCreated) GetPayload ¶
func (o *CreateExternalChargesCreated) GetPayload() []*kbmodel.InvoiceItem
type CreateExternalChargesNotFound ¶
type CreateExternalChargesNotFound struct { }
CreateExternalChargesNotFound describes a response with status code 404, with default header values.
Account not found
func NewCreateExternalChargesNotFound ¶
func NewCreateExternalChargesNotFound() *CreateExternalChargesNotFound
NewCreateExternalChargesNotFound creates a CreateExternalChargesNotFound with default headers values
func (*CreateExternalChargesNotFound) Error ¶
func (o *CreateExternalChargesNotFound) Error() 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateExternalChargesParams contains all the parameters to send to the API endpoint
for the create external charges operation. Typically these are written to a http.Request.
func NewCreateExternalChargesParams ¶
func NewCreateExternalChargesParams() *CreateExternalChargesParams
NewCreateExternalChargesParams creates a new CreateExternalChargesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateExternalChargesParamsWithContext ¶
func NewCreateExternalChargesParamsWithContext(ctx context.Context) *CreateExternalChargesParams
NewCreateExternalChargesParamsWithContext creates a new CreateExternalChargesParams object with the ability to set a context for a request.
func NewCreateExternalChargesParamsWithHTTPClient ¶
func NewCreateExternalChargesParamsWithHTTPClient(client *http.Client) *CreateExternalChargesParams
NewCreateExternalChargesParamsWithHTTPClient creates a new CreateExternalChargesParams object with the ability to set a custom HTTPClient for a request.
func NewCreateExternalChargesParamsWithTimeout ¶
func NewCreateExternalChargesParamsWithTimeout(timeout time.Duration) *CreateExternalChargesParams
NewCreateExternalChargesParamsWithTimeout creates a new CreateExternalChargesParams object with the ability to set a timeout on a request.
func (*CreateExternalChargesParams) SetAccountID ¶
func (o *CreateExternalChargesParams) SetAccountID(accountID strfmt.UUID)
SetAccountID adds the accountId to the create external charges params
func (*CreateExternalChargesParams) SetAutoCommit ¶
func (o *CreateExternalChargesParams) SetAutoCommit(autoCommit *bool)
SetAutoCommit adds the autoCommit to the create external charges params
func (*CreateExternalChargesParams) SetBody ¶
func (o *CreateExternalChargesParams) SetBody(body []*kbmodel.InvoiceItem)
SetBody adds the body to the create external charges params
func (*CreateExternalChargesParams) SetContext ¶
func (o *CreateExternalChargesParams) SetContext(ctx context.Context)
SetContext adds the context to the create external charges params
func (*CreateExternalChargesParams) SetDefaults ¶
func (o *CreateExternalChargesParams) SetDefaults()
SetDefaults hydrates default values in the create external charges params (not the query body).
All values with no default are reset to their zero value.
func (*CreateExternalChargesParams) SetHTTPClient ¶
func (o *CreateExternalChargesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create external charges params
func (*CreateExternalChargesParams) SetPluginProperty ¶
func (o *CreateExternalChargesParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the create external charges params
func (*CreateExternalChargesParams) SetRequestedDate ¶
func (o *CreateExternalChargesParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the create external charges params
func (*CreateExternalChargesParams) SetTimeout ¶
func (o *CreateExternalChargesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create external charges params
func (*CreateExternalChargesParams) SetXKillbillComment ¶
func (o *CreateExternalChargesParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create external charges params
func (*CreateExternalChargesParams) SetXKillbillCreatedBy ¶
func (o *CreateExternalChargesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create external charges params
func (*CreateExternalChargesParams) SetXKillbillReason ¶
func (o *CreateExternalChargesParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create external charges params
func (*CreateExternalChargesParams) WithAccountID ¶
func (o *CreateExternalChargesParams) WithAccountID(accountID strfmt.UUID) *CreateExternalChargesParams
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 ¶
func (o *CreateExternalChargesParams) WithBody(body []*kbmodel.InvoiceItem) *CreateExternalChargesParams
WithBody adds the body to the create external charges params
func (*CreateExternalChargesParams) WithContext ¶
func (o *CreateExternalChargesParams) WithContext(ctx context.Context) *CreateExternalChargesParams
WithContext adds the context to the create external charges params
func (*CreateExternalChargesParams) WithDefaults ¶
func (o *CreateExternalChargesParams) WithDefaults() *CreateExternalChargesParams
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 ¶
func (o *CreateExternalChargesParams) WithHTTPClient(client *http.Client) *CreateExternalChargesParams
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 ¶
func (o *CreateExternalChargesParams) WithTimeout(timeout time.Duration) *CreateExternalChargesParams
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 ¶
func (o *CreateExternalChargesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateExternalChargesReader ¶
type CreateExternalChargesReader struct {
// contains filtered or unexported fields
}
CreateExternalChargesReader is a Reader for the CreateExternalCharges structure.
func (*CreateExternalChargesReader) ReadResponse ¶
func (o *CreateExternalChargesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateFutureInvoiceBadRequest ¶
type CreateFutureInvoiceBadRequest struct { }
CreateFutureInvoiceBadRequest describes a response with status code 400, with default header values.
Invalid account id or target datetime supplied
func NewCreateFutureInvoiceBadRequest ¶
func NewCreateFutureInvoiceBadRequest() *CreateFutureInvoiceBadRequest
NewCreateFutureInvoiceBadRequest creates a CreateFutureInvoiceBadRequest with default headers values
func (*CreateFutureInvoiceBadRequest) Error ¶
func (o *CreateFutureInvoiceBadRequest) Error() string
type CreateFutureInvoiceCreated ¶
CreateFutureInvoiceCreated describes a response with status code 201, with default header values.
Created invoice successfully
func NewCreateFutureInvoiceCreated ¶
func NewCreateFutureInvoiceCreated() *CreateFutureInvoiceCreated
NewCreateFutureInvoiceCreated creates a CreateFutureInvoiceCreated with default headers values
func (*CreateFutureInvoiceCreated) Error ¶
func (o *CreateFutureInvoiceCreated) Error() string
func (*CreateFutureInvoiceCreated) GetPayload ¶
func (o *CreateFutureInvoiceCreated) GetPayload() *kbmodel.Invoice
type CreateFutureInvoiceParams ¶
type CreateFutureInvoiceParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // AccountID. // // Format: uuid AccountID strfmt.UUID // TargetDate. // // Format: date TargetDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFutureInvoiceParams contains all the parameters to send to the API endpoint
for the create future invoice operation. Typically these are written to a http.Request.
func NewCreateFutureInvoiceParams ¶
func NewCreateFutureInvoiceParams() *CreateFutureInvoiceParams
NewCreateFutureInvoiceParams creates a new CreateFutureInvoiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateFutureInvoiceParamsWithContext ¶
func NewCreateFutureInvoiceParamsWithContext(ctx context.Context) *CreateFutureInvoiceParams
NewCreateFutureInvoiceParamsWithContext creates a new CreateFutureInvoiceParams object with the ability to set a context for a request.
func NewCreateFutureInvoiceParamsWithHTTPClient ¶
func NewCreateFutureInvoiceParamsWithHTTPClient(client *http.Client) *CreateFutureInvoiceParams
NewCreateFutureInvoiceParamsWithHTTPClient creates a new CreateFutureInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateFutureInvoiceParamsWithTimeout ¶
func NewCreateFutureInvoiceParamsWithTimeout(timeout time.Duration) *CreateFutureInvoiceParams
NewCreateFutureInvoiceParamsWithTimeout creates a new CreateFutureInvoiceParams object with the ability to set a timeout on a request.
func (*CreateFutureInvoiceParams) SetAccountID ¶
func (o *CreateFutureInvoiceParams) SetAccountID(accountID strfmt.UUID)
SetAccountID adds the accountId to the create future invoice params
func (*CreateFutureInvoiceParams) SetContext ¶
func (o *CreateFutureInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the create future invoice params
func (*CreateFutureInvoiceParams) SetDefaults ¶
func (o *CreateFutureInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the create future invoice params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFutureInvoiceParams) SetHTTPClient ¶
func (o *CreateFutureInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create future invoice params
func (*CreateFutureInvoiceParams) SetTargetDate ¶
func (o *CreateFutureInvoiceParams) SetTargetDate(targetDate *strfmt.Date)
SetTargetDate adds the targetDate to the create future invoice params
func (*CreateFutureInvoiceParams) SetTimeout ¶
func (o *CreateFutureInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create future invoice params
func (*CreateFutureInvoiceParams) SetXKillbillComment ¶
func (o *CreateFutureInvoiceParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create future invoice params
func (*CreateFutureInvoiceParams) SetXKillbillCreatedBy ¶
func (o *CreateFutureInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create future invoice params
func (*CreateFutureInvoiceParams) SetXKillbillReason ¶
func (o *CreateFutureInvoiceParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create future invoice params
func (*CreateFutureInvoiceParams) WithAccountID ¶
func (o *CreateFutureInvoiceParams) WithAccountID(accountID strfmt.UUID) *CreateFutureInvoiceParams
WithAccountID adds the accountID to the create future invoice params
func (*CreateFutureInvoiceParams) WithContext ¶
func (o *CreateFutureInvoiceParams) WithContext(ctx context.Context) *CreateFutureInvoiceParams
WithContext adds the context to the create future invoice params
func (*CreateFutureInvoiceParams) WithDefaults ¶
func (o *CreateFutureInvoiceParams) WithDefaults() *CreateFutureInvoiceParams
WithDefaults hydrates default values in the create future invoice params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFutureInvoiceParams) WithHTTPClient ¶
func (o *CreateFutureInvoiceParams) WithHTTPClient(client *http.Client) *CreateFutureInvoiceParams
WithHTTPClient adds the HTTPClient to the create future invoice params
func (*CreateFutureInvoiceParams) WithTargetDate ¶
func (o *CreateFutureInvoiceParams) WithTargetDate(targetDate *strfmt.Date) *CreateFutureInvoiceParams
WithTargetDate adds the targetDate to the create future invoice params
func (*CreateFutureInvoiceParams) WithTimeout ¶
func (o *CreateFutureInvoiceParams) WithTimeout(timeout time.Duration) *CreateFutureInvoiceParams
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 ¶
func (o *CreateFutureInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFutureInvoiceReader ¶
type CreateFutureInvoiceReader struct {
// contains filtered or unexported fields
}
CreateFutureInvoiceReader is a Reader for the CreateFutureInvoice structure.
func (*CreateFutureInvoiceReader) ReadResponse ¶
func (o *CreateFutureInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateInstantPaymentBadRequest ¶
type CreateInstantPaymentBadRequest struct { }
CreateInstantPaymentBadRequest describes a response with status code 400, with default header values.
Invalid account id or invoice id supplied
func NewCreateInstantPaymentBadRequest ¶
func NewCreateInstantPaymentBadRequest() *CreateInstantPaymentBadRequest
NewCreateInstantPaymentBadRequest creates a CreateInstantPaymentBadRequest with default headers values
func (*CreateInstantPaymentBadRequest) Error ¶
func (o *CreateInstantPaymentBadRequest) Error() string
type CreateInstantPaymentCreated ¶
type CreateInstantPaymentCreated struct {
Payload *kbmodel.InvoicePayment
}
CreateInstantPaymentCreated describes a response with status code 201, with default header values.
Created payment Successfully
func NewCreateInstantPaymentCreated ¶
func NewCreateInstantPaymentCreated() *CreateInstantPaymentCreated
NewCreateInstantPaymentCreated creates a CreateInstantPaymentCreated with default headers values
func (*CreateInstantPaymentCreated) Error ¶
func (o *CreateInstantPaymentCreated) Error() string
func (*CreateInstantPaymentCreated) GetPayload ¶
func (o *CreateInstantPaymentCreated) GetPayload() *kbmodel.InvoicePayment
type CreateInstantPaymentNoContent ¶
type CreateInstantPaymentNoContent struct { }
CreateInstantPaymentNoContent describes a response with status code 204, with default header values.
Nothing to pay for
func NewCreateInstantPaymentNoContent ¶
func NewCreateInstantPaymentNoContent() *CreateInstantPaymentNoContent
NewCreateInstantPaymentNoContent creates a CreateInstantPaymentNoContent with default headers values
func (*CreateInstantPaymentNoContent) Error ¶
func (o *CreateInstantPaymentNoContent) Error() string
type CreateInstantPaymentNotFound ¶
type CreateInstantPaymentNotFound struct { }
CreateInstantPaymentNotFound describes a response with status code 404, with default header values.
Account not found
func NewCreateInstantPaymentNotFound ¶
func NewCreateInstantPaymentNotFound() *CreateInstantPaymentNotFound
NewCreateInstantPaymentNotFound creates a CreateInstantPaymentNotFound with default headers values
func (*CreateInstantPaymentNotFound) Error ¶
func (o *CreateInstantPaymentNotFound) Error() 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateInstantPaymentParams contains all the parameters to send to the API endpoint
for the create instant payment operation. Typically these are written to a http.Request.
func NewCreateInstantPaymentParams ¶
func NewCreateInstantPaymentParams() *CreateInstantPaymentParams
NewCreateInstantPaymentParams creates a new CreateInstantPaymentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateInstantPaymentParamsWithContext ¶
func NewCreateInstantPaymentParamsWithContext(ctx context.Context) *CreateInstantPaymentParams
NewCreateInstantPaymentParamsWithContext creates a new CreateInstantPaymentParams object with the ability to set a context for a request.
func NewCreateInstantPaymentParamsWithHTTPClient ¶
func NewCreateInstantPaymentParamsWithHTTPClient(client *http.Client) *CreateInstantPaymentParams
NewCreateInstantPaymentParamsWithHTTPClient creates a new CreateInstantPaymentParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInstantPaymentParamsWithTimeout ¶
func NewCreateInstantPaymentParamsWithTimeout(timeout time.Duration) *CreateInstantPaymentParams
NewCreateInstantPaymentParamsWithTimeout creates a new CreateInstantPaymentParams object with the ability to set a timeout on a request.
func (*CreateInstantPaymentParams) SetBody ¶
func (o *CreateInstantPaymentParams) SetBody(body *kbmodel.InvoicePayment)
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 ¶
func (o *CreateInstantPaymentParams) WithBody(body *kbmodel.InvoicePayment) *CreateInstantPaymentParams
WithBody adds the body to the create instant payment params
func (*CreateInstantPaymentParams) WithContext ¶
func (o *CreateInstantPaymentParams) WithContext(ctx context.Context) *CreateInstantPaymentParams
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 ¶
func (o *CreateInstantPaymentParams) WithDefaults() *CreateInstantPaymentParams
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 ¶
func (o *CreateInstantPaymentParams) WithHTTPClient(client *http.Client) *CreateInstantPaymentParams
WithHTTPClient adds the HTTPClient to the create instant payment params
func (*CreateInstantPaymentParams) WithInvoiceID ¶
func (o *CreateInstantPaymentParams) WithInvoiceID(invoiceID strfmt.UUID) *CreateInstantPaymentParams
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 ¶
func (o *CreateInstantPaymentParams) WithTimeout(timeout time.Duration) *CreateInstantPaymentParams
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 ¶
func (o *CreateInstantPaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInstantPaymentReader ¶
type CreateInstantPaymentReader struct {
// contains filtered or unexported fields
}
CreateInstantPaymentReader is a Reader for the CreateInstantPayment structure.
func (*CreateInstantPaymentReader) ReadResponse ¶
func (o *CreateInstantPaymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateInvoiceCustomFieldsBadRequest ¶
type CreateInvoiceCustomFieldsBadRequest struct { }
CreateInvoiceCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewCreateInvoiceCustomFieldsBadRequest ¶
func NewCreateInvoiceCustomFieldsBadRequest() *CreateInvoiceCustomFieldsBadRequest
NewCreateInvoiceCustomFieldsBadRequest creates a CreateInvoiceCustomFieldsBadRequest with default headers values
func (*CreateInvoiceCustomFieldsBadRequest) Error ¶
func (o *CreateInvoiceCustomFieldsBadRequest) Error() string
type CreateInvoiceCustomFieldsCreated ¶
type CreateInvoiceCustomFieldsCreated struct {
Payload []*kbmodel.CustomField
}
CreateInvoiceCustomFieldsCreated describes a response with status code 201, with default header values.
Custom field created successfully
func NewCreateInvoiceCustomFieldsCreated ¶
func NewCreateInvoiceCustomFieldsCreated() *CreateInvoiceCustomFieldsCreated
NewCreateInvoiceCustomFieldsCreated creates a CreateInvoiceCustomFieldsCreated with default headers values
func (*CreateInvoiceCustomFieldsCreated) Error ¶
func (o *CreateInvoiceCustomFieldsCreated) Error() string
func (*CreateInvoiceCustomFieldsCreated) GetPayload ¶
func (o *CreateInvoiceCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
type CreateInvoiceCustomFieldsParams ¶
type CreateInvoiceCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateInvoiceCustomFieldsParams contains all the parameters to send to the API endpoint
for the create invoice custom fields operation. Typically these are written to a http.Request.
func NewCreateInvoiceCustomFieldsParams ¶
func NewCreateInvoiceCustomFieldsParams() *CreateInvoiceCustomFieldsParams
NewCreateInvoiceCustomFieldsParams creates a new CreateInvoiceCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateInvoiceCustomFieldsParamsWithContext ¶
func NewCreateInvoiceCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceCustomFieldsParams
NewCreateInvoiceCustomFieldsParamsWithContext creates a new CreateInvoiceCustomFieldsParams object with the ability to set a context for a request.
func NewCreateInvoiceCustomFieldsParamsWithHTTPClient ¶
func NewCreateInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoiceCustomFieldsParams
NewCreateInvoiceCustomFieldsParamsWithHTTPClient creates a new CreateInvoiceCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInvoiceCustomFieldsParamsWithTimeout ¶
func NewCreateInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoiceCustomFieldsParams
NewCreateInvoiceCustomFieldsParamsWithTimeout creates a new CreateInvoiceCustomFieldsParams object with the ability to set a timeout on a request.
func (*CreateInvoiceCustomFieldsParams) SetBody ¶
func (o *CreateInvoiceCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
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 ¶
func (o *CreateInvoiceCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateInvoiceCustomFieldsParams
WithBody adds the body to the create invoice custom fields params
func (*CreateInvoiceCustomFieldsParams) WithContext ¶
func (o *CreateInvoiceCustomFieldsParams) WithContext(ctx context.Context) *CreateInvoiceCustomFieldsParams
WithContext adds the context to the create invoice custom fields params
func (*CreateInvoiceCustomFieldsParams) WithDefaults ¶
func (o *CreateInvoiceCustomFieldsParams) WithDefaults() *CreateInvoiceCustomFieldsParams
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 ¶
func (o *CreateInvoiceCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateInvoiceCustomFieldsParams
WithHTTPClient adds the HTTPClient to the create invoice custom fields params
func (*CreateInvoiceCustomFieldsParams) WithInvoiceID ¶
func (o *CreateInvoiceCustomFieldsParams) WithInvoiceID(invoiceID strfmt.UUID) *CreateInvoiceCustomFieldsParams
WithInvoiceID adds the invoiceID to the create invoice custom fields params
func (*CreateInvoiceCustomFieldsParams) WithTimeout ¶
func (o *CreateInvoiceCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateInvoiceCustomFieldsParams
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 ¶
func (o *CreateInvoiceCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInvoiceCustomFieldsReader ¶
type CreateInvoiceCustomFieldsReader struct {
// contains filtered or unexported fields
}
CreateInvoiceCustomFieldsReader is a Reader for the CreateInvoiceCustomFields structure.
func (*CreateInvoiceCustomFieldsReader) ReadResponse ¶
func (o *CreateInvoiceCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateInvoiceTagsBadRequest ¶
type CreateInvoiceTagsBadRequest struct { }
CreateInvoiceTagsBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewCreateInvoiceTagsBadRequest ¶
func NewCreateInvoiceTagsBadRequest() *CreateInvoiceTagsBadRequest
NewCreateInvoiceTagsBadRequest creates a CreateInvoiceTagsBadRequest with default headers values
func (*CreateInvoiceTagsBadRequest) Error ¶
func (o *CreateInvoiceTagsBadRequest) Error() string
type CreateInvoiceTagsCreated ¶
CreateInvoiceTagsCreated describes a response with status code 201, with default header values.
Tag created successfully
func NewCreateInvoiceTagsCreated ¶
func NewCreateInvoiceTagsCreated() *CreateInvoiceTagsCreated
NewCreateInvoiceTagsCreated creates a CreateInvoiceTagsCreated with default headers values
func (*CreateInvoiceTagsCreated) Error ¶
func (o *CreateInvoiceTagsCreated) Error() string
func (*CreateInvoiceTagsCreated) GetPayload ¶
func (o *CreateInvoiceTagsCreated) GetPayload() []*kbmodel.Tag
type CreateInvoiceTagsParams ¶
type CreateInvoiceTagsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []strfmt.UUID // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateInvoiceTagsParams contains all the parameters to send to the API endpoint
for the create invoice tags operation. Typically these are written to a http.Request.
func NewCreateInvoiceTagsParams ¶
func NewCreateInvoiceTagsParams() *CreateInvoiceTagsParams
NewCreateInvoiceTagsParams creates a new CreateInvoiceTagsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateInvoiceTagsParamsWithContext ¶
func NewCreateInvoiceTagsParamsWithContext(ctx context.Context) *CreateInvoiceTagsParams
NewCreateInvoiceTagsParamsWithContext creates a new CreateInvoiceTagsParams object with the ability to set a context for a request.
func NewCreateInvoiceTagsParamsWithHTTPClient ¶
func NewCreateInvoiceTagsParamsWithHTTPClient(client *http.Client) *CreateInvoiceTagsParams
NewCreateInvoiceTagsParamsWithHTTPClient creates a new CreateInvoiceTagsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInvoiceTagsParamsWithTimeout ¶
func NewCreateInvoiceTagsParamsWithTimeout(timeout time.Duration) *CreateInvoiceTagsParams
NewCreateInvoiceTagsParamsWithTimeout creates a new CreateInvoiceTagsParams object with the ability to set a timeout on a request.
func (*CreateInvoiceTagsParams) SetBody ¶
func (o *CreateInvoiceTagsParams) SetBody(body []strfmt.UUID)
SetBody adds the body to the create invoice tags params
func (*CreateInvoiceTagsParams) SetContext ¶
func (o *CreateInvoiceTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the create invoice tags params
func (*CreateInvoiceTagsParams) SetDefaults ¶
func (o *CreateInvoiceTagsParams) SetDefaults()
SetDefaults hydrates default values in the create invoice tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoiceTagsParams) SetHTTPClient ¶
func (o *CreateInvoiceTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create invoice tags params
func (*CreateInvoiceTagsParams) SetInvoiceID ¶
func (o *CreateInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the create invoice tags params
func (*CreateInvoiceTagsParams) SetTimeout ¶
func (o *CreateInvoiceTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create invoice tags params
func (*CreateInvoiceTagsParams) SetXKillbillComment ¶
func (o *CreateInvoiceTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create invoice tags params
func (*CreateInvoiceTagsParams) SetXKillbillCreatedBy ¶
func (o *CreateInvoiceTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice tags params
func (*CreateInvoiceTagsParams) SetXKillbillReason ¶
func (o *CreateInvoiceTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create invoice tags params
func (*CreateInvoiceTagsParams) WithBody ¶
func (o *CreateInvoiceTagsParams) WithBody(body []strfmt.UUID) *CreateInvoiceTagsParams
WithBody adds the body to the create invoice tags params
func (*CreateInvoiceTagsParams) WithContext ¶
func (o *CreateInvoiceTagsParams) WithContext(ctx context.Context) *CreateInvoiceTagsParams
WithContext adds the context to the create invoice tags params
func (*CreateInvoiceTagsParams) WithDefaults ¶
func (o *CreateInvoiceTagsParams) WithDefaults() *CreateInvoiceTagsParams
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 ¶
func (o *CreateInvoiceTagsParams) WithTimeout(timeout time.Duration) *CreateInvoiceTagsParams
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 ¶
func (o *CreateInvoiceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInvoiceTagsReader ¶
type CreateInvoiceTagsReader struct {
// contains filtered or unexported fields
}
CreateInvoiceTagsReader is a Reader for the CreateInvoiceTags structure.
func (*CreateInvoiceTagsReader) ReadResponse ¶
func (o *CreateInvoiceTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMigrationInvoiceBadRequest ¶
type CreateMigrationInvoiceBadRequest struct { }
CreateMigrationInvoiceBadRequest describes a response with status code 400, with default header values.
Invalid account id or target datetime supplied
func NewCreateMigrationInvoiceBadRequest ¶
func NewCreateMigrationInvoiceBadRequest() *CreateMigrationInvoiceBadRequest
NewCreateMigrationInvoiceBadRequest creates a CreateMigrationInvoiceBadRequest with default headers values
func (*CreateMigrationInvoiceBadRequest) Error ¶
func (o *CreateMigrationInvoiceBadRequest) Error() string
type CreateMigrationInvoiceCreated ¶
CreateMigrationInvoiceCreated describes a response with status code 201, with default header values.
Created migration invoice successfully
func NewCreateMigrationInvoiceCreated ¶
func NewCreateMigrationInvoiceCreated() *CreateMigrationInvoiceCreated
NewCreateMigrationInvoiceCreated creates a CreateMigrationInvoiceCreated with default headers values
func (*CreateMigrationInvoiceCreated) Error ¶
func (o *CreateMigrationInvoiceCreated) Error() string
func (*CreateMigrationInvoiceCreated) GetPayload ¶
func (o *CreateMigrationInvoiceCreated) GetPayload() *kbmodel.Invoice
type CreateMigrationInvoiceParams ¶
type CreateMigrationInvoiceParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // AccountID. // // Format: uuid AccountID strfmt.UUID // Body. Body []*kbmodel.InvoiceItem // TargetDate. // // Format: date TargetDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMigrationInvoiceParams contains all the parameters to send to the API endpoint
for the create migration invoice operation. Typically these are written to a http.Request.
func NewCreateMigrationInvoiceParams ¶
func NewCreateMigrationInvoiceParams() *CreateMigrationInvoiceParams
NewCreateMigrationInvoiceParams creates a new CreateMigrationInvoiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateMigrationInvoiceParamsWithContext ¶
func NewCreateMigrationInvoiceParamsWithContext(ctx context.Context) *CreateMigrationInvoiceParams
NewCreateMigrationInvoiceParamsWithContext creates a new CreateMigrationInvoiceParams object with the ability to set a context for a request.
func NewCreateMigrationInvoiceParamsWithHTTPClient ¶
func NewCreateMigrationInvoiceParamsWithHTTPClient(client *http.Client) *CreateMigrationInvoiceParams
NewCreateMigrationInvoiceParamsWithHTTPClient creates a new CreateMigrationInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMigrationInvoiceParamsWithTimeout ¶
func NewCreateMigrationInvoiceParamsWithTimeout(timeout time.Duration) *CreateMigrationInvoiceParams
NewCreateMigrationInvoiceParamsWithTimeout creates a new CreateMigrationInvoiceParams object with the ability to set a timeout on a request.
func (*CreateMigrationInvoiceParams) SetAccountID ¶
func (o *CreateMigrationInvoiceParams) SetAccountID(accountID strfmt.UUID)
SetAccountID adds the accountId to the create migration invoice params
func (*CreateMigrationInvoiceParams) SetBody ¶
func (o *CreateMigrationInvoiceParams) SetBody(body []*kbmodel.InvoiceItem)
SetBody adds the body to the create migration invoice params
func (*CreateMigrationInvoiceParams) SetContext ¶
func (o *CreateMigrationInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the create migration invoice params
func (*CreateMigrationInvoiceParams) SetDefaults ¶
func (o *CreateMigrationInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the create migration invoice params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMigrationInvoiceParams) SetHTTPClient ¶
func (o *CreateMigrationInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create migration invoice params
func (*CreateMigrationInvoiceParams) SetTargetDate ¶
func (o *CreateMigrationInvoiceParams) SetTargetDate(targetDate *strfmt.Date)
SetTargetDate adds the targetDate to the create migration invoice params
func (*CreateMigrationInvoiceParams) SetTimeout ¶
func (o *CreateMigrationInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create migration invoice params
func (*CreateMigrationInvoiceParams) SetXKillbillComment ¶
func (o *CreateMigrationInvoiceParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create migration invoice params
func (*CreateMigrationInvoiceParams) SetXKillbillCreatedBy ¶
func (o *CreateMigrationInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create migration invoice params
func (*CreateMigrationInvoiceParams) SetXKillbillReason ¶
func (o *CreateMigrationInvoiceParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create migration invoice params
func (*CreateMigrationInvoiceParams) WithAccountID ¶
func (o *CreateMigrationInvoiceParams) WithAccountID(accountID strfmt.UUID) *CreateMigrationInvoiceParams
WithAccountID adds the accountID to the create migration invoice params
func (*CreateMigrationInvoiceParams) WithBody ¶
func (o *CreateMigrationInvoiceParams) WithBody(body []*kbmodel.InvoiceItem) *CreateMigrationInvoiceParams
WithBody adds the body to the create migration invoice params
func (*CreateMigrationInvoiceParams) WithContext ¶
func (o *CreateMigrationInvoiceParams) WithContext(ctx context.Context) *CreateMigrationInvoiceParams
WithContext adds the context to the create migration invoice params
func (*CreateMigrationInvoiceParams) WithDefaults ¶
func (o *CreateMigrationInvoiceParams) WithDefaults() *CreateMigrationInvoiceParams
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 ¶
func (o *CreateMigrationInvoiceParams) WithHTTPClient(client *http.Client) *CreateMigrationInvoiceParams
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 ¶
func (o *CreateMigrationInvoiceParams) WithTimeout(timeout time.Duration) *CreateMigrationInvoiceParams
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 ¶
func (o *CreateMigrationInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMigrationInvoiceReader ¶
type CreateMigrationInvoiceReader struct {
// contains filtered or unexported fields
}
CreateMigrationInvoiceReader is a Reader for the CreateMigrationInvoice structure.
func (*CreateMigrationInvoiceReader) ReadResponse ¶
func (o *CreateMigrationInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTaxItemsBadRequest ¶
type CreateTaxItemsBadRequest struct { }
CreateTaxItemsBadRequest describes a response with status code 400, with default header values.
Invalid account id supplied
func NewCreateTaxItemsBadRequest ¶
func NewCreateTaxItemsBadRequest() *CreateTaxItemsBadRequest
NewCreateTaxItemsBadRequest creates a CreateTaxItemsBadRequest with default headers values
func (*CreateTaxItemsBadRequest) Error ¶
func (o *CreateTaxItemsBadRequest) Error() string
type CreateTaxItemsCreated ¶
type CreateTaxItemsCreated struct {
Payload []*kbmodel.InvoiceItem
}
CreateTaxItemsCreated describes a response with status code 201, with default header values.
Create tax items successfully
func NewCreateTaxItemsCreated ¶
func NewCreateTaxItemsCreated() *CreateTaxItemsCreated
NewCreateTaxItemsCreated creates a CreateTaxItemsCreated with default headers values
func (*CreateTaxItemsCreated) Error ¶
func (o *CreateTaxItemsCreated) Error() string
func (*CreateTaxItemsCreated) GetPayload ¶
func (o *CreateTaxItemsCreated) GetPayload() []*kbmodel.InvoiceItem
type CreateTaxItemsNotFound ¶
type CreateTaxItemsNotFound struct { }
CreateTaxItemsNotFound describes a response with status code 404, with default header values.
Account not found
func NewCreateTaxItemsNotFound ¶
func NewCreateTaxItemsNotFound() *CreateTaxItemsNotFound
NewCreateTaxItemsNotFound creates a CreateTaxItemsNotFound with default headers values
func (*CreateTaxItemsNotFound) Error ¶
func (o *CreateTaxItemsNotFound) Error() string
type CreateTaxItemsParams ¶
type CreateTaxItemsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // AccountID. // // Format: uuid AccountID strfmt.UUID // AutoCommit. AutoCommit *bool // Body. Body []*kbmodel.InvoiceItem // PluginProperty. PluginProperty []string // RequestedDate. // // Format: date RequestedDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTaxItemsParams contains all the parameters to send to the API endpoint
for the create tax items operation. Typically these are written to a http.Request.
func NewCreateTaxItemsParams ¶
func NewCreateTaxItemsParams() *CreateTaxItemsParams
NewCreateTaxItemsParams creates a new CreateTaxItemsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateTaxItemsParamsWithContext ¶
func NewCreateTaxItemsParamsWithContext(ctx context.Context) *CreateTaxItemsParams
NewCreateTaxItemsParamsWithContext creates a new CreateTaxItemsParams object with the ability to set a context for a request.
func NewCreateTaxItemsParamsWithHTTPClient ¶
func NewCreateTaxItemsParamsWithHTTPClient(client *http.Client) *CreateTaxItemsParams
NewCreateTaxItemsParamsWithHTTPClient creates a new CreateTaxItemsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTaxItemsParamsWithTimeout ¶
func NewCreateTaxItemsParamsWithTimeout(timeout time.Duration) *CreateTaxItemsParams
NewCreateTaxItemsParamsWithTimeout creates a new CreateTaxItemsParams object with the ability to set a timeout on a request.
func (*CreateTaxItemsParams) SetAccountID ¶
func (o *CreateTaxItemsParams) SetAccountID(accountID strfmt.UUID)
SetAccountID adds the accountId to the create tax items params
func (*CreateTaxItemsParams) SetAutoCommit ¶
func (o *CreateTaxItemsParams) SetAutoCommit(autoCommit *bool)
SetAutoCommit adds the autoCommit to the create tax items params
func (*CreateTaxItemsParams) SetBody ¶
func (o *CreateTaxItemsParams) SetBody(body []*kbmodel.InvoiceItem)
SetBody adds the body to the create tax items params
func (*CreateTaxItemsParams) SetContext ¶
func (o *CreateTaxItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the create tax items params
func (*CreateTaxItemsParams) SetDefaults ¶
func (o *CreateTaxItemsParams) SetDefaults()
SetDefaults hydrates default values in the create tax items params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTaxItemsParams) SetHTTPClient ¶
func (o *CreateTaxItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create tax items params
func (*CreateTaxItemsParams) SetPluginProperty ¶
func (o *CreateTaxItemsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the create tax items params
func (*CreateTaxItemsParams) SetRequestedDate ¶
func (o *CreateTaxItemsParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the create tax items params
func (*CreateTaxItemsParams) SetTimeout ¶
func (o *CreateTaxItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create tax items params
func (*CreateTaxItemsParams) SetXKillbillComment ¶
func (o *CreateTaxItemsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create tax items params
func (*CreateTaxItemsParams) SetXKillbillCreatedBy ¶
func (o *CreateTaxItemsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create tax items params
func (*CreateTaxItemsParams) SetXKillbillReason ¶
func (o *CreateTaxItemsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create tax items params
func (*CreateTaxItemsParams) WithAccountID ¶
func (o *CreateTaxItemsParams) WithAccountID(accountID strfmt.UUID) *CreateTaxItemsParams
WithAccountID adds the accountID to the create tax items params
func (*CreateTaxItemsParams) WithAutoCommit ¶
func (o *CreateTaxItemsParams) WithAutoCommit(autoCommit *bool) *CreateTaxItemsParams
WithAutoCommit adds the autoCommit to the create tax items params
func (*CreateTaxItemsParams) WithBody ¶
func (o *CreateTaxItemsParams) WithBody(body []*kbmodel.InvoiceItem) *CreateTaxItemsParams
WithBody adds the body to the create tax items params
func (*CreateTaxItemsParams) WithContext ¶
func (o *CreateTaxItemsParams) WithContext(ctx context.Context) *CreateTaxItemsParams
WithContext adds the context to the create tax items params
func (*CreateTaxItemsParams) WithDefaults ¶
func (o *CreateTaxItemsParams) WithDefaults() *CreateTaxItemsParams
WithDefaults hydrates default values in the create tax items params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTaxItemsParams) WithHTTPClient ¶
func (o *CreateTaxItemsParams) WithHTTPClient(client *http.Client) *CreateTaxItemsParams
WithHTTPClient adds the HTTPClient to the create tax items params
func (*CreateTaxItemsParams) WithPluginProperty ¶
func (o *CreateTaxItemsParams) WithPluginProperty(pluginProperty []string) *CreateTaxItemsParams
WithPluginProperty adds the pluginProperty to the create tax items params
func (*CreateTaxItemsParams) WithRequestedDate ¶
func (o *CreateTaxItemsParams) WithRequestedDate(requestedDate *strfmt.Date) *CreateTaxItemsParams
WithRequestedDate adds the requestedDate to the create tax items params
func (*CreateTaxItemsParams) WithTimeout ¶
func (o *CreateTaxItemsParams) WithTimeout(timeout time.Duration) *CreateTaxItemsParams
WithTimeout adds the timeout to the create tax items params
func (*CreateTaxItemsParams) WithXKillbillComment ¶
func (o *CreateTaxItemsParams) WithXKillbillComment(xKillbillComment *string) *CreateTaxItemsParams
WithXKillbillComment adds the xKillbillComment to the create tax items params
func (*CreateTaxItemsParams) WithXKillbillCreatedBy ¶
func (o *CreateTaxItemsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateTaxItemsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create tax items params
func (*CreateTaxItemsParams) WithXKillbillReason ¶
func (o *CreateTaxItemsParams) WithXKillbillReason(xKillbillReason *string) *CreateTaxItemsParams
WithXKillbillReason adds the xKillbillReason to the create tax items params
func (*CreateTaxItemsParams) WriteToRequest ¶
func (o *CreateTaxItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTaxItemsReader ¶
type CreateTaxItemsReader struct {
// contains filtered or unexported fields
}
CreateTaxItemsReader is a Reader for the CreateTaxItems structure.
func (*CreateTaxItemsReader) ReadResponse ¶
func (o *CreateTaxItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCBABadRequest ¶
type DeleteCBABadRequest struct { }
DeleteCBABadRequest describes a response with status code 400, with default header values.
Invalid account id, invoice id or invoice item id supplied
func NewDeleteCBABadRequest ¶
func NewDeleteCBABadRequest() *DeleteCBABadRequest
NewDeleteCBABadRequest creates a DeleteCBABadRequest with default headers values
func (*DeleteCBABadRequest) Error ¶
func (o *DeleteCBABadRequest) Error() string
type DeleteCBANoContent ¶
type DeleteCBANoContent struct { }
DeleteCBANoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteCBANoContent ¶
func NewDeleteCBANoContent() *DeleteCBANoContent
NewDeleteCBANoContent creates a DeleteCBANoContent with default headers values
func (*DeleteCBANoContent) Error ¶
func (o *DeleteCBANoContent) Error() string
type DeleteCBANotFound ¶
type DeleteCBANotFound struct { }
DeleteCBANotFound describes a response with status code 404, with default header values.
Account or invoice not found
func NewDeleteCBANotFound ¶
func NewDeleteCBANotFound() *DeleteCBANotFound
NewDeleteCBANotFound creates a DeleteCBANotFound with default headers values
func (*DeleteCBANotFound) Error ¶
func (o *DeleteCBANotFound) Error() string
type DeleteCBAParams ¶
type DeleteCBAParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // AccountID. // // Format: uuid AccountID strfmt.UUID // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID // InvoiceItemID. // // Format: uuid InvoiceItemID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCBAParams contains all the parameters to send to the API endpoint
for the delete c b a operation. Typically these are written to a http.Request.
func NewDeleteCBAParams ¶
func NewDeleteCBAParams() *DeleteCBAParams
NewDeleteCBAParams creates a new DeleteCBAParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteCBAParamsWithContext ¶
func NewDeleteCBAParamsWithContext(ctx context.Context) *DeleteCBAParams
NewDeleteCBAParamsWithContext creates a new DeleteCBAParams object with the ability to set a context for a request.
func NewDeleteCBAParamsWithHTTPClient ¶
func NewDeleteCBAParamsWithHTTPClient(client *http.Client) *DeleteCBAParams
NewDeleteCBAParamsWithHTTPClient creates a new DeleteCBAParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCBAParamsWithTimeout ¶
func NewDeleteCBAParamsWithTimeout(timeout time.Duration) *DeleteCBAParams
NewDeleteCBAParamsWithTimeout creates a new DeleteCBAParams object with the ability to set a timeout on a request.
func (*DeleteCBAParams) SetAccountID ¶
func (o *DeleteCBAParams) SetAccountID(accountID strfmt.UUID)
SetAccountID adds the accountId to the delete c b a params
func (*DeleteCBAParams) SetContext ¶
func (o *DeleteCBAParams) SetContext(ctx context.Context)
SetContext adds the context to the delete c b a params
func (*DeleteCBAParams) SetDefaults ¶
func (o *DeleteCBAParams) SetDefaults()
SetDefaults hydrates default values in the delete c b a params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCBAParams) SetHTTPClient ¶
func (o *DeleteCBAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete c b a params
func (*DeleteCBAParams) SetInvoiceID ¶
func (o *DeleteCBAParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the delete c b a params
func (*DeleteCBAParams) SetInvoiceItemID ¶
func (o *DeleteCBAParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the delete c b a params
func (*DeleteCBAParams) SetTimeout ¶
func (o *DeleteCBAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete c b a params
func (*DeleteCBAParams) SetXKillbillComment ¶
func (o *DeleteCBAParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete c b a params
func (*DeleteCBAParams) SetXKillbillCreatedBy ¶
func (o *DeleteCBAParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete c b a params
func (*DeleteCBAParams) SetXKillbillReason ¶
func (o *DeleteCBAParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete c b a params
func (*DeleteCBAParams) WithAccountID ¶
func (o *DeleteCBAParams) WithAccountID(accountID strfmt.UUID) *DeleteCBAParams
WithAccountID adds the accountID to the delete c b a params
func (*DeleteCBAParams) WithContext ¶
func (o *DeleteCBAParams) WithContext(ctx context.Context) *DeleteCBAParams
WithContext adds the context to the delete c b a params
func (*DeleteCBAParams) WithDefaults ¶
func (o *DeleteCBAParams) WithDefaults() *DeleteCBAParams
WithDefaults hydrates default values in the delete c b a params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCBAParams) WithHTTPClient ¶
func (o *DeleteCBAParams) WithHTTPClient(client *http.Client) *DeleteCBAParams
WithHTTPClient adds the HTTPClient to the delete c b a params
func (*DeleteCBAParams) WithInvoiceID ¶
func (o *DeleteCBAParams) WithInvoiceID(invoiceID strfmt.UUID) *DeleteCBAParams
WithInvoiceID adds the invoiceID to the delete c b a params
func (*DeleteCBAParams) WithInvoiceItemID ¶
func (o *DeleteCBAParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteCBAParams
WithInvoiceItemID adds the invoiceItemID to the delete c b a params
func (*DeleteCBAParams) WithTimeout ¶
func (o *DeleteCBAParams) WithTimeout(timeout time.Duration) *DeleteCBAParams
WithTimeout adds the timeout to the delete c b a params
func (*DeleteCBAParams) WithXKillbillComment ¶
func (o *DeleteCBAParams) WithXKillbillComment(xKillbillComment *string) *DeleteCBAParams
WithXKillbillComment adds the xKillbillComment to the delete c b a params
func (*DeleteCBAParams) WithXKillbillCreatedBy ¶
func (o *DeleteCBAParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteCBAParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete c b a params
func (*DeleteCBAParams) WithXKillbillReason ¶
func (o *DeleteCBAParams) WithXKillbillReason(xKillbillReason *string) *DeleteCBAParams
WithXKillbillReason adds the xKillbillReason to the delete c b a params
func (*DeleteCBAParams) WriteToRequest ¶
func (o *DeleteCBAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCBAReader ¶
type DeleteCBAReader struct {
// contains filtered or unexported fields
}
DeleteCBAReader is a Reader for the DeleteCBA structure.
func (*DeleteCBAReader) ReadResponse ¶
func (o *DeleteCBAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInvoiceCustomFieldsBadRequest ¶
type DeleteInvoiceCustomFieldsBadRequest struct { }
DeleteInvoiceCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewDeleteInvoiceCustomFieldsBadRequest ¶
func NewDeleteInvoiceCustomFieldsBadRequest() *DeleteInvoiceCustomFieldsBadRequest
NewDeleteInvoiceCustomFieldsBadRequest creates a DeleteInvoiceCustomFieldsBadRequest with default headers values
func (*DeleteInvoiceCustomFieldsBadRequest) Error ¶
func (o *DeleteInvoiceCustomFieldsBadRequest) Error() string
type DeleteInvoiceCustomFieldsNoContent ¶
type DeleteInvoiceCustomFieldsNoContent struct { }
DeleteInvoiceCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteInvoiceCustomFieldsNoContent ¶
func NewDeleteInvoiceCustomFieldsNoContent() *DeleteInvoiceCustomFieldsNoContent
NewDeleteInvoiceCustomFieldsNoContent creates a DeleteInvoiceCustomFieldsNoContent with default headers values
func (*DeleteInvoiceCustomFieldsNoContent) Error ¶
func (o *DeleteInvoiceCustomFieldsNoContent) Error() 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteInvoiceCustomFieldsParams contains all the parameters to send to the API endpoint
for the delete invoice custom fields operation. Typically these are written to a http.Request.
func NewDeleteInvoiceCustomFieldsParams ¶
func NewDeleteInvoiceCustomFieldsParams() *DeleteInvoiceCustomFieldsParams
NewDeleteInvoiceCustomFieldsParams creates a new DeleteInvoiceCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteInvoiceCustomFieldsParamsWithContext ¶
func NewDeleteInvoiceCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceCustomFieldsParams
NewDeleteInvoiceCustomFieldsParamsWithContext creates a new DeleteInvoiceCustomFieldsParams object with the ability to set a context for a request.
func NewDeleteInvoiceCustomFieldsParamsWithHTTPClient ¶
func NewDeleteInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceCustomFieldsParams
NewDeleteInvoiceCustomFieldsParamsWithHTTPClient creates a new DeleteInvoiceCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteInvoiceCustomFieldsParamsWithTimeout ¶
func NewDeleteInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceCustomFieldsParams
NewDeleteInvoiceCustomFieldsParamsWithTimeout creates a new DeleteInvoiceCustomFieldsParams object with the ability to set a timeout on a request.
func (*DeleteInvoiceCustomFieldsParams) SetContext ¶
func (o *DeleteInvoiceCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) SetCustomField ¶
func (o *DeleteInvoiceCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
SetCustomField adds the customField to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) SetDefaults ¶
func (o *DeleteInvoiceCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the delete invoice custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoiceCustomFieldsParams) SetHTTPClient ¶
func (o *DeleteInvoiceCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) SetInvoiceID ¶
func (o *DeleteInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) SetTimeout ¶
func (o *DeleteInvoiceCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) SetXKillbillComment ¶
func (o *DeleteInvoiceCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *DeleteInvoiceCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) SetXKillbillReason ¶
func (o *DeleteInvoiceCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) WithContext ¶
func (o *DeleteInvoiceCustomFieldsParams) WithContext(ctx context.Context) *DeleteInvoiceCustomFieldsParams
WithContext adds the context to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) WithCustomField ¶
func (o *DeleteInvoiceCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteInvoiceCustomFieldsParams
WithCustomField adds the customField to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) WithDefaults ¶
func (o *DeleteInvoiceCustomFieldsParams) WithDefaults() *DeleteInvoiceCustomFieldsParams
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 ¶
func (o *DeleteInvoiceCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceCustomFieldsParams
WithHTTPClient adds the HTTPClient to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) WithInvoiceID ¶
func (o *DeleteInvoiceCustomFieldsParams) WithInvoiceID(invoiceID strfmt.UUID) *DeleteInvoiceCustomFieldsParams
WithInvoiceID adds the invoiceID to the delete invoice custom fields params
func (*DeleteInvoiceCustomFieldsParams) WithTimeout ¶
func (o *DeleteInvoiceCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceCustomFieldsParams
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 ¶
func (o *DeleteInvoiceCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInvoiceCustomFieldsReader ¶
type DeleteInvoiceCustomFieldsReader struct {
// contains filtered or unexported fields
}
DeleteInvoiceCustomFieldsReader is a Reader for the DeleteInvoiceCustomFields structure.
func (*DeleteInvoiceCustomFieldsReader) ReadResponse ¶
func (o *DeleteInvoiceCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInvoiceTagsBadRequest ¶
type DeleteInvoiceTagsBadRequest struct { }
DeleteInvoiceTagsBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewDeleteInvoiceTagsBadRequest ¶
func NewDeleteInvoiceTagsBadRequest() *DeleteInvoiceTagsBadRequest
NewDeleteInvoiceTagsBadRequest creates a DeleteInvoiceTagsBadRequest with default headers values
func (*DeleteInvoiceTagsBadRequest) Error ¶
func (o *DeleteInvoiceTagsBadRequest) Error() string
type DeleteInvoiceTagsNoContent ¶
type DeleteInvoiceTagsNoContent struct { }
DeleteInvoiceTagsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteInvoiceTagsNoContent ¶
func NewDeleteInvoiceTagsNoContent() *DeleteInvoiceTagsNoContent
NewDeleteInvoiceTagsNoContent creates a DeleteInvoiceTagsNoContent with default headers values
func (*DeleteInvoiceTagsNoContent) Error ¶
func (o *DeleteInvoiceTagsNoContent) Error() 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteInvoiceTagsParams contains all the parameters to send to the API endpoint
for the delete invoice tags operation. Typically these are written to a http.Request.
func NewDeleteInvoiceTagsParams ¶
func NewDeleteInvoiceTagsParams() *DeleteInvoiceTagsParams
NewDeleteInvoiceTagsParams creates a new DeleteInvoiceTagsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteInvoiceTagsParamsWithContext ¶
func NewDeleteInvoiceTagsParamsWithContext(ctx context.Context) *DeleteInvoiceTagsParams
NewDeleteInvoiceTagsParamsWithContext creates a new DeleteInvoiceTagsParams object with the ability to set a context for a request.
func NewDeleteInvoiceTagsParamsWithHTTPClient ¶
func NewDeleteInvoiceTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceTagsParams
NewDeleteInvoiceTagsParamsWithHTTPClient creates a new DeleteInvoiceTagsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteInvoiceTagsParamsWithTimeout ¶
func NewDeleteInvoiceTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceTagsParams
NewDeleteInvoiceTagsParamsWithTimeout creates a new DeleteInvoiceTagsParams object with the ability to set a timeout on a request.
func (*DeleteInvoiceTagsParams) SetContext ¶
func (o *DeleteInvoiceTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete invoice tags params
func (*DeleteInvoiceTagsParams) SetDefaults ¶
func (o *DeleteInvoiceTagsParams) SetDefaults()
SetDefaults hydrates default values in the delete invoice tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoiceTagsParams) SetHTTPClient ¶
func (o *DeleteInvoiceTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete invoice tags params
func (*DeleteInvoiceTagsParams) SetInvoiceID ¶
func (o *DeleteInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the delete invoice tags params
func (*DeleteInvoiceTagsParams) SetTagDef ¶
func (o *DeleteInvoiceTagsParams) SetTagDef(tagDef []strfmt.UUID)
SetTagDef adds the tagDef to the delete invoice tags params
func (*DeleteInvoiceTagsParams) SetTimeout ¶
func (o *DeleteInvoiceTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete invoice tags params
func (*DeleteInvoiceTagsParams) SetXKillbillComment ¶
func (o *DeleteInvoiceTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete invoice tags params
func (*DeleteInvoiceTagsParams) SetXKillbillCreatedBy ¶
func (o *DeleteInvoiceTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice tags params
func (*DeleteInvoiceTagsParams) SetXKillbillReason ¶
func (o *DeleteInvoiceTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete invoice tags params
func (*DeleteInvoiceTagsParams) WithContext ¶
func (o *DeleteInvoiceTagsParams) WithContext(ctx context.Context) *DeleteInvoiceTagsParams
WithContext adds the context to the delete invoice tags params
func (*DeleteInvoiceTagsParams) WithDefaults ¶
func (o *DeleteInvoiceTagsParams) WithDefaults() *DeleteInvoiceTagsParams
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 ¶
func (o *DeleteInvoiceTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteInvoiceTagsParams
WithTagDef adds the tagDef to the delete invoice tags params
func (*DeleteInvoiceTagsParams) WithTimeout ¶
func (o *DeleteInvoiceTagsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceTagsParams
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 ¶
func (o *DeleteInvoiceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInvoiceTagsReader ¶
type DeleteInvoiceTagsReader struct {
// contains filtered or unexported fields
}
DeleteInvoiceTagsReader is a Reader for the DeleteInvoiceTags structure.
func (*DeleteInvoiceTagsReader) ReadResponse ¶
func (o *DeleteInvoiceTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GenerateDryRunInvoiceBadRequest ¶
type GenerateDryRunInvoiceBadRequest struct { }
GenerateDryRunInvoiceBadRequest describes a response with status code 400, with default header values.
Invalid account id or target datetime supplied
func NewGenerateDryRunInvoiceBadRequest ¶
func NewGenerateDryRunInvoiceBadRequest() *GenerateDryRunInvoiceBadRequest
NewGenerateDryRunInvoiceBadRequest creates a GenerateDryRunInvoiceBadRequest with default headers values
func (*GenerateDryRunInvoiceBadRequest) Error ¶
func (o *GenerateDryRunInvoiceBadRequest) Error() string
type GenerateDryRunInvoiceNoContent ¶
type GenerateDryRunInvoiceNoContent struct { }
GenerateDryRunInvoiceNoContent describes a response with status code 204, with default header values.
Nothing to generate
func NewGenerateDryRunInvoiceNoContent ¶
func NewGenerateDryRunInvoiceNoContent() *GenerateDryRunInvoiceNoContent
NewGenerateDryRunInvoiceNoContent creates a GenerateDryRunInvoiceNoContent with default headers values
func (*GenerateDryRunInvoiceNoContent) Error ¶
func (o *GenerateDryRunInvoiceNoContent) Error() string
type GenerateDryRunInvoiceOK ¶
GenerateDryRunInvoiceOK describes a response with status code 200, with default header values.
successful operation
func NewGenerateDryRunInvoiceOK ¶
func NewGenerateDryRunInvoiceOK() *GenerateDryRunInvoiceOK
NewGenerateDryRunInvoiceOK creates a GenerateDryRunInvoiceOK with default headers values
func (*GenerateDryRunInvoiceOK) Error ¶
func (o *GenerateDryRunInvoiceOK) Error() string
func (*GenerateDryRunInvoiceOK) GetPayload ¶
func (o *GenerateDryRunInvoiceOK) GetPayload() *kbmodel.Invoice
type GenerateDryRunInvoiceParams ¶
type GenerateDryRunInvoiceParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // AccountID. // // Format: uuid AccountID strfmt.UUID // Body. Body *kbmodel.InvoiceDryRun // TargetDate. // // Format: date TargetDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GenerateDryRunInvoiceParams contains all the parameters to send to the API endpoint
for the generate dry run invoice operation. Typically these are written to a http.Request.
func NewGenerateDryRunInvoiceParams ¶
func NewGenerateDryRunInvoiceParams() *GenerateDryRunInvoiceParams
NewGenerateDryRunInvoiceParams creates a new GenerateDryRunInvoiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGenerateDryRunInvoiceParamsWithContext ¶
func NewGenerateDryRunInvoiceParamsWithContext(ctx context.Context) *GenerateDryRunInvoiceParams
NewGenerateDryRunInvoiceParamsWithContext creates a new GenerateDryRunInvoiceParams object with the ability to set a context for a request.
func NewGenerateDryRunInvoiceParamsWithHTTPClient ¶
func NewGenerateDryRunInvoiceParamsWithHTTPClient(client *http.Client) *GenerateDryRunInvoiceParams
NewGenerateDryRunInvoiceParamsWithHTTPClient creates a new GenerateDryRunInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewGenerateDryRunInvoiceParamsWithTimeout ¶
func NewGenerateDryRunInvoiceParamsWithTimeout(timeout time.Duration) *GenerateDryRunInvoiceParams
NewGenerateDryRunInvoiceParamsWithTimeout creates a new GenerateDryRunInvoiceParams object with the ability to set a timeout on a request.
func (*GenerateDryRunInvoiceParams) SetAccountID ¶
func (o *GenerateDryRunInvoiceParams) SetAccountID(accountID strfmt.UUID)
SetAccountID adds the accountId to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) SetBody ¶
func (o *GenerateDryRunInvoiceParams) SetBody(body *kbmodel.InvoiceDryRun)
SetBody adds the body to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) SetContext ¶
func (o *GenerateDryRunInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) SetDefaults ¶
func (o *GenerateDryRunInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the generate dry run invoice params (not the query body).
All values with no default are reset to their zero value.
func (*GenerateDryRunInvoiceParams) SetHTTPClient ¶
func (o *GenerateDryRunInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) SetTargetDate ¶
func (o *GenerateDryRunInvoiceParams) SetTargetDate(targetDate *strfmt.Date)
SetTargetDate adds the targetDate to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) SetTimeout ¶
func (o *GenerateDryRunInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) SetXKillbillComment ¶
func (o *GenerateDryRunInvoiceParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) SetXKillbillCreatedBy ¶
func (o *GenerateDryRunInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) SetXKillbillReason ¶
func (o *GenerateDryRunInvoiceParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) WithAccountID ¶
func (o *GenerateDryRunInvoiceParams) WithAccountID(accountID strfmt.UUID) *GenerateDryRunInvoiceParams
WithAccountID adds the accountID to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) WithBody ¶
func (o *GenerateDryRunInvoiceParams) WithBody(body *kbmodel.InvoiceDryRun) *GenerateDryRunInvoiceParams
WithBody adds the body to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) WithContext ¶
func (o *GenerateDryRunInvoiceParams) WithContext(ctx context.Context) *GenerateDryRunInvoiceParams
WithContext adds the context to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) WithDefaults ¶
func (o *GenerateDryRunInvoiceParams) WithDefaults() *GenerateDryRunInvoiceParams
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 ¶
func (o *GenerateDryRunInvoiceParams) WithHTTPClient(client *http.Client) *GenerateDryRunInvoiceParams
WithHTTPClient adds the HTTPClient to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) WithTargetDate ¶
func (o *GenerateDryRunInvoiceParams) WithTargetDate(targetDate *strfmt.Date) *GenerateDryRunInvoiceParams
WithTargetDate adds the targetDate to the generate dry run invoice params
func (*GenerateDryRunInvoiceParams) WithTimeout ¶
func (o *GenerateDryRunInvoiceParams) WithTimeout(timeout time.Duration) *GenerateDryRunInvoiceParams
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 ¶
func (o *GenerateDryRunInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenerateDryRunInvoiceReader ¶
type GenerateDryRunInvoiceReader struct {
// contains filtered or unexported fields
}
GenerateDryRunInvoiceReader is a Reader for the GenerateDryRunInvoice structure.
func (*GenerateDryRunInvoiceReader) ReadResponse ¶
func (o *GenerateDryRunInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogTranslationBadRequest ¶
type GetCatalogTranslationBadRequest struct { }
GetCatalogTranslationBadRequest describes a response with status code 400, with default header values.
Invalid locale supplied
func NewGetCatalogTranslationBadRequest ¶
func NewGetCatalogTranslationBadRequest() *GetCatalogTranslationBadRequest
NewGetCatalogTranslationBadRequest creates a GetCatalogTranslationBadRequest with default headers values
func (*GetCatalogTranslationBadRequest) Error ¶
func (o *GetCatalogTranslationBadRequest) Error() string
type GetCatalogTranslationNotFound ¶
type GetCatalogTranslationNotFound struct { }
GetCatalogTranslationNotFound describes a response with status code 404, with default header values.
Template not found
func NewGetCatalogTranslationNotFound ¶
func NewGetCatalogTranslationNotFound() *GetCatalogTranslationNotFound
NewGetCatalogTranslationNotFound creates a GetCatalogTranslationNotFound with default headers values
func (*GetCatalogTranslationNotFound) Error ¶
func (o *GetCatalogTranslationNotFound) Error() string
type GetCatalogTranslationOK ¶
type GetCatalogTranslationOK struct {
Payload string
}
GetCatalogTranslationOK describes a response with status code 200, with default header values.
successful operation
func NewGetCatalogTranslationOK ¶
func NewGetCatalogTranslationOK() *GetCatalogTranslationOK
NewGetCatalogTranslationOK creates a GetCatalogTranslationOK with default headers values
func (*GetCatalogTranslationOK) Error ¶
func (o *GetCatalogTranslationOK) Error() string
func (*GetCatalogTranslationOK) GetPayload ¶
func (o *GetCatalogTranslationOK) GetPayload() string
type GetCatalogTranslationParams ¶
type GetCatalogTranslationParams struct { // Locale. Locale string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCatalogTranslationParams contains all the parameters to send to the API endpoint
for the get catalog translation operation. Typically these are written to a http.Request.
func NewGetCatalogTranslationParams ¶
func NewGetCatalogTranslationParams() *GetCatalogTranslationParams
NewGetCatalogTranslationParams creates a new GetCatalogTranslationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCatalogTranslationParamsWithContext ¶
func NewGetCatalogTranslationParamsWithContext(ctx context.Context) *GetCatalogTranslationParams
NewGetCatalogTranslationParamsWithContext creates a new GetCatalogTranslationParams object with the ability to set a context for a request.
func NewGetCatalogTranslationParamsWithHTTPClient ¶
func NewGetCatalogTranslationParamsWithHTTPClient(client *http.Client) *GetCatalogTranslationParams
NewGetCatalogTranslationParamsWithHTTPClient creates a new GetCatalogTranslationParams object with the ability to set a custom HTTPClient for a request.
func NewGetCatalogTranslationParamsWithTimeout ¶
func NewGetCatalogTranslationParamsWithTimeout(timeout time.Duration) *GetCatalogTranslationParams
NewGetCatalogTranslationParamsWithTimeout creates a new GetCatalogTranslationParams object with the ability to set a timeout on a request.
func (*GetCatalogTranslationParams) SetContext ¶
func (o *GetCatalogTranslationParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog translation params
func (*GetCatalogTranslationParams) SetDefaults ¶
func (o *GetCatalogTranslationParams) SetDefaults()
SetDefaults hydrates default values in the get catalog translation params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogTranslationParams) SetHTTPClient ¶
func (o *GetCatalogTranslationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog translation params
func (*GetCatalogTranslationParams) SetLocale ¶
func (o *GetCatalogTranslationParams) SetLocale(locale string)
SetLocale adds the locale to the get catalog translation params
func (*GetCatalogTranslationParams) SetTimeout ¶
func (o *GetCatalogTranslationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog translation params
func (*GetCatalogTranslationParams) WithContext ¶
func (o *GetCatalogTranslationParams) WithContext(ctx context.Context) *GetCatalogTranslationParams
WithContext adds the context to the get catalog translation params
func (*GetCatalogTranslationParams) WithDefaults ¶
func (o *GetCatalogTranslationParams) WithDefaults() *GetCatalogTranslationParams
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 ¶
func (o *GetCatalogTranslationParams) WithHTTPClient(client *http.Client) *GetCatalogTranslationParams
WithHTTPClient adds the HTTPClient to the get catalog translation params
func (*GetCatalogTranslationParams) WithLocale ¶
func (o *GetCatalogTranslationParams) WithLocale(locale string) *GetCatalogTranslationParams
WithLocale adds the locale to the get catalog translation params
func (*GetCatalogTranslationParams) WithTimeout ¶
func (o *GetCatalogTranslationParams) WithTimeout(timeout time.Duration) *GetCatalogTranslationParams
WithTimeout adds the timeout to the get catalog translation params
func (*GetCatalogTranslationParams) WriteToRequest ¶
func (o *GetCatalogTranslationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogTranslationReader ¶
type GetCatalogTranslationReader struct {
// contains filtered or unexported fields
}
GetCatalogTranslationReader is a Reader for the GetCatalogTranslation structure.
func (*GetCatalogTranslationReader) ReadResponse ¶
func (o *GetCatalogTranslationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceAsHTMLNotFound ¶
type GetInvoiceAsHTMLNotFound struct { }
GetInvoiceAsHTMLNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewGetInvoiceAsHTMLNotFound ¶
func NewGetInvoiceAsHTMLNotFound() *GetInvoiceAsHTMLNotFound
NewGetInvoiceAsHTMLNotFound creates a GetInvoiceAsHTMLNotFound with default headers values
func (*GetInvoiceAsHTMLNotFound) Error ¶
func (o *GetInvoiceAsHTMLNotFound) Error() string
type GetInvoiceAsHTMLOK ¶
type GetInvoiceAsHTMLOK struct {
Payload string
}
GetInvoiceAsHTMLOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceAsHTMLOK ¶
func NewGetInvoiceAsHTMLOK() *GetInvoiceAsHTMLOK
NewGetInvoiceAsHTMLOK creates a GetInvoiceAsHTMLOK with default headers values
func (*GetInvoiceAsHTMLOK) Error ¶
func (o *GetInvoiceAsHTMLOK) Error() string
func (*GetInvoiceAsHTMLOK) GetPayload ¶
func (o *GetInvoiceAsHTMLOK) GetPayload() string
type GetInvoiceAsHTMLParams ¶
type GetInvoiceAsHTMLParams struct { // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceAsHTMLParams contains all the parameters to send to the API endpoint
for the get invoice as HTML operation. Typically these are written to a http.Request.
func NewGetInvoiceAsHTMLParams ¶
func NewGetInvoiceAsHTMLParams() *GetInvoiceAsHTMLParams
NewGetInvoiceAsHTMLParams creates a new GetInvoiceAsHTMLParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceAsHTMLParamsWithContext ¶
func NewGetInvoiceAsHTMLParamsWithContext(ctx context.Context) *GetInvoiceAsHTMLParams
NewGetInvoiceAsHTMLParamsWithContext creates a new GetInvoiceAsHTMLParams object with the ability to set a context for a request.
func NewGetInvoiceAsHTMLParamsWithHTTPClient ¶
func NewGetInvoiceAsHTMLParamsWithHTTPClient(client *http.Client) *GetInvoiceAsHTMLParams
NewGetInvoiceAsHTMLParamsWithHTTPClient creates a new GetInvoiceAsHTMLParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceAsHTMLParamsWithTimeout ¶
func NewGetInvoiceAsHTMLParamsWithTimeout(timeout time.Duration) *GetInvoiceAsHTMLParams
NewGetInvoiceAsHTMLParamsWithTimeout creates a new GetInvoiceAsHTMLParams object with the ability to set a timeout on a request.
func (*GetInvoiceAsHTMLParams) SetContext ¶
func (o *GetInvoiceAsHTMLParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice as HTML params
func (*GetInvoiceAsHTMLParams) SetDefaults ¶
func (o *GetInvoiceAsHTMLParams) SetDefaults()
SetDefaults hydrates default values in the get invoice as HTML params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceAsHTMLParams) SetHTTPClient ¶
func (o *GetInvoiceAsHTMLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice as HTML params
func (*GetInvoiceAsHTMLParams) SetInvoiceID ¶
func (o *GetInvoiceAsHTMLParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the get invoice as HTML params
func (*GetInvoiceAsHTMLParams) SetTimeout ¶
func (o *GetInvoiceAsHTMLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice as HTML params
func (*GetInvoiceAsHTMLParams) WithContext ¶
func (o *GetInvoiceAsHTMLParams) WithContext(ctx context.Context) *GetInvoiceAsHTMLParams
WithContext adds the context to the get invoice as HTML params
func (*GetInvoiceAsHTMLParams) WithDefaults ¶
func (o *GetInvoiceAsHTMLParams) WithDefaults() *GetInvoiceAsHTMLParams
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 ¶
func (o *GetInvoiceAsHTMLParams) WithTimeout(timeout time.Duration) *GetInvoiceAsHTMLParams
WithTimeout adds the timeout to the get invoice as HTML params
func (*GetInvoiceAsHTMLParams) WriteToRequest ¶
func (o *GetInvoiceAsHTMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceAsHTMLReader ¶
type GetInvoiceAsHTMLReader struct {
// contains filtered or unexported fields
}
GetInvoiceAsHTMLReader is a Reader for the GetInvoiceAsHTML structure.
func (*GetInvoiceAsHTMLReader) ReadResponse ¶
func (o *GetInvoiceAsHTMLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceAuditLogsWithHistoryNotFound ¶
type GetInvoiceAuditLogsWithHistoryNotFound struct { }
GetInvoiceAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewGetInvoiceAuditLogsWithHistoryNotFound ¶
func NewGetInvoiceAuditLogsWithHistoryNotFound() *GetInvoiceAuditLogsWithHistoryNotFound
NewGetInvoiceAuditLogsWithHistoryNotFound creates a GetInvoiceAuditLogsWithHistoryNotFound with default headers values
func (*GetInvoiceAuditLogsWithHistoryNotFound) Error ¶
func (o *GetInvoiceAuditLogsWithHistoryNotFound) Error() string
type GetInvoiceAuditLogsWithHistoryOK ¶
GetInvoiceAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceAuditLogsWithHistoryOK ¶
func NewGetInvoiceAuditLogsWithHistoryOK() *GetInvoiceAuditLogsWithHistoryOK
NewGetInvoiceAuditLogsWithHistoryOK creates a GetInvoiceAuditLogsWithHistoryOK with default headers values
func (*GetInvoiceAuditLogsWithHistoryOK) Error ¶
func (o *GetInvoiceAuditLogsWithHistoryOK) Error() string
func (*GetInvoiceAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetInvoiceAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
type GetInvoiceAuditLogsWithHistoryParams ¶
type GetInvoiceAuditLogsWithHistoryParams struct { // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get invoice audit logs with history operation. Typically these are written to a http.Request.
func NewGetInvoiceAuditLogsWithHistoryParams ¶
func NewGetInvoiceAuditLogsWithHistoryParams() *GetInvoiceAuditLogsWithHistoryParams
NewGetInvoiceAuditLogsWithHistoryParams creates a new GetInvoiceAuditLogsWithHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceAuditLogsWithHistoryParamsWithContext ¶
func NewGetInvoiceAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoiceAuditLogsWithHistoryParams
NewGetInvoiceAuditLogsWithHistoryParamsWithContext creates a new GetInvoiceAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetInvoiceAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetInvoiceAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoiceAuditLogsWithHistoryParams
NewGetInvoiceAuditLogsWithHistoryParamsWithHTTPClient creates a new GetInvoiceAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetInvoiceAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoiceAuditLogsWithHistoryParams
NewGetInvoiceAuditLogsWithHistoryParamsWithTimeout creates a new GetInvoiceAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetInvoiceAuditLogsWithHistoryParams) SetContext ¶
func (o *GetInvoiceAuditLogsWithHistoryParams) SetContext(ctx context.Context)
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 ¶
func (o *GetInvoiceAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetInvoiceAuditLogsWithHistoryParams
WithContext adds the context to the get invoice audit logs with history params
func (*GetInvoiceAuditLogsWithHistoryParams) WithDefaults ¶
func (o *GetInvoiceAuditLogsWithHistoryParams) WithDefaults() *GetInvoiceAuditLogsWithHistoryParams
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 ¶
func (o *GetInvoiceAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetInvoiceAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get invoice audit logs with history params
func (*GetInvoiceAuditLogsWithHistoryParams) WithInvoiceID ¶
func (o *GetInvoiceAuditLogsWithHistoryParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceAuditLogsWithHistoryParams
WithInvoiceID adds the invoiceID to the get invoice audit logs with history params
func (*GetInvoiceAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetInvoiceAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetInvoiceAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get invoice audit logs with history params
func (*GetInvoiceAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetInvoiceAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceAuditLogsWithHistoryReader ¶
type GetInvoiceAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetInvoiceAuditLogsWithHistoryReader is a Reader for the GetInvoiceAuditLogsWithHistory structure.
func (*GetInvoiceAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetInvoiceAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceBadRequest ¶
type GetInvoiceBadRequest struct { }
GetInvoiceBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewGetInvoiceBadRequest ¶
func NewGetInvoiceBadRequest() *GetInvoiceBadRequest
NewGetInvoiceBadRequest creates a GetInvoiceBadRequest with default headers values
func (*GetInvoiceBadRequest) Error ¶
func (o *GetInvoiceBadRequest) Error() string
type GetInvoiceByItemIDNotFound ¶
type GetInvoiceByItemIDNotFound struct { }
GetInvoiceByItemIDNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewGetInvoiceByItemIDNotFound ¶
func NewGetInvoiceByItemIDNotFound() *GetInvoiceByItemIDNotFound
NewGetInvoiceByItemIDNotFound creates a GetInvoiceByItemIDNotFound with default headers values
func (*GetInvoiceByItemIDNotFound) Error ¶
func (o *GetInvoiceByItemIDNotFound) Error() string
type GetInvoiceByItemIDOK ¶
GetInvoiceByItemIDOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceByItemIDOK ¶
func NewGetInvoiceByItemIDOK() *GetInvoiceByItemIDOK
NewGetInvoiceByItemIDOK creates a GetInvoiceByItemIDOK with default headers values
func (*GetInvoiceByItemIDOK) Error ¶
func (o *GetInvoiceByItemIDOK) Error() string
func (*GetInvoiceByItemIDOK) GetPayload ¶
func (o *GetInvoiceByItemIDOK) GetPayload() *kbmodel.Invoice
type GetInvoiceByItemIDParams ¶
type GetInvoiceByItemIDParams struct { // Audit. // // Default: "NONE" Audit *string // ItemID. // // Format: uuid ItemID strfmt.UUID // WithChildrenItems. WithChildrenItems *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceByItemIDParams contains all the parameters to send to the API endpoint
for the get invoice by item Id operation. Typically these are written to a http.Request.
func NewGetInvoiceByItemIDParams ¶
func NewGetInvoiceByItemIDParams() *GetInvoiceByItemIDParams
NewGetInvoiceByItemIDParams creates a new GetInvoiceByItemIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceByItemIDParamsWithContext ¶
func NewGetInvoiceByItemIDParamsWithContext(ctx context.Context) *GetInvoiceByItemIDParams
NewGetInvoiceByItemIDParamsWithContext creates a new GetInvoiceByItemIDParams object with the ability to set a context for a request.
func NewGetInvoiceByItemIDParamsWithHTTPClient ¶
func NewGetInvoiceByItemIDParamsWithHTTPClient(client *http.Client) *GetInvoiceByItemIDParams
NewGetInvoiceByItemIDParamsWithHTTPClient creates a new GetInvoiceByItemIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceByItemIDParamsWithTimeout ¶
func NewGetInvoiceByItemIDParamsWithTimeout(timeout time.Duration) *GetInvoiceByItemIDParams
NewGetInvoiceByItemIDParamsWithTimeout creates a new GetInvoiceByItemIDParams object with the ability to set a timeout on a request.
func (*GetInvoiceByItemIDParams) SetAudit ¶
func (o *GetInvoiceByItemIDParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) SetContext ¶
func (o *GetInvoiceByItemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) SetDefaults ¶
func (o *GetInvoiceByItemIDParams) SetDefaults()
SetDefaults hydrates default values in the get invoice by item Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceByItemIDParams) SetHTTPClient ¶
func (o *GetInvoiceByItemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) SetItemID ¶
func (o *GetInvoiceByItemIDParams) SetItemID(itemID strfmt.UUID)
SetItemID adds the itemId to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) SetTimeout ¶
func (o *GetInvoiceByItemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) SetWithChildrenItems ¶
func (o *GetInvoiceByItemIDParams) SetWithChildrenItems(withChildrenItems *bool)
SetWithChildrenItems adds the withChildrenItems to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) WithAudit ¶
func (o *GetInvoiceByItemIDParams) WithAudit(audit *string) *GetInvoiceByItemIDParams
WithAudit adds the audit to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) WithContext ¶
func (o *GetInvoiceByItemIDParams) WithContext(ctx context.Context) *GetInvoiceByItemIDParams
WithContext adds the context to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) WithDefaults ¶
func (o *GetInvoiceByItemIDParams) WithDefaults() *GetInvoiceByItemIDParams
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 ¶
func (o *GetInvoiceByItemIDParams) WithItemID(itemID strfmt.UUID) *GetInvoiceByItemIDParams
WithItemID adds the itemID to the get invoice by item Id params
func (*GetInvoiceByItemIDParams) WithTimeout ¶
func (o *GetInvoiceByItemIDParams) WithTimeout(timeout time.Duration) *GetInvoiceByItemIDParams
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 ¶
func (o *GetInvoiceByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceByItemIDReader ¶
type GetInvoiceByItemIDReader struct {
// contains filtered or unexported fields
}
GetInvoiceByItemIDReader is a Reader for the GetInvoiceByItemID structure.
func (*GetInvoiceByItemIDReader) ReadResponse ¶
func (o *GetInvoiceByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceByNumberNotFound ¶
type GetInvoiceByNumberNotFound struct { }
GetInvoiceByNumberNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewGetInvoiceByNumberNotFound ¶
func NewGetInvoiceByNumberNotFound() *GetInvoiceByNumberNotFound
NewGetInvoiceByNumberNotFound creates a GetInvoiceByNumberNotFound with default headers values
func (*GetInvoiceByNumberNotFound) Error ¶
func (o *GetInvoiceByNumberNotFound) Error() string
type GetInvoiceByNumberOK ¶
GetInvoiceByNumberOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceByNumberOK ¶
func NewGetInvoiceByNumberOK() *GetInvoiceByNumberOK
NewGetInvoiceByNumberOK creates a GetInvoiceByNumberOK with default headers values
func (*GetInvoiceByNumberOK) Error ¶
func (o *GetInvoiceByNumberOK) Error() string
func (*GetInvoiceByNumberOK) GetPayload ¶
func (o *GetInvoiceByNumberOK) GetPayload() *kbmodel.Invoice
type GetInvoiceByNumberParams ¶
type GetInvoiceByNumberParams struct { // Audit. // // Default: "NONE" Audit *string // InvoiceNumber. // // Format: int32 InvoiceNumber int32 // WithChildrenItems. WithChildrenItems *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceByNumberParams contains all the parameters to send to the API endpoint
for the get invoice by number operation. Typically these are written to a http.Request.
func NewGetInvoiceByNumberParams ¶
func NewGetInvoiceByNumberParams() *GetInvoiceByNumberParams
NewGetInvoiceByNumberParams creates a new GetInvoiceByNumberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceByNumberParamsWithContext ¶
func NewGetInvoiceByNumberParamsWithContext(ctx context.Context) *GetInvoiceByNumberParams
NewGetInvoiceByNumberParamsWithContext creates a new GetInvoiceByNumberParams object with the ability to set a context for a request.
func NewGetInvoiceByNumberParamsWithHTTPClient ¶
func NewGetInvoiceByNumberParamsWithHTTPClient(client *http.Client) *GetInvoiceByNumberParams
NewGetInvoiceByNumberParamsWithHTTPClient creates a new GetInvoiceByNumberParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceByNumberParamsWithTimeout ¶
func NewGetInvoiceByNumberParamsWithTimeout(timeout time.Duration) *GetInvoiceByNumberParams
NewGetInvoiceByNumberParamsWithTimeout creates a new GetInvoiceByNumberParams object with the ability to set a timeout on a request.
func (*GetInvoiceByNumberParams) SetAudit ¶
func (o *GetInvoiceByNumberParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice by number params
func (*GetInvoiceByNumberParams) SetContext ¶
func (o *GetInvoiceByNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice by number params
func (*GetInvoiceByNumberParams) SetDefaults ¶
func (o *GetInvoiceByNumberParams) SetDefaults()
SetDefaults hydrates default values in the get invoice by number params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceByNumberParams) SetHTTPClient ¶
func (o *GetInvoiceByNumberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice by number params
func (*GetInvoiceByNumberParams) SetInvoiceNumber ¶
func (o *GetInvoiceByNumberParams) SetInvoiceNumber(invoiceNumber int32)
SetInvoiceNumber adds the invoiceNumber to the get invoice by number params
func (*GetInvoiceByNumberParams) SetTimeout ¶
func (o *GetInvoiceByNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice by number params
func (*GetInvoiceByNumberParams) SetWithChildrenItems ¶
func (o *GetInvoiceByNumberParams) SetWithChildrenItems(withChildrenItems *bool)
SetWithChildrenItems adds the withChildrenItems to the get invoice by number params
func (*GetInvoiceByNumberParams) WithAudit ¶
func (o *GetInvoiceByNumberParams) WithAudit(audit *string) *GetInvoiceByNumberParams
WithAudit adds the audit to the get invoice by number params
func (*GetInvoiceByNumberParams) WithContext ¶
func (o *GetInvoiceByNumberParams) WithContext(ctx context.Context) *GetInvoiceByNumberParams
WithContext adds the context to the get invoice by number params
func (*GetInvoiceByNumberParams) WithDefaults ¶
func (o *GetInvoiceByNumberParams) WithDefaults() *GetInvoiceByNumberParams
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 ¶
func (o *GetInvoiceByNumberParams) WithTimeout(timeout time.Duration) *GetInvoiceByNumberParams
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 ¶
func (o *GetInvoiceByNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceByNumberReader ¶
type GetInvoiceByNumberReader struct {
// contains filtered or unexported fields
}
GetInvoiceByNumberReader is a Reader for the GetInvoiceByNumber structure.
func (*GetInvoiceByNumberReader) ReadResponse ¶
func (o *GetInvoiceByNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceCustomFieldsBadRequest ¶
type GetInvoiceCustomFieldsBadRequest struct { }
GetInvoiceCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewGetInvoiceCustomFieldsBadRequest ¶
func NewGetInvoiceCustomFieldsBadRequest() *GetInvoiceCustomFieldsBadRequest
NewGetInvoiceCustomFieldsBadRequest creates a GetInvoiceCustomFieldsBadRequest with default headers values
func (*GetInvoiceCustomFieldsBadRequest) Error ¶
func (o *GetInvoiceCustomFieldsBadRequest) Error() string
type GetInvoiceCustomFieldsOK ¶
type GetInvoiceCustomFieldsOK struct {
Payload []*kbmodel.CustomField
}
GetInvoiceCustomFieldsOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceCustomFieldsOK ¶
func NewGetInvoiceCustomFieldsOK() *GetInvoiceCustomFieldsOK
NewGetInvoiceCustomFieldsOK creates a GetInvoiceCustomFieldsOK with default headers values
func (*GetInvoiceCustomFieldsOK) Error ¶
func (o *GetInvoiceCustomFieldsOK) Error() string
func (*GetInvoiceCustomFieldsOK) GetPayload ¶
func (o *GetInvoiceCustomFieldsOK) GetPayload() []*kbmodel.CustomField
type GetInvoiceCustomFieldsParams ¶
type GetInvoiceCustomFieldsParams struct { // Audit. // // Default: "NONE" Audit *string // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceCustomFieldsParams contains all the parameters to send to the API endpoint
for the get invoice custom fields operation. Typically these are written to a http.Request.
func NewGetInvoiceCustomFieldsParams ¶
func NewGetInvoiceCustomFieldsParams() *GetInvoiceCustomFieldsParams
NewGetInvoiceCustomFieldsParams creates a new GetInvoiceCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceCustomFieldsParamsWithContext ¶
func NewGetInvoiceCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceCustomFieldsParams
NewGetInvoiceCustomFieldsParamsWithContext creates a new GetInvoiceCustomFieldsParams object with the ability to set a context for a request.
func NewGetInvoiceCustomFieldsParamsWithHTTPClient ¶
func NewGetInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoiceCustomFieldsParams
NewGetInvoiceCustomFieldsParamsWithHTTPClient creates a new GetInvoiceCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceCustomFieldsParamsWithTimeout ¶
func NewGetInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoiceCustomFieldsParams
NewGetInvoiceCustomFieldsParamsWithTimeout creates a new GetInvoiceCustomFieldsParams object with the ability to set a timeout on a request.
func (*GetInvoiceCustomFieldsParams) SetAudit ¶
func (o *GetInvoiceCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) SetContext ¶
func (o *GetInvoiceCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) SetDefaults ¶
func (o *GetInvoiceCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the get invoice custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceCustomFieldsParams) SetHTTPClient ¶
func (o *GetInvoiceCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) SetInvoiceID ¶
func (o *GetInvoiceCustomFieldsParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) SetTimeout ¶
func (o *GetInvoiceCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) WithAudit ¶
func (o *GetInvoiceCustomFieldsParams) WithAudit(audit *string) *GetInvoiceCustomFieldsParams
WithAudit adds the audit to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) WithContext ¶
func (o *GetInvoiceCustomFieldsParams) WithContext(ctx context.Context) *GetInvoiceCustomFieldsParams
WithContext adds the context to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) WithDefaults ¶
func (o *GetInvoiceCustomFieldsParams) WithDefaults() *GetInvoiceCustomFieldsParams
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 ¶
func (o *GetInvoiceCustomFieldsParams) WithHTTPClient(client *http.Client) *GetInvoiceCustomFieldsParams
WithHTTPClient adds the HTTPClient to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) WithInvoiceID ¶
func (o *GetInvoiceCustomFieldsParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceCustomFieldsParams
WithInvoiceID adds the invoiceID to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) WithTimeout ¶
func (o *GetInvoiceCustomFieldsParams) WithTimeout(timeout time.Duration) *GetInvoiceCustomFieldsParams
WithTimeout adds the timeout to the get invoice custom fields params
func (*GetInvoiceCustomFieldsParams) WriteToRequest ¶
func (o *GetInvoiceCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceCustomFieldsReader ¶
type GetInvoiceCustomFieldsReader struct {
// contains filtered or unexported fields
}
GetInvoiceCustomFieldsReader is a Reader for the GetInvoiceCustomFields structure.
func (*GetInvoiceCustomFieldsReader) ReadResponse ¶
func (o *GetInvoiceCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceMPTemplateNotFound ¶
type GetInvoiceMPTemplateNotFound struct { }
GetInvoiceMPTemplateNotFound describes a response with status code 404, with default header values.
Template not found
func NewGetInvoiceMPTemplateNotFound ¶
func NewGetInvoiceMPTemplateNotFound() *GetInvoiceMPTemplateNotFound
NewGetInvoiceMPTemplateNotFound creates a GetInvoiceMPTemplateNotFound with default headers values
func (*GetInvoiceMPTemplateNotFound) Error ¶
func (o *GetInvoiceMPTemplateNotFound) Error() string
type GetInvoiceMPTemplateOK ¶
type GetInvoiceMPTemplateOK struct {
Payload string
}
GetInvoiceMPTemplateOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceMPTemplateOK ¶
func NewGetInvoiceMPTemplateOK() *GetInvoiceMPTemplateOK
NewGetInvoiceMPTemplateOK creates a GetInvoiceMPTemplateOK with default headers values
func (*GetInvoiceMPTemplateOK) Error ¶
func (o *GetInvoiceMPTemplateOK) Error() string
func (*GetInvoiceMPTemplateOK) GetPayload ¶
func (o *GetInvoiceMPTemplateOK) GetPayload() string
type GetInvoiceMPTemplateParams ¶
type GetInvoiceMPTemplateParams struct { // Locale. Locale string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceMPTemplateParams contains all the parameters to send to the API endpoint
for the get invoice m p template operation. Typically these are written to a http.Request.
func NewGetInvoiceMPTemplateParams ¶
func NewGetInvoiceMPTemplateParams() *GetInvoiceMPTemplateParams
NewGetInvoiceMPTemplateParams creates a new GetInvoiceMPTemplateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceMPTemplateParamsWithContext ¶
func NewGetInvoiceMPTemplateParamsWithContext(ctx context.Context) *GetInvoiceMPTemplateParams
NewGetInvoiceMPTemplateParamsWithContext creates a new GetInvoiceMPTemplateParams object with the ability to set a context for a request.
func NewGetInvoiceMPTemplateParamsWithHTTPClient ¶
func NewGetInvoiceMPTemplateParamsWithHTTPClient(client *http.Client) *GetInvoiceMPTemplateParams
NewGetInvoiceMPTemplateParamsWithHTTPClient creates a new GetInvoiceMPTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceMPTemplateParamsWithTimeout ¶
func NewGetInvoiceMPTemplateParamsWithTimeout(timeout time.Duration) *GetInvoiceMPTemplateParams
NewGetInvoiceMPTemplateParamsWithTimeout creates a new GetInvoiceMPTemplateParams object with the ability to set a timeout on a request.
func (*GetInvoiceMPTemplateParams) SetContext ¶
func (o *GetInvoiceMPTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice m p template params
func (*GetInvoiceMPTemplateParams) SetDefaults ¶
func (o *GetInvoiceMPTemplateParams) SetDefaults()
SetDefaults hydrates default values in the get invoice m p template params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceMPTemplateParams) SetHTTPClient ¶
func (o *GetInvoiceMPTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice m p template params
func (*GetInvoiceMPTemplateParams) SetLocale ¶
func (o *GetInvoiceMPTemplateParams) SetLocale(locale string)
SetLocale adds the locale to the get invoice m p template params
func (*GetInvoiceMPTemplateParams) SetTimeout ¶
func (o *GetInvoiceMPTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice m p template params
func (*GetInvoiceMPTemplateParams) WithContext ¶
func (o *GetInvoiceMPTemplateParams) WithContext(ctx context.Context) *GetInvoiceMPTemplateParams
WithContext adds the context to the get invoice m p template params
func (*GetInvoiceMPTemplateParams) WithDefaults ¶
func (o *GetInvoiceMPTemplateParams) WithDefaults() *GetInvoiceMPTemplateParams
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 ¶
func (o *GetInvoiceMPTemplateParams) WithHTTPClient(client *http.Client) *GetInvoiceMPTemplateParams
WithHTTPClient adds the HTTPClient to the get invoice m p template params
func (*GetInvoiceMPTemplateParams) WithLocale ¶
func (o *GetInvoiceMPTemplateParams) WithLocale(locale string) *GetInvoiceMPTemplateParams
WithLocale adds the locale to the get invoice m p template params
func (*GetInvoiceMPTemplateParams) WithTimeout ¶
func (o *GetInvoiceMPTemplateParams) WithTimeout(timeout time.Duration) *GetInvoiceMPTemplateParams
WithTimeout adds the timeout to the get invoice m p template params
func (*GetInvoiceMPTemplateParams) WriteToRequest ¶
func (o *GetInvoiceMPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceMPTemplateReader ¶
type GetInvoiceMPTemplateReader struct {
// contains filtered or unexported fields
}
GetInvoiceMPTemplateReader is a Reader for the GetInvoiceMPTemplate structure.
func (*GetInvoiceMPTemplateReader) ReadResponse ¶
func (o *GetInvoiceMPTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceNotFound ¶
type GetInvoiceNotFound struct { }
GetInvoiceNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewGetInvoiceNotFound ¶
func NewGetInvoiceNotFound() *GetInvoiceNotFound
NewGetInvoiceNotFound creates a GetInvoiceNotFound with default headers values
func (*GetInvoiceNotFound) Error ¶
func (o *GetInvoiceNotFound) Error() string
type GetInvoiceOK ¶
GetInvoiceOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceOK ¶
func NewGetInvoiceOK() *GetInvoiceOK
NewGetInvoiceOK creates a GetInvoiceOK with default headers values
func (*GetInvoiceOK) Error ¶
func (o *GetInvoiceOK) Error() string
func (*GetInvoiceOK) GetPayload ¶
func (o *GetInvoiceOK) GetPayload() *kbmodel.Invoice
type GetInvoiceParams ¶
type GetInvoiceParams struct { // Audit. // // Default: "NONE" Audit *string // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID // WithChildrenItems. WithChildrenItems *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceParams contains all the parameters to send to the API endpoint
for the get invoice operation. Typically these are written to a http.Request.
func NewGetInvoiceParams ¶
func NewGetInvoiceParams() *GetInvoiceParams
NewGetInvoiceParams creates a new GetInvoiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceParamsWithContext ¶
func NewGetInvoiceParamsWithContext(ctx context.Context) *GetInvoiceParams
NewGetInvoiceParamsWithContext creates a new GetInvoiceParams object with the ability to set a context for a request.
func NewGetInvoiceParamsWithHTTPClient ¶
func NewGetInvoiceParamsWithHTTPClient(client *http.Client) *GetInvoiceParams
NewGetInvoiceParamsWithHTTPClient creates a new GetInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceParamsWithTimeout ¶
func NewGetInvoiceParamsWithTimeout(timeout time.Duration) *GetInvoiceParams
NewGetInvoiceParamsWithTimeout creates a new GetInvoiceParams object with the ability to set a timeout on a request.
func (*GetInvoiceParams) SetAudit ¶
func (o *GetInvoiceParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice params
func (*GetInvoiceParams) SetContext ¶
func (o *GetInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice params
func (*GetInvoiceParams) SetDefaults ¶
func (o *GetInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the get invoice params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceParams) SetHTTPClient ¶
func (o *GetInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice params
func (*GetInvoiceParams) SetInvoiceID ¶
func (o *GetInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the get invoice params
func (*GetInvoiceParams) SetTimeout ¶
func (o *GetInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice params
func (*GetInvoiceParams) SetWithChildrenItems ¶
func (o *GetInvoiceParams) SetWithChildrenItems(withChildrenItems *bool)
SetWithChildrenItems adds the withChildrenItems to the get invoice params
func (*GetInvoiceParams) WithAudit ¶
func (o *GetInvoiceParams) WithAudit(audit *string) *GetInvoiceParams
WithAudit adds the audit to the get invoice params
func (*GetInvoiceParams) WithContext ¶
func (o *GetInvoiceParams) WithContext(ctx context.Context) *GetInvoiceParams
WithContext adds the context to the get invoice params
func (*GetInvoiceParams) WithDefaults ¶
func (o *GetInvoiceParams) WithDefaults() *GetInvoiceParams
WithDefaults hydrates default values in the get invoice params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceParams) WithHTTPClient ¶
func (o *GetInvoiceParams) WithHTTPClient(client *http.Client) *GetInvoiceParams
WithHTTPClient adds the HTTPClient to the get invoice params
func (*GetInvoiceParams) WithInvoiceID ¶
func (o *GetInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceParams
WithInvoiceID adds the invoiceID to the get invoice params
func (*GetInvoiceParams) WithTimeout ¶
func (o *GetInvoiceParams) WithTimeout(timeout time.Duration) *GetInvoiceParams
WithTimeout adds the timeout to the get invoice params
func (*GetInvoiceParams) WithWithChildrenItems ¶
func (o *GetInvoiceParams) WithWithChildrenItems(withChildrenItems *bool) *GetInvoiceParams
WithWithChildrenItems adds the withChildrenItems to the get invoice params
func (*GetInvoiceParams) WriteToRequest ¶
func (o *GetInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceReader ¶
type GetInvoiceReader struct {
// contains filtered or unexported fields
}
GetInvoiceReader is a Reader for the GetInvoice structure.
func (*GetInvoiceReader) ReadResponse ¶
func (o *GetInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceTagsBadRequest ¶
type GetInvoiceTagsBadRequest struct { }
GetInvoiceTagsBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewGetInvoiceTagsBadRequest ¶
func NewGetInvoiceTagsBadRequest() *GetInvoiceTagsBadRequest
NewGetInvoiceTagsBadRequest creates a GetInvoiceTagsBadRequest with default headers values
func (*GetInvoiceTagsBadRequest) Error ¶
func (o *GetInvoiceTagsBadRequest) Error() string
type GetInvoiceTagsNotFound ¶
type GetInvoiceTagsNotFound struct { }
GetInvoiceTagsNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewGetInvoiceTagsNotFound ¶
func NewGetInvoiceTagsNotFound() *GetInvoiceTagsNotFound
NewGetInvoiceTagsNotFound creates a GetInvoiceTagsNotFound with default headers values
func (*GetInvoiceTagsNotFound) Error ¶
func (o *GetInvoiceTagsNotFound) Error() string
type GetInvoiceTagsOK ¶
GetInvoiceTagsOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceTagsOK ¶
func NewGetInvoiceTagsOK() *GetInvoiceTagsOK
NewGetInvoiceTagsOK creates a GetInvoiceTagsOK with default headers values
func (*GetInvoiceTagsOK) Error ¶
func (o *GetInvoiceTagsOK) Error() string
func (*GetInvoiceTagsOK) GetPayload ¶
func (o *GetInvoiceTagsOK) GetPayload() []*kbmodel.Tag
type GetInvoiceTagsParams ¶
type GetInvoiceTagsParams struct { // Audit. // // Default: "NONE" Audit *string // IncludedDeleted. IncludedDeleted *bool // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceTagsParams contains all the parameters to send to the API endpoint
for the get invoice tags operation. Typically these are written to a http.Request.
func NewGetInvoiceTagsParams ¶
func NewGetInvoiceTagsParams() *GetInvoiceTagsParams
NewGetInvoiceTagsParams creates a new GetInvoiceTagsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceTagsParamsWithContext ¶
func NewGetInvoiceTagsParamsWithContext(ctx context.Context) *GetInvoiceTagsParams
NewGetInvoiceTagsParamsWithContext creates a new GetInvoiceTagsParams object with the ability to set a context for a request.
func NewGetInvoiceTagsParamsWithHTTPClient ¶
func NewGetInvoiceTagsParamsWithHTTPClient(client *http.Client) *GetInvoiceTagsParams
NewGetInvoiceTagsParamsWithHTTPClient creates a new GetInvoiceTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceTagsParamsWithTimeout ¶
func NewGetInvoiceTagsParamsWithTimeout(timeout time.Duration) *GetInvoiceTagsParams
NewGetInvoiceTagsParamsWithTimeout creates a new GetInvoiceTagsParams object with the ability to set a timeout on a request.
func (*GetInvoiceTagsParams) SetAudit ¶
func (o *GetInvoiceTagsParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice tags params
func (*GetInvoiceTagsParams) SetContext ¶
func (o *GetInvoiceTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice tags params
func (*GetInvoiceTagsParams) SetDefaults ¶
func (o *GetInvoiceTagsParams) SetDefaults()
SetDefaults hydrates default values in the get invoice tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceTagsParams) SetHTTPClient ¶
func (o *GetInvoiceTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice tags params
func (*GetInvoiceTagsParams) SetIncludedDeleted ¶
func (o *GetInvoiceTagsParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get invoice tags params
func (*GetInvoiceTagsParams) SetInvoiceID ¶
func (o *GetInvoiceTagsParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the get invoice tags params
func (*GetInvoiceTagsParams) SetTimeout ¶
func (o *GetInvoiceTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice tags params
func (*GetInvoiceTagsParams) WithAudit ¶
func (o *GetInvoiceTagsParams) WithAudit(audit *string) *GetInvoiceTagsParams
WithAudit adds the audit to the get invoice tags params
func (*GetInvoiceTagsParams) WithContext ¶
func (o *GetInvoiceTagsParams) WithContext(ctx context.Context) *GetInvoiceTagsParams
WithContext adds the context to the get invoice tags params
func (*GetInvoiceTagsParams) WithDefaults ¶
func (o *GetInvoiceTagsParams) WithDefaults() *GetInvoiceTagsParams
WithDefaults hydrates default values in the get invoice tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceTagsParams) WithHTTPClient ¶
func (o *GetInvoiceTagsParams) WithHTTPClient(client *http.Client) *GetInvoiceTagsParams
WithHTTPClient adds the HTTPClient to the get invoice tags params
func (*GetInvoiceTagsParams) WithIncludedDeleted ¶
func (o *GetInvoiceTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetInvoiceTagsParams
WithIncludedDeleted adds the includedDeleted to the get invoice tags params
func (*GetInvoiceTagsParams) WithInvoiceID ¶
func (o *GetInvoiceTagsParams) WithInvoiceID(invoiceID strfmt.UUID) *GetInvoiceTagsParams
WithInvoiceID adds the invoiceID to the get invoice tags params
func (*GetInvoiceTagsParams) WithTimeout ¶
func (o *GetInvoiceTagsParams) WithTimeout(timeout time.Duration) *GetInvoiceTagsParams
WithTimeout adds the timeout to the get invoice tags params
func (*GetInvoiceTagsParams) WriteToRequest ¶
func (o *GetInvoiceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceTagsReader ¶
type GetInvoiceTagsReader struct {
// contains filtered or unexported fields
}
GetInvoiceTagsReader is a Reader for the GetInvoiceTags structure.
func (*GetInvoiceTagsReader) ReadResponse ¶
func (o *GetInvoiceTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceTemplateNotFound ¶
type GetInvoiceTemplateNotFound struct { }
GetInvoiceTemplateNotFound describes a response with status code 404, with default header values.
Template not found
func NewGetInvoiceTemplateNotFound ¶
func NewGetInvoiceTemplateNotFound() *GetInvoiceTemplateNotFound
NewGetInvoiceTemplateNotFound creates a GetInvoiceTemplateNotFound with default headers values
func (*GetInvoiceTemplateNotFound) Error ¶
func (o *GetInvoiceTemplateNotFound) Error() string
type GetInvoiceTemplateOK ¶
type GetInvoiceTemplateOK struct {
Payload string
}
GetInvoiceTemplateOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceTemplateOK ¶
func NewGetInvoiceTemplateOK() *GetInvoiceTemplateOK
NewGetInvoiceTemplateOK creates a GetInvoiceTemplateOK with default headers values
func (*GetInvoiceTemplateOK) Error ¶
func (o *GetInvoiceTemplateOK) Error() string
func (*GetInvoiceTemplateOK) GetPayload ¶
func (o *GetInvoiceTemplateOK) GetPayload() string
type GetInvoiceTemplateParams ¶
type GetInvoiceTemplateParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceTemplateParams contains all the parameters to send to the API endpoint
for the get invoice template operation. Typically these are written to a http.Request.
func NewGetInvoiceTemplateParams ¶
func NewGetInvoiceTemplateParams() *GetInvoiceTemplateParams
NewGetInvoiceTemplateParams creates a new GetInvoiceTemplateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceTemplateParamsWithContext ¶
func NewGetInvoiceTemplateParamsWithContext(ctx context.Context) *GetInvoiceTemplateParams
NewGetInvoiceTemplateParamsWithContext creates a new GetInvoiceTemplateParams object with the ability to set a context for a request.
func NewGetInvoiceTemplateParamsWithHTTPClient ¶
func NewGetInvoiceTemplateParamsWithHTTPClient(client *http.Client) *GetInvoiceTemplateParams
NewGetInvoiceTemplateParamsWithHTTPClient creates a new GetInvoiceTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceTemplateParamsWithTimeout ¶
func NewGetInvoiceTemplateParamsWithTimeout(timeout time.Duration) *GetInvoiceTemplateParams
NewGetInvoiceTemplateParamsWithTimeout creates a new GetInvoiceTemplateParams object with the ability to set a timeout on a request.
func (*GetInvoiceTemplateParams) SetContext ¶
func (o *GetInvoiceTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice template params
func (*GetInvoiceTemplateParams) SetDefaults ¶
func (o *GetInvoiceTemplateParams) SetDefaults()
SetDefaults hydrates default values in the get invoice template params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceTemplateParams) SetHTTPClient ¶
func (o *GetInvoiceTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice template params
func (*GetInvoiceTemplateParams) SetTimeout ¶
func (o *GetInvoiceTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice template params
func (*GetInvoiceTemplateParams) WithContext ¶
func (o *GetInvoiceTemplateParams) WithContext(ctx context.Context) *GetInvoiceTemplateParams
WithContext adds the context to the get invoice template params
func (*GetInvoiceTemplateParams) WithDefaults ¶
func (o *GetInvoiceTemplateParams) WithDefaults() *GetInvoiceTemplateParams
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 ¶
func (o *GetInvoiceTemplateParams) WithTimeout(timeout time.Duration) *GetInvoiceTemplateParams
WithTimeout adds the timeout to the get invoice template params
func (*GetInvoiceTemplateParams) WriteToRequest ¶
func (o *GetInvoiceTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceTemplateReader ¶
type GetInvoiceTemplateReader struct {
// contains filtered or unexported fields
}
GetInvoiceTemplateReader is a Reader for the GetInvoiceTemplate structure.
func (*GetInvoiceTemplateReader) ReadResponse ¶
func (o *GetInvoiceTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceTranslationBadRequest ¶
type GetInvoiceTranslationBadRequest struct { }
GetInvoiceTranslationBadRequest describes a response with status code 400, with default header values.
Invalid locale supplied
func NewGetInvoiceTranslationBadRequest ¶
func NewGetInvoiceTranslationBadRequest() *GetInvoiceTranslationBadRequest
NewGetInvoiceTranslationBadRequest creates a GetInvoiceTranslationBadRequest with default headers values
func (*GetInvoiceTranslationBadRequest) Error ¶
func (o *GetInvoiceTranslationBadRequest) Error() string
type GetInvoiceTranslationNotFound ¶
type GetInvoiceTranslationNotFound struct { }
GetInvoiceTranslationNotFound describes a response with status code 404, with default header values.
Translation not found
func NewGetInvoiceTranslationNotFound ¶
func NewGetInvoiceTranslationNotFound() *GetInvoiceTranslationNotFound
NewGetInvoiceTranslationNotFound creates a GetInvoiceTranslationNotFound with default headers values
func (*GetInvoiceTranslationNotFound) Error ¶
func (o *GetInvoiceTranslationNotFound) Error() string
type GetInvoiceTranslationOK ¶
type GetInvoiceTranslationOK struct {
Payload string
}
GetInvoiceTranslationOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceTranslationOK ¶
func NewGetInvoiceTranslationOK() *GetInvoiceTranslationOK
NewGetInvoiceTranslationOK creates a GetInvoiceTranslationOK with default headers values
func (*GetInvoiceTranslationOK) Error ¶
func (o *GetInvoiceTranslationOK) Error() string
func (*GetInvoiceTranslationOK) GetPayload ¶
func (o *GetInvoiceTranslationOK) GetPayload() string
type GetInvoiceTranslationParams ¶
type GetInvoiceTranslationParams struct { // Locale. Locale string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceTranslationParams contains all the parameters to send to the API endpoint
for the get invoice translation operation. Typically these are written to a http.Request.
func NewGetInvoiceTranslationParams ¶
func NewGetInvoiceTranslationParams() *GetInvoiceTranslationParams
NewGetInvoiceTranslationParams creates a new GetInvoiceTranslationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoiceTranslationParamsWithContext ¶
func NewGetInvoiceTranslationParamsWithContext(ctx context.Context) *GetInvoiceTranslationParams
NewGetInvoiceTranslationParamsWithContext creates a new GetInvoiceTranslationParams object with the ability to set a context for a request.
func NewGetInvoiceTranslationParamsWithHTTPClient ¶
func NewGetInvoiceTranslationParamsWithHTTPClient(client *http.Client) *GetInvoiceTranslationParams
NewGetInvoiceTranslationParamsWithHTTPClient creates a new GetInvoiceTranslationParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceTranslationParamsWithTimeout ¶
func NewGetInvoiceTranslationParamsWithTimeout(timeout time.Duration) *GetInvoiceTranslationParams
NewGetInvoiceTranslationParamsWithTimeout creates a new GetInvoiceTranslationParams object with the ability to set a timeout on a request.
func (*GetInvoiceTranslationParams) SetContext ¶
func (o *GetInvoiceTranslationParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice translation params
func (*GetInvoiceTranslationParams) SetDefaults ¶
func (o *GetInvoiceTranslationParams) SetDefaults()
SetDefaults hydrates default values in the get invoice translation params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceTranslationParams) SetHTTPClient ¶
func (o *GetInvoiceTranslationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice translation params
func (*GetInvoiceTranslationParams) SetLocale ¶
func (o *GetInvoiceTranslationParams) SetLocale(locale string)
SetLocale adds the locale to the get invoice translation params
func (*GetInvoiceTranslationParams) SetTimeout ¶
func (o *GetInvoiceTranslationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice translation params
func (*GetInvoiceTranslationParams) WithContext ¶
func (o *GetInvoiceTranslationParams) WithContext(ctx context.Context) *GetInvoiceTranslationParams
WithContext adds the context to the get invoice translation params
func (*GetInvoiceTranslationParams) WithDefaults ¶
func (o *GetInvoiceTranslationParams) WithDefaults() *GetInvoiceTranslationParams
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 ¶
func (o *GetInvoiceTranslationParams) WithHTTPClient(client *http.Client) *GetInvoiceTranslationParams
WithHTTPClient adds the HTTPClient to the get invoice translation params
func (*GetInvoiceTranslationParams) WithLocale ¶
func (o *GetInvoiceTranslationParams) WithLocale(locale string) *GetInvoiceTranslationParams
WithLocale adds the locale to the get invoice translation params
func (*GetInvoiceTranslationParams) WithTimeout ¶
func (o *GetInvoiceTranslationParams) WithTimeout(timeout time.Duration) *GetInvoiceTranslationParams
WithTimeout adds the timeout to the get invoice translation params
func (*GetInvoiceTranslationParams) WriteToRequest ¶
func (o *GetInvoiceTranslationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceTranslationReader ¶
type GetInvoiceTranslationReader struct {
// contains filtered or unexported fields
}
GetInvoiceTranslationReader is a Reader for the GetInvoiceTranslation structure.
func (*GetInvoiceTranslationReader) ReadResponse ¶
func (o *GetInvoiceTranslationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoicesOK ¶
GetInvoicesOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoicesOK ¶
func NewGetInvoicesOK() *GetInvoicesOK
NewGetInvoicesOK creates a GetInvoicesOK with default headers values
func (*GetInvoicesOK) Error ¶
func (o *GetInvoicesOK) Error() string
func (*GetInvoicesOK) GetPayload ¶
func (o *GetInvoicesOK) GetPayload() []*kbmodel.Invoice
type GetInvoicesParams ¶
type GetInvoicesParams struct { // Audit. // // Default: "NONE" Audit *string // Limit. // // Format: int64 // Default: 100 Limit *int64 // Offset. // // Format: int64 Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoicesParams contains all the parameters to send to the API endpoint
for the get invoices operation. Typically these are written to a http.Request.
func NewGetInvoicesParams ¶
func NewGetInvoicesParams() *GetInvoicesParams
NewGetInvoicesParams creates a new GetInvoicesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInvoicesParamsWithContext ¶
func NewGetInvoicesParamsWithContext(ctx context.Context) *GetInvoicesParams
NewGetInvoicesParamsWithContext creates a new GetInvoicesParams object with the ability to set a context for a request.
func NewGetInvoicesParamsWithHTTPClient ¶
func NewGetInvoicesParamsWithHTTPClient(client *http.Client) *GetInvoicesParams
NewGetInvoicesParamsWithHTTPClient creates a new GetInvoicesParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoicesParamsWithTimeout ¶
func NewGetInvoicesParamsWithTimeout(timeout time.Duration) *GetInvoicesParams
NewGetInvoicesParamsWithTimeout creates a new GetInvoicesParams object with the ability to set a timeout on a request.
func (*GetInvoicesParams) SetAudit ¶
func (o *GetInvoicesParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoices params
func (*GetInvoicesParams) SetContext ¶
func (o *GetInvoicesParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoices params
func (*GetInvoicesParams) SetDefaults ¶
func (o *GetInvoicesParams) SetDefaults()
SetDefaults hydrates default values in the get invoices params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicesParams) SetHTTPClient ¶
func (o *GetInvoicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoices params
func (*GetInvoicesParams) SetLimit ¶
func (o *GetInvoicesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get invoices params
func (*GetInvoicesParams) SetOffset ¶
func (o *GetInvoicesParams) SetOffset(offset *int64)
SetOffset adds the offset to the get invoices params
func (*GetInvoicesParams) SetTimeout ¶
func (o *GetInvoicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoices params
func (*GetInvoicesParams) WithAudit ¶
func (o *GetInvoicesParams) WithAudit(audit *string) *GetInvoicesParams
WithAudit adds the audit to the get invoices params
func (*GetInvoicesParams) WithContext ¶
func (o *GetInvoicesParams) WithContext(ctx context.Context) *GetInvoicesParams
WithContext adds the context to the get invoices params
func (*GetInvoicesParams) WithDefaults ¶
func (o *GetInvoicesParams) WithDefaults() *GetInvoicesParams
WithDefaults hydrates default values in the get invoices params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicesParams) WithHTTPClient ¶
func (o *GetInvoicesParams) WithHTTPClient(client *http.Client) *GetInvoicesParams
WithHTTPClient adds the HTTPClient to the get invoices params
func (*GetInvoicesParams) WithLimit ¶
func (o *GetInvoicesParams) WithLimit(limit *int64) *GetInvoicesParams
WithLimit adds the limit to the get invoices params
func (*GetInvoicesParams) WithOffset ¶
func (o *GetInvoicesParams) WithOffset(offset *int64) *GetInvoicesParams
WithOffset adds the offset to the get invoices params
func (*GetInvoicesParams) WithTimeout ¶
func (o *GetInvoicesParams) WithTimeout(timeout time.Duration) *GetInvoicesParams
WithTimeout adds the timeout to the get invoices params
func (*GetInvoicesParams) WriteToRequest ¶
func (o *GetInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoicesReader ¶
type GetInvoicesReader struct {
// contains filtered or unexported fields
}
GetInvoicesReader is a Reader for the GetInvoices structure.
func (*GetInvoicesReader) ReadResponse ¶
func (o *GetInvoicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentsForInvoiceBadRequest ¶
type GetPaymentsForInvoiceBadRequest struct { }
GetPaymentsForInvoiceBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewGetPaymentsForInvoiceBadRequest ¶
func NewGetPaymentsForInvoiceBadRequest() *GetPaymentsForInvoiceBadRequest
NewGetPaymentsForInvoiceBadRequest creates a GetPaymentsForInvoiceBadRequest with default headers values
func (*GetPaymentsForInvoiceBadRequest) Error ¶
func (o *GetPaymentsForInvoiceBadRequest) Error() string
type GetPaymentsForInvoiceNotFound ¶
type GetPaymentsForInvoiceNotFound struct { }
GetPaymentsForInvoiceNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewGetPaymentsForInvoiceNotFound ¶
func NewGetPaymentsForInvoiceNotFound() *GetPaymentsForInvoiceNotFound
NewGetPaymentsForInvoiceNotFound creates a GetPaymentsForInvoiceNotFound with default headers values
func (*GetPaymentsForInvoiceNotFound) Error ¶
func (o *GetPaymentsForInvoiceNotFound) Error() string
type GetPaymentsForInvoiceOK ¶
type GetPaymentsForInvoiceOK struct {
Payload []*kbmodel.InvoicePayment
}
GetPaymentsForInvoiceOK describes a response with status code 200, with default header values.
successful operation
func NewGetPaymentsForInvoiceOK ¶
func NewGetPaymentsForInvoiceOK() *GetPaymentsForInvoiceOK
NewGetPaymentsForInvoiceOK creates a GetPaymentsForInvoiceOK with default headers values
func (*GetPaymentsForInvoiceOK) Error ¶
func (o *GetPaymentsForInvoiceOK) Error() string
func (*GetPaymentsForInvoiceOK) GetPayload ¶
func (o *GetPaymentsForInvoiceOK) GetPayload() []*kbmodel.InvoicePayment
type GetPaymentsForInvoiceParams ¶
type GetPaymentsForInvoiceParams struct { // Audit. // // Default: "NONE" Audit *string // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID // WithAttempts. WithAttempts *bool // WithPluginInfo. WithPluginInfo *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPaymentsForInvoiceParams contains all the parameters to send to the API endpoint
for the get payments for invoice operation. Typically these are written to a http.Request.
func NewGetPaymentsForInvoiceParams ¶
func NewGetPaymentsForInvoiceParams() *GetPaymentsForInvoiceParams
NewGetPaymentsForInvoiceParams creates a new GetPaymentsForInvoiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPaymentsForInvoiceParamsWithContext ¶
func NewGetPaymentsForInvoiceParamsWithContext(ctx context.Context) *GetPaymentsForInvoiceParams
NewGetPaymentsForInvoiceParamsWithContext creates a new GetPaymentsForInvoiceParams object with the ability to set a context for a request.
func NewGetPaymentsForInvoiceParamsWithHTTPClient ¶
func NewGetPaymentsForInvoiceParamsWithHTTPClient(client *http.Client) *GetPaymentsForInvoiceParams
NewGetPaymentsForInvoiceParamsWithHTTPClient creates a new GetPaymentsForInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewGetPaymentsForInvoiceParamsWithTimeout ¶
func NewGetPaymentsForInvoiceParamsWithTimeout(timeout time.Duration) *GetPaymentsForInvoiceParams
NewGetPaymentsForInvoiceParamsWithTimeout creates a new GetPaymentsForInvoiceParams object with the ability to set a timeout on a request.
func (*GetPaymentsForInvoiceParams) SetAudit ¶
func (o *GetPaymentsForInvoiceParams) SetAudit(audit *string)
SetAudit adds the audit to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) SetContext ¶
func (o *GetPaymentsForInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) SetDefaults ¶
func (o *GetPaymentsForInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the get payments for invoice params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentsForInvoiceParams) SetHTTPClient ¶
func (o *GetPaymentsForInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) SetInvoiceID ¶
func (o *GetPaymentsForInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) SetTimeout ¶
func (o *GetPaymentsForInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) SetWithAttempts ¶
func (o *GetPaymentsForInvoiceParams) SetWithAttempts(withAttempts *bool)
SetWithAttempts adds the withAttempts to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) SetWithPluginInfo ¶
func (o *GetPaymentsForInvoiceParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) WithAudit ¶
func (o *GetPaymentsForInvoiceParams) WithAudit(audit *string) *GetPaymentsForInvoiceParams
WithAudit adds the audit to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) WithContext ¶
func (o *GetPaymentsForInvoiceParams) WithContext(ctx context.Context) *GetPaymentsForInvoiceParams
WithContext adds the context to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) WithDefaults ¶
func (o *GetPaymentsForInvoiceParams) WithDefaults() *GetPaymentsForInvoiceParams
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 ¶
func (o *GetPaymentsForInvoiceParams) WithHTTPClient(client *http.Client) *GetPaymentsForInvoiceParams
WithHTTPClient adds the HTTPClient to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) WithInvoiceID ¶
func (o *GetPaymentsForInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *GetPaymentsForInvoiceParams
WithInvoiceID adds the invoiceID to the get payments for invoice params
func (*GetPaymentsForInvoiceParams) WithTimeout ¶
func (o *GetPaymentsForInvoiceParams) WithTimeout(timeout time.Duration) *GetPaymentsForInvoiceParams
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 ¶
func (o *GetPaymentsForInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentsForInvoiceReader ¶
type GetPaymentsForInvoiceReader struct {
// contains filtered or unexported fields
}
GetPaymentsForInvoiceReader is a Reader for the GetPaymentsForInvoice structure.
func (*GetPaymentsForInvoiceReader) ReadResponse ¶
func (o *GetPaymentsForInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyInvoiceCustomFieldsBadRequest ¶
type ModifyInvoiceCustomFieldsBadRequest struct { }
ModifyInvoiceCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewModifyInvoiceCustomFieldsBadRequest ¶
func NewModifyInvoiceCustomFieldsBadRequest() *ModifyInvoiceCustomFieldsBadRequest
NewModifyInvoiceCustomFieldsBadRequest creates a ModifyInvoiceCustomFieldsBadRequest with default headers values
func (*ModifyInvoiceCustomFieldsBadRequest) Error ¶
func (o *ModifyInvoiceCustomFieldsBadRequest) Error() string
type ModifyInvoiceCustomFieldsNoContent ¶
type ModifyInvoiceCustomFieldsNoContent struct { }
ModifyInvoiceCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewModifyInvoiceCustomFieldsNoContent ¶
func NewModifyInvoiceCustomFieldsNoContent() *ModifyInvoiceCustomFieldsNoContent
NewModifyInvoiceCustomFieldsNoContent creates a ModifyInvoiceCustomFieldsNoContent with default headers values
func (*ModifyInvoiceCustomFieldsNoContent) Error ¶
func (o *ModifyInvoiceCustomFieldsNoContent) Error() 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyInvoiceCustomFieldsParams contains all the parameters to send to the API endpoint
for the modify invoice custom fields operation. Typically these are written to a http.Request.
func NewModifyInvoiceCustomFieldsParams ¶
func NewModifyInvoiceCustomFieldsParams() *ModifyInvoiceCustomFieldsParams
NewModifyInvoiceCustomFieldsParams creates a new ModifyInvoiceCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewModifyInvoiceCustomFieldsParamsWithContext ¶
func NewModifyInvoiceCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceCustomFieldsParams
NewModifyInvoiceCustomFieldsParamsWithContext creates a new ModifyInvoiceCustomFieldsParams object with the ability to set a context for a request.
func NewModifyInvoiceCustomFieldsParamsWithHTTPClient ¶
func NewModifyInvoiceCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoiceCustomFieldsParams
NewModifyInvoiceCustomFieldsParamsWithHTTPClient creates a new ModifyInvoiceCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewModifyInvoiceCustomFieldsParamsWithTimeout ¶
func NewModifyInvoiceCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoiceCustomFieldsParams
NewModifyInvoiceCustomFieldsParamsWithTimeout creates a new ModifyInvoiceCustomFieldsParams object with the ability to set a timeout on a request.
func (*ModifyInvoiceCustomFieldsParams) SetBody ¶
func (o *ModifyInvoiceCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
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 ¶
func (o *ModifyInvoiceCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyInvoiceCustomFieldsParams
WithBody adds the body to the modify invoice custom fields params
func (*ModifyInvoiceCustomFieldsParams) WithContext ¶
func (o *ModifyInvoiceCustomFieldsParams) WithContext(ctx context.Context) *ModifyInvoiceCustomFieldsParams
WithContext adds the context to the modify invoice custom fields params
func (*ModifyInvoiceCustomFieldsParams) WithDefaults ¶
func (o *ModifyInvoiceCustomFieldsParams) WithDefaults() *ModifyInvoiceCustomFieldsParams
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 ¶
func (o *ModifyInvoiceCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyInvoiceCustomFieldsParams
WithHTTPClient adds the HTTPClient to the modify invoice custom fields params
func (*ModifyInvoiceCustomFieldsParams) WithInvoiceID ¶
func (o *ModifyInvoiceCustomFieldsParams) WithInvoiceID(invoiceID strfmt.UUID) *ModifyInvoiceCustomFieldsParams
WithInvoiceID adds the invoiceID to the modify invoice custom fields params
func (*ModifyInvoiceCustomFieldsParams) WithTimeout ¶
func (o *ModifyInvoiceCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyInvoiceCustomFieldsParams
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 ¶
func (o *ModifyInvoiceCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
SearchInvoicesOK describes a response with status code 200, with default header values.
successful operation
func NewSearchInvoicesOK ¶
func NewSearchInvoicesOK() *SearchInvoicesOK
NewSearchInvoicesOK creates a SearchInvoicesOK with default headers values
func (*SearchInvoicesOK) Error ¶
func (o *SearchInvoicesOK) Error() string
func (*SearchInvoicesOK) GetPayload ¶
func (o *SearchInvoicesOK) GetPayload() []*kbmodel.Invoice
type SearchInvoicesParams ¶
type SearchInvoicesParams struct { // Audit. // // Default: "NONE" Audit *string // Limit. // // Format: int64 // Default: 100 Limit *int64 // Offset. // // Format: int64 Offset *int64 // SearchKey. SearchKey string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchInvoicesParams contains all the parameters to send to the API endpoint
for the search invoices operation. Typically these are written to a http.Request.
func NewSearchInvoicesParams ¶
func NewSearchInvoicesParams() *SearchInvoicesParams
NewSearchInvoicesParams creates a new SearchInvoicesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchInvoicesParamsWithContext ¶
func NewSearchInvoicesParamsWithContext(ctx context.Context) *SearchInvoicesParams
NewSearchInvoicesParamsWithContext creates a new SearchInvoicesParams object with the ability to set a context for a request.
func NewSearchInvoicesParamsWithHTTPClient ¶
func NewSearchInvoicesParamsWithHTTPClient(client *http.Client) *SearchInvoicesParams
NewSearchInvoicesParamsWithHTTPClient creates a new SearchInvoicesParams object with the ability to set a custom HTTPClient for a request.
func NewSearchInvoicesParamsWithTimeout ¶
func NewSearchInvoicesParamsWithTimeout(timeout time.Duration) *SearchInvoicesParams
NewSearchInvoicesParamsWithTimeout creates a new SearchInvoicesParams object with the ability to set a timeout on a request.
func (*SearchInvoicesParams) SetAudit ¶
func (o *SearchInvoicesParams) SetAudit(audit *string)
SetAudit adds the audit to the search invoices params
func (*SearchInvoicesParams) SetContext ¶
func (o *SearchInvoicesParams) SetContext(ctx context.Context)
SetContext adds the context to the search invoices params
func (*SearchInvoicesParams) SetDefaults ¶
func (o *SearchInvoicesParams) SetDefaults()
SetDefaults hydrates default values in the search invoices params (not the query body).
All values with no default are reset to their zero value.
func (*SearchInvoicesParams) SetHTTPClient ¶
func (o *SearchInvoicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search invoices params
func (*SearchInvoicesParams) SetLimit ¶
func (o *SearchInvoicesParams) SetLimit(limit *int64)
SetLimit adds the limit to the search invoices params
func (*SearchInvoicesParams) SetOffset ¶
func (o *SearchInvoicesParams) SetOffset(offset *int64)
SetOffset adds the offset to the search invoices params
func (*SearchInvoicesParams) SetSearchKey ¶
func (o *SearchInvoicesParams) SetSearchKey(searchKey string)
SetSearchKey adds the searchKey to the search invoices params
func (*SearchInvoicesParams) SetTimeout ¶
func (o *SearchInvoicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search invoices params
func (*SearchInvoicesParams) WithAudit ¶
func (o *SearchInvoicesParams) WithAudit(audit *string) *SearchInvoicesParams
WithAudit adds the audit to the search invoices params
func (*SearchInvoicesParams) WithContext ¶
func (o *SearchInvoicesParams) WithContext(ctx context.Context) *SearchInvoicesParams
WithContext adds the context to the search invoices params
func (*SearchInvoicesParams) WithDefaults ¶
func (o *SearchInvoicesParams) WithDefaults() *SearchInvoicesParams
WithDefaults hydrates default values in the search invoices params (not the query body).
All values with no default are reset to their zero value.
func (*SearchInvoicesParams) WithHTTPClient ¶
func (o *SearchInvoicesParams) WithHTTPClient(client *http.Client) *SearchInvoicesParams
WithHTTPClient adds the HTTPClient to the search invoices params
func (*SearchInvoicesParams) WithLimit ¶
func (o *SearchInvoicesParams) WithLimit(limit *int64) *SearchInvoicesParams
WithLimit adds the limit to the search invoices params
func (*SearchInvoicesParams) WithOffset ¶
func (o *SearchInvoicesParams) WithOffset(offset *int64) *SearchInvoicesParams
WithOffset adds the offset to the search invoices params
func (*SearchInvoicesParams) WithSearchKey ¶
func (o *SearchInvoicesParams) WithSearchKey(searchKey string) *SearchInvoicesParams
WithSearchKey adds the searchKey to the search invoices params
func (*SearchInvoicesParams) WithTimeout ¶
func (o *SearchInvoicesParams) WithTimeout(timeout time.Duration) *SearchInvoicesParams
WithTimeout adds the timeout to the search invoices params
func (*SearchInvoicesParams) WriteToRequest ¶
func (o *SearchInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchInvoicesReader ¶
type SearchInvoicesReader struct {
// contains filtered or unexported fields
}
SearchInvoicesReader is a Reader for the SearchInvoices structure.
func (*SearchInvoicesReader) ReadResponse ¶
func (o *SearchInvoicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadCatalogTranslationCreated ¶
type UploadCatalogTranslationCreated struct {
Payload string
}
UploadCatalogTranslationCreated describes a response with status code 201, with default header values.
Uploaded catalog translation Successfully
func NewUploadCatalogTranslationCreated ¶
func NewUploadCatalogTranslationCreated() *UploadCatalogTranslationCreated
NewUploadCatalogTranslationCreated creates a UploadCatalogTranslationCreated with default headers values
func (*UploadCatalogTranslationCreated) Error ¶
func (o *UploadCatalogTranslationCreated) Error() string
func (*UploadCatalogTranslationCreated) GetPayload ¶
func (o *UploadCatalogTranslationCreated) GetPayload() string
type UploadCatalogTranslationParams ¶
type UploadCatalogTranslationParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body string // DeleteIfExists. DeleteIfExists *bool // Locale. Locale string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadCatalogTranslationParams contains all the parameters to send to the API endpoint
for the upload catalog translation operation. Typically these are written to a http.Request.
func NewUploadCatalogTranslationParams ¶
func NewUploadCatalogTranslationParams() *UploadCatalogTranslationParams
NewUploadCatalogTranslationParams creates a new UploadCatalogTranslationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUploadCatalogTranslationParamsWithContext ¶
func NewUploadCatalogTranslationParamsWithContext(ctx context.Context) *UploadCatalogTranslationParams
NewUploadCatalogTranslationParamsWithContext creates a new UploadCatalogTranslationParams object with the ability to set a context for a request.
func NewUploadCatalogTranslationParamsWithHTTPClient ¶
func NewUploadCatalogTranslationParamsWithHTTPClient(client *http.Client) *UploadCatalogTranslationParams
NewUploadCatalogTranslationParamsWithHTTPClient creates a new UploadCatalogTranslationParams object with the ability to set a custom HTTPClient for a request.
func NewUploadCatalogTranslationParamsWithTimeout ¶
func NewUploadCatalogTranslationParamsWithTimeout(timeout time.Duration) *UploadCatalogTranslationParams
NewUploadCatalogTranslationParamsWithTimeout creates a new UploadCatalogTranslationParams object with the ability to set a timeout on a request.
func (*UploadCatalogTranslationParams) SetBody ¶
func (o *UploadCatalogTranslationParams) SetBody(body string)
SetBody adds the body to the upload catalog translation params
func (*UploadCatalogTranslationParams) SetContext ¶
func (o *UploadCatalogTranslationParams) SetContext(ctx context.Context)
SetContext adds the context to the upload catalog translation params
func (*UploadCatalogTranslationParams) SetDefaults ¶
func (o *UploadCatalogTranslationParams) SetDefaults()
SetDefaults hydrates default values in the upload catalog translation params (not the query body).
All values with no default are reset to their zero value.
func (*UploadCatalogTranslationParams) SetDeleteIfExists ¶
func (o *UploadCatalogTranslationParams) SetDeleteIfExists(deleteIfExists *bool)
SetDeleteIfExists adds the deleteIfExists to the upload catalog translation params
func (*UploadCatalogTranslationParams) SetHTTPClient ¶
func (o *UploadCatalogTranslationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload catalog translation params
func (*UploadCatalogTranslationParams) SetLocale ¶
func (o *UploadCatalogTranslationParams) SetLocale(locale string)
SetLocale adds the locale to the upload catalog translation params
func (*UploadCatalogTranslationParams) SetTimeout ¶
func (o *UploadCatalogTranslationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload catalog translation params
func (*UploadCatalogTranslationParams) SetXKillbillComment ¶
func (o *UploadCatalogTranslationParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the upload catalog translation params
func (*UploadCatalogTranslationParams) SetXKillbillCreatedBy ¶
func (o *UploadCatalogTranslationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog translation params
func (*UploadCatalogTranslationParams) SetXKillbillReason ¶
func (o *UploadCatalogTranslationParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the upload catalog translation params
func (*UploadCatalogTranslationParams) WithBody ¶
func (o *UploadCatalogTranslationParams) WithBody(body string) *UploadCatalogTranslationParams
WithBody adds the body to the upload catalog translation params
func (*UploadCatalogTranslationParams) WithContext ¶
func (o *UploadCatalogTranslationParams) WithContext(ctx context.Context) *UploadCatalogTranslationParams
WithContext adds the context to the upload catalog translation params
func (*UploadCatalogTranslationParams) WithDefaults ¶
func (o *UploadCatalogTranslationParams) WithDefaults() *UploadCatalogTranslationParams
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 ¶
func (o *UploadCatalogTranslationParams) WithHTTPClient(client *http.Client) *UploadCatalogTranslationParams
WithHTTPClient adds the HTTPClient to the upload catalog translation params
func (*UploadCatalogTranslationParams) WithLocale ¶
func (o *UploadCatalogTranslationParams) WithLocale(locale string) *UploadCatalogTranslationParams
WithLocale adds the locale to the upload catalog translation params
func (*UploadCatalogTranslationParams) WithTimeout ¶
func (o *UploadCatalogTranslationParams) WithTimeout(timeout time.Duration) *UploadCatalogTranslationParams
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 ¶
func (o *UploadCatalogTranslationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadCatalogTranslationReader ¶
type UploadCatalogTranslationReader struct {
// contains filtered or unexported fields
}
UploadCatalogTranslationReader is a Reader for the UploadCatalogTranslation structure.
func (*UploadCatalogTranslationReader) ReadResponse ¶
func (o *UploadCatalogTranslationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadInvoiceMPTemplateOK ¶
type UploadInvoiceMPTemplateOK struct {
Payload string
}
UploadInvoiceMPTemplateOK describes a response with status code 200, with default header values.
successful operation
func NewUploadInvoiceMPTemplateOK ¶
func NewUploadInvoiceMPTemplateOK() *UploadInvoiceMPTemplateOK
NewUploadInvoiceMPTemplateOK creates a UploadInvoiceMPTemplateOK with default headers values
func (*UploadInvoiceMPTemplateOK) Error ¶
func (o *UploadInvoiceMPTemplateOK) Error() string
func (*UploadInvoiceMPTemplateOK) GetPayload ¶
func (o *UploadInvoiceMPTemplateOK) GetPayload() string
type UploadInvoiceMPTemplateParams ¶
type UploadInvoiceMPTemplateParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body string // DeleteIfExists. DeleteIfExists *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadInvoiceMPTemplateParams contains all the parameters to send to the API endpoint
for the upload invoice m p template operation. Typically these are written to a http.Request.
func NewUploadInvoiceMPTemplateParams ¶
func NewUploadInvoiceMPTemplateParams() *UploadInvoiceMPTemplateParams
NewUploadInvoiceMPTemplateParams creates a new UploadInvoiceMPTemplateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUploadInvoiceMPTemplateParamsWithContext ¶
func NewUploadInvoiceMPTemplateParamsWithContext(ctx context.Context) *UploadInvoiceMPTemplateParams
NewUploadInvoiceMPTemplateParamsWithContext creates a new UploadInvoiceMPTemplateParams object with the ability to set a context for a request.
func NewUploadInvoiceMPTemplateParamsWithHTTPClient ¶
func NewUploadInvoiceMPTemplateParamsWithHTTPClient(client *http.Client) *UploadInvoiceMPTemplateParams
NewUploadInvoiceMPTemplateParamsWithHTTPClient creates a new UploadInvoiceMPTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewUploadInvoiceMPTemplateParamsWithTimeout ¶
func NewUploadInvoiceMPTemplateParamsWithTimeout(timeout time.Duration) *UploadInvoiceMPTemplateParams
NewUploadInvoiceMPTemplateParamsWithTimeout creates a new UploadInvoiceMPTemplateParams object with the ability to set a timeout on a request.
func (*UploadInvoiceMPTemplateParams) SetBody ¶
func (o *UploadInvoiceMPTemplateParams) SetBody(body string)
SetBody adds the body to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) SetContext ¶
func (o *UploadInvoiceMPTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) SetDefaults ¶
func (o *UploadInvoiceMPTemplateParams) SetDefaults()
SetDefaults hydrates default values in the upload invoice m p template params (not the query body).
All values with no default are reset to their zero value.
func (*UploadInvoiceMPTemplateParams) SetDeleteIfExists ¶
func (o *UploadInvoiceMPTemplateParams) SetDeleteIfExists(deleteIfExists *bool)
SetDeleteIfExists adds the deleteIfExists to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) SetHTTPClient ¶
func (o *UploadInvoiceMPTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) SetTimeout ¶
func (o *UploadInvoiceMPTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) SetXKillbillComment ¶
func (o *UploadInvoiceMPTemplateParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) SetXKillbillCreatedBy ¶
func (o *UploadInvoiceMPTemplateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) SetXKillbillReason ¶
func (o *UploadInvoiceMPTemplateParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) WithBody ¶
func (o *UploadInvoiceMPTemplateParams) WithBody(body string) *UploadInvoiceMPTemplateParams
WithBody adds the body to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) WithContext ¶
func (o *UploadInvoiceMPTemplateParams) WithContext(ctx context.Context) *UploadInvoiceMPTemplateParams
WithContext adds the context to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) WithDefaults ¶
func (o *UploadInvoiceMPTemplateParams) WithDefaults() *UploadInvoiceMPTemplateParams
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 ¶
func (o *UploadInvoiceMPTemplateParams) WithHTTPClient(client *http.Client) *UploadInvoiceMPTemplateParams
WithHTTPClient adds the HTTPClient to the upload invoice m p template params
func (*UploadInvoiceMPTemplateParams) WithTimeout ¶
func (o *UploadInvoiceMPTemplateParams) WithTimeout(timeout time.Duration) *UploadInvoiceMPTemplateParams
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 ¶
func (o *UploadInvoiceMPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadInvoiceMPTemplateReader ¶
type UploadInvoiceMPTemplateReader struct {
// contains filtered or unexported fields
}
UploadInvoiceMPTemplateReader is a Reader for the UploadInvoiceMPTemplate structure.
func (*UploadInvoiceMPTemplateReader) ReadResponse ¶
func (o *UploadInvoiceMPTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadInvoiceTemplateCreated ¶
type UploadInvoiceTemplateCreated struct {
Payload string
}
UploadInvoiceTemplateCreated describes a response with status code 201, with default header values.
Uploaded invoice template Successfully
func NewUploadInvoiceTemplateCreated ¶
func NewUploadInvoiceTemplateCreated() *UploadInvoiceTemplateCreated
NewUploadInvoiceTemplateCreated creates a UploadInvoiceTemplateCreated with default headers values
func (*UploadInvoiceTemplateCreated) Error ¶
func (o *UploadInvoiceTemplateCreated) Error() string
func (*UploadInvoiceTemplateCreated) GetPayload ¶
func (o *UploadInvoiceTemplateCreated) GetPayload() string
type UploadInvoiceTemplateParams ¶
type UploadInvoiceTemplateParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body string // DeleteIfExists. DeleteIfExists *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadInvoiceTemplateParams contains all the parameters to send to the API endpoint
for the upload invoice template operation. Typically these are written to a http.Request.
func NewUploadInvoiceTemplateParams ¶
func NewUploadInvoiceTemplateParams() *UploadInvoiceTemplateParams
NewUploadInvoiceTemplateParams creates a new UploadInvoiceTemplateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUploadInvoiceTemplateParamsWithContext ¶
func NewUploadInvoiceTemplateParamsWithContext(ctx context.Context) *UploadInvoiceTemplateParams
NewUploadInvoiceTemplateParamsWithContext creates a new UploadInvoiceTemplateParams object with the ability to set a context for a request.
func NewUploadInvoiceTemplateParamsWithHTTPClient ¶
func NewUploadInvoiceTemplateParamsWithHTTPClient(client *http.Client) *UploadInvoiceTemplateParams
NewUploadInvoiceTemplateParamsWithHTTPClient creates a new UploadInvoiceTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewUploadInvoiceTemplateParamsWithTimeout ¶
func NewUploadInvoiceTemplateParamsWithTimeout(timeout time.Duration) *UploadInvoiceTemplateParams
NewUploadInvoiceTemplateParamsWithTimeout creates a new UploadInvoiceTemplateParams object with the ability to set a timeout on a request.
func (*UploadInvoiceTemplateParams) SetBody ¶
func (o *UploadInvoiceTemplateParams) SetBody(body string)
SetBody adds the body to the upload invoice template params
func (*UploadInvoiceTemplateParams) SetContext ¶
func (o *UploadInvoiceTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the upload invoice template params
func (*UploadInvoiceTemplateParams) SetDefaults ¶
func (o *UploadInvoiceTemplateParams) SetDefaults()
SetDefaults hydrates default values in the upload invoice template params (not the query body).
All values with no default are reset to their zero value.
func (*UploadInvoiceTemplateParams) SetDeleteIfExists ¶
func (o *UploadInvoiceTemplateParams) SetDeleteIfExists(deleteIfExists *bool)
SetDeleteIfExists adds the deleteIfExists to the upload invoice template params
func (*UploadInvoiceTemplateParams) SetHTTPClient ¶
func (o *UploadInvoiceTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload invoice template params
func (*UploadInvoiceTemplateParams) SetTimeout ¶
func (o *UploadInvoiceTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload invoice template params
func (*UploadInvoiceTemplateParams) SetXKillbillComment ¶
func (o *UploadInvoiceTemplateParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the upload invoice template params
func (*UploadInvoiceTemplateParams) SetXKillbillCreatedBy ¶
func (o *UploadInvoiceTemplateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice template params
func (*UploadInvoiceTemplateParams) SetXKillbillReason ¶
func (o *UploadInvoiceTemplateParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the upload invoice template params
func (*UploadInvoiceTemplateParams) WithBody ¶
func (o *UploadInvoiceTemplateParams) WithBody(body string) *UploadInvoiceTemplateParams
WithBody adds the body to the upload invoice template params
func (*UploadInvoiceTemplateParams) WithContext ¶
func (o *UploadInvoiceTemplateParams) WithContext(ctx context.Context) *UploadInvoiceTemplateParams
WithContext adds the context to the upload invoice template params
func (*UploadInvoiceTemplateParams) WithDefaults ¶
func (o *UploadInvoiceTemplateParams) WithDefaults() *UploadInvoiceTemplateParams
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 ¶
func (o *UploadInvoiceTemplateParams) WithHTTPClient(client *http.Client) *UploadInvoiceTemplateParams
WithHTTPClient adds the HTTPClient to the upload invoice template params
func (*UploadInvoiceTemplateParams) WithTimeout ¶
func (o *UploadInvoiceTemplateParams) WithTimeout(timeout time.Duration) *UploadInvoiceTemplateParams
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 ¶
func (o *UploadInvoiceTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadInvoiceTemplateReader ¶
type UploadInvoiceTemplateReader struct {
// contains filtered or unexported fields
}
UploadInvoiceTemplateReader is a Reader for the UploadInvoiceTemplate structure.
func (*UploadInvoiceTemplateReader) ReadResponse ¶
func (o *UploadInvoiceTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadInvoiceTranslationCreated ¶
type UploadInvoiceTranslationCreated struct {
Payload string
}
UploadInvoiceTranslationCreated describes a response with status code 201, with default header values.
Uploaded invoice translation Successfully
func NewUploadInvoiceTranslationCreated ¶
func NewUploadInvoiceTranslationCreated() *UploadInvoiceTranslationCreated
NewUploadInvoiceTranslationCreated creates a UploadInvoiceTranslationCreated with default headers values
func (*UploadInvoiceTranslationCreated) Error ¶
func (o *UploadInvoiceTranslationCreated) Error() string
func (*UploadInvoiceTranslationCreated) GetPayload ¶
func (o *UploadInvoiceTranslationCreated) GetPayload() string
type UploadInvoiceTranslationParams ¶
type UploadInvoiceTranslationParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body string // DeleteIfExists. DeleteIfExists *bool // Locale. Locale string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadInvoiceTranslationParams contains all the parameters to send to the API endpoint
for the upload invoice translation operation. Typically these are written to a http.Request.
func NewUploadInvoiceTranslationParams ¶
func NewUploadInvoiceTranslationParams() *UploadInvoiceTranslationParams
NewUploadInvoiceTranslationParams creates a new UploadInvoiceTranslationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUploadInvoiceTranslationParamsWithContext ¶
func NewUploadInvoiceTranslationParamsWithContext(ctx context.Context) *UploadInvoiceTranslationParams
NewUploadInvoiceTranslationParamsWithContext creates a new UploadInvoiceTranslationParams object with the ability to set a context for a request.
func NewUploadInvoiceTranslationParamsWithHTTPClient ¶
func NewUploadInvoiceTranslationParamsWithHTTPClient(client *http.Client) *UploadInvoiceTranslationParams
NewUploadInvoiceTranslationParamsWithHTTPClient creates a new UploadInvoiceTranslationParams object with the ability to set a custom HTTPClient for a request.
func NewUploadInvoiceTranslationParamsWithTimeout ¶
func NewUploadInvoiceTranslationParamsWithTimeout(timeout time.Duration) *UploadInvoiceTranslationParams
NewUploadInvoiceTranslationParamsWithTimeout creates a new UploadInvoiceTranslationParams object with the ability to set a timeout on a request.
func (*UploadInvoiceTranslationParams) SetBody ¶
func (o *UploadInvoiceTranslationParams) SetBody(body string)
SetBody adds the body to the upload invoice translation params
func (*UploadInvoiceTranslationParams) SetContext ¶
func (o *UploadInvoiceTranslationParams) SetContext(ctx context.Context)
SetContext adds the context to the upload invoice translation params
func (*UploadInvoiceTranslationParams) SetDefaults ¶
func (o *UploadInvoiceTranslationParams) SetDefaults()
SetDefaults hydrates default values in the upload invoice translation params (not the query body).
All values with no default are reset to their zero value.
func (*UploadInvoiceTranslationParams) SetDeleteIfExists ¶
func (o *UploadInvoiceTranslationParams) SetDeleteIfExists(deleteIfExists *bool)
SetDeleteIfExists adds the deleteIfExists to the upload invoice translation params
func (*UploadInvoiceTranslationParams) SetHTTPClient ¶
func (o *UploadInvoiceTranslationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload invoice translation params
func (*UploadInvoiceTranslationParams) SetLocale ¶
func (o *UploadInvoiceTranslationParams) SetLocale(locale string)
SetLocale adds the locale to the upload invoice translation params
func (*UploadInvoiceTranslationParams) SetTimeout ¶
func (o *UploadInvoiceTranslationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload invoice translation params
func (*UploadInvoiceTranslationParams) SetXKillbillComment ¶
func (o *UploadInvoiceTranslationParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the upload invoice translation params
func (*UploadInvoiceTranslationParams) SetXKillbillCreatedBy ¶
func (o *UploadInvoiceTranslationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload invoice translation params
func (*UploadInvoiceTranslationParams) SetXKillbillReason ¶
func (o *UploadInvoiceTranslationParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the upload invoice translation params
func (*UploadInvoiceTranslationParams) WithBody ¶
func (o *UploadInvoiceTranslationParams) WithBody(body string) *UploadInvoiceTranslationParams
WithBody adds the body to the upload invoice translation params
func (*UploadInvoiceTranslationParams) WithContext ¶
func (o *UploadInvoiceTranslationParams) WithContext(ctx context.Context) *UploadInvoiceTranslationParams
WithContext adds the context to the upload invoice translation params
func (*UploadInvoiceTranslationParams) WithDefaults ¶
func (o *UploadInvoiceTranslationParams) WithDefaults() *UploadInvoiceTranslationParams
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 ¶
func (o *UploadInvoiceTranslationParams) WithHTTPClient(client *http.Client) *UploadInvoiceTranslationParams
WithHTTPClient adds the HTTPClient to the upload invoice translation params
func (*UploadInvoiceTranslationParams) WithLocale ¶
func (o *UploadInvoiceTranslationParams) WithLocale(locale string) *UploadInvoiceTranslationParams
WithLocale adds the locale to the upload invoice translation params
func (*UploadInvoiceTranslationParams) WithTimeout ¶
func (o *UploadInvoiceTranslationParams) WithTimeout(timeout time.Duration) *UploadInvoiceTranslationParams
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 ¶
func (o *UploadInvoiceTranslationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadInvoiceTranslationReader ¶
type UploadInvoiceTranslationReader struct {
// contains filtered or unexported fields
}
UploadInvoiceTranslationReader is a Reader for the UploadInvoiceTranslation structure.
func (*UploadInvoiceTranslationReader) ReadResponse ¶
func (o *UploadInvoiceTranslationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VoidInvoiceBadRequest ¶
type VoidInvoiceBadRequest struct { }
VoidInvoiceBadRequest describes a response with status code 400, with default header values.
Invalid invoice id supplied
func NewVoidInvoiceBadRequest ¶
func NewVoidInvoiceBadRequest() *VoidInvoiceBadRequest
NewVoidInvoiceBadRequest creates a VoidInvoiceBadRequest with default headers values
func (*VoidInvoiceBadRequest) Error ¶
func (o *VoidInvoiceBadRequest) Error() string
type VoidInvoiceNoContent ¶
type VoidInvoiceNoContent struct { }
VoidInvoiceNoContent describes a response with status code 204, with default header values.
Successful operation
func NewVoidInvoiceNoContent ¶
func NewVoidInvoiceNoContent() *VoidInvoiceNoContent
NewVoidInvoiceNoContent creates a VoidInvoiceNoContent with default headers values
func (*VoidInvoiceNoContent) Error ¶
func (o *VoidInvoiceNoContent) Error() string
type VoidInvoiceNotFound ¶
type VoidInvoiceNotFound struct { }
VoidInvoiceNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewVoidInvoiceNotFound ¶
func NewVoidInvoiceNotFound() *VoidInvoiceNotFound
NewVoidInvoiceNotFound creates a VoidInvoiceNotFound with default headers values
func (*VoidInvoiceNotFound) Error ¶
func (o *VoidInvoiceNotFound) Error() string
type VoidInvoiceParams ¶
type VoidInvoiceParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // InvoiceID. // // Format: uuid InvoiceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VoidInvoiceParams contains all the parameters to send to the API endpoint
for the void invoice operation. Typically these are written to a http.Request.
func NewVoidInvoiceParams ¶
func NewVoidInvoiceParams() *VoidInvoiceParams
NewVoidInvoiceParams creates a new VoidInvoiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewVoidInvoiceParamsWithContext ¶
func NewVoidInvoiceParamsWithContext(ctx context.Context) *VoidInvoiceParams
NewVoidInvoiceParamsWithContext creates a new VoidInvoiceParams object with the ability to set a context for a request.
func NewVoidInvoiceParamsWithHTTPClient ¶
func NewVoidInvoiceParamsWithHTTPClient(client *http.Client) *VoidInvoiceParams
NewVoidInvoiceParamsWithHTTPClient creates a new VoidInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewVoidInvoiceParamsWithTimeout ¶
func NewVoidInvoiceParamsWithTimeout(timeout time.Duration) *VoidInvoiceParams
NewVoidInvoiceParamsWithTimeout creates a new VoidInvoiceParams object with the ability to set a timeout on a request.
func (*VoidInvoiceParams) SetContext ¶
func (o *VoidInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the void invoice params
func (*VoidInvoiceParams) SetDefaults ¶
func (o *VoidInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the void invoice params (not the query body).
All values with no default are reset to their zero value.
func (*VoidInvoiceParams) SetHTTPClient ¶
func (o *VoidInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the void invoice params
func (*VoidInvoiceParams) SetInvoiceID ¶
func (o *VoidInvoiceParams) SetInvoiceID(invoiceID strfmt.UUID)
SetInvoiceID adds the invoiceId to the void invoice params
func (*VoidInvoiceParams) SetTimeout ¶
func (o *VoidInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the void invoice params
func (*VoidInvoiceParams) SetXKillbillComment ¶
func (o *VoidInvoiceParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the void invoice params
func (*VoidInvoiceParams) SetXKillbillCreatedBy ¶
func (o *VoidInvoiceParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the void invoice params
func (*VoidInvoiceParams) SetXKillbillReason ¶
func (o *VoidInvoiceParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the void invoice params
func (*VoidInvoiceParams) WithContext ¶
func (o *VoidInvoiceParams) WithContext(ctx context.Context) *VoidInvoiceParams
WithContext adds the context to the void invoice params
func (*VoidInvoiceParams) WithDefaults ¶
func (o *VoidInvoiceParams) WithDefaults() *VoidInvoiceParams
WithDefaults hydrates default values in the void invoice params (not the query body).
All values with no default are reset to their zero value.
func (*VoidInvoiceParams) WithHTTPClient ¶
func (o *VoidInvoiceParams) WithHTTPClient(client *http.Client) *VoidInvoiceParams
WithHTTPClient adds the HTTPClient to the void invoice params
func (*VoidInvoiceParams) WithInvoiceID ¶
func (o *VoidInvoiceParams) WithInvoiceID(invoiceID strfmt.UUID) *VoidInvoiceParams
WithInvoiceID adds the invoiceID to the void invoice params
func (*VoidInvoiceParams) WithTimeout ¶
func (o *VoidInvoiceParams) WithTimeout(timeout time.Duration) *VoidInvoiceParams
WithTimeout adds the timeout to the void invoice params
func (*VoidInvoiceParams) WithXKillbillComment ¶
func (o *VoidInvoiceParams) WithXKillbillComment(xKillbillComment *string) *VoidInvoiceParams
WithXKillbillComment adds the xKillbillComment to the void invoice params
func (*VoidInvoiceParams) WithXKillbillCreatedBy ¶
func (o *VoidInvoiceParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *VoidInvoiceParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the void invoice params
func (*VoidInvoiceParams) WithXKillbillReason ¶
func (o *VoidInvoiceParams) WithXKillbillReason(xKillbillReason *string) *VoidInvoiceParams
WithXKillbillReason adds the xKillbillReason to the void invoice params
func (*VoidInvoiceParams) WriteToRequest ¶
func (o *VoidInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VoidInvoiceReader ¶
type VoidInvoiceReader struct {
// contains filtered or unexported fields
}
VoidInvoiceReader is a Reader for the VoidInvoice structure.
func (*VoidInvoiceReader) ReadResponse ¶
func (o *VoidInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- adjust_invoice_item_parameters.go
- adjust_invoice_item_responses.go
- commit_invoice_parameters.go
- commit_invoice_responses.go
- create_external_charges_parameters.go
- create_external_charges_responses.go
- create_future_invoice_parameters.go
- create_future_invoice_responses.go
- create_instant_payment_parameters.go
- create_instant_payment_responses.go
- create_invoice_custom_fields_parameters.go
- create_invoice_custom_fields_responses.go
- create_invoice_tags_parameters.go
- create_invoice_tags_responses.go
- create_migration_invoice_parameters.go
- create_migration_invoice_responses.go
- create_tax_items_parameters.go
- create_tax_items_responses.go
- delete_c_b_a_parameters.go
- delete_c_b_a_responses.go
- delete_invoice_custom_fields_parameters.go
- delete_invoice_custom_fields_responses.go
- delete_invoice_tags_parameters.go
- delete_invoice_tags_responses.go
- generate_dry_run_invoice_parameters.go
- generate_dry_run_invoice_responses.go
- get_catalog_translation_parameters.go
- get_catalog_translation_responses.go
- get_invoice_as_html_parameters.go
- get_invoice_as_html_responses.go
- get_invoice_audit_logs_with_history_parameters.go
- get_invoice_audit_logs_with_history_responses.go
- get_invoice_by_item_id_parameters.go
- get_invoice_by_item_id_responses.go
- get_invoice_by_number_parameters.go
- get_invoice_by_number_responses.go
- get_invoice_custom_fields_parameters.go
- get_invoice_custom_fields_responses.go
- get_invoice_m_p_template_parameters.go
- get_invoice_m_p_template_responses.go
- get_invoice_parameters.go
- get_invoice_responses.go
- get_invoice_tags_parameters.go
- get_invoice_tags_responses.go
- get_invoice_template_parameters.go
- get_invoice_template_responses.go
- get_invoice_translation_parameters.go
- get_invoice_translation_responses.go
- get_invoices_parameters.go
- get_invoices_responses.go
- get_payments_for_invoice_parameters.go
- get_payments_for_invoice_responses.go
- invoice_client.go
- modify_invoice_custom_fields_parameters.go
- modify_invoice_custom_fields_responses.go
- search_invoices_parameters.go
- search_invoices_responses.go
- upload_catalog_translation_parameters.go
- upload_catalog_translation_responses.go
- upload_invoice_m_p_template_parameters.go
- upload_invoice_m_p_template_responses.go
- upload_invoice_template_parameters.go
- upload_invoice_template_responses.go
- upload_invoice_translation_parameters.go
- upload_invoice_translation_responses.go
- void_invoice_parameters.go
- void_invoice_responses.go