einvoice

package
v0.0.0-...-2439cfa Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationXML

func WithAcceptApplicationXML(r *runtime.ClientOperation)

WithAcceptApplicationXML sets the Accept header to "application/xml".

func WithAcceptTextJSON

func WithAcceptTextJSON(r *runtime.ClientOperation)

WithAcceptTextJSON sets the Accept header to "text/json".

func WithAcceptTextXML

func WithAcceptTextXML(r *runtime.ClientOperation)

WithAcceptTextXML sets the Accept header to "text/xml".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationXML

func WithContentTypeApplicationXML(r *runtime.ClientOperation)

WithContentTypeApplicationXML sets the Content-Type header to "application/xml".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

func WithContentTypeTextJSON

func WithContentTypeTextJSON(r *runtime.ClientOperation)

WithContentTypeTextJSON sets the Content-Type header to "text/json".

func WithContentTypeTextXML

func WithContentTypeTextXML(r *runtime.ClientOperation)

WithContentTypeTextXML sets the Content-Type header to "text/xml".

Types

type Client

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

Client for einvoice API

func (*Client) EinvoiceDeleteRegistration

func (a *Client) EinvoiceDeleteRegistration(params *EinvoiceDeleteRegistrationParams, opts ...ClientOption) (*EinvoiceDeleteRegistrationOK, error)

EinvoiceDeleteRegistration einvoice delete registration API

func (*Client) EinvoiceDeleteRegistrationIntegration

func (a *Client) EinvoiceDeleteRegistrationIntegration(params *EinvoiceDeleteRegistrationIntegrationParams, opts ...ClientOption) (*EinvoiceDeleteRegistrationIntegrationOK, error)

EinvoiceDeleteRegistrationIntegration einvoice delete registration integration API

func (*Client) EinvoiceDeleteWebhooks

func (a *Client) EinvoiceDeleteWebhooks(params *EinvoiceDeleteWebhooksParams, opts ...ClientOption) (*EinvoiceDeleteWebhooksOK, error)

EinvoiceDeleteWebhooks einvoice delete webhooks API

func (*Client) EinvoiceGetFile

func (a *Client) EinvoiceGetFile(params *EinvoiceGetFileParams, opts ...ClientOption) (*EinvoiceGetFileOK, error)

EinvoiceGetFile einvoice get file API

func (*Client) EinvoiceGetOrder

func (a *Client) EinvoiceGetOrder(params *EinvoiceGetOrderParams, opts ...ClientOption) (*EinvoiceGetOrderOK, error)

EinvoiceGetOrder einvoice get order API

func (*Client) EinvoiceGetOrders

func (a *Client) EinvoiceGetOrders(params *EinvoiceGetOrdersParams, opts ...ClientOption) (*EinvoiceGetOrdersOK, error)

EinvoiceGetOrders einvoice get orders API

func (*Client) EinvoiceGetRegistration

func (a *Client) EinvoiceGetRegistration(params *EinvoiceGetRegistrationParams, opts ...ClientOption) (*EinvoiceGetRegistrationOK, error)

EinvoiceGetRegistration einvoice get registration API

func (*Client) EinvoiceGetRegistrations

func (a *Client) EinvoiceGetRegistrations(params *EinvoiceGetRegistrationsParams, opts ...ClientOption) (*EinvoiceGetRegistrationsOK, error)

EinvoiceGetRegistrations einvoice get registrations API

func (*Client) EinvoiceGetWebhooks

func (a *Client) EinvoiceGetWebhooks(params *EinvoiceGetWebhooksParams, opts ...ClientOption) (*EinvoiceGetWebhooksOK, error)

EinvoiceGetWebhooks einvoice get webhooks API

func (*Client) EinvoicePatchEntity

func (a *Client) EinvoicePatchEntity(params *EinvoicePatchEntityParams, opts ...ClientOption) (*EinvoicePatchEntityOK, error)

EinvoicePatchEntity einvoice patch entity API

func (*Client) EinvoicePatchOrder

func (a *Client) EinvoicePatchOrder(params *EinvoicePatchOrderParams, opts ...ClientOption) (*EinvoicePatchOrderOK, error)

EinvoicePatchOrder einvoice patch order API

func (*Client) EinvoicePostRegistration

func (a *Client) EinvoicePostRegistration(params *EinvoicePostRegistrationParams, opts ...ClientOption) (*EinvoicePostRegistrationOK, error)

EinvoicePostRegistration einvoice post registration API

func (*Client) EinvoicePostRegistrationIntegration

func (a *Client) EinvoicePostRegistrationIntegration(params *EinvoicePostRegistrationIntegrationParams, opts ...ClientOption) (*EinvoicePostRegistrationIntegrationOK, error)

EinvoicePostRegistrationIntegration einvoice post registration integration API

func (*Client) EinvoicePostSend

func (a *Client) EinvoicePostSend(params *EinvoicePostSendParams, opts ...ClientOption) (*EinvoicePostSendOK, error)

EinvoicePostSend einvoice post send API

func (*Client) EinvoicePostWebhook

func (a *Client) EinvoicePostWebhook(params *EinvoicePostWebhookParams, opts ...ClientOption) (*EinvoicePostWebhookOK, error)

EinvoicePostWebhook einvoice post webhook API

func (*Client) EinvoiceRefreshWebhookSecret

func (a *Client) EinvoiceRefreshWebhookSecret(params *EinvoiceRefreshWebhookSecretParams, opts ...ClientOption) (*EinvoiceRefreshWebhookSecretOK, error)

EinvoiceRefreshWebhookSecret einvoice refresh webhook secret API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	EinvoiceDeleteRegistration(params *EinvoiceDeleteRegistrationParams, opts ...ClientOption) (*EinvoiceDeleteRegistrationOK, error)

	EinvoiceDeleteRegistrationIntegration(params *EinvoiceDeleteRegistrationIntegrationParams, opts ...ClientOption) (*EinvoiceDeleteRegistrationIntegrationOK, error)

	EinvoiceDeleteWebhooks(params *EinvoiceDeleteWebhooksParams, opts ...ClientOption) (*EinvoiceDeleteWebhooksOK, error)

	EinvoiceGetFile(params *EinvoiceGetFileParams, opts ...ClientOption) (*EinvoiceGetFileOK, error)

	EinvoiceGetOrder(params *EinvoiceGetOrderParams, opts ...ClientOption) (*EinvoiceGetOrderOK, error)

	EinvoiceGetOrders(params *EinvoiceGetOrdersParams, opts ...ClientOption) (*EinvoiceGetOrdersOK, error)

	EinvoiceGetRegistration(params *EinvoiceGetRegistrationParams, opts ...ClientOption) (*EinvoiceGetRegistrationOK, error)

	EinvoiceGetRegistrations(params *EinvoiceGetRegistrationsParams, opts ...ClientOption) (*EinvoiceGetRegistrationsOK, error)

	EinvoiceGetWebhooks(params *EinvoiceGetWebhooksParams, opts ...ClientOption) (*EinvoiceGetWebhooksOK, error)

	EinvoicePatchEntity(params *EinvoicePatchEntityParams, opts ...ClientOption) (*EinvoicePatchEntityOK, error)

	EinvoicePatchOrder(params *EinvoicePatchOrderParams, opts ...ClientOption) (*EinvoicePatchOrderOK, error)

	EinvoicePostRegistration(params *EinvoicePostRegistrationParams, opts ...ClientOption) (*EinvoicePostRegistrationOK, error)

	EinvoicePostRegistrationIntegration(params *EinvoicePostRegistrationIntegrationParams, opts ...ClientOption) (*EinvoicePostRegistrationIntegrationOK, error)

	EinvoicePostSend(params *EinvoicePostSendParams, opts ...ClientOption) (*EinvoicePostSendOK, error)

	EinvoicePostWebhook(params *EinvoicePostWebhookParams, opts ...ClientOption) (*EinvoicePostWebhookOK, error)

	EinvoiceRefreshWebhookSecret(params *EinvoiceRefreshWebhookSecretParams, opts ...ClientOption) (*EinvoiceRefreshWebhookSecretOK, 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 einvoice API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new einvoice API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new einvoice API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type EinvoiceDeleteRegistrationIntegrationOK

type EinvoiceDeleteRegistrationIntegrationOK struct {
	Payload int32
}

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

Deactivate an integration

func NewEinvoiceDeleteRegistrationIntegrationOK

func NewEinvoiceDeleteRegistrationIntegrationOK() *EinvoiceDeleteRegistrationIntegrationOK

NewEinvoiceDeleteRegistrationIntegrationOK creates a EinvoiceDeleteRegistrationIntegrationOK with default headers values

func (*EinvoiceDeleteRegistrationIntegrationOK) Code

Code gets the status code for the einvoice delete registration integration o k response

func (*EinvoiceDeleteRegistrationIntegrationOK) Error

func (*EinvoiceDeleteRegistrationIntegrationOK) GetPayload

func (*EinvoiceDeleteRegistrationIntegrationOK) IsClientError

func (o *EinvoiceDeleteRegistrationIntegrationOK) IsClientError() bool

IsClientError returns true when this einvoice delete registration integration o k response has a 4xx status code

func (*EinvoiceDeleteRegistrationIntegrationOK) IsCode

IsCode returns true when this einvoice delete registration integration o k response a status code equal to that given

func (*EinvoiceDeleteRegistrationIntegrationOK) IsRedirect

IsRedirect returns true when this einvoice delete registration integration o k response has a 3xx status code

func (*EinvoiceDeleteRegistrationIntegrationOK) IsServerError

func (o *EinvoiceDeleteRegistrationIntegrationOK) IsServerError() bool

IsServerError returns true when this einvoice delete registration integration o k response has a 5xx status code

func (*EinvoiceDeleteRegistrationIntegrationOK) IsSuccess

IsSuccess returns true when this einvoice delete registration integration o k response has a 2xx status code

func (*EinvoiceDeleteRegistrationIntegrationOK) String

type EinvoiceDeleteRegistrationIntegrationParams

type EinvoiceDeleteRegistrationIntegrationParams struct {

	// IntegrationID.
	//
	// Format: int32
	IntegrationID int32

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoiceDeleteRegistrationIntegrationParams contains all the parameters to send to the API endpoint

for the einvoice delete registration integration operation.

Typically these are written to a http.Request.

func NewEinvoiceDeleteRegistrationIntegrationParams

func NewEinvoiceDeleteRegistrationIntegrationParams() *EinvoiceDeleteRegistrationIntegrationParams

NewEinvoiceDeleteRegistrationIntegrationParams creates a new EinvoiceDeleteRegistrationIntegrationParams 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 NewEinvoiceDeleteRegistrationIntegrationParamsWithContext

func NewEinvoiceDeleteRegistrationIntegrationParamsWithContext(ctx context.Context) *EinvoiceDeleteRegistrationIntegrationParams

NewEinvoiceDeleteRegistrationIntegrationParamsWithContext creates a new EinvoiceDeleteRegistrationIntegrationParams object with the ability to set a context for a request.

func NewEinvoiceDeleteRegistrationIntegrationParamsWithHTTPClient

func NewEinvoiceDeleteRegistrationIntegrationParamsWithHTTPClient(client *http.Client) *EinvoiceDeleteRegistrationIntegrationParams

NewEinvoiceDeleteRegistrationIntegrationParamsWithHTTPClient creates a new EinvoiceDeleteRegistrationIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceDeleteRegistrationIntegrationParamsWithTimeout

func NewEinvoiceDeleteRegistrationIntegrationParamsWithTimeout(timeout time.Duration) *EinvoiceDeleteRegistrationIntegrationParams

NewEinvoiceDeleteRegistrationIntegrationParamsWithTimeout creates a new EinvoiceDeleteRegistrationIntegrationParams object with the ability to set a timeout on a request.

func (*EinvoiceDeleteRegistrationIntegrationParams) SetContext

SetContext adds the context to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) SetDefaults

SetDefaults hydrates default values in the einvoice delete registration integration params (not the query body).

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

func (*EinvoiceDeleteRegistrationIntegrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) SetIntegrationID

func (o *EinvoiceDeleteRegistrationIntegrationParams) SetIntegrationID(integrationID int32)

SetIntegrationID adds the integrationId to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) SetRegistrationID

