Documentation
¶
Index ¶
- type Client
- func (a *Client) InvoiceCreateCreditNoteCreateCreditNote(params *InvoiceCreateCreditNoteCreateCreditNoteParams, ...) (*InvoiceCreateCreditNoteCreateCreditNoteOK, error)
- func (a *Client) InvoiceCreateReminderCreateReminder(params *InvoiceCreateReminderCreateReminderParams, ...) error
- func (a *Client) InvoiceGet(params *InvoiceGetParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceGetOK, error)
- func (a *Client) InvoicePaymentPayment(params *InvoicePaymentPaymentParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePaymentPaymentOK, error)
- func (a *Client) InvoicePdfDownloadPdf(params *InvoicePdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePdfDownloadPdfOK, error)
- func (a *Client) InvoicePost(params *InvoicePostParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePostCreated, error)
- func (a *Client) InvoiceSearch(params *InvoiceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceSearchOK, error)
- func (a *Client) InvoiceSendSend(params *InvoiceSendSendParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type InvoiceCreateCreditNoteCreateCreditNoteOK
- type InvoiceCreateCreditNoteCreateCreditNoteParams
- func NewInvoiceCreateCreditNoteCreateCreditNoteParams() *InvoiceCreateCreditNoteCreateCreditNoteParams
- func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithContext(ctx context.Context) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithHTTPClient(client *http.Client) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func NewInvoiceCreateCreditNoteCreateCreditNoteParamsWithTimeout(timeout time.Duration) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetComment(comment *string)
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetContext(ctx context.Context)
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetCreditNoteEmail(creditNoteEmail *string)
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetDate(date string)
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetHTTPClient(client *http.Client)
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetID(id int32)
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetTimeout(timeout time.Duration)
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithComment(comment *string) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithContext(ctx context.Context) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithCreditNoteEmail(creditNoteEmail *string) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithDate(date string) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithHTTPClient(client *http.Client) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithID(id int32) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithTimeout(timeout time.Duration) *InvoiceCreateCreditNoteCreateCreditNoteParams
- func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvoiceCreateCreditNoteCreateCreditNoteReader
- type InvoiceCreateReminderCreateReminderDefault
- type InvoiceCreateReminderCreateReminderParams
- func NewInvoiceCreateReminderCreateReminderParams() *InvoiceCreateReminderCreateReminderParams
- func NewInvoiceCreateReminderCreateReminderParamsWithContext(ctx context.Context) *InvoiceCreateReminderCreateReminderParams
- func NewInvoiceCreateReminderCreateReminderParamsWithHTTPClient(client *http.Client) *InvoiceCreateReminderCreateReminderParams
- func NewInvoiceCreateReminderCreateReminderParamsWithTimeout(timeout time.Duration) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) SetContext(ctx context.Context)
- func (o *InvoiceCreateReminderCreateReminderParams) SetDate(date string)
- func (o *InvoiceCreateReminderCreateReminderParams) SetDispatchType(dispatchType string)
- func (o *InvoiceCreateReminderCreateReminderParams) SetHTTPClient(client *http.Client)
- func (o *InvoiceCreateReminderCreateReminderParams) SetID(id int32)
- func (o *InvoiceCreateReminderCreateReminderParams) SetIncludeCharge(includeCharge *bool)
- func (o *InvoiceCreateReminderCreateReminderParams) SetIncludeInterest(includeInterest *bool)
- func (o *InvoiceCreateReminderCreateReminderParams) SetSmsNumber(smsNumber *string)
- func (o *InvoiceCreateReminderCreateReminderParams) SetTimeout(timeout time.Duration)
- func (o *InvoiceCreateReminderCreateReminderParams) SetType(typeVar string)
- func (o *InvoiceCreateReminderCreateReminderParams) WithContext(ctx context.Context) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithDate(date string) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithDispatchType(dispatchType string) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithHTTPClient(client *http.Client) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithID(id int32) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithIncludeCharge(includeCharge *bool) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithIncludeInterest(includeInterest *bool) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithSmsNumber(smsNumber *string) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithTimeout(timeout time.Duration) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WithType(typeVar string) *InvoiceCreateReminderCreateReminderParams
- func (o *InvoiceCreateReminderCreateReminderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvoiceCreateReminderCreateReminderReader
- type InvoiceGetOK
- type InvoiceGetParams
- func (o *InvoiceGetParams) SetContext(ctx context.Context)
- func (o *InvoiceGetParams) SetFields(fields *string)
- func (o *InvoiceGetParams) SetHTTPClient(client *http.Client)
- func (o *InvoiceGetParams) SetID(id int32)
- func (o *InvoiceGetParams) SetTimeout(timeout time.Duration)
- func (o *InvoiceGetParams) WithContext(ctx context.Context) *InvoiceGetParams
- func (o *InvoiceGetParams) WithFields(fields *string) *InvoiceGetParams
- func (o *InvoiceGetParams) WithHTTPClient(client *http.Client) *InvoiceGetParams
- func (o *InvoiceGetParams) WithID(id int32) *InvoiceGetParams
- func (o *InvoiceGetParams) WithTimeout(timeout time.Duration) *InvoiceGetParams
- func (o *InvoiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvoiceGetReader
- type InvoicePaymentPaymentOK
- type InvoicePaymentPaymentParams
- func NewInvoicePaymentPaymentParams() *InvoicePaymentPaymentParams
- func NewInvoicePaymentPaymentParamsWithContext(ctx context.Context) *InvoicePaymentPaymentParams
- func NewInvoicePaymentPaymentParamsWithHTTPClient(client *http.Client) *InvoicePaymentPaymentParams
- func NewInvoicePaymentPaymentParamsWithTimeout(timeout time.Duration) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) SetContext(ctx context.Context)
- func (o *InvoicePaymentPaymentParams) SetHTTPClient(client *http.Client)
- func (o *InvoicePaymentPaymentParams) SetID(id int32)
- func (o *InvoicePaymentPaymentParams) SetPaidAmount(paidAmount float64)
- func (o *InvoicePaymentPaymentParams) SetPaidAmountCurrency(paidAmountCurrency *float64)
- func (o *InvoicePaymentPaymentParams) SetPaymentDate(paymentDate string)
- func (o *InvoicePaymentPaymentParams) SetPaymentTypeID(paymentTypeID int32)
- func (o *InvoicePaymentPaymentParams) SetTimeout(timeout time.Duration)
- func (o *InvoicePaymentPaymentParams) WithContext(ctx context.Context) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) WithHTTPClient(client *http.Client) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) WithID(id int32) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) WithPaidAmount(paidAmount float64) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) WithPaidAmountCurrency(paidAmountCurrency *float64) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) WithPaymentDate(paymentDate string) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) WithPaymentTypeID(paymentTypeID int32) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) WithTimeout(timeout time.Duration) *InvoicePaymentPaymentParams
- func (o *InvoicePaymentPaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvoicePaymentPaymentReader
- type InvoicePdfDownloadPdfOK
- type InvoicePdfDownloadPdfParams
- func NewInvoicePdfDownloadPdfParams() *InvoicePdfDownloadPdfParams
- func NewInvoicePdfDownloadPdfParamsWithContext(ctx context.Context) *InvoicePdfDownloadPdfParams
- func NewInvoicePdfDownloadPdfParamsWithHTTPClient(client *http.Client) *InvoicePdfDownloadPdfParams
- func NewInvoicePdfDownloadPdfParamsWithTimeout(timeout time.Duration) *InvoicePdfDownloadPdfParams
- func (o *InvoicePdfDownloadPdfParams) SetContext(ctx context.Context)
- func (o *InvoicePdfDownloadPdfParams) SetHTTPClient(client *http.Client)
- func (o *InvoicePdfDownloadPdfParams) SetInvoiceID(invoiceID int32)
- func (o *InvoicePdfDownloadPdfParams) SetTimeout(timeout time.Duration)
- func (o *InvoicePdfDownloadPdfParams) WithContext(ctx context.Context) *InvoicePdfDownloadPdfParams
- func (o *InvoicePdfDownloadPdfParams) WithHTTPClient(client *http.Client) *InvoicePdfDownloadPdfParams
- func (o *InvoicePdfDownloadPdfParams) WithInvoiceID(invoiceID int32) *InvoicePdfDownloadPdfParams
- func (o *InvoicePdfDownloadPdfParams) WithTimeout(timeout time.Duration) *InvoicePdfDownloadPdfParams
- func (o *InvoicePdfDownloadPdfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvoicePdfDownloadPdfReader
- type InvoicePostCreated
- type InvoicePostParams
- func (o *InvoicePostParams) SetBody(body *models.Invoice)
- func (o *InvoicePostParams) SetContext(ctx context.Context)
- func (o *InvoicePostParams) SetHTTPClient(client *http.Client)
- func (o *InvoicePostParams) SetPaidAmount(paidAmount *float64)
- func (o *InvoicePostParams) SetPaymentTypeID(paymentTypeID *int32)
- func (o *InvoicePostParams) SetSendToCustomer(sendToCustomer *bool)
- func (o *InvoicePostParams) SetTimeout(timeout time.Duration)
- func (o *InvoicePostParams) WithBody(body *models.Invoice) *InvoicePostParams
- func (o *InvoicePostParams) WithContext(ctx context.Context) *InvoicePostParams
- func (o *InvoicePostParams) WithHTTPClient(client *http.Client) *InvoicePostParams
- func (o *InvoicePostParams) WithPaidAmount(paidAmount *float64) *InvoicePostParams
- func (o *InvoicePostParams) WithPaymentTypeID(paymentTypeID *int32) *InvoicePostParams
- func (o *InvoicePostParams) WithSendToCustomer(sendToCustomer *bool) *InvoicePostParams
- func (o *InvoicePostParams) WithTimeout(timeout time.Duration) *InvoicePostParams
- func (o *InvoicePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvoicePostReader
- type InvoiceSearchOK
- type InvoiceSearchParams
- func (o *InvoiceSearchParams) SetContext(ctx context.Context)
- func (o *InvoiceSearchParams) SetCount(count *int64)
- func (o *InvoiceSearchParams) SetCustomerID(customerID *string)
- func (o *InvoiceSearchParams) SetFields(fields *string)
- func (o *InvoiceSearchParams) SetFrom(from *int64)
- func (o *InvoiceSearchParams) SetHTTPClient(client *http.Client)
- func (o *InvoiceSearchParams) SetID(id *string)
- func (o *InvoiceSearchParams) SetInvoiceDateFrom(invoiceDateFrom string)
- func (o *InvoiceSearchParams) SetInvoiceDateTo(invoiceDateTo string)
- func (o *InvoiceSearchParams) SetInvoiceNumber(invoiceNumber *string)
- func (o *InvoiceSearchParams) SetKid(kid *string)
- func (o *InvoiceSearchParams) SetSorting(sorting *string)
- func (o *InvoiceSearchParams) SetTimeout(timeout time.Duration)
- func (o *InvoiceSearchParams) SetVoucherID(voucherID *string)
- func (o *InvoiceSearchParams) WithContext(ctx context.Context) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithCount(count *int64) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithCustomerID(customerID *string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithFields(fields *string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithFrom(from *int64) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithHTTPClient(client *http.Client) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithID(id *string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithInvoiceDateFrom(invoiceDateFrom string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithInvoiceDateTo(invoiceDateTo string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithInvoiceNumber(invoiceNumber *string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithKid(kid *string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithSorting(sorting *string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithTimeout(timeout time.Duration) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WithVoucherID(voucherID *string) *InvoiceSearchParams
- func (o *InvoiceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvoiceSearchReader
- type InvoiceSendSendDefault
- type InvoiceSendSendParams
- func NewInvoiceSendSendParams() *InvoiceSendSendParams
- func NewInvoiceSendSendParamsWithContext(ctx context.Context) *InvoiceSendSendParams
- func NewInvoiceSendSendParamsWithHTTPClient(client *http.Client) *InvoiceSendSendParams
- func NewInvoiceSendSendParamsWithTimeout(timeout time.Duration) *InvoiceSendSendParams
- func (o *InvoiceSendSendParams) SetContext(ctx context.Context)
- func (o *InvoiceSendSendParams) SetHTTPClient(client *http.Client)
- func (o *InvoiceSendSendParams) SetID(id int32)
- func (o *InvoiceSendSendParams) SetOverrideEmailAddress(overrideEmailAddress *string)
- func (o *InvoiceSendSendParams) SetSendType(sendType string)
- func (o *InvoiceSendSendParams) SetTimeout(timeout time.Duration)
- func (o *InvoiceSendSendParams) WithContext(ctx context.Context) *InvoiceSendSendParams
- func (o *InvoiceSendSendParams) WithHTTPClient(client *http.Client) *InvoiceSendSendParams
- func (o *InvoiceSendSendParams) WithID(id int32) *InvoiceSendSendParams
- func (o *InvoiceSendSendParams) WithOverrideEmailAddress(overrideEmailAddress *string) *InvoiceSendSendParams
- func (o *InvoiceSendSendParams) WithSendType(sendType string) *InvoiceSendSendParams
- func (o *InvoiceSendSendParams) WithTimeout(timeout time.Duration) *InvoiceSendSendParams
- func (o *InvoiceSendSendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvoiceSendSendReader
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 ¶
func (a *Client) InvoiceCreateCreditNoteCreateCreditNote(params *InvoiceCreateCreditNoteCreateCreditNoteParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceCreateCreditNoteCreateCreditNoteOK, error)
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) 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
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 InvoiceGet(params *InvoiceGetParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceGetOK, error) InvoicePaymentPayment(params *InvoicePaymentPaymentParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePaymentPaymentOK, error) InvoicePdfDownloadPdf(params *InvoicePdfDownloadPdfParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePdfDownloadPdfOK, error) InvoicePost(params *InvoicePostParams, authInfo runtime.ClientAuthInfoWriter) (*InvoicePostCreated, error) InvoiceSearch(params *InvoiceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InvoiceSearchOK, error) InvoiceSendSend(params *InvoiceSendSendParams, authInfo runtime.ClientAuthInfoWriter) 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 (o *InvoiceCreateCreditNoteCreateCreditNoteOK) Error() string
func (*InvoiceCreateCreditNoteCreateCreditNoteOK) GetPayload ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteOK) GetPayload() *models.ResponseWrapperInvoice
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 ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetContext(ctx context.Context)
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 ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetDate(date string)
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 ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetID(id int32)
SetID adds the id to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) SetTimeout ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithComment ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithComment(comment *string) *InvoiceCreateCreditNoteCreateCreditNoteParams
WithComment adds the comment to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithContext ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithContext(ctx context.Context) *InvoiceCreateCreditNoteCreateCreditNoteParams
WithContext adds the context to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithCreditNoteEmail ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithCreditNoteEmail(creditNoteEmail *string) *InvoiceCreateCreditNoteCreateCreditNoteParams
WithCreditNoteEmail adds the creditNoteEmail to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithDate ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithDate(date string) *InvoiceCreateCreditNoteCreateCreditNoteParams
WithDate adds the date to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithHTTPClient ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithHTTPClient(client *http.Client) *InvoiceCreateCreditNoteCreateCreditNoteParams
WithHTTPClient adds the HTTPClient to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithID ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithID(id int32) *InvoiceCreateCreditNoteCreateCreditNoteParams
WithID adds the id to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WithTimeout ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WithTimeout(timeout time.Duration) *InvoiceCreateCreditNoteCreateCreditNoteParams
WithTimeout adds the timeout to the invoice create credit note create credit note params
func (*InvoiceCreateCreditNoteCreateCreditNoteParams) WriteToRequest ¶
func (o *InvoiceCreateCreditNoteCreateCreditNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *InvoiceCreateReminderCreateReminderDefault) Code() int
Code gets the status code for the invoice create reminder create reminder default response
func (*InvoiceCreateReminderCreateReminderDefault) Error ¶
func (o *InvoiceCreateReminderCreateReminderDefault) Error() string
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 ¶
func (o *InvoiceCreateReminderCreateReminderParams) SetContext(ctx context.Context)
SetContext adds the context to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) SetDate ¶
func (o *InvoiceCreateReminderCreateReminderParams) SetDate(date string)
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 ¶
func (o *InvoiceCreateReminderCreateReminderParams) SetID(id int32)
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 ¶
func (o *InvoiceCreateReminderCreateReminderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) SetType ¶
func (o *InvoiceCreateReminderCreateReminderParams) SetType(typeVar string)
SetType adds the type to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithContext ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithContext(ctx context.Context) *InvoiceCreateReminderCreateReminderParams
WithContext adds the context to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithDate ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithDate(date string) *InvoiceCreateReminderCreateReminderParams
WithDate adds the date to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithDispatchType ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithDispatchType(dispatchType string) *InvoiceCreateReminderCreateReminderParams
WithDispatchType adds the dispatchType to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithHTTPClient ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithHTTPClient(client *http.Client) *InvoiceCreateReminderCreateReminderParams
WithHTTPClient adds the HTTPClient to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithID ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithID(id int32) *InvoiceCreateReminderCreateReminderParams
WithID adds the id to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithIncludeCharge ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithIncludeCharge(includeCharge *bool) *InvoiceCreateReminderCreateReminderParams
WithIncludeCharge adds the includeCharge to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithIncludeInterest ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithIncludeInterest(includeInterest *bool) *InvoiceCreateReminderCreateReminderParams
WithIncludeInterest adds the includeInterest to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithSmsNumber ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithSmsNumber(smsNumber *string) *InvoiceCreateReminderCreateReminderParams
WithSmsNumber adds the smsNumber to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithTimeout ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithTimeout(timeout time.Duration) *InvoiceCreateReminderCreateReminderParams
WithTimeout adds the timeout to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WithType ¶
func (o *InvoiceCreateReminderCreateReminderParams) WithType(typeVar string) *InvoiceCreateReminderCreateReminderParams
WithType adds the typeVar to the invoice create reminder create reminder params
func (*InvoiceCreateReminderCreateReminderParams) WriteToRequest ¶
func (o *InvoiceCreateReminderCreateReminderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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 ¶
func (o *InvoicePaymentPaymentOK) GetPayload() *models.ResponseWrapperInvoice
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 ¶
func (o *InvoicePaymentPaymentParams) WithContext(ctx context.Context) *InvoicePaymentPaymentParams
WithContext adds the context to the invoice payment payment params
func (*InvoicePaymentPaymentParams) WithHTTPClient ¶
func (o *InvoicePaymentPaymentParams) WithHTTPClient(client *http.Client) *InvoicePaymentPaymentParams
WithHTTPClient adds the HTTPClient to the invoice payment payment params
func (*InvoicePaymentPaymentParams) WithID ¶
func (o *InvoicePaymentPaymentParams) WithID(id int32) *InvoicePaymentPaymentParams
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 ¶
func (o *InvoicePaymentPaymentParams) WithTimeout(timeout time.Duration) *InvoicePaymentPaymentParams
WithTimeout adds the timeout to the invoice payment payment params
func (*InvoicePaymentPaymentParams) WriteToRequest ¶
func (o *InvoicePaymentPaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *InvoicePdfDownloadPdfParams) WithContext(ctx context.Context) *InvoicePdfDownloadPdfParams
WithContext adds the context to the invoice pdf download pdf params
func (*InvoicePdfDownloadPdfParams) WithHTTPClient ¶
func (o *InvoicePdfDownloadPdfParams) WithHTTPClient(client *http.Client) *InvoicePdfDownloadPdfParams
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 ¶
func (o *InvoicePdfDownloadPdfParams) WithTimeout(timeout time.Duration) *InvoicePdfDownloadPdfParams
WithTimeout adds the timeout to the invoice pdf download pdf params
func (*InvoicePdfDownloadPdfParams) WriteToRequest ¶
func (o *InvoicePdfDownloadPdfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *InvoicePostCreated) GetPayload() *models.ResponseWrapperInvoice
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 ¶
func (o *InvoiceSearchParams) WithContext(ctx context.Context) *InvoiceSearchParams
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 ¶
func (o *InvoiceSearchParams) WithID(id *string) *InvoiceSearchParams
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 ¶
func (o *InvoiceSearchParams) WithKid(kid *string) *InvoiceSearchParams
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 ¶
func (o *InvoiceSendSendParams) WithContext(ctx context.Context) *InvoiceSendSendParams
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 ¶
func (o *InvoiceSendSendParams) WithID(id int32) *InvoiceSendSendParams
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.
Source Files
¶
- invoice_client.go
- invoice_create_credit_note_create_credit_note_parameters.go
- invoice_create_credit_note_create_credit_note_responses.go
- invoice_create_reminder_create_reminder_parameters.go
- invoice_create_reminder_create_reminder_responses.go
- invoice_get_parameters.go
- invoice_get_responses.go
- invoice_payment_payment_parameters.go
- invoice_payment_payment_responses.go
- invoice_pdf_download_pdf_parameters.go
- invoice_pdf_download_pdf_responses.go
- invoice_post_parameters.go
- invoice_post_responses.go
- invoice_search_parameters.go
- invoice_search_responses.go
- invoice_send_send_parameters.go
- invoice_send_send_responses.go