invoices

package
v0.0.0-...-a942fbd Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetInvoiceParams

type GetInvoiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*id of invoice
	  Required: true
	  In: path
	*/
	ID string `param:"id"`
}

GetInvoiceParams contains all the bound params for the get invoice operation typically these are obtained from a http.Request

swagger:parameters GetInvoice

func NewGetInvoiceParams

func NewGetInvoiceParams() GetInvoiceParams

NewGetInvoiceParams creates a new GetInvoiceParams object no default values defined in spec.

func (*GetInvoiceParams) BindRequest

func (o *GetInvoiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetInvoiceParams() beforehand.

func (*GetInvoiceParams) Validate

func (o *GetInvoiceParams) Validate(formats strfmt.Registry) error

type GetInvoicePaymentInfoParams

type GetInvoicePaymentInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*id of invoice
	  Required: true
	  In: path
	*/
	ID string `param:"id"`
}

GetInvoicePaymentInfoParams contains all the bound params for the get invoice payment info operation typically these are obtained from a http.Request

swagger:parameters GetInvoicePaymentInfo

func NewGetInvoicePaymentInfoParams

func NewGetInvoicePaymentInfoParams() GetInvoicePaymentInfoParams

NewGetInvoicePaymentInfoParams creates a new GetInvoicePaymentInfoParams object no default values defined in spec.

func (*GetInvoicePaymentInfoParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetInvoicePaymentInfoParams() beforehand.

func (*GetInvoicePaymentInfoParams) Validate

func (o *GetInvoicePaymentInfoParams) Validate(formats strfmt.Registry) error

type PostCreateInvoiceParams

type PostCreateInvoiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Payload *types.PostCreateInvoicePayload
}

PostCreateInvoiceParams contains all the bound params for the post create invoice operation typically these are obtained from a http.Request

swagger:parameters PostCreateInvoice

func NewPostCreateInvoiceParams

func NewPostCreateInvoiceParams() PostCreateInvoiceParams

NewPostCreateInvoiceParams creates a new PostCreateInvoiceParams object no default values defined in spec.

func (*PostCreateInvoiceParams) BindRequest

func (o *PostCreateInvoiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostCreateInvoiceParams() beforehand.

func (*PostCreateInvoiceParams) Validate

func (o *PostCreateInvoiceParams) Validate(formats strfmt.Registry) error

Jump to

Keyboard shortcuts

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