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.
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 ¶
func (o *GetInvoicePaymentInfoParams) 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 NewGetInvoicePaymentInfoParams() beforehand.
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.