func (o *EinvoiceDeleteRegistrationIntegrationParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) SetTimeout

SetTimeout adds the timeout to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) WithContext

WithContext adds the context to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) WithDefaults

WithDefaults hydrates default values in the einvoice delete registration integration params (not the query body).

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

func (*EinvoiceDeleteRegistrationIntegrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) WithIntegrationID

WithIntegrationID adds the integrationID to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) WithRegistrationID

WithRegistrationID adds the registrationID to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) WithTimeout

WithTimeout adds the timeout to the einvoice delete registration integration params

func (*EinvoiceDeleteRegistrationIntegrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceDeleteRegistrationIntegrationReader

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

EinvoiceDeleteRegistrationIntegrationReader is a Reader for the EinvoiceDeleteRegistrationIntegration structure.

func (*EinvoiceDeleteRegistrationIntegrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceDeleteRegistrationOK

type EinvoiceDeleteRegistrationOK struct {
	Payload int32
}

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

Delete a registration

func NewEinvoiceDeleteRegistrationOK

func NewEinvoiceDeleteRegistrationOK() *EinvoiceDeleteRegistrationOK

NewEinvoiceDeleteRegistrationOK creates a EinvoiceDeleteRegistrationOK with default headers values

func (*EinvoiceDeleteRegistrationOK) Code

Code gets the status code for the einvoice delete registration o k response

func (*EinvoiceDeleteRegistrationOK) Error

func (*EinvoiceDeleteRegistrationOK) GetPayload

func (o *EinvoiceDeleteRegistrationOK) GetPayload() int32

func (*EinvoiceDeleteRegistrationOK) IsClientError

func (o *EinvoiceDeleteRegistrationOK) IsClientError() bool

IsClientError returns true when this einvoice delete registration o k response has a 4xx status code

func (*EinvoiceDeleteRegistrationOK) IsCode

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

IsCode returns true when this einvoice delete registration o k response a status code equal to that given

func (*EinvoiceDeleteRegistrationOK) IsRedirect

func (o *EinvoiceDeleteRegistrationOK) IsRedirect() bool

IsRedirect returns true when this einvoice delete registration o k response has a 3xx status code

func (*EinvoiceDeleteRegistrationOK) IsServerError

func (o *EinvoiceDeleteRegistrationOK) IsServerError() bool

IsServerError returns true when this einvoice delete registration o k response has a 5xx status code

func (*EinvoiceDeleteRegistrationOK) IsSuccess

func (o *EinvoiceDeleteRegistrationOK) IsSuccess() bool

IsSuccess returns true when this einvoice delete registration o k response has a 2xx status code

func (*EinvoiceDeleteRegistrationOK) String

type EinvoiceDeleteRegistrationParams

type EinvoiceDeleteRegistrationParams struct {

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoiceDeleteRegistrationParams contains all the parameters to send to the API endpoint

for the einvoice delete registration operation.

Typically these are written to a http.Request.

func NewEinvoiceDeleteRegistrationParams

func NewEinvoiceDeleteRegistrationParams() *EinvoiceDeleteRegistrationParams

NewEinvoiceDeleteRegistrationParams creates a new EinvoiceDeleteRegistrationParams 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 NewEinvoiceDeleteRegistrationParamsWithContext

func NewEinvoiceDeleteRegistrationParamsWithContext(ctx context.Context) *EinvoiceDeleteRegistrationParams

NewEinvoiceDeleteRegistrationParamsWithContext creates a new EinvoiceDeleteRegistrationParams object with the ability to set a context for a request.

func NewEinvoiceDeleteRegistrationParamsWithHTTPClient

func NewEinvoiceDeleteRegistrationParamsWithHTTPClient(client *http.Client) *EinvoiceDeleteRegistrationParams

NewEinvoiceDeleteRegistrationParamsWithHTTPClient creates a new EinvoiceDeleteRegistrationParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceDeleteRegistrationParamsWithTimeout

func NewEinvoiceDeleteRegistrationParamsWithTimeout(timeout time.Duration) *EinvoiceDeleteRegistrationParams

NewEinvoiceDeleteRegistrationParamsWithTimeout creates a new EinvoiceDeleteRegistrationParams object with the ability to set a timeout on a request.

func (*EinvoiceDeleteRegistrationParams) SetContext

SetContext adds the context to the einvoice delete registration params

func (*EinvoiceDeleteRegistrationParams) SetDefaults

func (o *EinvoiceDeleteRegistrationParams) SetDefaults()

SetDefaults hydrates default values in the einvoice delete registration params (not the query body).

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

func (*EinvoiceDeleteRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice delete registration params

func (*EinvoiceDeleteRegistrationParams) SetRegistrationID

func (o *EinvoiceDeleteRegistrationParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice delete registration params

func (*EinvoiceDeleteRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice delete registration params

func (*EinvoiceDeleteRegistrationParams) WithContext

WithContext adds the context to the einvoice delete registration params

func (*EinvoiceDeleteRegistrationParams) WithDefaults

WithDefaults hydrates default values in the einvoice delete registration params (not the query body).

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

func (*EinvoiceDeleteRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the einvoice delete registration params

func (*EinvoiceDeleteRegistrationParams) WithRegistrationID

func (o *EinvoiceDeleteRegistrationParams) WithRegistrationID(registrationID int32) *EinvoiceDeleteRegistrationParams

WithRegistrationID adds the registrationID to the einvoice delete registration params

func (*EinvoiceDeleteRegistrationParams) WithTimeout

WithTimeout adds the timeout to the einvoice delete registration params

func (*EinvoiceDeleteRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceDeleteRegistrationReader

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

EinvoiceDeleteRegistrationReader is a Reader for the EinvoiceDeleteRegistration structure.

func (*EinvoiceDeleteRegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceDeleteWebhooksOK

type EinvoiceDeleteWebhooksOK struct {
	Payload string
}

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

Delete an webhook

func NewEinvoiceDeleteWebhooksOK

func NewEinvoiceDeleteWebhooksOK() *EinvoiceDeleteWebhooksOK

NewEinvoiceDeleteWebhooksOK creates a EinvoiceDeleteWebhooksOK with default headers values

func (*EinvoiceDeleteWebhooksOK) Code

func (o *EinvoiceDeleteWebhooksOK) Code() int

Code gets the status code for the einvoice delete webhooks o k response

func (*EinvoiceDeleteWebhooksOK) Error

func (o *EinvoiceDeleteWebhooksOK) Error() string

func (*EinvoiceDeleteWebhooksOK) GetPayload

func (o *EinvoiceDeleteWebhooksOK) GetPayload() string

func (*EinvoiceDeleteWebhooksOK) IsClientError

func (o *EinvoiceDeleteWebhooksOK) IsClientError() bool

IsClientError returns true when this einvoice delete webhooks o k response has a 4xx status code

func (*EinvoiceDeleteWebhooksOK) IsCode

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

IsCode returns true when this einvoice delete webhooks o k response a status code equal to that given

func (*EinvoiceDeleteWebhooksOK) IsRedirect

func (o *EinvoiceDeleteWebhooksOK) IsRedirect() bool

IsRedirect returns true when this einvoice delete webhooks o k response has a 3xx status code

func (*EinvoiceDeleteWebhooksOK) IsServerError

func (o *EinvoiceDeleteWebhooksOK) IsServerError() bool

IsServerError returns true when this einvoice delete webhooks o k response has a 5xx status code

func (*EinvoiceDeleteWebhooksOK) IsSuccess

func (o *EinvoiceDeleteWebhooksOK) IsSuccess() bool

IsSuccess returns true when this einvoice delete webhooks o k response has a 2xx status code

func (*EinvoiceDeleteWebhooksOK) String

func (o *EinvoiceDeleteWebhooksOK) String() string

type EinvoiceDeleteWebhooksParams

type EinvoiceDeleteWebhooksParams struct {

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

	// WebhookID.
	//
	// Format: int32
	WebhookID int32

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

EinvoiceDeleteWebhooksParams contains all the parameters to send to the API endpoint

for the einvoice delete webhooks operation.

Typically these are written to a http.Request.

func NewEinvoiceDeleteWebhooksParams

func NewEinvoiceDeleteWebhooksParams() *EinvoiceDeleteWebhooksParams

NewEinvoiceDeleteWebhooksParams creates a new EinvoiceDeleteWebhooksParams 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 NewEinvoiceDeleteWebhooksParamsWithContext

func NewEinvoiceDeleteWebhooksParamsWithContext(ctx context.Context) *EinvoiceDeleteWebhooksParams

NewEinvoiceDeleteWebhooksParamsWithContext creates a new EinvoiceDeleteWebhooksParams object with the ability to set a context for a request.

func NewEinvoiceDeleteWebhooksParamsWithHTTPClient

func NewEinvoiceDeleteWebhooksParamsWithHTTPClient(client *http.Client) *EinvoiceDeleteWebhooksParams

NewEinvoiceDeleteWebhooksParamsWithHTTPClient creates a new EinvoiceDeleteWebhooksParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceDeleteWebhooksParamsWithTimeout

func NewEinvoiceDeleteWebhooksParamsWithTimeout(timeout time.Duration) *EinvoiceDeleteWebhooksParams

NewEinvoiceDeleteWebhooksParamsWithTimeout creates a new EinvoiceDeleteWebhooksParams object with the ability to set a timeout on a request.

func (*EinvoiceDeleteWebhooksParams) SetContext

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

SetContext adds the context to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) SetDefaults

func (o *EinvoiceDeleteWebhooksParams) SetDefaults()

SetDefaults hydrates default values in the einvoice delete webhooks params (not the query body).

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

func (*EinvoiceDeleteWebhooksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) SetRegistrationID

func (o *EinvoiceDeleteWebhooksParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) SetWebhookID

func (o *EinvoiceDeleteWebhooksParams) SetWebhookID(webhookID int32)

SetWebhookID adds the webhookId to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) WithContext

WithContext adds the context to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) WithDefaults

WithDefaults hydrates default values in the einvoice delete webhooks params (not the query body).

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

func (*EinvoiceDeleteWebhooksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) WithRegistrationID

func (o *EinvoiceDeleteWebhooksParams) WithRegistrationID(registrationID int32) *EinvoiceDeleteWebhooksParams

WithRegistrationID adds the registrationID to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) WithTimeout

WithTimeout adds the timeout to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) WithWebhookID

WithWebhookID adds the webhookID to the einvoice delete webhooks params

func (*EinvoiceDeleteWebhooksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceDeleteWebhooksReader

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

EinvoiceDeleteWebhooksReader is a Reader for the EinvoiceDeleteWebhooks structure.

func (*EinvoiceDeleteWebhooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceGetFileOK

type EinvoiceGetFileOK struct {
	Payload int32
}

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

Get a file

func NewEinvoiceGetFileOK

func NewEinvoiceGetFileOK() *EinvoiceGetFileOK

NewEinvoiceGetFileOK creates a EinvoiceGetFileOK with default headers values

func (*EinvoiceGetFileOK) Code

func (o *EinvoiceGetFileOK) Code() int

Code gets the status code for the einvoice get file o k response

func (*EinvoiceGetFileOK) Error

func (o *EinvoiceGetFileOK) Error() string

func (*EinvoiceGetFileOK) GetPayload

func (o *EinvoiceGetFileOK) GetPayload() int32

func (*EinvoiceGetFileOK) IsClientError

func (o *EinvoiceGetFileOK) IsClientError() bool

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

func (*EinvoiceGetFileOK) IsCode

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

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

func (*EinvoiceGetFileOK) IsRedirect

func (o *EinvoiceGetFileOK) IsRedirect() bool

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

func (*EinvoiceGetFileOK) IsServerError

func (o *EinvoiceGetFileOK) IsServerError() bool

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

func (*EinvoiceGetFileOK) IsSuccess

func (o *EinvoiceGetFileOK) IsSuccess() bool

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

func (*EinvoiceGetFileOK) String

func (o *EinvoiceGetFileOK) String() string

type EinvoiceGetFileParams

type EinvoiceGetFileParams struct {

	// FileID.
	//
	// Format: uuid
	FileID strfmt.UUID

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoiceGetFileParams contains all the parameters to send to the API endpoint

for the einvoice get file operation.

Typically these are written to a http.Request.

func NewEinvoiceGetFileParams

func NewEinvoiceGetFileParams() *EinvoiceGetFileParams

NewEinvoiceGetFileParams creates a new EinvoiceGetFileParams 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 NewEinvoiceGetFileParamsWithContext

func NewEinvoiceGetFileParamsWithContext(ctx context.Context) *EinvoiceGetFileParams

NewEinvoiceGetFileParamsWithContext creates a new EinvoiceGetFileParams object with the ability to set a context for a request.

func NewEinvoiceGetFileParamsWithHTTPClient

func NewEinvoiceGetFileParamsWithHTTPClient(client *http.Client) *EinvoiceGetFileParams

NewEinvoiceGetFileParamsWithHTTPClient creates a new EinvoiceGetFileParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceGetFileParamsWithTimeout

func NewEinvoiceGetFileParamsWithTimeout(timeout time.Duration) *EinvoiceGetFileParams

NewEinvoiceGetFileParamsWithTimeout creates a new EinvoiceGetFileParams object with the ability to set a timeout on a request.

func (*EinvoiceGetFileParams) SetContext

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

SetContext adds the context to the einvoice get file params

func (*EinvoiceGetFileParams) SetDefaults

func (o *EinvoiceGetFileParams) SetDefaults()

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

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

func (*EinvoiceGetFileParams) SetFileID

func (o *EinvoiceGetFileParams) SetFileID(fileID strfmt.UUID)

SetFileID adds the fileId to the einvoice get file params

func (*EinvoiceGetFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice get file params

func (*EinvoiceGetFileParams) SetRegistrationID

func (o *EinvoiceGetFileParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice get file params

func (*EinvoiceGetFileParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice get file params

func (*EinvoiceGetFileParams) WithContext

WithContext adds the context to the einvoice get file params

func (*EinvoiceGetFileParams) WithDefaults

func (o *EinvoiceGetFileParams) WithDefaults() *EinvoiceGetFileParams

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

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

func (*EinvoiceGetFileParams) WithFileID

func (o *EinvoiceGetFileParams) WithFileID(fileID strfmt.UUID) *EinvoiceGetFileParams

WithFileID adds the fileID to the einvoice get file params

func (*EinvoiceGetFileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the einvoice get file params

func (*EinvoiceGetFileParams) WithRegistrationID

func (o *EinvoiceGetFileParams) WithRegistrationID(registrationID int32) *EinvoiceGetFileParams

WithRegistrationID adds the registrationID to the einvoice get file params

func (*EinvoiceGetFileParams) WithTimeout

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

WithTimeout adds the timeout to the einvoice get file params

func (*EinvoiceGetFileParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EinvoiceGetFileReader

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

EinvoiceGetFileReader is a Reader for the EinvoiceGetFile structure.

func (*EinvoiceGetFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceGetOrderOK

type EinvoiceGetOrderOK struct {
	Payload int32
}

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

Register a new participant on the e-Invoice network.

func NewEinvoiceGetOrderOK

func NewEinvoiceGetOrderOK() *EinvoiceGetOrderOK

NewEinvoiceGetOrderOK creates a EinvoiceGetOrderOK with default headers values

func (*EinvoiceGetOrderOK) Code

func (o *EinvoiceGetOrderOK) Code() int

Code gets the status code for the einvoice get order o k response

func (*EinvoiceGetOrderOK) Error

func (o *EinvoiceGetOrderOK) Error() string

func (*EinvoiceGetOrderOK) GetPayload

func (o *EinvoiceGetOrderOK) GetPayload() int32

func (*EinvoiceGetOrderOK) IsClientError

func (o *EinvoiceGetOrderOK) IsClientError() bool

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

func (*EinvoiceGetOrderOK) IsCode

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

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

func (*EinvoiceGetOrderOK) IsRedirect

func (o *EinvoiceGetOrderOK) IsRedirect() bool

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

func (*EinvoiceGetOrderOK) IsServerError

func (o *EinvoiceGetOrderOK) IsServerError() bool

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

func (*EinvoiceGetOrderOK) IsSuccess

func (o *EinvoiceGetOrderOK) IsSuccess() bool

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

func (*EinvoiceGetOrderOK) String

func (o *EinvoiceGetOrderOK) String() string

type EinvoiceGetOrderParams

type EinvoiceGetOrderParams struct {

	// OrderID.
	//
	// Format: int32
	OrderID int32

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoiceGetOrderParams contains all the parameters to send to the API endpoint

for the einvoice get order operation.

Typically these are written to a http.Request.

func NewEinvoiceGetOrderParams

func NewEinvoiceGetOrderParams() *EinvoiceGetOrderParams

NewEinvoiceGetOrderParams creates a new EinvoiceGetOrderParams 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 NewEinvoiceGetOrderParamsWithContext

func NewEinvoiceGetOrderParamsWithContext(ctx context.Context) *EinvoiceGetOrderParams

NewEinvoiceGetOrderParamsWithContext creates a new EinvoiceGetOrderParams object with the ability to set a context for a request.

func NewEinvoiceGetOrderParamsWithHTTPClient

func NewEinvoiceGetOrderParamsWithHTTPClient(client *http.Client) *EinvoiceGetOrderParams

NewEinvoiceGetOrderParamsWithHTTPClient creates a new EinvoiceGetOrderParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceGetOrderParamsWithTimeout

func NewEinvoiceGetOrderParamsWithTimeout(timeout time.Duration) *EinvoiceGetOrderParams

NewEinvoiceGetOrderParamsWithTimeout creates a new EinvoiceGetOrderParams object with the ability to set a timeout on a request.

func (*EinvoiceGetOrderParams) SetContext

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

SetContext adds the context to the einvoice get order params

func (*EinvoiceGetOrderParams) SetDefaults

func (o *EinvoiceGetOrderParams) SetDefaults()

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

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

func (*EinvoiceGetOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice get order params

func (*EinvoiceGetOrderParams) SetOrderID

func (o *EinvoiceGetOrderParams) SetOrderID(orderID int32)

SetOrderID adds the orderId to the einvoice get order params

func (*EinvoiceGetOrderParams) SetRegistrationID

func (o *EinvoiceGetOrderParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice get order params

func (*EinvoiceGetOrderParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice get order params

func (*EinvoiceGetOrderParams) WithContext

WithContext adds the context to the einvoice get order params

func (*EinvoiceGetOrderParams) WithDefaults

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

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

func (*EinvoiceGetOrderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the einvoice get order params

func (*EinvoiceGetOrderParams) WithOrderID

func (o *EinvoiceGetOrderParams) WithOrderID(orderID int32) *EinvoiceGetOrderParams

WithOrderID adds the orderID to the einvoice get order params

func (*EinvoiceGetOrderParams) WithRegistrationID

func (o *EinvoiceGetOrderParams) WithRegistrationID(registrationID int32) *EinvoiceGetOrderParams

WithRegistrationID adds the registrationID to the einvoice get order params

func (*EinvoiceGetOrderParams) WithTimeout

WithTimeout adds the timeout to the einvoice get order params

func (*EinvoiceGetOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceGetOrderReader

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

EinvoiceGetOrderReader is a Reader for the EinvoiceGetOrder structure.

func (*EinvoiceGetOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceGetOrdersOK

type EinvoiceGetOrdersOK struct {
	Payload int32
}

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

Retrieve the E-documents

func NewEinvoiceGetOrdersOK

func NewEinvoiceGetOrdersOK() *EinvoiceGetOrdersOK

NewEinvoiceGetOrdersOK creates a EinvoiceGetOrdersOK with default headers values

func (*EinvoiceGetOrdersOK) Code

func (o *EinvoiceGetOrdersOK) Code() int

Code gets the status code for the einvoice get orders o k response

func (*EinvoiceGetOrdersOK) Error

func (o *EinvoiceGetOrdersOK) Error() string

func (*EinvoiceGetOrdersOK) GetPayload

func (o *EinvoiceGetOrdersOK) GetPayload() int32

func (*EinvoiceGetOrdersOK) IsClientError

func (o *EinvoiceGetOrdersOK) IsClientError() bool

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

func (*EinvoiceGetOrdersOK) IsCode

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

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

func (*EinvoiceGetOrdersOK) IsRedirect

func (o *EinvoiceGetOrdersOK) IsRedirect() bool

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

func (*EinvoiceGetOrdersOK) IsServerError

func (o *EinvoiceGetOrdersOK) IsServerError() bool

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

func (*EinvoiceGetOrdersOK) IsSuccess

func (o *EinvoiceGetOrdersOK) IsSuccess() bool

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

func (*EinvoiceGetOrdersOK) String

func (o *EinvoiceGetOrdersOK) String() string

type EinvoiceGetOrdersParams

type EinvoiceGetOrdersParams struct {

	// FullTextSearch.
	FullTextSearch *string

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoiceGetOrdersParams contains all the parameters to send to the API endpoint

for the einvoice get orders operation.

Typically these are written to a http.Request.

func NewEinvoiceGetOrdersParams

func NewEinvoiceGetOrdersParams() *EinvoiceGetOrdersParams

NewEinvoiceGetOrdersParams creates a new EinvoiceGetOrdersParams 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 NewEinvoiceGetOrdersParamsWithContext

func NewEinvoiceGetOrdersParamsWithContext(ctx context.Context) *EinvoiceGetOrdersParams

NewEinvoiceGetOrdersParamsWithContext creates a new EinvoiceGetOrdersParams object with the ability to set a context for a request.

func NewEinvoiceGetOrdersParamsWithHTTPClient

func NewEinvoiceGetOrdersParamsWithHTTPClient(client *http.Client) *EinvoiceGetOrdersParams

NewEinvoiceGetOrdersParamsWithHTTPClient creates a new EinvoiceGetOrdersParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceGetOrdersParamsWithTimeout

func NewEinvoiceGetOrdersParamsWithTimeout(timeout time.Duration) *EinvoiceGetOrdersParams

NewEinvoiceGetOrdersParamsWithTimeout creates a new EinvoiceGetOrdersParams object with the ability to set a timeout on a request.

func (*EinvoiceGetOrdersParams) SetContext

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

SetContext adds the context to the einvoice get orders params

func (*EinvoiceGetOrdersParams) SetDefaults

func (o *EinvoiceGetOrdersParams) SetDefaults()

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

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

func (*EinvoiceGetOrdersParams) SetFullTextSearch

func (o *EinvoiceGetOrdersParams) SetFullTextSearch(fullTextSearch *string)

SetFullTextSearch adds the fullTextSearch to the einvoice get orders params

func (*EinvoiceGetOrdersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice get orders params

func (*EinvoiceGetOrdersParams) SetRegistrationID

func (o *EinvoiceGetOrdersParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice get orders params

func (*EinvoiceGetOrdersParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice get orders params

func (*EinvoiceGetOrdersParams) WithContext

WithContext adds the context to the einvoice get orders params

func (*EinvoiceGetOrdersParams) WithDefaults

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

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

func (*EinvoiceGetOrdersParams) WithFullTextSearch

func (o *EinvoiceGetOrdersParams) WithFullTextSearch(fullTextSearch *string) *EinvoiceGetOrdersParams

WithFullTextSearch adds the fullTextSearch to the einvoice get orders params

func (*EinvoiceGetOrdersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the einvoice get orders params

func (*EinvoiceGetOrdersParams) WithRegistrationID

func (o *EinvoiceGetOrdersParams) WithRegistrationID(registrationID int32) *EinvoiceGetOrdersParams

WithRegistrationID adds the registrationID to the einvoice get orders params

func (*EinvoiceGetOrdersParams) WithTimeout

WithTimeout adds the timeout to the einvoice get orders params

func (*EinvoiceGetOrdersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceGetOrdersReader

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

EinvoiceGetOrdersReader is a Reader for the EinvoiceGetOrders structure.

func (*EinvoiceGetOrdersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceGetRegistrationOK

type EinvoiceGetRegistrationOK struct {
	Payload *model.GetEinvoiceAccountsReponse
}

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

Retrieve an registered Company

func NewEinvoiceGetRegistrationOK

func NewEinvoiceGetRegistrationOK() *EinvoiceGetRegistrationOK

NewEinvoiceGetRegistrationOK creates a EinvoiceGetRegistrationOK with default headers values

func (*EinvoiceGetRegistrationOK) Code

func (o *EinvoiceGetRegistrationOK) Code() int

Code gets the status code for the einvoice get registration o k response

func (*EinvoiceGetRegistrationOK) Error

func (o *EinvoiceGetRegistrationOK) Error() string

func (*EinvoiceGetRegistrationOK) GetPayload

func (*EinvoiceGetRegistrationOK) IsClientError

func (o *EinvoiceGetRegistrationOK) IsClientError() bool

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

func (*EinvoiceGetRegistrationOK) IsCode

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

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

func (*EinvoiceGetRegistrationOK) IsRedirect

func (o *EinvoiceGetRegistrationOK) IsRedirect() bool

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

func (*EinvoiceGetRegistrationOK) IsServerError

func (o *EinvoiceGetRegistrationOK) IsServerError() bool

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

func (*EinvoiceGetRegistrationOK) IsSuccess

func (o *EinvoiceGetRegistrationOK) IsSuccess() bool

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

func (*EinvoiceGetRegistrationOK) String

func (o *EinvoiceGetRegistrationOK) String() string

type EinvoiceGetRegistrationParams

type EinvoiceGetRegistrationParams struct {

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoiceGetRegistrationParams contains all the parameters to send to the API endpoint

for the einvoice get registration operation.

Typically these are written to a http.Request.

func NewEinvoiceGetRegistrationParams

func NewEinvoiceGetRegistrationParams() *EinvoiceGetRegistrationParams

NewEinvoiceGetRegistrationParams creates a new EinvoiceGetRegistrationParams 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 NewEinvoiceGetRegistrationParamsWithContext

func NewEinvoiceGetRegistrationParamsWithContext(ctx context.Context) *EinvoiceGetRegistrationParams

NewEinvoiceGetRegistrationParamsWithContext creates a new EinvoiceGetRegistrationParams object with the ability to set a context for a request.

func NewEinvoiceGetRegistrationParamsWithHTTPClient

func NewEinvoiceGetRegistrationParamsWithHTTPClient(client *http.Client) *EinvoiceGetRegistrationParams

NewEinvoiceGetRegistrationParamsWithHTTPClient creates a new EinvoiceGetRegistrationParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceGetRegistrationParamsWithTimeout

func NewEinvoiceGetRegistrationParamsWithTimeout(timeout time.Duration) *EinvoiceGetRegistrationParams

NewEinvoiceGetRegistrationParamsWithTimeout creates a new EinvoiceGetRegistrationParams object with the ability to set a timeout on a request.

func (*EinvoiceGetRegistrationParams) SetContext

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

SetContext adds the context to the einvoice get registration params

func (*EinvoiceGetRegistrationParams) SetDefaults

func (o *EinvoiceGetRegistrationParams) SetDefaults()

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

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

func (*EinvoiceGetRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice get registration params

func (*EinvoiceGetRegistrationParams) SetRegistrationID

func (o *EinvoiceGetRegistrationParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice get registration params

func (*EinvoiceGetRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice get registration params

func (*EinvoiceGetRegistrationParams) WithContext

WithContext adds the context to the einvoice get registration params

func (*EinvoiceGetRegistrationParams) WithDefaults

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

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

func (*EinvoiceGetRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the einvoice get registration params

func (*EinvoiceGetRegistrationParams) WithRegistrationID

func (o *EinvoiceGetRegistrationParams) WithRegistrationID(registrationID int32) *EinvoiceGetRegistrationParams

WithRegistrationID adds the registrationID to the einvoice get registration params

func (*EinvoiceGetRegistrationParams) WithTimeout

WithTimeout adds the timeout to the einvoice get registration params

func (*EinvoiceGetRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceGetRegistrationReader

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

EinvoiceGetRegistrationReader is a Reader for the EinvoiceGetRegistration structure.

func (*EinvoiceGetRegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceGetRegistrationsOK

type EinvoiceGetRegistrationsOK struct {
	Payload *model.GetEinvoiceAccountsReponse
}

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

Retrieve all registered companies

func NewEinvoiceGetRegistrationsOK

func NewEinvoiceGetRegistrationsOK() *EinvoiceGetRegistrationsOK

NewEinvoiceGetRegistrationsOK creates a EinvoiceGetRegistrationsOK with default headers values

func (*EinvoiceGetRegistrationsOK) Code

func (o *EinvoiceGetRegistrationsOK) Code() int

Code gets the status code for the einvoice get registrations o k response

func (*EinvoiceGetRegistrationsOK) Error

func (*EinvoiceGetRegistrationsOK) GetPayload

func (*EinvoiceGetRegistrationsOK) IsClientError

func (o *EinvoiceGetRegistrationsOK) IsClientError() bool

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

func (*EinvoiceGetRegistrationsOK) IsCode

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

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

func (*EinvoiceGetRegistrationsOK) IsRedirect

func (o *EinvoiceGetRegistrationsOK) IsRedirect() bool

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

func (*EinvoiceGetRegistrationsOK) IsServerError

func (o *EinvoiceGetRegistrationsOK) IsServerError() bool

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

func (*EinvoiceGetRegistrationsOK) IsSuccess

func (o *EinvoiceGetRegistrationsOK) IsSuccess() bool

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

func (*EinvoiceGetRegistrationsOK) String

func (o *EinvoiceGetRegistrationsOK) String() string

type EinvoiceGetRegistrationsParams

type EinvoiceGetRegistrationsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EinvoiceGetRegistrationsParams contains all the parameters to send to the API endpoint

for the einvoice get registrations operation.

Typically these are written to a http.Request.

func NewEinvoiceGetRegistrationsParams

func NewEinvoiceGetRegistrationsParams() *EinvoiceGetRegistrationsParams

NewEinvoiceGetRegistrationsParams creates a new EinvoiceGetRegistrationsParams 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 NewEinvoiceGetRegistrationsParamsWithContext

func NewEinvoiceGetRegistrationsParamsWithContext(ctx context.Context) *EinvoiceGetRegistrationsParams

NewEinvoiceGetRegistrationsParamsWithContext creates a new EinvoiceGetRegistrationsParams object with the ability to set a context for a request.

func NewEinvoiceGetRegistrationsParamsWithHTTPClient

func NewEinvoiceGetRegistrationsParamsWithHTTPClient(client *http.Client) *EinvoiceGetRegistrationsParams

NewEinvoiceGetRegistrationsParamsWithHTTPClient creates a new EinvoiceGetRegistrationsParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceGetRegistrationsParamsWithTimeout

func NewEinvoiceGetRegistrationsParamsWithTimeout(timeout time.Duration) *EinvoiceGetRegistrationsParams

NewEinvoiceGetRegistrationsParamsWithTimeout creates a new EinvoiceGetRegistrationsParams object with the ability to set a timeout on a request.

func (*EinvoiceGetRegistrationsParams) SetContext

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

SetContext adds the context to the einvoice get registrations params

func (*EinvoiceGetRegistrationsParams) SetDefaults

func (o *EinvoiceGetRegistrationsParams) SetDefaults()

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

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

func (*EinvoiceGetRegistrationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice get registrations params

func (*EinvoiceGetRegistrationsParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice get registrations params

func (*EinvoiceGetRegistrationsParams) WithContext

WithContext adds the context to the einvoice get registrations params

func (*EinvoiceGetRegistrationsParams) WithDefaults

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

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

func (*EinvoiceGetRegistrationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the einvoice get registrations params

func (*EinvoiceGetRegistrationsParams) WithTimeout

WithTimeout adds the timeout to the einvoice get registrations params

func (*EinvoiceGetRegistrationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceGetRegistrationsReader

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

EinvoiceGetRegistrationsReader is a Reader for the EinvoiceGetRegistrations structure.

func (*EinvoiceGetRegistrationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceGetWebhooksOK

type EinvoiceGetWebhooksOK struct {
	Payload *model.Webhook
}

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

Get webhooks

func NewEinvoiceGetWebhooksOK

func NewEinvoiceGetWebhooksOK() *EinvoiceGetWebhooksOK

NewEinvoiceGetWebhooksOK creates a EinvoiceGetWebhooksOK with default headers values

func (*EinvoiceGetWebhooksOK) Code

func (o *EinvoiceGetWebhooksOK) Code() int

Code gets the status code for the einvoice get webhooks o k response

func (*EinvoiceGetWebhooksOK) Error

func (o *EinvoiceGetWebhooksOK) Error() string

func (*EinvoiceGetWebhooksOK) GetPayload

func (o *EinvoiceGetWebhooksOK) GetPayload() *model.Webhook

func (*EinvoiceGetWebhooksOK) IsClientError

func (o *EinvoiceGetWebhooksOK) IsClientError() bool

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

func (*EinvoiceGetWebhooksOK) IsCode

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

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

func (*EinvoiceGetWebhooksOK) IsRedirect

func (o *EinvoiceGetWebhooksOK) IsRedirect() bool

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

func (*EinvoiceGetWebhooksOK) IsServerError

func (o *EinvoiceGetWebhooksOK) IsServerError() bool

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

func (*EinvoiceGetWebhooksOK) IsSuccess

func (o *EinvoiceGetWebhooksOK) IsSuccess() bool

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

func (*EinvoiceGetWebhooksOK) String

func (o *EinvoiceGetWebhooksOK) String() string

type EinvoiceGetWebhooksParams

type EinvoiceGetWebhooksParams struct {

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoiceGetWebhooksParams contains all the parameters to send to the API endpoint

for the einvoice get webhooks operation.

Typically these are written to a http.Request.

func NewEinvoiceGetWebhooksParams

func NewEinvoiceGetWebhooksParams() *EinvoiceGetWebhooksParams

NewEinvoiceGetWebhooksParams creates a new EinvoiceGetWebhooksParams 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 NewEinvoiceGetWebhooksParamsWithContext

func NewEinvoiceGetWebhooksParamsWithContext(ctx context.Context) *EinvoiceGetWebhooksParams

NewEinvoiceGetWebhooksParamsWithContext creates a new EinvoiceGetWebhooksParams object with the ability to set a context for a request.

func NewEinvoiceGetWebhooksParamsWithHTTPClient

func NewEinvoiceGetWebhooksParamsWithHTTPClient(client *http.Client) *EinvoiceGetWebhooksParams

NewEinvoiceGetWebhooksParamsWithHTTPClient creates a new EinvoiceGetWebhooksParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceGetWebhooksParamsWithTimeout

func NewEinvoiceGetWebhooksParamsWithTimeout(timeout time.Duration) *EinvoiceGetWebhooksParams

NewEinvoiceGetWebhooksParamsWithTimeout creates a new EinvoiceGetWebhooksParams object with the ability to set a timeout on a request.

func (*EinvoiceGetWebhooksParams) SetContext

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

SetContext adds the context to the einvoice get webhooks params

func (*EinvoiceGetWebhooksParams) SetDefaults

func (o *EinvoiceGetWebhooksParams) SetDefaults()

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

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

func (*EinvoiceGetWebhooksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice get webhooks params

func (*EinvoiceGetWebhooksParams) SetRegistrationID

func (o *EinvoiceGetWebhooksParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice get webhooks params

func (*EinvoiceGetWebhooksParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice get webhooks params

func (*EinvoiceGetWebhooksParams) WithContext

WithContext adds the context to the einvoice get webhooks params

func (*EinvoiceGetWebhooksParams) WithDefaults

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

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

func (*EinvoiceGetWebhooksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the einvoice get webhooks params

func (*EinvoiceGetWebhooksParams) WithRegistrationID

func (o *EinvoiceGetWebhooksParams) WithRegistrationID(registrationID int32) *EinvoiceGetWebhooksParams

WithRegistrationID adds the registrationID to the einvoice get webhooks params

func (*EinvoiceGetWebhooksParams) WithTimeout

WithTimeout adds the timeout to the einvoice get webhooks params

func (*EinvoiceGetWebhooksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceGetWebhooksReader

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

EinvoiceGetWebhooksReader is a Reader for the EinvoiceGetWebhooks structure.

func (*EinvoiceGetWebhooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoicePatchEntityOK

type EinvoicePatchEntityOK struct {
	Payload *model.AccountRegistrationResponse
}

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

Update a entity

func NewEinvoicePatchEntityOK

func NewEinvoicePatchEntityOK() *EinvoicePatchEntityOK

NewEinvoicePatchEntityOK creates a EinvoicePatchEntityOK with default headers values

func (*EinvoicePatchEntityOK) Code

func (o *EinvoicePatchEntityOK) Code() int

Code gets the status code for the einvoice patch entity o k response

func (*EinvoicePatchEntityOK) Error

func (o *EinvoicePatchEntityOK) Error() string

func (*EinvoicePatchEntityOK) GetPayload

func (*EinvoicePatchEntityOK) IsClientError

func (o *EinvoicePatchEntityOK) IsClientError() bool

IsClientError returns true when this einvoice patch entity o k response has a 4xx status code

func (*EinvoicePatchEntityOK) IsCode

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

IsCode returns true when this einvoice patch entity o k response a status code equal to that given

func (*EinvoicePatchEntityOK) IsRedirect

func (o *EinvoicePatchEntityOK) IsRedirect() bool

IsRedirect returns true when this einvoice patch entity o k response has a 3xx status code

func (*EinvoicePatchEntityOK) IsServerError

func (o *EinvoicePatchEntityOK) IsServerError() bool

IsServerError returns true when this einvoice patch entity o k response has a 5xx status code

func (*EinvoicePatchEntityOK) IsSuccess

func (o *EinvoicePatchEntityOK) IsSuccess() bool

IsSuccess returns true when this einvoice patch entity o k response has a 2xx status code

func (*EinvoicePatchEntityOK) String

func (o *EinvoicePatchEntityOK) String() string

type EinvoicePatchEntityParams

type EinvoicePatchEntityParams struct {

	// EinvoiceRegistrationPatch.
	EinvoiceRegistrationPatch interface{}

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoicePatchEntityParams contains all the parameters to send to the API endpoint

for the einvoice patch entity operation.

Typically these are written to a http.Request.

func NewEinvoicePatchEntityParams

func NewEinvoicePatchEntityParams() *EinvoicePatchEntityParams

NewEinvoicePatchEntityParams creates a new EinvoicePatchEntityParams 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 NewEinvoicePatchEntityParamsWithContext

func NewEinvoicePatchEntityParamsWithContext(ctx context.Context) *EinvoicePatchEntityParams

NewEinvoicePatchEntityParamsWithContext creates a new EinvoicePatchEntityParams object with the ability to set a context for a request.

func NewEinvoicePatchEntityParamsWithHTTPClient

func NewEinvoicePatchEntityParamsWithHTTPClient(client *http.Client) *EinvoicePatchEntityParams

NewEinvoicePatchEntityParamsWithHTTPClient creates a new EinvoicePatchEntityParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoicePatchEntityParamsWithTimeout

func NewEinvoicePatchEntityParamsWithTimeout(timeout time.Duration) *EinvoicePatchEntityParams

NewEinvoicePatchEntityParamsWithTimeout creates a new EinvoicePatchEntityParams object with the ability to set a timeout on a request.

func (*EinvoicePatchEntityParams) SetContext

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

SetContext adds the context to the einvoice patch entity params

func (*EinvoicePatchEntityParams) SetDefaults

func (o *EinvoicePatchEntityParams) SetDefaults()

SetDefaults hydrates default values in the einvoice patch entity params (not the query body).

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

func (*EinvoicePatchEntityParams) SetEinvoiceRegistrationPatch

func (o *EinvoicePatchEntityParams) SetEinvoiceRegistrationPatch(einvoiceRegistrationPatch interface{})

SetEinvoiceRegistrationPatch adds the einvoiceRegistrationPatch to the einvoice patch entity params

func (*EinvoicePatchEntityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice patch entity params

func (*EinvoicePatchEntityParams) SetRegistrationID

func (o *EinvoicePatchEntityParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice patch entity params

func (*EinvoicePatchEntityParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice patch entity params

func (*EinvoicePatchEntityParams) WithContext

WithContext adds the context to the einvoice patch entity params

func (*EinvoicePatchEntityParams) WithDefaults

WithDefaults hydrates default values in the einvoice patch entity params (not the query body).

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

func (*EinvoicePatchEntityParams) WithEinvoiceRegistrationPatch

func (o *EinvoicePatchEntityParams) WithEinvoiceRegistrationPatch(einvoiceRegistrationPatch interface{}) *EinvoicePatchEntityParams

WithEinvoiceRegistrationPatch adds the einvoiceRegistrationPatch to the einvoice patch entity params

func (*EinvoicePatchEntityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the einvoice patch entity params

func (*EinvoicePatchEntityParams) WithRegistrationID

func (o *EinvoicePatchEntityParams) WithRegistrationID(registrationID int32) *EinvoicePatchEntityParams

WithRegistrationID adds the registrationID to the einvoice patch entity params

func (*EinvoicePatchEntityParams) WithTimeout

WithTimeout adds the timeout to the einvoice patch entity params

func (*EinvoicePatchEntityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoicePatchEntityReader

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

EinvoicePatchEntityReader is a Reader for the EinvoicePatchEntity structure.

func (*EinvoicePatchEntityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoicePatchOrderOK

type EinvoicePatchOrderOK struct {
	Payload string
}

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

Patch an E-document

func NewEinvoicePatchOrderOK

func NewEinvoicePatchOrderOK() *EinvoicePatchOrderOK

NewEinvoicePatchOrderOK creates a EinvoicePatchOrderOK with default headers values

func (*EinvoicePatchOrderOK) Code

func (o *EinvoicePatchOrderOK) Code() int

Code gets the status code for the einvoice patch order o k response

func (*EinvoicePatchOrderOK) Error

func (o *EinvoicePatchOrderOK) Error() string

func (*EinvoicePatchOrderOK) GetPayload

func (o *EinvoicePatchOrderOK) GetPayload() string

func (*EinvoicePatchOrderOK) IsClientError

func (o *EinvoicePatchOrderOK) IsClientError() bool

IsClientError returns true when this einvoice patch order o k response has a 4xx status code

func (*EinvoicePatchOrderOK) IsCode

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

IsCode returns true when this einvoice patch order o k response a status code equal to that given

func (*EinvoicePatchOrderOK) IsRedirect

func (o *EinvoicePatchOrderOK) IsRedirect() bool

IsRedirect returns true when this einvoice patch order o k response has a 3xx status code

func (*EinvoicePatchOrderOK) IsServerError

func (o *EinvoicePatchOrderOK) IsServerError() bool

IsServerError returns true when this einvoice patch order o k response has a 5xx status code

func (*EinvoicePatchOrderOK) IsSuccess

func (o *EinvoicePatchOrderOK) IsSuccess() bool

IsSuccess returns true when this einvoice patch order o k response has a 2xx status code

func (*EinvoicePatchOrderOK) String

func (o *EinvoicePatchOrderOK) String() string

type EinvoicePatchOrderParams

type EinvoicePatchOrderParams struct {

	// Delta.
	Delta interface{}

	// OrderID.
	//
	// Format: int32
	OrderID int32

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoicePatchOrderParams contains all the parameters to send to the API endpoint

for the einvoice patch order operation.

Typically these are written to a http.Request.

func NewEinvoicePatchOrderParams

func NewEinvoicePatchOrderParams() *EinvoicePatchOrderParams

NewEinvoicePatchOrderParams creates a new EinvoicePatchOrderParams 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 NewEinvoicePatchOrderParamsWithContext

func NewEinvoicePatchOrderParamsWithContext(ctx context.Context) *EinvoicePatchOrderParams

NewEinvoicePatchOrderParamsWithContext creates a new EinvoicePatchOrderParams object with the ability to set a context for a request.

func NewEinvoicePatchOrderParamsWithHTTPClient

func NewEinvoicePatchOrderParamsWithHTTPClient(client *http.Client) *EinvoicePatchOrderParams

NewEinvoicePatchOrderParamsWithHTTPClient creates a new EinvoicePatchOrderParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoicePatchOrderParamsWithTimeout

func NewEinvoicePatchOrderParamsWithTimeout(timeout time.Duration) *EinvoicePatchOrderParams

NewEinvoicePatchOrderParamsWithTimeout creates a new EinvoicePatchOrderParams object with the ability to set a timeout on a request.

func (*EinvoicePatchOrderParams) SetContext

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

SetContext adds the context to the einvoice patch order params

func (*EinvoicePatchOrderParams) SetDefaults

func (o *EinvoicePatchOrderParams) SetDefaults()

SetDefaults hydrates default values in the einvoice patch order params (not the query body).

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

func (*EinvoicePatchOrderParams) SetDelta

func (o *EinvoicePatchOrderParams) SetDelta(delta interface{})

SetDelta adds the delta to the einvoice patch order params

func (*EinvoicePatchOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice patch order params

func (*EinvoicePatchOrderParams) SetOrderID

func (o *EinvoicePatchOrderParams) SetOrderID(orderID int32)

SetOrderID adds the orderId to the einvoice patch order params

func (*EinvoicePatchOrderParams) SetRegistrationID

func (o *EinvoicePatchOrderParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice patch order params

func (*EinvoicePatchOrderParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice patch order params

func (*EinvoicePatchOrderParams) WithContext

WithContext adds the context to the einvoice patch order params

func (*EinvoicePatchOrderParams) WithDefaults

WithDefaults hydrates default values in the einvoice patch order params (not the query body).

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

func (*EinvoicePatchOrderParams) WithDelta

func (o *EinvoicePatchOrderParams) WithDelta(delta interface{}) *EinvoicePatchOrderParams

WithDelta adds the delta to the einvoice patch order params

func (*EinvoicePatchOrderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the einvoice patch order params

func (*EinvoicePatchOrderParams) WithOrderID

func (o *EinvoicePatchOrderParams) WithOrderID(orderID int32) *EinvoicePatchOrderParams

WithOrderID adds the orderID to the einvoice patch order params

func (*EinvoicePatchOrderParams) WithRegistrationID

func (o *EinvoicePatchOrderParams) WithRegistrationID(registrationID int32) *EinvoicePatchOrderParams

WithRegistrationID adds the registrationID to the einvoice patch order params

func (*EinvoicePatchOrderParams) WithTimeout

WithTimeout adds the timeout to the einvoice patch order params

func (*EinvoicePatchOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoicePatchOrderReader

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

EinvoicePatchOrderReader is a Reader for the EinvoicePatchOrder structure.

func (*EinvoicePatchOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoicePostRegistrationIntegrationOK

type EinvoicePostRegistrationIntegrationOK struct {
	Payload int32
}

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

Activate a new integration

func NewEinvoicePostRegistrationIntegrationOK

func NewEinvoicePostRegistrationIntegrationOK() *EinvoicePostRegistrationIntegrationOK

NewEinvoicePostRegistrationIntegrationOK creates a EinvoicePostRegistrationIntegrationOK with default headers values

func (*EinvoicePostRegistrationIntegrationOK) Code

Code gets the status code for the einvoice post registration integration o k response

func (*EinvoicePostRegistrationIntegrationOK) Error

func (*EinvoicePostRegistrationIntegrationOK) GetPayload

func (*EinvoicePostRegistrationIntegrationOK) IsClientError

func (o *EinvoicePostRegistrationIntegrationOK) IsClientError() bool

IsClientError returns true when this einvoice post registration integration o k response has a 4xx status code

func (*EinvoicePostRegistrationIntegrationOK) IsCode

IsCode returns true when this einvoice post registration integration o k response a status code equal to that given

func (*EinvoicePostRegistrationIntegrationOK) IsRedirect

IsRedirect returns true when this einvoice post registration integration o k response has a 3xx status code

func (*EinvoicePostRegistrationIntegrationOK) IsServerError

func (o *EinvoicePostRegistrationIntegrationOK) IsServerError() bool

IsServerError returns true when this einvoice post registration integration o k response has a 5xx status code

func (*EinvoicePostRegistrationIntegrationOK) IsSuccess

IsSuccess returns true when this einvoice post registration integration o k response has a 2xx status code

func (*EinvoicePostRegistrationIntegrationOK) String

type EinvoicePostRegistrationIntegrationParams

type EinvoicePostRegistrationIntegrationParams struct {

	// Post.
	Post *model.IntegrationPost

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

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

EinvoicePostRegistrationIntegrationParams contains all the parameters to send to the API endpoint

for the einvoice post registration integration operation.

Typically these are written to a http.Request.

func NewEinvoicePostRegistrationIntegrationParams

func NewEinvoicePostRegistrationIntegrationParams() *EinvoicePostRegistrationIntegrationParams

NewEinvoicePostRegistrationIntegrationParams creates a new EinvoicePostRegistrationIntegrationParams 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 NewEinvoicePostRegistrationIntegrationParamsWithContext

func NewEinvoicePostRegistrationIntegrationParamsWithContext(ctx context.Context) *EinvoicePostRegistrationIntegrationParams

NewEinvoicePostRegistrationIntegrationParamsWithContext creates a new EinvoicePostRegistrationIntegrationParams object with the ability to set a context for a request.

func NewEinvoicePostRegistrationIntegrationParamsWithHTTPClient

func NewEinvoicePostRegistrationIntegrationParamsWithHTTPClient(client *http.Client) *EinvoicePostRegistrationIntegrationParams

NewEinvoicePostRegistrationIntegrationParamsWithHTTPClient creates a new EinvoicePostRegistrationIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoicePostRegistrationIntegrationParamsWithTimeout

func NewEinvoicePostRegistrationIntegrationParamsWithTimeout(timeout time.Duration) *EinvoicePostRegistrationIntegrationParams

NewEinvoicePostRegistrationIntegrationParamsWithTimeout creates a new EinvoicePostRegistrationIntegrationParams object with the ability to set a timeout on a request.

func (*EinvoicePostRegistrationIntegrationParams) SetContext

SetContext adds the context to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) SetDefaults

SetDefaults hydrates default values in the einvoice post registration integration params (not the query body).

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

func (*EinvoicePostRegistrationIntegrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) SetPost

SetPost adds the post to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) SetRegistrationID

func (o *EinvoicePostRegistrationIntegrationParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) SetTimeout

SetTimeout adds the timeout to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) WithContext

WithContext adds the context to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) WithDefaults

WithDefaults hydrates default values in the einvoice post registration integration params (not the query body).

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

func (*EinvoicePostRegistrationIntegrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) WithPost

WithPost adds the post to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) WithRegistrationID

WithRegistrationID adds the registrationID to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) WithTimeout

WithTimeout adds the timeout to the einvoice post registration integration params

func (*EinvoicePostRegistrationIntegrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoicePostRegistrationIntegrationReader

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

EinvoicePostRegistrationIntegrationReader is a Reader for the EinvoicePostRegistrationIntegration structure.

func (*EinvoicePostRegistrationIntegrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoicePostRegistrationOK

type EinvoicePostRegistrationOK struct {
	Payload *model.AccountRegistrationResponse
}

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

Register a new entity

func NewEinvoicePostRegistrationOK

func NewEinvoicePostRegistrationOK() *EinvoicePostRegistrationOK

NewEinvoicePostRegistrationOK creates a EinvoicePostRegistrationOK with default headers values

func (*EinvoicePostRegistrationOK) Code

func (o *EinvoicePostRegistrationOK) Code() int

Code gets the status code for the einvoice post registration o k response

func (*EinvoicePostRegistrationOK) Error

func (*EinvoicePostRegistrationOK) GetPayload

func (*EinvoicePostRegistrationOK) IsClientError

func (o *EinvoicePostRegistrationOK) IsClientError() bool

IsClientError returns true when this einvoice post registration o k response has a 4xx status code

func (*EinvoicePostRegistrationOK) IsCode

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

IsCode returns true when this einvoice post registration o k response a status code equal to that given

func (*EinvoicePostRegistrationOK) IsRedirect

func (o *EinvoicePostRegistrationOK) IsRedirect() bool

IsRedirect returns true when this einvoice post registration o k response has a 3xx status code

func (*EinvoicePostRegistrationOK) IsServerError

func (o *EinvoicePostRegistrationOK) IsServerError() bool

IsServerError returns true when this einvoice post registration o k response has a 5xx status code

func (*EinvoicePostRegistrationOK) IsSuccess

func (o *EinvoicePostRegistrationOK) IsSuccess() bool

IsSuccess returns true when this einvoice post registration o k response has a 2xx status code

func (*EinvoicePostRegistrationOK) String

func (o *EinvoicePostRegistrationOK) String() string

type EinvoicePostRegistrationParams

type EinvoicePostRegistrationParams struct {

	// RegistrationRequest.
	RegistrationRequest *model.EinvoiceRegistrationPost

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

EinvoicePostRegistrationParams contains all the parameters to send to the API endpoint

for the einvoice post registration operation.

Typically these are written to a http.Request.

func NewEinvoicePostRegistrationParams

func NewEinvoicePostRegistrationParams() *EinvoicePostRegistrationParams

NewEinvoicePostRegistrationParams creates a new EinvoicePostRegistrationParams 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 NewEinvoicePostRegistrationParamsWithContext

func NewEinvoicePostRegistrationParamsWithContext(ctx context.Context) *EinvoicePostRegistrationParams

NewEinvoicePostRegistrationParamsWithContext creates a new EinvoicePostRegistrationParams object with the ability to set a context for a request.

func NewEinvoicePostRegistrationParamsWithHTTPClient

func NewEinvoicePostRegistrationParamsWithHTTPClient(client *http.Client) *EinvoicePostRegistrationParams

NewEinvoicePostRegistrationParamsWithHTTPClient creates a new EinvoicePostRegistrationParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoicePostRegistrationParamsWithTimeout

func NewEinvoicePostRegistrationParamsWithTimeout(timeout time.Duration) *EinvoicePostRegistrationParams

NewEinvoicePostRegistrationParamsWithTimeout creates a new EinvoicePostRegistrationParams object with the ability to set a timeout on a request.

func (*EinvoicePostRegistrationParams) SetContext

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

SetContext adds the context to the einvoice post registration params

func (*EinvoicePostRegistrationParams) SetDefaults

func (o *EinvoicePostRegistrationParams) SetDefaults()

SetDefaults hydrates default values in the einvoice post registration params (not the query body).

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

func (*EinvoicePostRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice post registration params

func (*EinvoicePostRegistrationParams) SetRegistrationRequest

func (o *EinvoicePostRegistrationParams) SetRegistrationRequest(registrationRequest *model.EinvoiceRegistrationPost)

SetRegistrationRequest adds the registrationRequest to the einvoice post registration params

func (*EinvoicePostRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice post registration params

func (*EinvoicePostRegistrationParams) WithContext

WithContext adds the context to the einvoice post registration params

func (*EinvoicePostRegistrationParams) WithDefaults

WithDefaults hydrates default values in the einvoice post registration params (not the query body).

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

func (*EinvoicePostRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the einvoice post registration params

func (*EinvoicePostRegistrationParams) WithRegistrationRequest

func (o *EinvoicePostRegistrationParams) WithRegistrationRequest(registrationRequest *model.EinvoiceRegistrationPost) *EinvoicePostRegistrationParams

WithRegistrationRequest adds the registrationRequest to the einvoice post registration params

func (*EinvoicePostRegistrationParams) WithTimeout

WithTimeout adds the timeout to the einvoice post registration params

func (*EinvoicePostRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoicePostRegistrationReader

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

EinvoicePostRegistrationReader is a Reader for the EinvoicePostRegistration structure.

func (*EinvoicePostRegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoicePostSendOK

type EinvoicePostSendOK struct {
	Payload int32
}

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

Create and Send an E-document

func NewEinvoicePostSendOK

func NewEinvoicePostSendOK() *EinvoicePostSendOK

NewEinvoicePostSendOK creates a EinvoicePostSendOK with default headers values

func (*EinvoicePostSendOK) Code

func (o *EinvoicePostSendOK) Code() int

Code gets the status code for the einvoice post send o k response

func (*EinvoicePostSendOK) Error

func (o *EinvoicePostSendOK) Error() string

func (*EinvoicePostSendOK) GetPayload

func (o *EinvoicePostSendOK) GetPayload() int32

func (*EinvoicePostSendOK) IsClientError

func (o *EinvoicePostSendOK) IsClientError() bool

IsClientError returns true when this einvoice post send o k response has a 4xx status code

func (*EinvoicePostSendOK) IsCode

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

IsCode returns true when this einvoice post send o k response a status code equal to that given

func (*EinvoicePostSendOK) IsRedirect

func (o *EinvoicePostSendOK) IsRedirect() bool

IsRedirect returns true when this einvoice post send o k response has a 3xx status code

func (*EinvoicePostSendOK) IsServerError

func (o *EinvoicePostSendOK) IsServerError() bool

IsServerError returns true when this einvoice post send o k response has a 5xx status code

func (*EinvoicePostSendOK) IsSuccess

func (o *EinvoicePostSendOK) IsSuccess() bool

IsSuccess returns true when this einvoice post send o k response has a 2xx status code

func (*EinvoicePostSendOK) String

func (o *EinvoicePostSendOK) String() string

type EinvoicePostSendParams

type EinvoicePostSendParams struct {

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

	// SendRequest.
	SendRequest *model.CreateAndSendEDocumentPost

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

EinvoicePostSendParams contains all the parameters to send to the API endpoint

for the einvoice post send operation.

Typically these are written to a http.Request.

func NewEinvoicePostSendParams

func NewEinvoicePostSendParams() *EinvoicePostSendParams

NewEinvoicePostSendParams creates a new EinvoicePostSendParams 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 NewEinvoicePostSendParamsWithContext

func NewEinvoicePostSendParamsWithContext(ctx context.Context) *EinvoicePostSendParams

NewEinvoicePostSendParamsWithContext creates a new EinvoicePostSendParams object with the ability to set a context for a request.

func NewEinvoicePostSendParamsWithHTTPClient

func NewEinvoicePostSendParamsWithHTTPClient(client *http.Client) *EinvoicePostSendParams

NewEinvoicePostSendParamsWithHTTPClient creates a new EinvoicePostSendParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoicePostSendParamsWithTimeout

func NewEinvoicePostSendParamsWithTimeout(timeout time.Duration) *EinvoicePostSendParams

NewEinvoicePostSendParamsWithTimeout creates a new EinvoicePostSendParams object with the ability to set a timeout on a request.

func (*EinvoicePostSendParams) SetContext

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

SetContext adds the context to the einvoice post send params

func (*EinvoicePostSendParams) SetDefaults

func (o *EinvoicePostSendParams) SetDefaults()

SetDefaults hydrates default values in the einvoice post send params (not the query body).

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

func (*EinvoicePostSendParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice post send params

func (*EinvoicePostSendParams) SetRegistrationID

func (o *EinvoicePostSendParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice post send params

func (*EinvoicePostSendParams) SetSendRequest

func (o *EinvoicePostSendParams) SetSendRequest(sendRequest *model.CreateAndSendEDocumentPost)

SetSendRequest adds the sendRequest to the einvoice post send params

func (*EinvoicePostSendParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice post send params

func (*EinvoicePostSendParams) WithContext

WithContext adds the context to the einvoice post send params

func (*EinvoicePostSendParams) WithDefaults

WithDefaults hydrates default values in the einvoice post send params (not the query body).

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

func (*EinvoicePostSendParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the einvoice post send params

func (*EinvoicePostSendParams) WithRegistrationID

func (o *EinvoicePostSendParams) WithRegistrationID(registrationID int32) *EinvoicePostSendParams

WithRegistrationID adds the registrationID to the einvoice post send params

func (*EinvoicePostSendParams) WithSendRequest

WithSendRequest adds the sendRequest to the einvoice post send params

func (*EinvoicePostSendParams) WithTimeout

WithTimeout adds the timeout to the einvoice post send params

func (*EinvoicePostSendParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoicePostSendReader

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

EinvoicePostSendReader is a Reader for the EinvoicePostSend structure.

func (*EinvoicePostSendReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoicePostWebhookOK

type EinvoicePostWebhookOK struct {
	Payload *model.Webhook
}

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

Save an webhook

func NewEinvoicePostWebhookOK

func NewEinvoicePostWebhookOK() *EinvoicePostWebhookOK

NewEinvoicePostWebhookOK creates a EinvoicePostWebhookOK with default headers values

func (*EinvoicePostWebhookOK) Code

func (o *EinvoicePostWebhookOK) Code() int

Code gets the status code for the einvoice post webhook o k response

func (*EinvoicePostWebhookOK) Error

func (o *EinvoicePostWebhookOK) Error() string

func (*EinvoicePostWebhookOK) GetPayload

func (o *EinvoicePostWebhookOK) GetPayload() *model.Webhook

func (*EinvoicePostWebhookOK) IsClientError

func (o *EinvoicePostWebhookOK) IsClientError() bool

IsClientError returns true when this einvoice post webhook o k response has a 4xx status code

func (*EinvoicePostWebhookOK) IsCode

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

IsCode returns true when this einvoice post webhook o k response a status code equal to that given

func (*EinvoicePostWebhookOK) IsRedirect

func (o *EinvoicePostWebhookOK) IsRedirect() bool

IsRedirect returns true when this einvoice post webhook o k response has a 3xx status code

func (*EinvoicePostWebhookOK) IsServerError

func (o *EinvoicePostWebhookOK) IsServerError() bool

IsServerError returns true when this einvoice post webhook o k response has a 5xx status code

func (*EinvoicePostWebhookOK) IsSuccess

func (o *EinvoicePostWebhookOK) IsSuccess() bool

IsSuccess returns true when this einvoice post webhook o k response has a 2xx status code

func (*EinvoicePostWebhookOK) String

func (o *EinvoicePostWebhookOK) String() string

type EinvoicePostWebhookParams

type EinvoicePostWebhookParams struct {

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

	// Webhook.
	Webhook *model.Webhook

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

EinvoicePostWebhookParams contains all the parameters to send to the API endpoint

for the einvoice post webhook operation.

Typically these are written to a http.Request.

func NewEinvoicePostWebhookParams

func NewEinvoicePostWebhookParams() *EinvoicePostWebhookParams

NewEinvoicePostWebhookParams creates a new EinvoicePostWebhookParams 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 NewEinvoicePostWebhookParamsWithContext

func NewEinvoicePostWebhookParamsWithContext(ctx context.Context) *EinvoicePostWebhookParams

NewEinvoicePostWebhookParamsWithContext creates a new EinvoicePostWebhookParams object with the ability to set a context for a request.

func NewEinvoicePostWebhookParamsWithHTTPClient

func NewEinvoicePostWebhookParamsWithHTTPClient(client *http.Client) *EinvoicePostWebhookParams

NewEinvoicePostWebhookParamsWithHTTPClient creates a new EinvoicePostWebhookParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoicePostWebhookParamsWithTimeout

func NewEinvoicePostWebhookParamsWithTimeout(timeout time.Duration) *EinvoicePostWebhookParams

NewEinvoicePostWebhookParamsWithTimeout creates a new EinvoicePostWebhookParams object with the ability to set a timeout on a request.

func (*EinvoicePostWebhookParams) SetContext

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

SetContext adds the context to the einvoice post webhook params

func (*EinvoicePostWebhookParams) SetDefaults

func (o *EinvoicePostWebhookParams) SetDefaults()

SetDefaults hydrates default values in the einvoice post webhook params (not the query body).

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

func (*EinvoicePostWebhookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice post webhook params

func (*EinvoicePostWebhookParams) SetRegistrationID

func (o *EinvoicePostWebhookParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice post webhook params

func (*EinvoicePostWebhookParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice post webhook params

func (*EinvoicePostWebhookParams) SetWebhook

func (o *EinvoicePostWebhookParams) SetWebhook(webhook *model.Webhook)

SetWebhook adds the webhook to the einvoice post webhook params

func (*EinvoicePostWebhookParams) WithContext

WithContext adds the context to the einvoice post webhook params

func (*EinvoicePostWebhookParams) WithDefaults

WithDefaults hydrates default values in the einvoice post webhook params (not the query body).

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

func (*EinvoicePostWebhookParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the einvoice post webhook params

func (*EinvoicePostWebhookParams) WithRegistrationID

func (o *EinvoicePostWebhookParams) WithRegistrationID(registrationID int32) *EinvoicePostWebhookParams

WithRegistrationID adds the registrationID to the einvoice post webhook params

func (*EinvoicePostWebhookParams) WithTimeout

WithTimeout adds the timeout to the einvoice post webhook params

func (*EinvoicePostWebhookParams) WithWebhook

WithWebhook adds the webhook to the einvoice post webhook params

func (*EinvoicePostWebhookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoicePostWebhookReader

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

EinvoicePostWebhookReader is a Reader for the EinvoicePostWebhook structure.

func (*EinvoicePostWebhookReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EinvoiceRefreshWebhookSecretOK

type EinvoiceRefreshWebhookSecretOK struct {
	Payload string
}

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

Refresh an webhook secret

func NewEinvoiceRefreshWebhookSecretOK

func NewEinvoiceRefreshWebhookSecretOK() *EinvoiceRefreshWebhookSecretOK

NewEinvoiceRefreshWebhookSecretOK creates a EinvoiceRefreshWebhookSecretOK with default headers values

func (*EinvoiceRefreshWebhookSecretOK) Code

Code gets the status code for the einvoice refresh webhook secret o k response

func (*EinvoiceRefreshWebhookSecretOK) Error

func (*EinvoiceRefreshWebhookSecretOK) GetPayload

func (o *EinvoiceRefreshWebhookSecretOK) GetPayload() string

func (*EinvoiceRefreshWebhookSecretOK) IsClientError

func (o *EinvoiceRefreshWebhookSecretOK) IsClientError() bool

IsClientError returns true when this einvoice refresh webhook secret o k response has a 4xx status code

func (*EinvoiceRefreshWebhookSecretOK) IsCode

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

IsCode returns true when this einvoice refresh webhook secret o k response a status code equal to that given

func (*EinvoiceRefreshWebhookSecretOK) IsRedirect

func (o *EinvoiceRefreshWebhookSecretOK) IsRedirect() bool

IsRedirect returns true when this einvoice refresh webhook secret o k response has a 3xx status code

func (*EinvoiceRefreshWebhookSecretOK) IsServerError

func (o *EinvoiceRefreshWebhookSecretOK) IsServerError() bool

IsServerError returns true when this einvoice refresh webhook secret o k response has a 5xx status code

func (*EinvoiceRefreshWebhookSecretOK) IsSuccess

func (o *EinvoiceRefreshWebhookSecretOK) IsSuccess() bool

IsSuccess returns true when this einvoice refresh webhook secret o k response has a 2xx status code

func (*EinvoiceRefreshWebhookSecretOK) String

type EinvoiceRefreshWebhookSecretParams

type EinvoiceRefreshWebhookSecretParams struct {

	// RegistrationID.
	//
	// Format: int32
	RegistrationID int32

	// WebhookID.
	//
	// Format: int32
	WebhookID int32

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

EinvoiceRefreshWebhookSecretParams contains all the parameters to send to the API endpoint

for the einvoice refresh webhook secret operation.

Typically these are written to a http.Request.

func NewEinvoiceRefreshWebhookSecretParams

func NewEinvoiceRefreshWebhookSecretParams() *EinvoiceRefreshWebhookSecretParams

NewEinvoiceRefreshWebhookSecretParams creates a new EinvoiceRefreshWebhookSecretParams 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 NewEinvoiceRefreshWebhookSecretParamsWithContext

func NewEinvoiceRefreshWebhookSecretParamsWithContext(ctx context.Context) *EinvoiceRefreshWebhookSecretParams

NewEinvoiceRefreshWebhookSecretParamsWithContext creates a new EinvoiceRefreshWebhookSecretParams object with the ability to set a context for a request.

func NewEinvoiceRefreshWebhookSecretParamsWithHTTPClient

func NewEinvoiceRefreshWebhookSecretParamsWithHTTPClient(client *http.Client) *EinvoiceRefreshWebhookSecretParams

NewEinvoiceRefreshWebhookSecretParamsWithHTTPClient creates a new EinvoiceRefreshWebhookSecretParams object with the ability to set a custom HTTPClient for a request.

func NewEinvoiceRefreshWebhookSecretParamsWithTimeout

func NewEinvoiceRefreshWebhookSecretParamsWithTimeout(timeout time.Duration) *EinvoiceRefreshWebhookSecretParams

NewEinvoiceRefreshWebhookSecretParamsWithTimeout creates a new EinvoiceRefreshWebhookSecretParams object with the ability to set a timeout on a request.

func (*EinvoiceRefreshWebhookSecretParams) SetContext

SetContext adds the context to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) SetDefaults

func (o *EinvoiceRefreshWebhookSecretParams) SetDefaults()

SetDefaults hydrates default values in the einvoice refresh webhook secret params (not the query body).

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

func (*EinvoiceRefreshWebhookSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) SetRegistrationID

func (o *EinvoiceRefreshWebhookSecretParams) SetRegistrationID(registrationID int32)

SetRegistrationID adds the registrationId to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) SetTimeout

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

SetTimeout adds the timeout to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) SetWebhookID

func (o *EinvoiceRefreshWebhookSecretParams) SetWebhookID(webhookID int32)

SetWebhookID adds the webhookId to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) WithContext

WithContext adds the context to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) WithDefaults

WithDefaults hydrates default values in the einvoice refresh webhook secret params (not the query body).

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

func (*EinvoiceRefreshWebhookSecretParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) WithRegistrationID

func (o *EinvoiceRefreshWebhookSecretParams) WithRegistrationID(registrationID int32) *EinvoiceRefreshWebhookSecretParams

WithRegistrationID adds the registrationID to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) WithTimeout

WithTimeout adds the timeout to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) WithWebhookID

WithWebhookID adds the webhookID to the einvoice refresh webhook secret params

func (*EinvoiceRefreshWebhookSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EinvoiceRefreshWebhookSecretReader

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

EinvoiceRefreshWebhookSecretReader is a Reader for the EinvoiceRefreshWebhookSecret structure.

func (*EinvoiceRefreshWebhookSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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