Documentation ¶
Index ¶
- type Client
- func (a *Client) OrderApproveSubscriptionInvoiceApproveSubscriptionInvoice(params *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams, ...) (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK, error)
- func (a *Client) OrderAttachAttach(params *OrderAttachAttachParams, authInfo runtime.ClientAuthInfoWriter) (*OrderAttachAttachOK, error)
- func (a *Client) OrderGet(params *OrderGetParams, authInfo runtime.ClientAuthInfoWriter) (*OrderGetOK, error)
- func (a *Client) OrderInvoiceInvoice(params *OrderInvoiceInvoiceParams, authInfo runtime.ClientAuthInfoWriter) (*OrderInvoiceInvoiceOK, error)
- func (a *Client) OrderInvoiceMultipleOrdersInvoiceMultipleOrders(params *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams, ...) (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK, error)
- func (a *Client) OrderListPostList(params *OrderListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*OrderListPostListCreated, error)
- func (a *Client) OrderPost(params *OrderPostParams, authInfo runtime.ClientAuthInfoWriter) (*OrderPostCreated, error)
- func (a *Client) OrderPut(params *OrderPutParams, authInfo runtime.ClientAuthInfoWriter) (*OrderPutOK, error)
- func (a *Client) OrderSearch(params *OrderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*OrderSearchOK, error)
- func (a *Client) OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoice(params *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams, ...) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK
- type OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams() *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithContext(ctx context.Context) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithHTTPClient(client *http.Client) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func NewOrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParamsWithTimeout(timeout time.Duration) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetContext(ctx context.Context)
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetID(id int32)
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetInvoiceDate(invoiceDate string)
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithContext(ctx context.Context) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithHTTPClient(client *http.Client) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithID(id int32) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithInvoiceDate(invoiceDate string) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithTimeout(timeout time.Duration) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
- func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceReader
- type OrderAttachAttachOK
- type OrderAttachAttachParams
- func NewOrderAttachAttachParams() *OrderAttachAttachParams
- func NewOrderAttachAttachParamsWithContext(ctx context.Context) *OrderAttachAttachParams
- func NewOrderAttachAttachParamsWithHTTPClient(client *http.Client) *OrderAttachAttachParams
- func NewOrderAttachAttachParamsWithTimeout(timeout time.Duration) *OrderAttachAttachParams
- func (o *OrderAttachAttachParams) SetContext(ctx context.Context)
- func (o *OrderAttachAttachParams) SetFile(file runtime.NamedReadCloser)
- func (o *OrderAttachAttachParams) SetHTTPClient(client *http.Client)
- func (o *OrderAttachAttachParams) SetID(id int32)
- func (o *OrderAttachAttachParams) SetTimeout(timeout time.Duration)
- func (o *OrderAttachAttachParams) WithContext(ctx context.Context) *OrderAttachAttachParams
- func (o *OrderAttachAttachParams) WithFile(file runtime.NamedReadCloser) *OrderAttachAttachParams
- func (o *OrderAttachAttachParams) WithHTTPClient(client *http.Client) *OrderAttachAttachParams
- func (o *OrderAttachAttachParams) WithID(id int32) *OrderAttachAttachParams
- func (o *OrderAttachAttachParams) WithTimeout(timeout time.Duration) *OrderAttachAttachParams
- func (o *OrderAttachAttachParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderAttachAttachReader
- type OrderGetOK
- type OrderGetParams
- func (o *OrderGetParams) SetContext(ctx context.Context)
- func (o *OrderGetParams) SetFields(fields *string)
- func (o *OrderGetParams) SetHTTPClient(client *http.Client)
- func (o *OrderGetParams) SetID(id int32)
- func (o *OrderGetParams) SetTimeout(timeout time.Duration)
- func (o *OrderGetParams) WithContext(ctx context.Context) *OrderGetParams
- func (o *OrderGetParams) WithFields(fields *string) *OrderGetParams
- func (o *OrderGetParams) WithHTTPClient(client *http.Client) *OrderGetParams
- func (o *OrderGetParams) WithID(id int32) *OrderGetParams
- func (o *OrderGetParams) WithTimeout(timeout time.Duration) *OrderGetParams
- func (o *OrderGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderGetReader
- type OrderInvoiceInvoiceOK
- type OrderInvoiceInvoiceParams
- func NewOrderInvoiceInvoiceParams() *OrderInvoiceInvoiceParams
- func NewOrderInvoiceInvoiceParamsWithContext(ctx context.Context) *OrderInvoiceInvoiceParams
- func NewOrderInvoiceInvoiceParamsWithHTTPClient(client *http.Client) *OrderInvoiceInvoiceParams
- func NewOrderInvoiceInvoiceParamsWithTimeout(timeout time.Duration) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) SetContext(ctx context.Context)
- func (o *OrderInvoiceInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *OrderInvoiceInvoiceParams) SetID(id int32)
- func (o *OrderInvoiceInvoiceParams) SetInvoiceDate(invoiceDate string)
- func (o *OrderInvoiceInvoiceParams) SetPaidAmount(paidAmount *float64)
- func (o *OrderInvoiceInvoiceParams) SetPaymentTypeID(paymentTypeID *int32)
- func (o *OrderInvoiceInvoiceParams) SetSendToCustomer(sendToCustomer *bool)
- func (o *OrderInvoiceInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *OrderInvoiceInvoiceParams) WithContext(ctx context.Context) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) WithHTTPClient(client *http.Client) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) WithID(id int32) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) WithInvoiceDate(invoiceDate string) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) WithPaidAmount(paidAmount *float64) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) WithPaymentTypeID(paymentTypeID *int32) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) WithSendToCustomer(sendToCustomer *bool) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) WithTimeout(timeout time.Duration) *OrderInvoiceInvoiceParams
- func (o *OrderInvoiceInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderInvoiceInvoiceReader
- type OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK
- type OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams() *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithContext(ctx context.Context) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithHTTPClient(client *http.Client) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func NewOrderInvoiceMultipleOrdersInvoiceMultipleOrdersParamsWithTimeout(timeout time.Duration) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetContext(ctx context.Context)
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetHTTPClient(client *http.Client)
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetID(id string)
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetInvoiceDate(invoiceDate string)
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetTimeout(timeout time.Duration)
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithContext(ctx context.Context) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithHTTPClient(client *http.Client) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithID(id string) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithInvoiceDate(invoiceDate string) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithTimeout(timeout time.Duration) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
- func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderInvoiceMultipleOrdersInvoiceMultipleOrdersReader
- type OrderListPostListCreated
- type OrderListPostListParams
- func NewOrderListPostListParams() *OrderListPostListParams
- func NewOrderListPostListParamsWithContext(ctx context.Context) *OrderListPostListParams
- func NewOrderListPostListParamsWithHTTPClient(client *http.Client) *OrderListPostListParams
- func NewOrderListPostListParamsWithTimeout(timeout time.Duration) *OrderListPostListParams
- func (o *OrderListPostListParams) SetBody(body []*models.Order)
- func (o *OrderListPostListParams) SetContext(ctx context.Context)
- func (o *OrderListPostListParams) SetHTTPClient(client *http.Client)
- func (o *OrderListPostListParams) SetTimeout(timeout time.Duration)
- func (o *OrderListPostListParams) WithBody(body []*models.Order) *OrderListPostListParams
- func (o *OrderListPostListParams) WithContext(ctx context.Context) *OrderListPostListParams
- func (o *OrderListPostListParams) WithHTTPClient(client *http.Client) *OrderListPostListParams
- func (o *OrderListPostListParams) WithTimeout(timeout time.Duration) *OrderListPostListParams
- func (o *OrderListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderListPostListReader
- type OrderPostCreated
- type OrderPostParams
- func (o *OrderPostParams) SetBody(body *models.Order)
- func (o *OrderPostParams) SetContext(ctx context.Context)
- func (o *OrderPostParams) SetHTTPClient(client *http.Client)
- func (o *OrderPostParams) SetTimeout(timeout time.Duration)
- func (o *OrderPostParams) WithBody(body *models.Order) *OrderPostParams
- func (o *OrderPostParams) WithContext(ctx context.Context) *OrderPostParams
- func (o *OrderPostParams) WithHTTPClient(client *http.Client) *OrderPostParams
- func (o *OrderPostParams) WithTimeout(timeout time.Duration) *OrderPostParams
- func (o *OrderPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderPostReader
- type OrderPutOK
- type OrderPutParams
- func (o *OrderPutParams) SetBody(body *models.Order)
- func (o *OrderPutParams) SetContext(ctx context.Context)
- func (o *OrderPutParams) SetHTTPClient(client *http.Client)
- func (o *OrderPutParams) SetID(id int32)
- func (o *OrderPutParams) SetTimeout(timeout time.Duration)
- func (o *OrderPutParams) WithBody(body *models.Order) *OrderPutParams
- func (o *OrderPutParams) WithContext(ctx context.Context) *OrderPutParams
- func (o *OrderPutParams) WithHTTPClient(client *http.Client) *OrderPutParams
- func (o *OrderPutParams) WithID(id int32) *OrderPutParams
- func (o *OrderPutParams) WithTimeout(timeout time.Duration) *OrderPutParams
- func (o *OrderPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderPutReader
- type OrderSearchOK
- type OrderSearchParams
- func (o *OrderSearchParams) SetContext(ctx context.Context)
- func (o *OrderSearchParams) SetCount(count *int64)
- func (o *OrderSearchParams) SetCustomerID(customerID *string)
- func (o *OrderSearchParams) SetFields(fields *string)
- func (o *OrderSearchParams) SetFrom(from *int64)
- func (o *OrderSearchParams) SetHTTPClient(client *http.Client)
- func (o *OrderSearchParams) SetID(id *string)
- func (o *OrderSearchParams) SetIsClosed(isClosed *bool)
- func (o *OrderSearchParams) SetIsSubscription(isSubscription *bool)
- func (o *OrderSearchParams) SetNumber(number *string)
- func (o *OrderSearchParams) SetOrderDateFrom(orderDateFrom string)
- func (o *OrderSearchParams) SetOrderDateTo(orderDateTo string)
- func (o *OrderSearchParams) SetSorting(sorting *string)
- func (o *OrderSearchParams) SetTimeout(timeout time.Duration)
- func (o *OrderSearchParams) WithContext(ctx context.Context) *OrderSearchParams
- func (o *OrderSearchParams) WithCount(count *int64) *OrderSearchParams
- func (o *OrderSearchParams) WithCustomerID(customerID *string) *OrderSearchParams
- func (o *OrderSearchParams) WithFields(fields *string) *OrderSearchParams
- func (o *OrderSearchParams) WithFrom(from *int64) *OrderSearchParams
- func (o *OrderSearchParams) WithHTTPClient(client *http.Client) *OrderSearchParams
- func (o *OrderSearchParams) WithID(id *string) *OrderSearchParams
- func (o *OrderSearchParams) WithIsClosed(isClosed *bool) *OrderSearchParams
- func (o *OrderSearchParams) WithIsSubscription(isSubscription *bool) *OrderSearchParams
- func (o *OrderSearchParams) WithNumber(number *string) *OrderSearchParams
- func (o *OrderSearchParams) WithOrderDateFrom(orderDateFrom string) *OrderSearchParams
- func (o *OrderSearchParams) WithOrderDateTo(orderDateTo string) *OrderSearchParams
- func (o *OrderSearchParams) WithSorting(sorting *string) *OrderSearchParams
- func (o *OrderSearchParams) WithTimeout(timeout time.Duration) *OrderSearchParams
- func (o *OrderSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderSearchReader
- type OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault
- type OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams() *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithContext(ctx context.Context) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithHTTPClient(client *http.Client) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func NewOrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParamsWithTimeout(timeout time.Duration) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetContext(ctx context.Context)
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetID(id int32)
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithContext(ctx context.Context) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithHTTPClient(client *http.Client) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithID(id int32) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithTimeout(timeout time.Duration) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
- func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceReader
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 ¶
func (a *Client) OrderApproveSubscriptionInvoiceApproveSubscriptionInvoice(params *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams, authInfo runtime.ClientAuthInfoWriter) (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK, error)
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 ¶
func (a *Client) OrderInvoiceMultipleOrdersInvoiceMultipleOrders(params *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK, error)
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 (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK) Error() string
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK) GetPayload ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceOK) GetPayload() *models.ResponseWrapperInvoice
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 ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetHTTPClient ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetID ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetID(id int32)
SetID adds the id to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetInvoiceDate ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetInvoiceDate(invoiceDate string)
SetInvoiceDate adds the invoiceDate to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetTimeout ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithContext ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithContext(ctx context.Context) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
WithContext adds the context to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithHTTPClient ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithHTTPClient(client *http.Client) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
WithHTTPClient adds the HTTPClient to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithID ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithID(id int32) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
WithID adds the id to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithInvoiceDate ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithInvoiceDate(invoiceDate string) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
WithInvoiceDate adds the invoiceDate to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithTimeout ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WithTimeout(timeout time.Duration) *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams
WithTimeout adds the timeout to the order approve subscription invoice approve subscription invoice params
func (*OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WriteToRequest ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *OrderApproveSubscriptionInvoiceApproveSubscriptionInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
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 ¶
func (o *OrderAttachAttachOK) GetPayload() *models.ResponseWrapperDocumentArchive
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 ¶
func (o *OrderAttachAttachParams) SetFile(file runtime.NamedReadCloser)
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 ¶
func (o *OrderAttachAttachParams) WithContext(ctx context.Context) *OrderAttachAttachParams
WithContext adds the context to the order attach attach params
func (*OrderAttachAttachParams) WithFile ¶
func (o *OrderAttachAttachParams) WithFile(file runtime.NamedReadCloser) *OrderAttachAttachParams
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 ¶
func (o *OrderAttachAttachParams) WithID(id int32) *OrderAttachAttachParams
WithID adds the id to the order attach attach params
func (*OrderAttachAttachParams) WithTimeout ¶
func (o *OrderAttachAttachParams) WithTimeout(timeout time.Duration) *OrderAttachAttachParams
WithTimeout adds the timeout to the order attach attach params
func (*OrderAttachAttachParams) WriteToRequest ¶
func (o *OrderAttachAttachParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *OrderInvoiceInvoiceOK) GetPayload() *models.ResponseWrapperInvoice
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 ¶
func (o *OrderInvoiceInvoiceParams) WithContext(ctx context.Context) *OrderInvoiceInvoiceParams
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 ¶
func (o *OrderInvoiceInvoiceParams) WithID(id int32) *OrderInvoiceInvoiceParams
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 ¶
func (o *OrderInvoiceInvoiceParams) WithTimeout(timeout time.Duration) *OrderInvoiceInvoiceParams
WithTimeout adds the timeout to the order invoice invoice params
func (*OrderInvoiceInvoiceParams) WriteToRequest ¶
func (o *OrderInvoiceInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK) Error() string
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK) GetPayload ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersOK) GetPayload() *models.ResponseWrapperInvoice
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 ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the order invoice multiple orders invoice multiple orders params
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetHTTPClient ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the order invoice multiple orders invoice multiple orders params
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetID ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetID(id string)
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 ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the order invoice multiple orders invoice multiple orders params
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithContext ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithContext(ctx context.Context) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
WithContext adds the context to the order invoice multiple orders invoice multiple orders params
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithHTTPClient ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithHTTPClient(client *http.Client) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
WithHTTPClient adds the HTTPClient to the order invoice multiple orders invoice multiple orders params
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithID ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithID(id string) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
WithID adds the id to the order invoice multiple orders invoice multiple orders params
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithInvoiceDate ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithInvoiceDate(invoiceDate string) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
WithInvoiceDate adds the invoiceDate to the order invoice multiple orders invoice multiple orders params
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithTimeout ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WithTimeout(timeout time.Duration) *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams
WithTimeout adds the timeout to the order invoice multiple orders invoice multiple orders params
func (*OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WriteToRequest ¶
func (o *OrderInvoiceMultipleOrdersInvoiceMultipleOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *OrderListPostListCreated) GetPayload() *models.ListResponseOrder
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 ¶
func (o *OrderListPostListParams) WithBody(body []*models.Order) *OrderListPostListParams
WithBody adds the body to the order list post list params
func (*OrderListPostListParams) WithContext ¶
func (o *OrderListPostListParams) WithContext(ctx context.Context) *OrderListPostListParams
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 ¶
func (o *OrderListPostListParams) WithTimeout(timeout time.Duration) *OrderListPostListParams
WithTimeout adds the timeout to the order list post list params
func (*OrderListPostListParams) WriteToRequest ¶
func (o *OrderListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault) Code() int
Code gets the status code for the order un approve subscription invoice un approve subscription invoice default response
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault) Error ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceDefault) Error() string
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 ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the order un approve subscription invoice un approve subscription invoice params
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetHTTPClient ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the order un approve subscription invoice un approve subscription invoice params
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetID ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetID(id int32)
SetID adds the id to the order un approve subscription invoice un approve subscription invoice params
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetTimeout ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the order un approve subscription invoice un approve subscription invoice params
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithContext ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithContext(ctx context.Context) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
WithContext adds the context to the order un approve subscription invoice un approve subscription invoice params
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithHTTPClient ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithHTTPClient(client *http.Client) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
WithHTTPClient adds the HTTPClient to the order un approve subscription invoice un approve subscription invoice params
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithID ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithID(id int32) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
WithID adds the id to the order un approve subscription invoice un approve subscription invoice params
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithTimeout ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WithTimeout(timeout time.Duration) *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams
WithTimeout adds the timeout to the order un approve subscription invoice un approve subscription invoice params
func (*OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WriteToRequest ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *OrderUnApproveSubscriptionInvoiceUnApproveSubscriptionInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- order_approve_subscription_invoice_approve_subscription_invoice_parameters.go
- order_approve_subscription_invoice_approve_subscription_invoice_responses.go
- order_attach_attach_parameters.go
- order_attach_attach_responses.go
- order_client.go
- order_get_parameters.go
- order_get_responses.go
- order_invoice_invoice_parameters.go
- order_invoice_invoice_responses.go
- order_invoice_multiple_orders_invoice_multiple_orders_parameters.go
- order_invoice_multiple_orders_invoice_multiple_orders_responses.go
- order_list_post_list_parameters.go
- order_list_post_list_responses.go
- order_post_parameters.go
- order_post_responses.go
- order_put_parameters.go
- order_put_responses.go
- order_search_parameters.go
- order_search_responses.go
- order_un_approve_subscription_invoice_un_approve_subscription_invoice_parameters.go
- order_un_approve_subscription_invoice_un_approve_subscription_invoice_responses.go