invoice_profiles

package
Version: v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 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 profiles API

func (*Client) CreateInvoiceProfiles added in v1.2.0

func (a *Client) CreateInvoiceProfiles(params *CreateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInvoiceProfilesOK, error)

CreateInvoiceProfiles create invoice profiles API

func (*Client) DeleteInvoiceProfiles

func (a *Client) DeleteInvoiceProfiles(params *DeleteInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInvoiceProfilesOK, error)

DeleteInvoiceProfiles delete invoice profiles API

func (*Client) GetInvoiceProfiles

func (a *Client) GetInvoiceProfiles(params *GetInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetInvoiceProfilesOK, error)

GetInvoiceProfiles get invoice profiles API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateInvoiceProfiles added in v1.2.0

func (a *Client) UpdateInvoiceProfiles(params *UpdateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateInvoiceProfilesOK, error)

UpdateInvoiceProfiles update invoice profiles API

type ClientService

type ClientService interface {
	CreateInvoiceProfiles(params *CreateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInvoiceProfilesOK, error)

	DeleteInvoiceProfiles(params *DeleteInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInvoiceProfilesOK, error)

	GetInvoiceProfiles(params *GetInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetInvoiceProfilesOK, error)

	UpdateInvoiceProfiles(params *UpdateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateInvoiceProfilesOK, 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 profiles API client.

type CreateInvoiceProfilesOK added in v1.2.0

type CreateInvoiceProfilesOK struct {
	Payload *models.InvoiceProfile
}

CreateInvoiceProfilesOK handles this case with default header values.

Success

func NewCreateInvoiceProfilesOK added in v1.2.0

func NewCreateInvoiceProfilesOK() *CreateInvoiceProfilesOK

NewCreateInvoiceProfilesOK creates a CreateInvoiceProfilesOK with default headers values

func (*CreateInvoiceProfilesOK) Error added in v1.2.0

func (o *CreateInvoiceProfilesOK) Error() string

func (*CreateInvoiceProfilesOK) GetPayload added in v1.2.0

type CreateInvoiceProfilesParams added in v1.2.0

type CreateInvoiceProfilesParams struct {

	/*InvoiceProfile*/
	InvoiceProfile *models.InvoiceProfile

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

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

func NewCreateInvoiceProfilesParams added in v1.2.0

func NewCreateInvoiceProfilesParams() *CreateInvoiceProfilesParams

NewCreateInvoiceProfilesParams creates a new CreateInvoiceProfilesParams object with the default values initialized.

func NewCreateInvoiceProfilesParamsWithContext added in v1.2.0

func NewCreateInvoiceProfilesParamsWithContext(ctx context.Context) *CreateInvoiceProfilesParams

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

func NewCreateInvoiceProfilesParamsWithHTTPClient added in v1.2.0

func NewCreateInvoiceProfilesParamsWithHTTPClient(client *http.Client) *CreateInvoiceProfilesParams

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

func NewCreateInvoiceProfilesParamsWithTimeout added in v1.2.0

func NewCreateInvoiceProfilesParamsWithTimeout(timeout time.Duration) *CreateInvoiceProfilesParams

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

func (*CreateInvoiceProfilesParams) SetContext added in v1.2.0

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

SetContext adds the context to the create invoice profiles params

func (*CreateInvoiceProfilesParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the create invoice profiles params

func (*CreateInvoiceProfilesParams) SetInvoiceProfile added in v1.2.0

func (o *CreateInvoiceProfilesParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)

SetInvoiceProfile adds the invoiceProfile to the create invoice profiles params

func (*CreateInvoiceProfilesParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the create invoice profiles params

func (*CreateInvoiceProfilesParams) WithContext added in v1.2.0

WithContext adds the context to the create invoice profiles params

func (*CreateInvoiceProfilesParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the create invoice profiles params

func (*CreateInvoiceProfilesParams) WithInvoiceProfile added in v1.2.0

func (o *CreateInvoiceProfilesParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *CreateInvoiceProfilesParams

WithInvoiceProfile adds the invoiceProfile to the create invoice profiles params

func (*CreateInvoiceProfilesParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the create invoice profiles params

func (*CreateInvoiceProfilesParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type CreateInvoiceProfilesReader added in v1.2.0

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

CreateInvoiceProfilesReader is a Reader for the CreateInvoiceProfiles structure.

func (*CreateInvoiceProfilesReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type DeleteInvoiceProfilesOK

type DeleteInvoiceProfilesOK struct {
	Payload bool
}

DeleteInvoiceProfilesOK handles this case with default header values.

Success

func NewDeleteInvoiceProfilesOK

func NewDeleteInvoiceProfilesOK() *DeleteInvoiceProfilesOK

NewDeleteInvoiceProfilesOK creates a DeleteInvoiceProfilesOK with default headers values

func (*DeleteInvoiceProfilesOK) Error

func (o *DeleteInvoiceProfilesOK) Error() string

func (*DeleteInvoiceProfilesOK) GetPayload

func (o *DeleteInvoiceProfilesOK) GetPayload() bool

type DeleteInvoiceProfilesParams

type DeleteInvoiceProfilesParams struct {

	/*ID*/
	ID int32

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

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

func NewDeleteInvoiceProfilesParams

func NewDeleteInvoiceProfilesParams() *DeleteInvoiceProfilesParams

NewDeleteInvoiceProfilesParams creates a new DeleteInvoiceProfilesParams object with the default values initialized.

func NewDeleteInvoiceProfilesParamsWithContext

func NewDeleteInvoiceProfilesParamsWithContext(ctx context.Context) *DeleteInvoiceProfilesParams

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

func NewDeleteInvoiceProfilesParamsWithHTTPClient

func NewDeleteInvoiceProfilesParamsWithHTTPClient(client *http.Client) *DeleteInvoiceProfilesParams

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

func NewDeleteInvoiceProfilesParamsWithTimeout

func NewDeleteInvoiceProfilesParamsWithTimeout(timeout time.Duration) *DeleteInvoiceProfilesParams

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

func (*DeleteInvoiceProfilesParams) SetContext

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

SetContext adds the context to the delete invoice profiles params

func (*DeleteInvoiceProfilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete invoice profiles params

func (*DeleteInvoiceProfilesParams) SetID

func (o *DeleteInvoiceProfilesParams) SetID(id int32)

SetID adds the id to the delete invoice profiles params

func (*DeleteInvoiceProfilesParams) SetTimeout

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

SetTimeout adds the timeout to the delete invoice profiles params

func (*DeleteInvoiceProfilesParams) WithContext

WithContext adds the context to the delete invoice profiles params

func (*DeleteInvoiceProfilesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete invoice profiles params

func (*DeleteInvoiceProfilesParams) WithID

WithID adds the id to the delete invoice profiles params

func (*DeleteInvoiceProfilesParams) WithTimeout

WithTimeout adds the timeout to the delete invoice profiles params

func (*DeleteInvoiceProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInvoiceProfilesReader

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

DeleteInvoiceProfilesReader is a Reader for the DeleteInvoiceProfiles structure.

func (*DeleteInvoiceProfilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceProfilesOK

type GetInvoiceProfilesOK struct {
	Payload *models.APICollectionOfInvoiceProfile
}

GetInvoiceProfilesOK handles this case with default header values.

Success

func NewGetInvoiceProfilesOK

func NewGetInvoiceProfilesOK() *GetInvoiceProfilesOK

NewGetInvoiceProfilesOK creates a GetInvoiceProfilesOK with default headers values

func (*GetInvoiceProfilesOK) Error

func (o *GetInvoiceProfilesOK) Error() string

func (*GetInvoiceProfilesOK) GetPayload

type GetInvoiceProfilesParams

type GetInvoiceProfilesParams struct {

	/*OrganizationID*/
	OrganizationID *int32
	/*Page*/
	Page *int32
	/*PageSize*/
	PageSize *int32
	/*Search*/
	Search *string

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

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

func NewGetInvoiceProfilesParams

func NewGetInvoiceProfilesParams() *GetInvoiceProfilesParams

NewGetInvoiceProfilesParams creates a new GetInvoiceProfilesParams object with the default values initialized.

func NewGetInvoiceProfilesParamsWithContext

func NewGetInvoiceProfilesParamsWithContext(ctx context.Context) *GetInvoiceProfilesParams

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

func NewGetInvoiceProfilesParamsWithHTTPClient

func NewGetInvoiceProfilesParamsWithHTTPClient(client *http.Client) *GetInvoiceProfilesParams

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

func NewGetInvoiceProfilesParamsWithTimeout

func NewGetInvoiceProfilesParamsWithTimeout(timeout time.Duration) *GetInvoiceProfilesParams

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

func (*GetInvoiceProfilesParams) SetContext

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

SetContext adds the context to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetOrganizationID

func (o *GetInvoiceProfilesParams) SetOrganizationID(organizationID *int32)

SetOrganizationID adds the organizationId to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetPage

func (o *GetInvoiceProfilesParams) SetPage(page *int32)

SetPage adds the page to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetPageSize

func (o *GetInvoiceProfilesParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetSearch

func (o *GetInvoiceProfilesParams) SetSearch(search *string)

SetSearch adds the search to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithContext

WithContext adds the context to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithOrganizationID

func (o *GetInvoiceProfilesParams) WithOrganizationID(organizationID *int32) *GetInvoiceProfilesParams

WithOrganizationID adds the organizationID to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithPage

WithPage adds the page to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithPageSize

func (o *GetInvoiceProfilesParams) WithPageSize(pageSize *int32) *GetInvoiceProfilesParams

WithPageSize adds the pageSize to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithSearch

WithSearch adds the search to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithTimeout

WithTimeout adds the timeout to the get invoice profiles params

func (*GetInvoiceProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceProfilesReader

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

GetInvoiceProfilesReader is a Reader for the GetInvoiceProfiles structure.

func (*GetInvoiceProfilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateInvoiceProfilesOK added in v1.2.0

type UpdateInvoiceProfilesOK struct {
	Payload *models.InvoiceProfile
}

UpdateInvoiceProfilesOK handles this case with default header values.

Success

func NewUpdateInvoiceProfilesOK added in v1.2.0

func NewUpdateInvoiceProfilesOK() *UpdateInvoiceProfilesOK

NewUpdateInvoiceProfilesOK creates a UpdateInvoiceProfilesOK with default headers values

func (*UpdateInvoiceProfilesOK) Error added in v1.2.0

func (o *UpdateInvoiceProfilesOK) Error() string

func (*UpdateInvoiceProfilesOK) GetPayload added in v1.2.0

type UpdateInvoiceProfilesParams added in v1.2.0

type UpdateInvoiceProfilesParams struct {

	/*ID*/
	ID int32
	/*InvoiceProfile*/
	InvoiceProfile *models.InvoiceProfile

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

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

func NewUpdateInvoiceProfilesParams added in v1.2.0

func NewUpdateInvoiceProfilesParams() *UpdateInvoiceProfilesParams

NewUpdateInvoiceProfilesParams creates a new UpdateInvoiceProfilesParams object with the default values initialized.

func NewUpdateInvoiceProfilesParamsWithContext added in v1.2.0

func NewUpdateInvoiceProfilesParamsWithContext(ctx context.Context) *UpdateInvoiceProfilesParams

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

func NewUpdateInvoiceProfilesParamsWithHTTPClient added in v1.2.0

func NewUpdateInvoiceProfilesParamsWithHTTPClient(client *http.Client) *UpdateInvoiceProfilesParams

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

func NewUpdateInvoiceProfilesParamsWithTimeout added in v1.2.0

func NewUpdateInvoiceProfilesParamsWithTimeout(timeout time.Duration) *UpdateInvoiceProfilesParams

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

func (*UpdateInvoiceProfilesParams) SetContext added in v1.2.0

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

SetContext adds the context to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) SetID added in v1.2.0

func (o *UpdateInvoiceProfilesParams) SetID(id int32)

SetID adds the id to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) SetInvoiceProfile added in v1.2.0

func (o *UpdateInvoiceProfilesParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)

SetInvoiceProfile adds the invoiceProfile to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) WithContext added in v1.2.0

WithContext adds the context to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) WithID added in v1.2.0

WithID adds the id to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) WithInvoiceProfile added in v1.2.0

func (o *UpdateInvoiceProfilesParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *UpdateInvoiceProfilesParams

WithInvoiceProfile adds the invoiceProfile to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the update invoice profiles params

func (*UpdateInvoiceProfilesParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type UpdateInvoiceProfilesReader added in v1.2.0

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

UpdateInvoiceProfilesReader is a Reader for the UpdateInvoiceProfiles structure.

func (*UpdateInvoiceProfilesReader) ReadResponse added in v1.2.0

func (o *UpdateInvoiceProfilesReader) 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL