order

package
v2.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for order API

func (*Client) OrderApproveSubscriptionInvoiceApproveSubscriptionInvoice

OrderApproveSubscriptionInvoiceApproveSubscriptionInvoice tos create a subscription invoice first create a order with the subscription enabled then approve it with this method this approves the order for subscription invoicing

func (*Client) OrderAttachAttach

func (a *Client) OrderAttachAttach(params *OrderAttachAttachParams, authInfo runtime.ClientAuthInfoWriter) (*OrderAttachAttachOK, error)

OrderAttachAttach attaches document to specified order ID

func (*Client) OrderGet

func (a *Client) OrderGet(params *OrderGetParams, authInfo runtime.ClientAuthInfoWriter) (*OrderGetOK, error)

OrderGet gets order by ID

func (*Client) OrderInvoiceInvoice

func (a *Client) OrderInvoiceInvoice(params *OrderInvoiceInvoiceParams, authInfo runtime.ClientAuthInfoWriter) (*OrderInvoiceInvoiceOK, error)

OrderInvoiceInvoice creates new invoice from order

func (*Client) OrderInvoiceMultipleOrdersInvoiceMultipleOrders

OrderInvoiceMultipleOrdersInvoiceMultipleOrders bs e t a charges a single customer invoice from multiple orders the orders must be to the same customer currency due date receiver email and attn

func (*Client) OrderListPostList

func (a *Client) OrderListPostList(params *OrderListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*OrderListPostListCreated, error)

OrderListPostList bs e t a create multiple orders with order lines max 100 at a time

func (*Client) OrderPost

func (a *Client) OrderPost(params *OrderPostParams, authInfo runtime.ClientAuthInfoWriter) (*OrderPostCreated, error)

OrderPost creates order

func (*Client) OrderPut

func (a *Client) OrderPut(params *OrderPutParams, authInfo runtime.ClientAuthInfoWriter) (*OrderPutOK, error)

OrderPut updates order

func (*Client) OrderSearch

func (a *Client) OrderSearch(params *OrderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*OrderSearchOK, error)

OrderSearch finds orders corresponding with sent data

func (*Client) OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoice

func (a *Client) OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoice(params *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams, authInfo runtime.ClientAuthInfoWriter) error

OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoice unapproves the order for subscription invoicing

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	OrderApproveSubscriptionInvoiceApproveSubscriptionInvoice(params *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams, authInfo runtime.ClientAuthInfoWriter) (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK, error)

	OrderAttachAttach(params *OrderAttachAttachParams, authInfo runtime.ClientAuthInfoWriter) (*OrderAttachAttachOK, error)

	OrderInvoiceMultipleOrdersInvoiceMultipleOrders(params *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK, error)

	OrderInvoiceInvoice(params *OrderInvoiceInvoiceParams, authInfo runtime.ClientAuthInfoWriter) (*OrderInvoiceInvoiceOK, error)

	OrderListPostList(params *OrderListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*OrderListPostListCreated, error)

	OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoice(params *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams, authInfo runtime.ClientAuthInfoWriter) error

	OrderGet(params *OrderGetParams, authInfo runtime.ClientAuthInfoWriter) (*OrderGetOK, error)

	OrderPost(params *OrderPostParams, authInfo runtime.ClientAuthInfoWriter) (*OrderPostCreated, error)

	OrderPut(params *OrderPutParams, authInfo runtime.ClientAuthInfoWriter) (*OrderPutOK, error)

	OrderSearch(params *OrderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*OrderSearchOK, 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 order API client.

type OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK

type OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK struct {
	Payload *models.ResponseWrapperInvoice
}

OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK handles this case with default header values.

successful operation

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK() *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK

NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK creates a OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK with default headers values

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK) Error

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK) GetPayload

type OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams

type OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams struct {

	/*ID
	  ID of order to approve for subscription invoicing.

	*/
	ID int32
	/*InvoiceDate
	  The approval date for the subscription.

	*/
	InvoiceDate string

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

OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams contains all the parameters to send to the API endpoint for the order approve subscription invoice approve subscription invoice operation typically these are written to a http.Request

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams() *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams

NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams creates a new OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams object with the default values initialized.

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithContext

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithContext(ctx context.Context) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams

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

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithHTTPClient

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithHTTPClient(client *http.Client) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams

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

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithTimeout

func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithTimeout(timeout time.Duration) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams

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

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetContext

SetContext adds the context to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetID

SetID adds the id to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetInvoiceDate

SetInvoiceDate adds the invoiceDate to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetTimeout

SetTimeout adds the timeout to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithContext

WithContext adds the context to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithID

WithID adds the id to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithInvoiceDate

WithInvoiceDate adds the invoiceDate to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithTimeout

WithTimeout adds the timeout to the order approve subscription invoice approve subscription invoice params

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceReader

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

OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceReader is a Reader for the OrderApproveSubscriptionInvoiceApproveSubscriptionInvoice structure.

func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceReader) ReadResponse

ReadResponse reads a server response into the received o.

type OrderAttachAttachOK

type OrderAttachAttachOK struct {
	Payload *models.ResponseWrapperDocumentArchive
}

OrderAttachAttachOK handles this case with default header values.

successful operation

func NewOrderAttachAttachOK

func NewOrderAttachAttachOK() *OrderAttachAttachOK

NewOrderAttachAttachOK creates a OrderAttachAttachOK with default headers values

func (*OrderAttachAttachOK) Error

func (o *OrderAttachAttachOK) Error() string

func (*OrderAttachAttachOK) GetPayload

type OrderAttachAttachParams

