invoice

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for invoice API

func (*Client) InvoiceCreateCreditNoteCreateCreditNote

InvoiceCreateCreditNoteCreateCreditNote creates a new invoice representing a credit memo that nullifies the given invoice updates this invoice and any pre existing inverse invoice

func (*Client) InvoiceCreateReminderCreateReminder

func (a *Client) InvoiceCreateReminderCreateReminder(params *InvoiceCreateReminderCreateReminderParams, authInfo runtime.ClientAuthInfoWriter) error

InvoiceCreateReminderCreateReminder creates invoice reminder and sends it by the given dispatch type supports the reminder types s o f t r e m i n d e r r e m i n d e r and n o t i c e o f d e b t c o l l e c t i o n dispatch type n e t s p r i n t must have type n o t i c e o f d e b t c o l l e c t i o n s m s and n e t s p r i n t must be activated prior to usage in the API

func (*Client) InvoiceGet

func (a *Client) InvoiceGet(params *InvoiceGetParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceGetOK, error)

InvoiceGet gets invoice by ID

func (*Client) InvoiceListPostList

func (a *Client) InvoiceListPostList(params *InvoiceListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceListPostListCreated, error)

InvoiceListPostList bs e t a create multiple invoices max 100 at a time

func (*Client) InvoicePaymentPayment

func (a *Client) InvoicePaymentPayment(params *InvoicePaymentPaymentParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePaymentPaymentOK, error)

InvoicePaymentPayment updates invoice the invoice is updated with payment information the amount is in the invoice s currency

func (*Client) InvoicePdfDownloadPdf

func (a *Client) InvoicePdfDownloadPdf(params *InvoicePdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePdfDownloadPdfOK, error)

InvoicePdfDownloadPdf gets invoice document by invoice ID

func (*Client) InvoicePost

func (a *Client) InvoicePost(params *InvoicePostParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePostCreated, error)

InvoicePost creates invoice related order and order lines can be created first or included as new objects inside the invoice

func (*Client) InvoiceSearch

func (a *Client) InvoiceSearch(params *InvoiceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceSearchOK, error)

InvoiceSearch finds invoices corresponding with sent data includes charged outgoing invoices only

func (*Client) InvoiceSendSend

func (a *Client) InvoiceSendSend(params *InvoiceSendSendParams, authInfo runtime.ClientAuthInfoWriter) error

InvoiceSendSend sends invoice by ID and send type optionally override email recipient

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	InvoiceCreateCreditNoteCreateCreditNote(params *InvoiceCreateCreditNoteCreateCreditNoteParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceCreateCreditNoteCreateCreditNoteOK, error)

	InvoiceCreateReminderCreateReminder(params *InvoiceCreateReminderCreateReminderParams, authInfo runtime.ClientAuthInfoWriter) error

	InvoiceListPostList(params *InvoiceListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceListPostListCreated, error)

	InvoicePaymentPayment(params *InvoicePaymentPaymentParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePaymentPaymentOK, error)

	InvoicePdfDownloadPdf(params *InvoicePdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePdfDownloadPdfOK, error)

	InvoiceSendSend(params *InvoiceSendSendParams, authInfo runtime.ClientAuthInfoWriter) error

	InvoiceGet(params *InvoiceGetParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceGetOK, error)

	InvoicePost(params *InvoicePostParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePostCreated, error)

	InvoiceSearch(params *InvoiceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceSearchOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new invoice API client.

type InvoiceCreateCreditNoteCreateCreditNoteOK

type InvoiceCreateCreditNoteCreateCreditNoteOK struct {
	Payload *models.ResponseWrapperInvoice
}

InvoiceCreateCreditNoteCreateCreditNoteOK handles this case with default header values.

successful operation

func NewInvoiceCreateCreditNoteCreateCreditNoteOK

func NewInvoiceCreateCreditNoteCreateCreditNoteOK() *InvoiceCreateCreditNoteCreateCreditNoteOK

NewInvoiceCreateCreditNoteCreateCreditNoteOK creates a InvoiceCreateCreditNoteCreateCreditNoteOK with default headers values

func (*InvoiceCreateCreditNoteCreateCreditNoteOK) Error

func (*InvoiceCreateCreditNoteCreateCreditNoteOK) GetPayload

type InvoiceCreateCreditNoteCreateCreditNoteParams

type InvoiceCreateCreditNoteCreateCreditNoteParams struct {

	/*Comment
	  Comment

	*/
	Comment *string
	/*CreditNoteEmail
	  The credit note will be sent electronically if this field is filled out

	*/
	CreditNoteEmail *string
	/*Date
	  Credit note date

	*/
	Date string
	/*ID
	  Invoice id

	*/
	ID int32

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

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

func NewInvoiceCreateCreditNoteCreateCreditNoteParams

func NewInvoiceCreateCreditNoteCreateCreditNoteParams() *InvoiceCreateCreditNoteCreateCreditNoteParams

NewInvoiceCreateCreditNoteCreateCreditNoteParams creates a new InvoiceCreateCreditNoteCreateCreditNoteParams object with the default values initialized.

func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithContext

func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithContext(ctx context.Context) *InvoiceCreateCreditNoteCreateCreditNoteParams

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

func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithHTTPClient

func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithHTTPClient(client *http.Client) *InvoiceCreateCreditNoteCreateCreditNoteParams

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

func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithTimeout

func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithTimeout(timeout time.Duration) *InvoiceCreateCreditNoteCreateCreditNoteParams

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

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) SetComment

func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetComment(comment *string)

SetComment adds the comment to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) SetContext