type OrderAttachAttachParams struct {

	/*File
	  The file

	*/
	File runtime.NamedReadCloser
	/*ID
	  Element ID

	*/
	ID int32

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

OrderAttachAttachParams contains all the parameters to send to the API endpoint for the order attach attach operation typically these are written to a http.Request

func NewOrderAttachAttachParams

func NewOrderAttachAttachParams() *OrderAttachAttachParams

NewOrderAttachAttachParams creates a new OrderAttachAttachParams object with the default values initialized.

func NewOrderAttachAttachParamsWithContext

func NewOrderAttachAttachParamsWithContext(ctx context.Context) *OrderAttachAttachParams

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

func NewOrderAttachAttachParamsWithHTTPClient

func NewOrderAttachAttachParamsWithHTTPClient(client *http.Client) *OrderAttachAttachParams

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

func NewOrderAttachAttachParamsWithTimeout

func NewOrderAttachAttachParamsWithTimeout(timeout time.Duration) *OrderAttachAttachParams

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

func (*OrderAttachAttachParams) SetContext

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

SetContext adds the context to the order attach attach params

func (*OrderAttachAttachParams) SetFile

SetFile adds the file to the order attach attach params

func (*OrderAttachAttachParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order attach attach params

func (*OrderAttachAttachParams) SetID

func (o *OrderAttachAttachParams) SetID(id int32)

SetID adds the id to the order attach attach params

func (*OrderAttachAttachParams) SetTimeout

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

SetTimeout adds the timeout to the order attach attach params

func (*OrderAttachAttachParams) WithContext

WithContext adds the context to the order attach attach params

func (*OrderAttachAttachParams) WithFile

WithFile adds the file to the order attach attach params

func (*OrderAttachAttachParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order attach attach params

func (*OrderAttachAttachParams) WithID

WithID adds the id to the order attach attach params

func (*OrderAttachAttachParams) WithTimeout

WithTimeout adds the timeout to the order attach attach params

func (*OrderAttachAttachParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderAttachAttachReader

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

OrderAttachAttachReader is a Reader for the OrderAttachAttach structure.

func (*OrderAttachAttachReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderGetOK

type OrderGetOK struct {
	Payload *models.ResponseWrapperOrder
}

OrderGetOK handles this case with default header values.

successful operation

func NewOrderGetOK

func NewOrderGetOK() *OrderGetOK

NewOrderGetOK creates a OrderGetOK with default headers values

func (*OrderGetOK) Error

func (o *OrderGetOK) Error() string

func (*OrderGetOK) GetPayload

func (o *OrderGetOK) GetPayload() *models.ResponseWrapperOrder

type OrderGetParams

type OrderGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewOrderGetParams

func NewOrderGetParams() *OrderGetParams

NewOrderGetParams creates a new OrderGetParams object with the default values initialized.

func NewOrderGetParamsWithContext

func NewOrderGetParamsWithContext(ctx context.Context) *OrderGetParams

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

func NewOrderGetParamsWithHTTPClient

func NewOrderGetParamsWithHTTPClient(client *http.Client) *OrderGetParams

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

func NewOrderGetParamsWithTimeout

func NewOrderGetParamsWithTimeout(timeout time.Duration) *OrderGetParams

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

func (*OrderGetParams) SetContext

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

SetContext adds the context to the order get params

func (*OrderGetParams) SetFields

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

SetFields adds the fields to the order get params

func (*OrderGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order get params

func (*OrderGetParams) SetID

func (o *OrderGetParams) SetID(id int32)

SetID adds the id to the order get params

func (*OrderGetParams) SetTimeout

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

SetTimeout adds the timeout to the order get params

func (*OrderGetParams) WithContext

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

WithContext adds the context to the order get params

func (*OrderGetParams) WithFields

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

WithFields adds the fields to the order get params

func (*OrderGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order get params

func (*OrderGetParams) WithID

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

WithID adds the id to the order get params

func (*OrderGetParams) WithTimeout

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

WithTimeout adds the timeout to the order get params

func (*OrderGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OrderGetReader

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

OrderGetReader is a Reader for the OrderGet structure.

func (*OrderGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderInvoiceInvoiceOK

type OrderInvoiceInvoiceOK struct {
	Payload *models.ResponseWrapperInvoice
}

OrderInvoiceInvoiceOK handles this case with default header values.

successful operation

func NewOrderInvoiceInvoiceOK

func NewOrderInvoiceInvoiceOK() *OrderInvoiceInvoiceOK

NewOrderInvoiceInvoiceOK creates a OrderInvoiceInvoiceOK with default headers values

func (*OrderInvoiceInvoiceOK) Error

func (o *OrderInvoiceInvoiceOK) Error() string

func (*OrderInvoiceInvoiceOK) GetPayload

type OrderInvoiceInvoiceParams

type OrderInvoiceInvoiceParams struct {

	/*ID
	  ID of order to invoice.

	*/
	ID int32
	/*InvoiceDate
	  The invoice date

	*/
	InvoiceDate string
	/*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. This amount is in the invoice currency.

	*/
	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. The payment type must be related to an account with the same currency as the invoice.

	*/
	PaymentTypeID *int32
	/*SendToCustomer
	  Send invoice to customer

	*/
	SendToCustomer *bool

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

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

func NewOrderInvoiceInvoiceParams

func NewOrderInvoiceInvoiceParams() *OrderInvoiceInvoiceParams

NewOrderInvoiceInvoiceParams creates a new OrderInvoiceInvoiceParams object with the default values initialized.

func NewOrderInvoiceInvoiceParamsWithContext

func NewOrderInvoiceInvoiceParamsWithContext(ctx context.Context) *OrderInvoiceInvoiceParams

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

func NewOrderInvoiceInvoiceParamsWithHTTPClient

func NewOrderInvoiceInvoiceParamsWithHTTPClient(client *http.Client) *OrderInvoiceInvoiceParams

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

func NewOrderInvoiceInvoiceParamsWithTimeout

func NewOrderInvoiceInvoiceParamsWithTimeout(timeout time.Duration) *OrderInvoiceInvoiceParams

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

func (*OrderInvoiceInvoiceParams) SetContext

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

SetContext adds the context to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) SetID

func (o *OrderInvoiceInvoiceParams) SetID(id int32)

SetID adds the id to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) SetInvoiceDate

func (o *OrderInvoiceInvoiceParams) SetInvoiceDate(invoiceDate string)

SetInvoiceDate adds the invoiceDate to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) SetPaidAmount

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

SetPaidAmount adds the paidAmount to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) SetPaymentTypeID

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

SetPaymentTypeID adds the paymentTypeId to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) SetSendToCustomer

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

SetSendToCustomer adds the sendToCustomer to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) SetTimeout

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

SetTimeout adds the timeout to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WithContext

WithContext adds the context to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WithID

WithID adds the id to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WithInvoiceDate

func (o *OrderInvoiceInvoiceParams) WithInvoiceDate(invoiceDate string) *OrderInvoiceInvoiceParams

WithInvoiceDate adds the invoiceDate to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WithPaidAmount

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

WithPaidAmount adds the paidAmount to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WithPaymentTypeID

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

WithPaymentTypeID adds the paymentTypeID to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WithSendToCustomer

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

WithSendToCustomer adds the sendToCustomer to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WithTimeout

WithTimeout adds the timeout to the order invoice invoice params

func (*OrderInvoiceInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderInvoiceInvoiceReader

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

OrderInvoiceInvoiceReader is a Reader for the OrderInvoiceInvoice structure.

func (*OrderInvoiceInvoiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK

type OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK struct {
	Payload *models.ResponseWrapperInvoice
}

OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK handles this case with default header values.

successful operation

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK() *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK

NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK creates a OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK with default headers values

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK) Error

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK) GetPayload

type OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams

type OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams struct {

	/*ID
	  List of Order IDs - to the same customer, separated by comma.

	*/
	ID string
	/*InvoiceDate
	  The invoice date

	*/
	InvoiceDate string

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

OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams contains all the parameters to send to the API endpoint for the order invoice multiple orders invoice multiple orders operation typically these are written to a http.Request

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams() *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams

NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams creates a new OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams object with the default values initialized.

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithContext

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithContext(ctx context.Context) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams

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

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithHTTPClient

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithHTTPClient(client *http.Client) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams

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

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithTimeout

func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithTimeout(timeout time.Duration) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams

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

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetContext

SetContext adds the context to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetID

SetID adds the id to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetInvoiceDate

func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetInvoiceDate(invoiceDate string)

SetInvoiceDate adds the invoiceDate to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetTimeout

SetTimeout adds the timeout to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithContext

WithContext adds the context to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithID

WithID adds the id to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithInvoiceDate

WithInvoiceDate adds the invoiceDate to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithTimeout

WithTimeout adds the timeout to the order invoice multiple orders invoice multiple orders params

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderInvoiceMultipleOrdersInvoiceMultipleOrdersReader

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

OrderInvoiceMultipleOrdersInvoiceMultipleOrdersReader is a Reader for the OrderInvoiceMultipleOrdersInvoiceMultipleOrders structure.

func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderListPostListCreated

type OrderListPostListCreated struct {
	Payload *models.ListResponseOrder
}

OrderListPostListCreated handles this case with default header values.

successfully created

func NewOrderListPostListCreated

func NewOrderListPostListCreated() *OrderListPostListCreated

NewOrderListPostListCreated creates a OrderListPostListCreated with default headers values

func (*OrderListPostListCreated) Error

func (o *OrderListPostListCreated) Error() string

func (*OrderListPostListCreated) GetPayload

type OrderListPostListParams

type OrderListPostListParams struct {

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

	*/
	Body []*models.Order

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

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

func NewOrderListPostListParams

func NewOrderListPostListParams() *OrderListPostListParams

NewOrderListPostListParams creates a new OrderListPostListParams object with the default values initialized.

func NewOrderListPostListParamsWithContext

func NewOrderListPostListParamsWithContext(ctx context.Context) *OrderListPostListParams

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

func NewOrderListPostListParamsWithHTTPClient

func NewOrderListPostListParamsWithHTTPClient(client *http.Client) *OrderListPostListParams

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

func NewOrderListPostListParamsWithTimeout

func NewOrderListPostListParamsWithTimeout(timeout time.Duration) *OrderListPostListParams

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

func (*OrderListPostListParams) SetBody

func (o *OrderListPostListParams) SetBody(body []*models.Order)

SetBody adds the body to the order list post list params

func (*OrderListPostListParams) SetContext

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

SetContext adds the context to the order list post list params

func (*OrderListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order list post list params

func (*OrderListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the order list post list params

func (*OrderListPostListParams) WithBody

WithBody adds the body to the order list post list params

func (*OrderListPostListParams) WithContext

WithContext adds the context to the order list post list params

func (*OrderListPostListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order list post list params

func (*OrderListPostListParams) WithTimeout

WithTimeout adds the timeout to the order list post list params

func (*OrderListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderListPostListReader

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

OrderListPostListReader is a Reader for the OrderListPostList structure.

func (*OrderListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderPostCreated

type OrderPostCreated struct {
	Payload *models.ResponseWrapperOrder
}

OrderPostCreated handles this case with default header values.

successfully created

func NewOrderPostCreated

func NewOrderPostCreated() *OrderPostCreated

NewOrderPostCreated creates a OrderPostCreated with default headers values

func (*OrderPostCreated) Error

func (o *OrderPostCreated) Error() string

func (*OrderPostCreated) GetPayload

func (o *OrderPostCreated) GetPayload() *models.ResponseWrapperOrder

type OrderPostParams

type OrderPostParams struct {

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

	*/
	Body *models.Order

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

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

func NewOrderPostParams

func NewOrderPostParams() *OrderPostParams

NewOrderPostParams creates a new OrderPostParams object with the default values initialized.

func NewOrderPostParamsWithContext

func NewOrderPostParamsWithContext(ctx context.Context) *OrderPostParams

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

func NewOrderPostParamsWithHTTPClient

func NewOrderPostParamsWithHTTPClient(client *http.Client) *OrderPostParams

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

func NewOrderPostParamsWithTimeout

func NewOrderPostParamsWithTimeout(timeout time.Duration) *OrderPostParams

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

func (*OrderPostParams) SetBody

func (o *OrderPostParams) SetBody(body *models.Order)

SetBody adds the body to the order post params

func (*OrderPostParams) SetContext

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

SetContext adds the context to the order post params

func (*OrderPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order post params

func (*OrderPostParams) SetTimeout

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

SetTimeout adds the timeout to the order post params

func (*OrderPostParams) WithBody

func (o *OrderPostParams) WithBody(body *models.Order) *OrderPostParams

WithBody adds the body to the order post params

func (*OrderPostParams) WithContext

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

WithContext adds the context to the order post params

func (*OrderPostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order post params

func (*OrderPostParams) WithTimeout

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

WithTimeout adds the timeout to the order post params

func (*OrderPostParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OrderPostReader

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

OrderPostReader is a Reader for the OrderPost structure.

func (*OrderPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderPutOK

type OrderPutOK struct {
	Payload *models.ResponseWrapperOrder
}

OrderPutOK handles this case with default header values.

successful operation

func NewOrderPutOK

func NewOrderPutOK() *OrderPutOK

NewOrderPutOK creates a OrderPutOK with default headers values

func (*OrderPutOK) Error

func (o *OrderPutOK) Error() string

func (*OrderPutOK) GetPayload

func (o *OrderPutOK) GetPayload() *models.ResponseWrapperOrder

type OrderPutParams

type OrderPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.Order
	/*ID
	  Element ID

	*/
	ID int32

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

OrderPutParams contains all the parameters to send to the API endpoint for the order put operation typically these are written to a http.Request

func NewOrderPutParams

func NewOrderPutParams() *OrderPutParams

NewOrderPutParams creates a new OrderPutParams object with the default values initialized.

func NewOrderPutParamsWithContext

func NewOrderPutParamsWithContext(ctx context.Context) *OrderPutParams

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

func NewOrderPutParamsWithHTTPClient

func NewOrderPutParamsWithHTTPClient(client *http.Client) *OrderPutParams

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

func NewOrderPutParamsWithTimeout

func NewOrderPutParamsWithTimeout(timeout time.Duration) *OrderPutParams

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

func (*OrderPutParams) SetBody

func (o *OrderPutParams) SetBody(body *models.Order)

SetBody adds the body to the order put params

func (*OrderPutParams) SetContext

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

SetContext adds the context to the order put params

func (*OrderPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order put params

func (*OrderPutParams) SetID

func (o *OrderPutParams) SetID(id int32)

SetID adds the id to the order put params

func (*OrderPutParams) SetTimeout

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

SetTimeout adds the timeout to the order put params

func (*OrderPutParams) WithBody

func (o *OrderPutParams) WithBody(body *models.Order) *OrderPutParams

WithBody adds the body to the order put params

func (*OrderPutParams) WithContext

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

WithContext adds the context to the order put params

func (*OrderPutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order put params

func (*OrderPutParams) WithID

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

WithID adds the id to the order put params

func (*OrderPutParams) WithTimeout

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

WithTimeout adds the timeout to the order put params

func (*OrderPutParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OrderPutReader

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

OrderPutReader is a Reader for the OrderPut structure.

func (*OrderPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderSearchOK

type OrderSearchOK struct {
	Payload *models.ListResponseOrder
}

OrderSearchOK handles this case with default header values.

successful operation

func NewOrderSearchOK

func NewOrderSearchOK() *OrderSearchOK

NewOrderSearchOK creates a OrderSearchOK with default headers values

func (*OrderSearchOK) Error

func (o *OrderSearchOK) Error() string

func (*OrderSearchOK) GetPayload

func (o *OrderSearchOK) GetPayload() *models.ListResponseOrder

type OrderSearchParams

type OrderSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*CustomerID
	  List of IDs

	*/
	CustomerID *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*IsClosed
	  Equals

	*/
	IsClosed *bool
	/*IsSubscription
	  Equals

	*/
	IsSubscription *bool
	/*Number
	  Equals

	*/
	Number *string
	/*OrderDateFrom
	  From and including

	*/
	OrderDateFrom string
	/*OrderDateTo
	  To and excluding

	*/
	OrderDateTo string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

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

func NewOrderSearchParams

func NewOrderSearchParams() *OrderSearchParams

NewOrderSearchParams creates a new OrderSearchParams object with the default values initialized.

func NewOrderSearchParamsWithContext

func NewOrderSearchParamsWithContext(ctx context.Context) *OrderSearchParams

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

func NewOrderSearchParamsWithHTTPClient

func NewOrderSearchParamsWithHTTPClient(client *http.Client) *OrderSearchParams

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

func NewOrderSearchParamsWithTimeout

func NewOrderSearchParamsWithTimeout(timeout time.Duration) *OrderSearchParams

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

func (*OrderSearchParams) SetContext

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

SetContext adds the context to the order search params

func (*OrderSearchParams) SetCount

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

SetCount adds the count to the order search params

func (*OrderSearchParams) SetCustomerID

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

SetCustomerID adds the customerId to the order search params

func (*OrderSearchParams) SetFields

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

SetFields adds the fields to the order search params

func (*OrderSearchParams) SetFrom

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

SetFrom adds the from to the order search params

func (*OrderSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order search params

func (*OrderSearchParams) SetID

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

SetID adds the id to the order search params

func (*OrderSearchParams) SetIsClosed

func (o *OrderSearchParams) SetIsClosed(isClosed *bool)

SetIsClosed adds the isClosed to the order search params

func (*OrderSearchParams) SetIsSubscription

func (o *OrderSearchParams) SetIsSubscription(isSubscription *bool)

SetIsSubscription adds the isSubscription to the order search params

func (*OrderSearchParams) SetNumber

func (o *OrderSearchParams) SetNumber(number *string)

SetNumber adds the number to the order search params

func (*OrderSearchParams) SetOrderDateFrom

func (o *OrderSearchParams) SetOrderDateFrom(orderDateFrom string)

SetOrderDateFrom adds the orderDateFrom to the order search params

func (*OrderSearchParams) SetOrderDateTo

func (o *OrderSearchParams) SetOrderDateTo(orderDateTo string)

SetOrderDateTo adds the orderDateTo to the order search params

func (*OrderSearchParams) SetSorting

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

SetSorting adds the sorting to the order search params

func (*OrderSearchParams) SetTimeout

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

SetTimeout adds the timeout to the order search params

func (*OrderSearchParams) WithContext

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

WithContext adds the context to the order search params

func (*OrderSearchParams) WithCount

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

WithCount adds the count to the order search params

func (*OrderSearchParams) WithCustomerID

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

WithCustomerID adds the customerID to the order search params

func (*OrderSearchParams) WithFields

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

WithFields adds the fields to the order search params

func (*OrderSearchParams) WithFrom

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

WithFrom adds the from to the order search params

func (*OrderSearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order search params

func (*OrderSearchParams) WithID

func (o *OrderSearchParams) WithID(id *string) *OrderSearchParams

WithID adds the id to the order search params

func (*OrderSearchParams) WithIsClosed

func (o *OrderSearchParams) WithIsClosed(isClosed *bool) *OrderSearchParams

WithIsClosed adds the isClosed to the order search params

func (*OrderSearchParams) WithIsSubscription

func (o *OrderSearchParams) WithIsSubscription(isSubscription *bool) *OrderSearchParams

WithIsSubscription adds the isSubscription to the order search params

func (*OrderSearchParams) WithNumber

func (o *OrderSearchParams) WithNumber(number *string) *OrderSearchParams

WithNumber adds the number to the order search params

func (*OrderSearchParams) WithOrderDateFrom

func (o *OrderSearchParams) WithOrderDateFrom(orderDateFrom string) *OrderSearchParams

WithOrderDateFrom adds the orderDateFrom to the order search params

func (*OrderSearchParams) WithOrderDateTo

func (o *OrderSearchParams) WithOrderDateTo(orderDateTo string) *OrderSearchParams

WithOrderDateTo adds the orderDateTo to the order search params

func (*OrderSearchParams) WithSorting

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

WithSorting adds the sorting to the order search params

func (*OrderSearchParams) WithTimeout

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

WithTimeout adds the timeout to the order search params

func (*OrderSearchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OrderSearchReader

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

OrderSearchReader is a Reader for the OrderSearch structure.

func (*OrderSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault

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

OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault handles this case with default header values.

successful operation

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault(code int) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault

NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault creates a OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault with default headers values

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault) Code

Code gets the status code for the order un approve subscription invoice un approve subscription invoice default response

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault) Error

type OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams

type OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams struct {

	/*ID
	  ID of order to unapprove for subscription invoicing.

	*/
	ID int32

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

OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams contains all the parameters to send to the API endpoint for the order un approve subscription invoice un approve subscription invoice operation typically these are written to a http.Request

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams() *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams

NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams creates a new OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams object with the default values initialized.

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithContext

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithContext(ctx context.Context) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams

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

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithHTTPClient

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithHTTPClient(client *http.Client) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams

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

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithTimeout

func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithTimeout(timeout time.Duration) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams

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

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetContext

SetContext adds the context to the order un approve subscription invoice un approve subscription invoice params

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the order un approve subscription invoice un approve subscription invoice params

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetID

SetID adds the id to the order un approve subscription invoice un approve subscription invoice params

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetTimeout

SetTimeout adds the timeout to the order un approve subscription invoice un approve subscription invoice params

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithContext

WithContext adds the context to the order un approve subscription invoice un approve subscription invoice params

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the order un approve subscription invoice un approve subscription invoice params

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithID

WithID adds the id to the order un approve subscription invoice un approve subscription invoice params

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithTimeout

WithTimeout adds the timeout to the order un approve subscription invoice un approve subscription invoice params

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceReader

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

OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceReader is a Reader for the OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoice structure.

func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceReader) ReadResponse

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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