SetContext adds the context to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) SetCreditNoteEmail

func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetCreditNoteEmail(creditNoteEmail *string)

SetCreditNoteEmail adds the creditNoteEmail to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) SetDate

SetDate adds the date to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) SetID

SetID adds the id to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) SetTimeout

SetTimeout adds the timeout to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithComment

WithComment adds the comment to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithContext

WithContext adds the context to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithCreditNoteEmail

WithCreditNoteEmail adds the creditNoteEmail to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithDate

WithDate adds the date to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithID

WithID adds the id to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithTimeout

WithTimeout adds the timeout to the invoice create credit note create credit note params

func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvoiceCreateCreditNoteCreateCreditNoteReader

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

InvoiceCreateCreditNoteCreateCreditNoteReader is a Reader for the InvoiceCreateCreditNoteCreateCreditNote structure.

func (*InvoiceCreateCreditNoteCreateCreditNoteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoiceCreateReminderCreateReminderDefault

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

InvoiceCreateReminderCreateReminderDefault handles this case with default header values.

successful operation

func NewInvoiceCreateReminderCreateReminderDefault

func NewInvoiceCreateReminderCreateReminderDefault(code int) *InvoiceCreateReminderCreateReminderDefault

NewInvoiceCreateReminderCreateReminderDefault creates a InvoiceCreateReminderCreateReminderDefault with default headers values

func (*InvoiceCreateReminderCreateReminderDefault) Code

Code gets the status code for the invoice create reminder create reminder default response

func (*InvoiceCreateReminderCreateReminderDefault) Error

type InvoiceCreateReminderCreateReminderParams

type InvoiceCreateReminderCreateReminderParams struct {

	/*Date
	  yyyy-MM-dd. Defaults to today.

	*/
	Date string
	/*DispatchType
	  dispatchType

	*/
	DispatchType string
	/*ID
	  Element ID

	*/
	ID int32
	/*IncludeCharge
	  Equals

	*/
	IncludeCharge *bool
	/*IncludeInterest
	  Equals

	*/
	IncludeInterest *bool
	/*SmsNumber
	  SMS number (must be a valid Norwegian telephone number)

	*/
	SmsNumber *string
	/*Type
	  type

	*/
	Type string

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

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

func NewInvoiceCreateReminderCreateReminderParams

func NewInvoiceCreateReminderCreateReminderParams() *InvoiceCreateReminderCreateReminderParams

NewInvoiceCreateReminderCreateReminderParams creates a new InvoiceCreateReminderCreateReminderParams object with the default values initialized.

func NewInvoiceCreateReminderCreateReminderParamsWithContext

func NewInvoiceCreateReminderCreateReminderParamsWithContext(ctx context.Context) *InvoiceCreateReminderCreateReminderParams

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

func NewInvoiceCreateReminderCreateReminderParamsWithHTTPClient

func NewInvoiceCreateReminderCreateReminderParamsWithHTTPClient(client *http.Client) *InvoiceCreateReminderCreateReminderParams

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

func NewInvoiceCreateReminderCreateReminderParamsWithTimeout

func NewInvoiceCreateReminderCreateReminderParamsWithTimeout(timeout time.Duration) *InvoiceCreateReminderCreateReminderParams

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

func (*InvoiceCreateReminderCreateReminderParams) SetContext

SetContext adds the context to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetDate

SetDate adds the date to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetDispatchType

func (o *InvoiceCreateReminderCreateReminderParams) SetDispatchType(dispatchType string)

SetDispatchType adds the dispatchType to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetID

SetID adds the id to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetIncludeCharge

func (o *InvoiceCreateReminderCreateReminderParams) SetIncludeCharge(includeCharge *bool)

SetIncludeCharge adds the includeCharge to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetIncludeInterest

func (o *InvoiceCreateReminderCreateReminderParams) SetIncludeInterest(includeInterest *bool)

SetIncludeInterest adds the includeInterest to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetSmsNumber

func (o *InvoiceCreateReminderCreateReminderParams) SetSmsNumber(smsNumber *string)

SetSmsNumber adds the smsNumber to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetTimeout

SetTimeout adds the timeout to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) SetType

SetType adds the type to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithContext

WithContext adds the context to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithDate

WithDate adds the date to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithDispatchType

WithDispatchType adds the dispatchType to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithID

WithID adds the id to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithIncludeCharge

WithIncludeCharge adds the includeCharge to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithIncludeInterest

WithIncludeInterest adds the includeInterest to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithSmsNumber

WithSmsNumber adds the smsNumber to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithTimeout

WithTimeout adds the timeout to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WithType

WithType adds the typeVar to the invoice create reminder create reminder params

func (*InvoiceCreateReminderCreateReminderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvoiceCreateReminderCreateReminderReader

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

InvoiceCreateReminderCreateReminderReader is a Reader for the InvoiceCreateReminderCreateReminder structure.

func (*InvoiceCreateReminderCreateReminderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoiceGetOK

type InvoiceGetOK struct {
	Payload *models.ResponseWrapperInvoice
}

InvoiceGetOK handles this case with default header values.

successful operation

func NewInvoiceGetOK

func NewInvoiceGetOK() *InvoiceGetOK

NewInvoiceGetOK creates a InvoiceGetOK with default headers values

func (*InvoiceGetOK) Error

func (o *InvoiceGetOK) Error() string

func (*InvoiceGetOK) GetPayload

func (o *InvoiceGetOK) GetPayload() *models.ResponseWrapperInvoice

type InvoiceGetParams

type InvoiceGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewInvoiceGetParams

func NewInvoiceGetParams() *InvoiceGetParams

NewInvoiceGetParams creates a new InvoiceGetParams object with the default values initialized.

func NewInvoiceGetParamsWithContext

func NewInvoiceGetParamsWithContext(ctx context.Context) *InvoiceGetParams

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

func NewInvoiceGetParamsWithHTTPClient

func NewInvoiceGetParamsWithHTTPClient(client *http.Client) *InvoiceGetParams

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

func NewInvoiceGetParamsWithTimeout

func NewInvoiceGetParamsWithTimeout(timeout time.Duration) *InvoiceGetParams

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

func (*InvoiceGetParams) SetContext

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

SetContext adds the context to the invoice get params

func (*InvoiceGetParams) SetFields

func (o *InvoiceGetParams) SetFields(fields *string)

SetFields adds the fields to the invoice get params

func (*InvoiceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice get params

func (*InvoiceGetParams) SetID

func (o *InvoiceGetParams) SetID(id int32)

SetID adds the id to the invoice get params

func (*InvoiceGetParams) SetTimeout

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

SetTimeout adds the timeout to the invoice get params

func (*InvoiceGetParams) WithContext

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

WithContext adds the context to the invoice get params

func (*InvoiceGetParams) WithFields

func (o *InvoiceGetParams) WithFields(fields *string) *InvoiceGetParams

WithFields adds the fields to the invoice get params

func (*InvoiceGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the invoice get params

func (*InvoiceGetParams) WithID

func (o *InvoiceGetParams) WithID(id int32) *InvoiceGetParams

WithID adds the id to the invoice get params

func (*InvoiceGetParams) WithTimeout

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

WithTimeout adds the timeout to the invoice get params

func (*InvoiceGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type InvoiceGetReader

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

InvoiceGetReader is a Reader for the InvoiceGet structure.

func (*InvoiceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoiceListPostListCreated

type InvoiceListPostListCreated struct {
	Payload *models.ListResponseInvoice
}

InvoiceListPostListCreated handles this case with default header values.

successfully created

func NewInvoiceListPostListCreated

func NewInvoiceListPostListCreated() *InvoiceListPostListCreated

NewInvoiceListPostListCreated creates a InvoiceListPostListCreated with default headers values

func (*InvoiceListPostListCreated) Error

func (*InvoiceListPostListCreated) GetPayload

type InvoiceListPostListParams

type InvoiceListPostListParams struct {

	/*Body
	  JSON representing a list of new object to be created. Should not have ID and version set.

	*/
	Body []*models.Invoice
	/*SendToCustomer
	  Equals

	*/
	SendToCustomer *bool

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

InvoiceListPostListParams contains all the parameters to send to the API endpoint for the invoice list post list operation typically these are written to a http.Request

func NewInvoiceListPostListParams

func NewInvoiceListPostListParams() *InvoiceListPostListParams

NewInvoiceListPostListParams creates a new InvoiceListPostListParams object with the default values initialized.

func NewInvoiceListPostListParamsWithContext

func NewInvoiceListPostListParamsWithContext(ctx context.Context) *InvoiceListPostListParams

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

func NewInvoiceListPostListParamsWithHTTPClient

func NewInvoiceListPostListParamsWithHTTPClient(client *http.Client) *InvoiceListPostListParams

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

func NewInvoiceListPostListParamsWithTimeout

func NewInvoiceListPostListParamsWithTimeout(timeout time.Duration) *InvoiceListPostListParams

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

func (*InvoiceListPostListParams) SetBody

func (o *InvoiceListPostListParams) SetBody(body []*models.Invoice)

SetBody adds the body to the invoice list post list params

func (*InvoiceListPostListParams) SetContext

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

SetContext adds the context to the invoice list post list params

func (*InvoiceListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice list post list params

func (*InvoiceListPostListParams) SetSendToCustomer

func (o *InvoiceListPostListParams) SetSendToCustomer(sendToCustomer *bool)

SetSendToCustomer adds the sendToCustomer to the invoice list post list params

func (*InvoiceListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the invoice list post list params

func (*InvoiceListPostListParams) WithBody

WithBody adds the body to the invoice list post list params

func (*InvoiceListPostListParams) WithContext

WithContext adds the context to the invoice list post list params

func (*InvoiceListPostListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the invoice list post list params

func (*InvoiceListPostListParams) WithSendToCustomer

func (o *InvoiceListPostListParams) WithSendToCustomer(sendToCustomer *bool) *InvoiceListPostListParams

WithSendToCustomer adds the sendToCustomer to the invoice list post list params

func (*InvoiceListPostListParams) WithTimeout

WithTimeout adds the timeout to the invoice list post list params

func (*InvoiceListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvoiceListPostListReader

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

InvoiceListPostListReader is a Reader for the InvoiceListPostList structure.

func (*InvoiceListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoicePaymentPaymentOK

type InvoicePaymentPaymentOK struct {
	Payload *models.ResponseWrapperInvoice
}

InvoicePaymentPaymentOK handles this case with default header values.

successful operation

func NewInvoicePaymentPaymentOK

func NewInvoicePaymentPaymentOK() *InvoicePaymentPaymentOK

NewInvoicePaymentPaymentOK creates a InvoicePaymentPaymentOK with default headers values

func (*InvoicePaymentPaymentOK) Error

func (o *InvoicePaymentPaymentOK) Error() string

func (*InvoicePaymentPaymentOK) GetPayload

type InvoicePaymentPaymentParams

type InvoicePaymentPaymentParams struct {

	/*ID
	  Invoice id

	*/
	ID int32
	/*PaidAmount
	  Amount paid by customer in the company currency, typically NOK.

	*/
	PaidAmount float64
	/*PaidAmountCurrency
	  Amount paid by customer in the invoice currency. Optional, but required for invoices in alternate currencies.

	*/
	PaidAmountCurrency *float64
	/*PaymentDate
	  Payment date

	*/
	PaymentDate string
	/*PaymentTypeID
	  PaymentType id

	*/
	PaymentTypeID int32

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

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

func NewInvoicePaymentPaymentParams

func NewInvoicePaymentPaymentParams() *InvoicePaymentPaymentParams

NewInvoicePaymentPaymentParams creates a new InvoicePaymentPaymentParams object with the default values initialized.

func NewInvoicePaymentPaymentParamsWithContext

func NewInvoicePaymentPaymentParamsWithContext(ctx context.Context) *InvoicePaymentPaymentParams

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

func NewInvoicePaymentPaymentParamsWithHTTPClient

func NewInvoicePaymentPaymentParamsWithHTTPClient(client *http.Client) *InvoicePaymentPaymentParams

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

func NewInvoicePaymentPaymentParamsWithTimeout

func NewInvoicePaymentPaymentParamsWithTimeout(timeout time.Duration) *InvoicePaymentPaymentParams

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

func (*InvoicePaymentPaymentParams) SetContext

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

SetContext adds the context to the invoice payment payment params

func (*InvoicePaymentPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice payment payment params

func (*InvoicePaymentPaymentParams) SetID

func (o *InvoicePaymentPaymentParams) SetID(id int32)

SetID adds the id to the invoice payment payment params

func (*InvoicePaymentPaymentParams) SetPaidAmount

func (o *InvoicePaymentPaymentParams) SetPaidAmount(paidAmount float64)

SetPaidAmount adds the paidAmount to the invoice payment payment params

func (*InvoicePaymentPaymentParams) SetPaidAmountCurrency

func (o *InvoicePaymentPaymentParams) SetPaidAmountCurrency(paidAmountCurrency *float64)

SetPaidAmountCurrency adds the paidAmountCurrency to the invoice payment payment params

func (*InvoicePaymentPaymentParams) SetPaymentDate

func (o *InvoicePaymentPaymentParams) SetPaymentDate(paymentDate string)

SetPaymentDate adds the paymentDate to the invoice payment payment params

func (*InvoicePaymentPaymentParams) SetPaymentTypeID

func (o *InvoicePaymentPaymentParams) SetPaymentTypeID(paymentTypeID int32)

SetPaymentTypeID adds the paymentTypeId to the invoice payment payment params

func (*InvoicePaymentPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WithContext

WithContext adds the context to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WithID

WithID adds the id to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WithPaidAmount

func (o *InvoicePaymentPaymentParams) WithPaidAmount(paidAmount float64) *InvoicePaymentPaymentParams

WithPaidAmount adds the paidAmount to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WithPaidAmountCurrency

func (o *InvoicePaymentPaymentParams) WithPaidAmountCurrency(paidAmountCurrency *float64) *InvoicePaymentPaymentParams

WithPaidAmountCurrency adds the paidAmountCurrency to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WithPaymentDate

func (o *InvoicePaymentPaymentParams) WithPaymentDate(paymentDate string) *InvoicePaymentPaymentParams

WithPaymentDate adds the paymentDate to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WithPaymentTypeID

func (o *InvoicePaymentPaymentParams) WithPaymentTypeID(paymentTypeID int32) *InvoicePaymentPaymentParams

WithPaymentTypeID adds the paymentTypeID to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WithTimeout

WithTimeout adds the timeout to the invoice payment payment params

func (*InvoicePaymentPaymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvoicePaymentPaymentReader

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

InvoicePaymentPaymentReader is a Reader for the InvoicePaymentPayment structure.

func (*InvoicePaymentPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoicePdfDownloadPdfOK

type InvoicePdfDownloadPdfOK struct {
	Payload strfmt.Base64
}

InvoicePdfDownloadPdfOK handles this case with default header values.

successful operation

func NewInvoicePdfDownloadPdfOK

func NewInvoicePdfDownloadPdfOK() *InvoicePdfDownloadPdfOK

NewInvoicePdfDownloadPdfOK creates a InvoicePdfDownloadPdfOK with default headers values

func (*InvoicePdfDownloadPdfOK) Error

func (o *InvoicePdfDownloadPdfOK) Error() string

func (*InvoicePdfDownloadPdfOK) GetPayload

func (o *InvoicePdfDownloadPdfOK) GetPayload() strfmt.Base64

type InvoicePdfDownloadPdfParams

type InvoicePdfDownloadPdfParams struct {

	/*InvoiceID
	  Invoice ID from which PDF is downloaded.

	*/
	InvoiceID int32

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

InvoicePdfDownloadPdfParams contains all the parameters to send to the API endpoint for the invoice pdf download pdf operation typically these are written to a http.Request

func NewInvoicePdfDownloadPdfParams

func NewInvoicePdfDownloadPdfParams() *InvoicePdfDownloadPdfParams

NewInvoicePdfDownloadPdfParams creates a new InvoicePdfDownloadPdfParams object with the default values initialized.

func NewInvoicePdfDownloadPdfParamsWithContext

func NewInvoicePdfDownloadPdfParamsWithContext(ctx context.Context) *InvoicePdfDownloadPdfParams

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

func NewInvoicePdfDownloadPdfParamsWithHTTPClient

func NewInvoicePdfDownloadPdfParamsWithHTTPClient(client *http.Client) *InvoicePdfDownloadPdfParams

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

func NewInvoicePdfDownloadPdfParamsWithTimeout

func NewInvoicePdfDownloadPdfParamsWithTimeout(timeout time.Duration) *InvoicePdfDownloadPdfParams

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

func (*InvoicePdfDownloadPdfParams) SetContext

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

SetContext adds the context to the invoice pdf download pdf params

func (*InvoicePdfDownloadPdfParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice pdf download pdf params

func (*InvoicePdfDownloadPdfParams) SetInvoiceID

func (o *InvoicePdfDownloadPdfParams) SetInvoiceID(invoiceID int32)

SetInvoiceID adds the invoiceId to the invoice pdf download pdf params

func (*InvoicePdfDownloadPdfParams) SetTimeout

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

SetTimeout adds the timeout to the invoice pdf download pdf params

func (*InvoicePdfDownloadPdfParams) WithContext

WithContext adds the context to the invoice pdf download pdf params

func (*InvoicePdfDownloadPdfParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the invoice pdf download pdf params

func (*InvoicePdfDownloadPdfParams) WithInvoiceID

func (o *InvoicePdfDownloadPdfParams) WithInvoiceID(invoiceID int32) *InvoicePdfDownloadPdfParams

WithInvoiceID adds the invoiceID to the invoice pdf download pdf params

func (*InvoicePdfDownloadPdfParams) WithTimeout

WithTimeout adds the timeout to the invoice pdf download pdf params

func (*InvoicePdfDownloadPdfParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvoicePdfDownloadPdfReader

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

InvoicePdfDownloadPdfReader is a Reader for the InvoicePdfDownloadPdf structure.

func (*InvoicePdfDownloadPdfReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoicePostCreated

type InvoicePostCreated struct {
	Payload *models.ResponseWrapperInvoice
}

InvoicePostCreated handles this case with default header values.

successfully created

func NewInvoicePostCreated

func NewInvoicePostCreated() *InvoicePostCreated

NewInvoicePostCreated creates a InvoicePostCreated with default headers values

func (*InvoicePostCreated) Error

func (o *InvoicePostCreated) Error() string

func (*InvoicePostCreated) GetPayload

type InvoicePostParams

type InvoicePostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.Invoice
	/*PaidAmount
	  Paid amount to register prepayment of the invoice, in invoice currency. paymentTypeId and paidAmount are optional, but both must be provided if the invoice has already been paid.

	*/
	PaidAmount *float64
	/*PaymentTypeID
	  Payment type to register prepayment of the invoice. paymentTypeId and paidAmount are optional, but both must be provided if the invoice has already been paid.

	*/
	PaymentTypeID *int32
	/*SendToCustomer
	  Equals

	*/
	SendToCustomer *bool

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

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

func NewInvoicePostParams

func NewInvoicePostParams() *InvoicePostParams

NewInvoicePostParams creates a new InvoicePostParams object with the default values initialized.

func NewInvoicePostParamsWithContext

func NewInvoicePostParamsWithContext(ctx context.Context) *InvoicePostParams

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

func NewInvoicePostParamsWithHTTPClient

func NewInvoicePostParamsWithHTTPClient(client *http.Client) *InvoicePostParams

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

func NewInvoicePostParamsWithTimeout

func NewInvoicePostParamsWithTimeout(timeout time.Duration) *InvoicePostParams

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

func (*InvoicePostParams) SetBody

func (o *InvoicePostParams) SetBody(body *models.Invoice)

SetBody adds the body to the invoice post params

func (*InvoicePostParams) SetContext

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

SetContext adds the context to the invoice post params

func (*InvoicePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice post params

func (*InvoicePostParams) SetPaidAmount

func (o *InvoicePostParams) SetPaidAmount(paidAmount *float64)

SetPaidAmount adds the paidAmount to the invoice post params

func (*InvoicePostParams) SetPaymentTypeID

func (o *InvoicePostParams) SetPaymentTypeID(paymentTypeID *int32)

SetPaymentTypeID adds the paymentTypeId to the invoice post params

func (*InvoicePostParams) SetSendToCustomer

func (o *InvoicePostParams) SetSendToCustomer(sendToCustomer *bool)

SetSendToCustomer adds the sendToCustomer to the invoice post params

func (*InvoicePostParams) SetTimeout

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

SetTimeout adds the timeout to the invoice post params

func (*InvoicePostParams) WithBody

func (o *InvoicePostParams) WithBody(body *models.Invoice) *InvoicePostParams

WithBody adds the body to the invoice post params

func (*InvoicePostParams) WithContext

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

WithContext adds the context to the invoice post params

func (*InvoicePostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the invoice post params

func (*InvoicePostParams) WithPaidAmount

func (o *InvoicePostParams) WithPaidAmount(paidAmount *float64) *InvoicePostParams

WithPaidAmount adds the paidAmount to the invoice post params

func (*InvoicePostParams) WithPaymentTypeID

func (o *InvoicePostParams) WithPaymentTypeID(paymentTypeID *int32) *InvoicePostParams

WithPaymentTypeID adds the paymentTypeID to the invoice post params

func (*InvoicePostParams) WithSendToCustomer

func (o *InvoicePostParams) WithSendToCustomer(sendToCustomer *bool) *InvoicePostParams

WithSendToCustomer adds the sendToCustomer to the invoice post params

func (*InvoicePostParams) WithTimeout

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

WithTimeout adds the timeout to the invoice post params

func (*InvoicePostParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type InvoicePostReader

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

InvoicePostReader is a Reader for the InvoicePost structure.

func (*InvoicePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoiceSearchOK

type InvoiceSearchOK struct {
	Payload *models.ListResponseInvoice
}

InvoiceSearchOK handles this case with default header values.

successful operation

func NewInvoiceSearchOK

func NewInvoiceSearchOK() *InvoiceSearchOK

NewInvoiceSearchOK creates a InvoiceSearchOK with default headers values

func (*InvoiceSearchOK) Error

func (o *InvoiceSearchOK) Error() string

func (*InvoiceSearchOK) GetPayload

func (o *InvoiceSearchOK) GetPayload() *models.ListResponseInvoice

type InvoiceSearchParams

type InvoiceSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*CustomerID
	  Equals

	*/
	CustomerID *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*InvoiceDateFrom
	  From and including

	*/
	InvoiceDateFrom string
	/*InvoiceDateTo
	  To and excluding

	*/
	InvoiceDateTo string
	/*InvoiceNumber
	  Equals

	*/
	InvoiceNumber *string
	/*Kid
	  Equals

	*/
	Kid *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*VoucherID
	  Equals

	*/
	VoucherID *string

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

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

func NewInvoiceSearchParams

func NewInvoiceSearchParams() *InvoiceSearchParams

NewInvoiceSearchParams creates a new InvoiceSearchParams object with the default values initialized.

func NewInvoiceSearchParamsWithContext

func NewInvoiceSearchParamsWithContext(ctx context.Context) *InvoiceSearchParams

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

func NewInvoiceSearchParamsWithHTTPClient

func NewInvoiceSearchParamsWithHTTPClient(client *http.Client) *InvoiceSearchParams

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

func NewInvoiceSearchParamsWithTimeout

func NewInvoiceSearchParamsWithTimeout(timeout time.Duration) *InvoiceSearchParams

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

func (*InvoiceSearchParams) SetContext

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

SetContext adds the context to the invoice search params

func (*InvoiceSearchParams) SetCount

func (o *InvoiceSearchParams) SetCount(count *int64)

SetCount adds the count to the invoice search params

func (*InvoiceSearchParams) SetCustomerID

func (o *InvoiceSearchParams) SetCustomerID(customerID *string)

SetCustomerID adds the customerId to the invoice search params

func (*InvoiceSearchParams) SetFields

func (o *InvoiceSearchParams) SetFields(fields *string)

SetFields adds the fields to the invoice search params

func (*InvoiceSearchParams) SetFrom

func (o *InvoiceSearchParams) SetFrom(from *int64)

SetFrom adds the from to the invoice search params

func (*InvoiceSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice search params

func (*InvoiceSearchParams) SetID

func (o *InvoiceSearchParams) SetID(id *string)

SetID adds the id to the invoice search params

func (*InvoiceSearchParams) SetInvoiceDateFrom

func (o *InvoiceSearchParams) SetInvoiceDateFrom(invoiceDateFrom string)

SetInvoiceDateFrom adds the invoiceDateFrom to the invoice search params

func (*InvoiceSearchParams) SetInvoiceDateTo

func (o *InvoiceSearchParams) SetInvoiceDateTo(invoiceDateTo string)

SetInvoiceDateTo adds the invoiceDateTo to the invoice search params

func (*InvoiceSearchParams) SetInvoiceNumber

func (o *InvoiceSearchParams) SetInvoiceNumber(invoiceNumber *string)

SetInvoiceNumber adds the invoiceNumber to the invoice search params

func (*InvoiceSearchParams) SetKid

func (o *InvoiceSearchParams) SetKid(kid *string)

SetKid adds the kid to the invoice search params

func (*InvoiceSearchParams) SetSorting

func (o *InvoiceSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the invoice search params

func (*InvoiceSearchParams) SetTimeout

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

SetTimeout adds the timeout to the invoice search params

func (*InvoiceSearchParams) SetVoucherID

func (o *InvoiceSearchParams) SetVoucherID(voucherID *string)

SetVoucherID adds the voucherId to the invoice search params

func (*InvoiceSearchParams) WithContext

WithContext adds the context to the invoice search params

func (*InvoiceSearchParams) WithCount

func (o *InvoiceSearchParams) WithCount(count *int64) *InvoiceSearchParams

WithCount adds the count to the invoice search params

func (*InvoiceSearchParams) WithCustomerID

func (o *InvoiceSearchParams) WithCustomerID(customerID *string) *InvoiceSearchParams

WithCustomerID adds the customerID to the invoice search params

func (*InvoiceSearchParams) WithFields

func (o *InvoiceSearchParams) WithFields(fields *string) *InvoiceSearchParams

WithFields adds the fields to the invoice search params

func (*InvoiceSearchParams) WithFrom

func (o *InvoiceSearchParams) WithFrom(from *int64) *InvoiceSearchParams

WithFrom adds the from to the invoice search params

func (*InvoiceSearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the invoice search params

func (*InvoiceSearchParams) WithID

WithID adds the id to the invoice search params

func (*InvoiceSearchParams) WithInvoiceDateFrom

func (o *InvoiceSearchParams) WithInvoiceDateFrom(invoiceDateFrom string) *InvoiceSearchParams

WithInvoiceDateFrom adds the invoiceDateFrom to the invoice search params

func (*InvoiceSearchParams) WithInvoiceDateTo

func (o *InvoiceSearchParams) WithInvoiceDateTo(invoiceDateTo string) *InvoiceSearchParams

WithInvoiceDateTo adds the invoiceDateTo to the invoice search params

func (*InvoiceSearchParams) WithInvoiceNumber

func (o *InvoiceSearchParams) WithInvoiceNumber(invoiceNumber *string) *InvoiceSearchParams

WithInvoiceNumber adds the invoiceNumber to the invoice search params

func (*InvoiceSearchParams) WithKid

WithKid adds the kid to the invoice search params

func (*InvoiceSearchParams) WithSorting

func (o *InvoiceSearchParams) WithSorting(sorting *string) *InvoiceSearchParams

WithSorting adds the sorting to the invoice search params

func (*InvoiceSearchParams) WithTimeout

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

WithTimeout adds the timeout to the invoice search params

func (*InvoiceSearchParams) WithVoucherID

func (o *InvoiceSearchParams) WithVoucherID(voucherID *string) *InvoiceSearchParams

WithVoucherID adds the voucherID to the invoice search params

func (*InvoiceSearchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type InvoiceSearchReader

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

InvoiceSearchReader is a Reader for the InvoiceSearch structure.

func (*InvoiceSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvoiceSendSendDefault

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

InvoiceSendSendDefault handles this case with default header values.

successful operation

func NewInvoiceSendSendDefault

func NewInvoiceSendSendDefault(code int) *InvoiceSendSendDefault

NewInvoiceSendSendDefault creates a InvoiceSendSendDefault with default headers values

func (*InvoiceSendSendDefault) Code

func (o *InvoiceSendSendDefault) Code() int

Code gets the status code for the invoice send send default response

func (*InvoiceSendSendDefault) Error

func (o *InvoiceSendSendDefault) Error() string

type InvoiceSendSendParams

type InvoiceSendSendParams struct {

	/*ID
	  Element ID

	*/
	ID int32
	/*OverrideEmailAddress
	  Will override email address if sendType = EMAIL

	*/
	OverrideEmailAddress *string
	/*SendType
	  SendType

	*/
	SendType string

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

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

func NewInvoiceSendSendParams

func NewInvoiceSendSendParams() *InvoiceSendSendParams

NewInvoiceSendSendParams creates a new InvoiceSendSendParams object with the default values initialized.

func NewInvoiceSendSendParamsWithContext

func NewInvoiceSendSendParamsWithContext(ctx context.Context) *InvoiceSendSendParams

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

func NewInvoiceSendSendParamsWithHTTPClient

func NewInvoiceSendSendParamsWithHTTPClient(client *http.Client) *InvoiceSendSendParams

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

func NewInvoiceSendSendParamsWithTimeout

func NewInvoiceSendSendParamsWithTimeout(timeout time.Duration) *InvoiceSendSendParams

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

func (*InvoiceSendSendParams) SetContext

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

SetContext adds the context to the invoice send send params

func (*InvoiceSendSendParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invoice send send params

func (*InvoiceSendSendParams) SetID

func (o *InvoiceSendSendParams) SetID(id int32)

SetID adds the id to the invoice send send params

func (*InvoiceSendSendParams) SetOverrideEmailAddress

func (o *InvoiceSendSendParams) SetOverrideEmailAddress(overrideEmailAddress *string)

SetOverrideEmailAddress adds the overrideEmailAddress to the invoice send send params

func (*InvoiceSendSendParams) SetSendType

func (o *InvoiceSendSendParams) SetSendType(sendType string)

SetSendType adds the sendType to the invoice send send params

func (*InvoiceSendSendParams) SetTimeout

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

SetTimeout adds the timeout to the invoice send send params

func (*InvoiceSendSendParams) WithContext

WithContext adds the context to the invoice send send params

func (*InvoiceSendSendParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the invoice send send params

func (*InvoiceSendSendParams) WithID

WithID adds the id to the invoice send send params

func (*InvoiceSendSendParams) WithOverrideEmailAddress

func (o *InvoiceSendSendParams) WithOverrideEmailAddress(overrideEmailAddress *string) *InvoiceSendSendParams

WithOverrideEmailAddress adds the overrideEmailAddress to the invoice send send params

func (*InvoiceSendSendParams) WithSendType

func (o *InvoiceSendSendParams) WithSendType(sendType string) *InvoiceSendSendParams

WithSendType adds the sendType to the invoice send send params

func (*InvoiceSendSendParams) WithTimeout

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

WithTimeout adds the timeout to the invoice send send params

func (*InvoiceSendSendParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type InvoiceSendSendReader

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

InvoiceSendSendReader is a Reader for the InvoiceSendSend structure.

func (*InvoiceSendSendReader) ReadResponse

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