Documentation
¶
Index ¶
- type Client
- func (a *Client) ExecuteInvoice(params *ExecuteInvoiceParams) (*ExecuteInvoiceOK, error)
- func (a *Client) GetInvoiceAsPDF(params *GetInvoiceAsPDFParams) (*GetInvoiceAsPDFOK, error)
- func (a *Client) GetInvoiceByID(params *GetInvoiceByIDParams) (*GetInvoiceByIDOK, error)
- func (a *Client) GetInvoicesByAccountID(params *GetInvoicesByAccountIDParams) (*GetInvoicesByAccountIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ExecuteInvoiceDefault
- type ExecuteInvoiceOK
- type ExecuteInvoiceParams
- func NewExecuteInvoiceParams() *ExecuteInvoiceParams
- func NewExecuteInvoiceParamsWithContext(ctx context.Context) *ExecuteInvoiceParams
- func NewExecuteInvoiceParamsWithHTTPClient(client *http.Client) *ExecuteInvoiceParams
- func NewExecuteInvoiceParamsWithTimeout(timeout time.Duration) *ExecuteInvoiceParams
- func (o *ExecuteInvoiceParams) SetContext(ctx context.Context)
- func (o *ExecuteInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *ExecuteInvoiceParams) SetInvoiceID(invoiceID string)
- func (o *ExecuteInvoiceParams) SetRequest(request *models.ExecuteInvoiceRequest)
- func (o *ExecuteInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *ExecuteInvoiceParams) WithContext(ctx context.Context) *ExecuteInvoiceParams
- func (o *ExecuteInvoiceParams) WithHTTPClient(client *http.Client) *ExecuteInvoiceParams
- func (o *ExecuteInvoiceParams) WithInvoiceID(invoiceID string) *ExecuteInvoiceParams
- func (o *ExecuteInvoiceParams) WithRequest(request *models.ExecuteInvoiceRequest) *ExecuteInvoiceParams
- func (o *ExecuteInvoiceParams) WithTimeout(timeout time.Duration) *ExecuteInvoiceParams
- func (o *ExecuteInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecuteInvoiceReader
- type GetInvoiceAsPDFDefault
- type GetInvoiceAsPDFOK
- type GetInvoiceAsPDFParams
- func NewGetInvoiceAsPDFParams() *GetInvoiceAsPDFParams
- func NewGetInvoiceAsPDFParamsWithContext(ctx context.Context) *GetInvoiceAsPDFParams
- func NewGetInvoiceAsPDFParamsWithHTTPClient(client *http.Client) *GetInvoiceAsPDFParams
- func NewGetInvoiceAsPDFParamsWithTimeout(timeout time.Duration) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) SetContext(ctx context.Context)
- func (o *GetInvoiceAsPDFParams) SetGroupLineItemsBy(groupLineItemsBy *string)
- func (o *GetInvoiceAsPDFParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceAsPDFParams) SetID(id string)
- func (o *GetInvoiceAsPDFParams) SetIncludeFooter(includeFooter *bool)
- func (o *GetInvoiceAsPDFParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetInvoiceAsPDFParams) SetInclusiveEnd(inclusiveEnd *bool)
- func (o *GetInvoiceAsPDFParams) SetOffset(offset *int32)
- func (o *GetInvoiceAsPDFParams) SetOrder(order *string)
- func (o *GetInvoiceAsPDFParams) SetOrderBy(orderBy *string)
- func (o *GetInvoiceAsPDFParams) SetOrganizations(organizations []string)
- func (o *GetInvoiceAsPDFParams) SetRecords(records *int32)
- func (o *GetInvoiceAsPDFParams) SetShowPlanOnlyWhenAmbiguous(showPlanOnlyWhenAmbiguous *bool)
- func (o *GetInvoiceAsPDFParams) SetShowZeroCost(showZeroCost *bool)
- func (o *GetInvoiceAsPDFParams) SetTierBreakdown(tierBreakdown *bool)
- func (o *GetInvoiceAsPDFParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceAsPDFParams) WithContext(ctx context.Context) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithGroupLineItemsBy(groupLineItemsBy *string) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithHTTPClient(client *http.Client) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithID(id string) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithIncludeFooter(includeFooter *bool) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithIncludeRetired(includeRetired *bool) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithInclusiveEnd(inclusiveEnd *bool) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithOffset(offset *int32) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithOrder(order *string) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithOrderBy(orderBy *string) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithOrganizations(organizations []string) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithRecords(records *int32) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithShowPlanOnlyWhenAmbiguous(showPlanOnlyWhenAmbiguous *bool) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithShowZeroCost(showZeroCost *bool) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithTierBreakdown(tierBreakdown *bool) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WithTimeout(timeout time.Duration) *GetInvoiceAsPDFParams
- func (o *GetInvoiceAsPDFParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceAsPDFReader
- type GetInvoiceByIDDefault
- type GetInvoiceByIDOK
- type GetInvoiceByIDParams
- func NewGetInvoiceByIDParams() *GetInvoiceByIDParams
- func NewGetInvoiceByIDParamsWithContext(ctx context.Context) *GetInvoiceByIDParams
- func NewGetInvoiceByIDParamsWithHTTPClient(client *http.Client) *GetInvoiceByIDParams
- func NewGetInvoiceByIDParamsWithTimeout(timeout time.Duration) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) SetContext(ctx context.Context)
- func (o *GetInvoiceByIDParams) SetExcludeChildren(excludeChildren *bool)
- func (o *GetInvoiceByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceByIDParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetInvoiceByIDParams) SetInvoiceID(invoiceID string)
- func (o *GetInvoiceByIDParams) SetOffset(offset *int32)
- func (o *GetInvoiceByIDParams) SetOrder(order *string)
- func (o *GetInvoiceByIDParams) SetOrderBy(orderBy *string)
- func (o *GetInvoiceByIDParams) SetOrganizations(organizations []string)
- func (o *GetInvoiceByIDParams) SetRecords(records *int32)
- func (o *GetInvoiceByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceByIDParams) WithContext(ctx context.Context) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithExcludeChildren(excludeChildren *bool) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithHTTPClient(client *http.Client) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithIncludeRetired(includeRetired *bool) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithInvoiceID(invoiceID string) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithOffset(offset *int32) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithOrder(order *string) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithOrderBy(orderBy *string) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithOrganizations(organizations []string) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithRecords(records *int32) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WithTimeout(timeout time.Duration) *GetInvoiceByIDParams
- func (o *GetInvoiceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceByIDReader
- type GetInvoicesByAccountIDDefault
- type GetInvoicesByAccountIDOK
- type GetInvoicesByAccountIDParams
- func NewGetInvoicesByAccountIDParams() *GetInvoicesByAccountIDParams
- func NewGetInvoicesByAccountIDParamsWithContext(ctx context.Context) *GetInvoicesByAccountIDParams
- func NewGetInvoicesByAccountIDParamsWithHTTPClient(client *http.Client) *GetInvoicesByAccountIDParams
- func NewGetInvoicesByAccountIDParamsWithTimeout(timeout time.Duration) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) SetAccountID(accountID string)
- func (o *GetInvoicesByAccountIDParams) SetContext(ctx context.Context)
- func (o *GetInvoicesByAccountIDParams) SetExcludeChildren(excludeChildren *bool)
- func (o *GetInvoicesByAccountIDParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoicesByAccountIDParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetInvoicesByAccountIDParams) SetOffset(offset *int32)
- func (o *GetInvoicesByAccountIDParams) SetOrder(order *string)
- func (o *GetInvoicesByAccountIDParams) SetOrderBy(orderBy *string)
- func (o *GetInvoicesByAccountIDParams) SetOrganizations(organizations []string)
- func (o *GetInvoicesByAccountIDParams) SetRecords(records *int32)
- func (o *GetInvoicesByAccountIDParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoicesByAccountIDParams) WithAccountID(accountID string) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithContext(ctx context.Context) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithExcludeChildren(excludeChildren *bool) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithHTTPClient(client *http.Client) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithIncludeRetired(includeRetired *bool) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithOffset(offset *int32) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithOrder(order *string) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithOrderBy(orderBy *string) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithOrganizations(organizations []string) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithRecords(records *int32) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WithTimeout(timeout time.Duration) *GetInvoicesByAccountIDParams
- func (o *GetInvoicesByAccountIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoicesByAccountIDReader
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 invoices API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new invoices API client.
func (*Client) ExecuteInvoice ¶
func (a *Client) ExecuteInvoice(params *ExecuteInvoiceParams) (*ExecuteInvoiceOK, error)
ExecuteInvoice attempts payment for the outstanding value of an invoice
{"nickname":"Execute invoice","response":"executeInvoiceResponse.html","request":"ExecuteInvoiceRequest.html"}
func (*Client) GetInvoiceAsPDF ¶
func (a *Client) GetInvoiceAsPDF(params *GetInvoiceAsPDFParams) (*GetInvoiceAsPDFOK, error)
GetInvoiceAsPDF retrieves a single invoice specified by the ID parameter
{ "nickname" : "PDF Invoice","response" : "getInvoiceByID.pdf"}
func (*Client) GetInvoiceByID ¶
func (a *Client) GetInvoiceByID(params *GetInvoiceByIDParams) (*GetInvoiceByIDOK, error)
GetInvoiceByID retrieves a single invoice specified by the invoice ID parameter
{ "nickname" : "Retrieve an existing invoice","response" : "getInvoiceByID.html"}
func (*Client) GetInvoicesByAccountID ¶
func (a *Client) GetInvoicesByAccountID(params *GetInvoicesByAccountIDParams) (*GetInvoicesByAccountIDOK, error)
GetInvoicesByAccountID retrieves a collection of invoices specified by the account ID parameter by default 10 values are returned records are returned in natural order
{ "nickname" : "Retrieve by account","response" : "getInvoiceByAccountID.html"}
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ExecuteInvoiceDefault ¶
type ExecuteInvoiceDefault struct { Payload *models.BFError // contains filtered or unexported fields }
ExecuteInvoiceDefault handles this case with default header values.
error
func NewExecuteInvoiceDefault ¶
func NewExecuteInvoiceDefault(code int) *ExecuteInvoiceDefault
NewExecuteInvoiceDefault creates a ExecuteInvoiceDefault with default headers values
func (*ExecuteInvoiceDefault) Code ¶
func (o *ExecuteInvoiceDefault) Code() int
Code gets the status code for the execute invoice default response
func (*ExecuteInvoiceDefault) Error ¶
func (o *ExecuteInvoiceDefault) Error() string
type ExecuteInvoiceOK ¶
type ExecuteInvoiceOK struct {
Payload *models.InvoicePagedMetadata
}
ExecuteInvoiceOK handles this case with default header values.
success
func NewExecuteInvoiceOK ¶
func NewExecuteInvoiceOK() *ExecuteInvoiceOK
NewExecuteInvoiceOK creates a ExecuteInvoiceOK with default headers values
func (*ExecuteInvoiceOK) Error ¶
func (o *ExecuteInvoiceOK) Error() string
type ExecuteInvoiceParams ¶
type ExecuteInvoiceParams struct { /*InvoiceID*/ InvoiceID string /*Request*/ Request *models.ExecuteInvoiceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExecuteInvoiceParams contains all the parameters to send to the API endpoint for the execute invoice operation typically these are written to a http.Request
func NewExecuteInvoiceParams ¶
func NewExecuteInvoiceParams() *ExecuteInvoiceParams
NewExecuteInvoiceParams creates a new ExecuteInvoiceParams object with the default values initialized.
func NewExecuteInvoiceParamsWithContext ¶
func NewExecuteInvoiceParamsWithContext(ctx context.Context) *ExecuteInvoiceParams
NewExecuteInvoiceParamsWithContext creates a new ExecuteInvoiceParams object with the default values initialized, and the ability to set a context for a request
func NewExecuteInvoiceParamsWithHTTPClient ¶
func NewExecuteInvoiceParamsWithHTTPClient(client *http.Client) *ExecuteInvoiceParams
NewExecuteInvoiceParamsWithHTTPClient creates a new ExecuteInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExecuteInvoiceParamsWithTimeout ¶
func NewExecuteInvoiceParamsWithTimeout(timeout time.Duration) *ExecuteInvoiceParams
NewExecuteInvoiceParamsWithTimeout creates a new ExecuteInvoiceParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExecuteInvoiceParams) SetContext ¶
func (o *ExecuteInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the execute invoice params
func (*ExecuteInvoiceParams) SetHTTPClient ¶
func (o *ExecuteInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the execute invoice params
func (*ExecuteInvoiceParams) SetInvoiceID ¶
func (o *ExecuteInvoiceParams) SetInvoiceID(invoiceID string)
SetInvoiceID adds the invoiceId to the execute invoice params
func (*ExecuteInvoiceParams) SetRequest ¶
func (o *ExecuteInvoiceParams) SetRequest(request *models.ExecuteInvoiceRequest)
SetRequest adds the request to the execute invoice params
func (*ExecuteInvoiceParams) SetTimeout ¶
func (o *ExecuteInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the execute invoice params
func (*ExecuteInvoiceParams) WithContext ¶
func (o *ExecuteInvoiceParams) WithContext(ctx context.Context) *ExecuteInvoiceParams
WithContext adds the context to the execute invoice params
func (*ExecuteInvoiceParams) WithHTTPClient ¶
func (o *ExecuteInvoiceParams) WithHTTPClient(client *http.Client) *ExecuteInvoiceParams
WithHTTPClient adds the HTTPClient to the execute invoice params
func (*ExecuteInvoiceParams) WithInvoiceID ¶
func (o *ExecuteInvoiceParams) WithInvoiceID(invoiceID string) *ExecuteInvoiceParams
WithInvoiceID adds the invoiceID to the execute invoice params
func (*ExecuteInvoiceParams) WithRequest ¶
func (o *ExecuteInvoiceParams) WithRequest(request *models.ExecuteInvoiceRequest) *ExecuteInvoiceParams
WithRequest adds the request to the execute invoice params
func (*ExecuteInvoiceParams) WithTimeout ¶
func (o *ExecuteInvoiceParams) WithTimeout(timeout time.Duration) *ExecuteInvoiceParams
WithTimeout adds the timeout to the execute invoice params
func (*ExecuteInvoiceParams) WriteToRequest ¶
func (o *ExecuteInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecuteInvoiceReader ¶
type ExecuteInvoiceReader struct {
// contains filtered or unexported fields
}
ExecuteInvoiceReader is a Reader for the ExecuteInvoice structure.
func (*ExecuteInvoiceReader) ReadResponse ¶
func (o *ExecuteInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceAsPDFDefault ¶
type GetInvoiceAsPDFDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetInvoiceAsPDFDefault handles this case with default header values.
error
func NewGetInvoiceAsPDFDefault ¶
func NewGetInvoiceAsPDFDefault(code int) *GetInvoiceAsPDFDefault
NewGetInvoiceAsPDFDefault creates a GetInvoiceAsPDFDefault with default headers values
func (*GetInvoiceAsPDFDefault) Code ¶
func (o *GetInvoiceAsPDFDefault) Code() int
Code gets the status code for the get invoice as p d f default response
func (*GetInvoiceAsPDFDefault) Error ¶
func (o *GetInvoiceAsPDFDefault) Error() string
type GetInvoiceAsPDFOK ¶
GetInvoiceAsPDFOK handles this case with default header values.
success
func NewGetInvoiceAsPDFOK ¶
func NewGetInvoiceAsPDFOK() *GetInvoiceAsPDFOK
NewGetInvoiceAsPDFOK creates a GetInvoiceAsPDFOK with default headers values
func (*GetInvoiceAsPDFOK) Error ¶
func (o *GetInvoiceAsPDFOK) Error() string
type GetInvoiceAsPDFParams ¶
type GetInvoiceAsPDFParams struct { /*ID The ID of the invoice. */ ID string /*GroupLineItemsBy*/ GroupLineItemsBy *string IncludeFooter *bool /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*InclusiveEnd Whether to present in the Invoice date range only those dates whose entirety are involved in the billing period. In other words: when true, this subtracts 1 from the "period end" date shown to the customer. */ InclusiveEnd *bool /*Offset The offset from the first invoice to return. */ Offset *int32 /*Order Ihe direction of any ordering, either ASC or DESC. */ Order *string /*OrderBy Specify a field used to order the result set. */ OrderBy *string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*Records The maximum number of invoices to return. */ Records *int32 /*ShowPlanOnlyWhenAmbiguous Whether to state which plan the Invoice lines came from, regardless of whether there's only one plan involved in this Invoice. */ ShowPlanOnlyWhenAmbiguous *bool /*ShowZeroCost Whether to show zero-cost lines. */ ShowZeroCost *bool /*TierBreakdown Whether to provide a breakdown of charge tiering. */ TierBreakdown *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceAsPDFParams contains all the parameters to send to the API endpoint for the get invoice as p d f operation typically these are written to a http.Request
func NewGetInvoiceAsPDFParams ¶
func NewGetInvoiceAsPDFParams() *GetInvoiceAsPDFParams
NewGetInvoiceAsPDFParams creates a new GetInvoiceAsPDFParams object with the default values initialized.
func NewGetInvoiceAsPDFParamsWithContext ¶
func NewGetInvoiceAsPDFParamsWithContext(ctx context.Context) *GetInvoiceAsPDFParams
NewGetInvoiceAsPDFParamsWithContext creates a new GetInvoiceAsPDFParams object with the default values initialized, and the ability to set a context for a request
func NewGetInvoiceAsPDFParamsWithHTTPClient ¶
func NewGetInvoiceAsPDFParamsWithHTTPClient(client *http.Client) *GetInvoiceAsPDFParams
NewGetInvoiceAsPDFParamsWithHTTPClient creates a new GetInvoiceAsPDFParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInvoiceAsPDFParamsWithTimeout ¶
func NewGetInvoiceAsPDFParamsWithTimeout(timeout time.Duration) *GetInvoiceAsPDFParams
NewGetInvoiceAsPDFParamsWithTimeout creates a new GetInvoiceAsPDFParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInvoiceAsPDFParams) SetContext ¶
func (o *GetInvoiceAsPDFParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetGroupLineItemsBy ¶
func (o *GetInvoiceAsPDFParams) SetGroupLineItemsBy(groupLineItemsBy *string)
SetGroupLineItemsBy adds the groupLineItemsBy to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetHTTPClient ¶
func (o *GetInvoiceAsPDFParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetID ¶
func (o *GetInvoiceAsPDFParams) SetID(id string)
SetID adds the id to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetIncludeFooter ¶
func (o *GetInvoiceAsPDFParams) SetIncludeFooter(includeFooter *bool)
SetIncludeFooter adds the includeFooter to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetIncludeRetired ¶
func (o *GetInvoiceAsPDFParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetInclusiveEnd ¶
func (o *GetInvoiceAsPDFParams) SetInclusiveEnd(inclusiveEnd *bool)
SetInclusiveEnd adds the inclusiveEnd to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetOffset ¶
func (o *GetInvoiceAsPDFParams) SetOffset(offset *int32)
SetOffset adds the offset to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetOrder ¶
func (o *GetInvoiceAsPDFParams) SetOrder(order *string)
SetOrder adds the order to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetOrderBy ¶
func (o *GetInvoiceAsPDFParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetOrganizations ¶
func (o *GetInvoiceAsPDFParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetRecords ¶
func (o *GetInvoiceAsPDFParams) SetRecords(records *int32)
SetRecords adds the records to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetShowPlanOnlyWhenAmbiguous ¶
func (o *GetInvoiceAsPDFParams) SetShowPlanOnlyWhenAmbiguous(showPlanOnlyWhenAmbiguous *bool)
SetShowPlanOnlyWhenAmbiguous adds the showPlanOnlyWhenAmbiguous to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetShowZeroCost ¶
func (o *GetInvoiceAsPDFParams) SetShowZeroCost(showZeroCost *bool)
SetShowZeroCost adds the showZeroCost to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetTierBreakdown ¶
func (o *GetInvoiceAsPDFParams) SetTierBreakdown(tierBreakdown *bool)
SetTierBreakdown adds the tierBreakdown to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) SetTimeout ¶
func (o *GetInvoiceAsPDFParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithContext ¶
func (o *GetInvoiceAsPDFParams) WithContext(ctx context.Context) *GetInvoiceAsPDFParams
WithContext adds the context to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithGroupLineItemsBy ¶
func (o *GetInvoiceAsPDFParams) WithGroupLineItemsBy(groupLineItemsBy *string) *GetInvoiceAsPDFParams
WithGroupLineItemsBy adds the groupLineItemsBy to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithHTTPClient ¶
func (o *GetInvoiceAsPDFParams) WithHTTPClient(client *http.Client) *GetInvoiceAsPDFParams
WithHTTPClient adds the HTTPClient to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithID ¶
func (o *GetInvoiceAsPDFParams) WithID(id string) *GetInvoiceAsPDFParams
WithID adds the id to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithIncludeFooter ¶
func (o *GetInvoiceAsPDFParams) WithIncludeFooter(includeFooter *bool) *GetInvoiceAsPDFParams
WithIncludeFooter adds the includeFooter to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithIncludeRetired ¶
func (o *GetInvoiceAsPDFParams) WithIncludeRetired(includeRetired *bool) *GetInvoiceAsPDFParams
WithIncludeRetired adds the includeRetired to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithInclusiveEnd ¶
func (o *GetInvoiceAsPDFParams) WithInclusiveEnd(inclusiveEnd *bool) *GetInvoiceAsPDFParams
WithInclusiveEnd adds the inclusiveEnd to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithOffset ¶
func (o *GetInvoiceAsPDFParams) WithOffset(offset *int32) *GetInvoiceAsPDFParams
WithOffset adds the offset to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithOrder ¶
func (o *GetInvoiceAsPDFParams) WithOrder(order *string) *GetInvoiceAsPDFParams
WithOrder adds the order to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithOrderBy ¶
func (o *GetInvoiceAsPDFParams) WithOrderBy(orderBy *string) *GetInvoiceAsPDFParams
WithOrderBy adds the orderBy to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithOrganizations ¶
func (o *GetInvoiceAsPDFParams) WithOrganizations(organizations []string) *GetInvoiceAsPDFParams
WithOrganizations adds the organizations to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithRecords ¶
func (o *GetInvoiceAsPDFParams) WithRecords(records *int32) *GetInvoiceAsPDFParams
WithRecords adds the records to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithShowPlanOnlyWhenAmbiguous ¶
func (o *GetInvoiceAsPDFParams) WithShowPlanOnlyWhenAmbiguous(showPlanOnlyWhenAmbiguous *bool) *GetInvoiceAsPDFParams
WithShowPlanOnlyWhenAmbiguous adds the showPlanOnlyWhenAmbiguous to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithShowZeroCost ¶
func (o *GetInvoiceAsPDFParams) WithShowZeroCost(showZeroCost *bool) *GetInvoiceAsPDFParams
WithShowZeroCost adds the showZeroCost to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithTierBreakdown ¶
func (o *GetInvoiceAsPDFParams) WithTierBreakdown(tierBreakdown *bool) *GetInvoiceAsPDFParams
WithTierBreakdown adds the tierBreakdown to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WithTimeout ¶
func (o *GetInvoiceAsPDFParams) WithTimeout(timeout time.Duration) *GetInvoiceAsPDFParams
WithTimeout adds the timeout to the get invoice as p d f params
func (*GetInvoiceAsPDFParams) WriteToRequest ¶
func (o *GetInvoiceAsPDFParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceAsPDFReader ¶
type GetInvoiceAsPDFReader struct {
// contains filtered or unexported fields
}
GetInvoiceAsPDFReader is a Reader for the GetInvoiceAsPDF structure.
func (*GetInvoiceAsPDFReader) ReadResponse ¶
func (o *GetInvoiceAsPDFReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceByIDDefault ¶
type GetInvoiceByIDDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetInvoiceByIDDefault handles this case with default header values.
error
func NewGetInvoiceByIDDefault ¶
func NewGetInvoiceByIDDefault(code int) *GetInvoiceByIDDefault
NewGetInvoiceByIDDefault creates a GetInvoiceByIDDefault with default headers values
func (*GetInvoiceByIDDefault) Code ¶
func (o *GetInvoiceByIDDefault) Code() int
Code gets the status code for the get invoice by ID default response
func (*GetInvoiceByIDDefault) Error ¶
func (o *GetInvoiceByIDDefault) Error() string
type GetInvoiceByIDOK ¶
type GetInvoiceByIDOK struct {
Payload *models.InvoicePagedMetadata
}
GetInvoiceByIDOK handles this case with default header values.
success
func NewGetInvoiceByIDOK ¶
func NewGetInvoiceByIDOK() *GetInvoiceByIDOK
NewGetInvoiceByIDOK creates a GetInvoiceByIDOK with default headers values
func (*GetInvoiceByIDOK) Error ¶
func (o *GetInvoiceByIDOK) Error() string
type GetInvoiceByIDParams ¶
type GetInvoiceByIDParams struct { /*ExcludeChildren Should child invoices be excluded. */ ExcludeChildren *bool /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*InvoiceID The ID of the invoice. */ InvoiceID string /*Offset The offset from the first invoice to return. */ Offset *int32 /*Order Ihe direction of any ordering, either ASC or DESC. */ Order *string /*OrderBy Specify a field used to order the result set. */ OrderBy *string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*Records The maximum number of invoices to return. */ Records *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceByIDParams contains all the parameters to send to the API endpoint for the get invoice by ID operation typically these are written to a http.Request
func NewGetInvoiceByIDParams ¶
func NewGetInvoiceByIDParams() *GetInvoiceByIDParams
NewGetInvoiceByIDParams creates a new GetInvoiceByIDParams object with the default values initialized.
func NewGetInvoiceByIDParamsWithContext ¶
func NewGetInvoiceByIDParamsWithContext(ctx context.Context) *GetInvoiceByIDParams
NewGetInvoiceByIDParamsWithContext creates a new GetInvoiceByIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetInvoiceByIDParamsWithHTTPClient ¶
func NewGetInvoiceByIDParamsWithHTTPClient(client *http.Client) *GetInvoiceByIDParams
NewGetInvoiceByIDParamsWithHTTPClient creates a new GetInvoiceByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInvoiceByIDParamsWithTimeout ¶
func NewGetInvoiceByIDParamsWithTimeout(timeout time.Duration) *GetInvoiceByIDParams
NewGetInvoiceByIDParamsWithTimeout creates a new GetInvoiceByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInvoiceByIDParams) SetContext ¶
func (o *GetInvoiceByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice by ID params
func (*GetInvoiceByIDParams) SetExcludeChildren ¶
func (o *GetInvoiceByIDParams) SetExcludeChildren(excludeChildren *bool)
SetExcludeChildren adds the excludeChildren to the get invoice by ID params
func (*GetInvoiceByIDParams) SetHTTPClient ¶
func (o *GetInvoiceByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice by ID params
func (*GetInvoiceByIDParams) SetIncludeRetired ¶
func (o *GetInvoiceByIDParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get invoice by ID params
func (*GetInvoiceByIDParams) SetInvoiceID ¶
func (o *GetInvoiceByIDParams) SetInvoiceID(invoiceID string)
SetInvoiceID adds the invoiceId to the get invoice by ID params
func (*GetInvoiceByIDParams) SetOffset ¶
func (o *GetInvoiceByIDParams) SetOffset(offset *int32)
SetOffset adds the offset to the get invoice by ID params
func (*GetInvoiceByIDParams) SetOrder ¶
func (o *GetInvoiceByIDParams) SetOrder(order *string)
SetOrder adds the order to the get invoice by ID params
func (*GetInvoiceByIDParams) SetOrderBy ¶
func (o *GetInvoiceByIDParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get invoice by ID params
func (*GetInvoiceByIDParams) SetOrganizations ¶
func (o *GetInvoiceByIDParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get invoice by ID params
func (*GetInvoiceByIDParams) SetRecords ¶
func (o *GetInvoiceByIDParams) SetRecords(records *int32)
SetRecords adds the records to the get invoice by ID params
func (*GetInvoiceByIDParams) SetTimeout ¶
func (o *GetInvoiceByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice by ID params
func (*GetInvoiceByIDParams) WithContext ¶
func (o *GetInvoiceByIDParams) WithContext(ctx context.Context) *GetInvoiceByIDParams
WithContext adds the context to the get invoice by ID params
func (*GetInvoiceByIDParams) WithExcludeChildren ¶
func (o *GetInvoiceByIDParams) WithExcludeChildren(excludeChildren *bool) *GetInvoiceByIDParams
WithExcludeChildren adds the excludeChildren to the get invoice by ID params
func (*GetInvoiceByIDParams) WithHTTPClient ¶
func (o *GetInvoiceByIDParams) WithHTTPClient(client *http.Client) *GetInvoiceByIDParams
WithHTTPClient adds the HTTPClient to the get invoice by ID params
func (*GetInvoiceByIDParams) WithIncludeRetired ¶
func (o *GetInvoiceByIDParams) WithIncludeRetired(includeRetired *bool) *GetInvoiceByIDParams
WithIncludeRetired adds the includeRetired to the get invoice by ID params
func (*GetInvoiceByIDParams) WithInvoiceID ¶
func (o *GetInvoiceByIDParams) WithInvoiceID(invoiceID string) *GetInvoiceByIDParams
WithInvoiceID adds the invoiceID to the get invoice by ID params
func (*GetInvoiceByIDParams) WithOffset ¶
func (o *GetInvoiceByIDParams) WithOffset(offset *int32) *GetInvoiceByIDParams
WithOffset adds the offset to the get invoice by ID params
func (*GetInvoiceByIDParams) WithOrder ¶
func (o *GetInvoiceByIDParams) WithOrder(order *string) *GetInvoiceByIDParams
WithOrder adds the order to the get invoice by ID params
func (*GetInvoiceByIDParams) WithOrderBy ¶
func (o *GetInvoiceByIDParams) WithOrderBy(orderBy *string) *GetInvoiceByIDParams
WithOrderBy adds the orderBy to the get invoice by ID params
func (*GetInvoiceByIDParams) WithOrganizations ¶
func (o *GetInvoiceByIDParams) WithOrganizations(organizations []string) *GetInvoiceByIDParams
WithOrganizations adds the organizations to the get invoice by ID params
func (*GetInvoiceByIDParams) WithRecords ¶
func (o *GetInvoiceByIDParams) WithRecords(records *int32) *GetInvoiceByIDParams
WithRecords adds the records to the get invoice by ID params
func (*GetInvoiceByIDParams) WithTimeout ¶
func (o *GetInvoiceByIDParams) WithTimeout(timeout time.Duration) *GetInvoiceByIDParams
WithTimeout adds the timeout to the get invoice by ID params
func (*GetInvoiceByIDParams) WriteToRequest ¶
func (o *GetInvoiceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceByIDReader ¶
type GetInvoiceByIDReader struct {
// contains filtered or unexported fields
}
GetInvoiceByIDReader is a Reader for the GetInvoiceByID structure.
func (*GetInvoiceByIDReader) ReadResponse ¶
func (o *GetInvoiceByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoicesByAccountIDDefault ¶
type GetInvoicesByAccountIDDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetInvoicesByAccountIDDefault handles this case with default header values.
error
func NewGetInvoicesByAccountIDDefault ¶
func NewGetInvoicesByAccountIDDefault(code int) *GetInvoicesByAccountIDDefault
NewGetInvoicesByAccountIDDefault creates a GetInvoicesByAccountIDDefault with default headers values
func (*GetInvoicesByAccountIDDefault) Code ¶
func (o *GetInvoicesByAccountIDDefault) Code() int
Code gets the status code for the get invoices by account ID default response
func (*GetInvoicesByAccountIDDefault) Error ¶
func (o *GetInvoicesByAccountIDDefault) Error() string
type GetInvoicesByAccountIDOK ¶
type GetInvoicesByAccountIDOK struct {
Payload *models.InvoicePagedMetadata
}
GetInvoicesByAccountIDOK handles this case with default header values.
success
func NewGetInvoicesByAccountIDOK ¶
func NewGetInvoicesByAccountIDOK() *GetInvoicesByAccountIDOK
NewGetInvoicesByAccountIDOK creates a GetInvoicesByAccountIDOK with default headers values
func (*GetInvoicesByAccountIDOK) Error ¶
func (o *GetInvoicesByAccountIDOK) Error() string
type GetInvoicesByAccountIDParams ¶
type GetInvoicesByAccountIDParams struct { /*AccountID ID of the account. */ AccountID string /*ExcludeChildren Should child invoices be excluded. */ ExcludeChildren *bool /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*Offset The offset from the first invoice to return. */ Offset *int32 /*Order Ihe direction of any ordering, either ASC or DESC. */ Order *string /*OrderBy Specify a field used to order the result set. */ OrderBy *string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*Records The maximum number of invoices to return. */ Records *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoicesByAccountIDParams contains all the parameters to send to the API endpoint for the get invoices by account ID operation typically these are written to a http.Request
func NewGetInvoicesByAccountIDParams ¶
func NewGetInvoicesByAccountIDParams() *GetInvoicesByAccountIDParams
NewGetInvoicesByAccountIDParams creates a new GetInvoicesByAccountIDParams object with the default values initialized.
func NewGetInvoicesByAccountIDParamsWithContext ¶
func NewGetInvoicesByAccountIDParamsWithContext(ctx context.Context) *GetInvoicesByAccountIDParams
NewGetInvoicesByAccountIDParamsWithContext creates a new GetInvoicesByAccountIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetInvoicesByAccountIDParamsWithHTTPClient ¶
func NewGetInvoicesByAccountIDParamsWithHTTPClient(client *http.Client) *GetInvoicesByAccountIDParams
NewGetInvoicesByAccountIDParamsWithHTTPClient creates a new GetInvoicesByAccountIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInvoicesByAccountIDParamsWithTimeout ¶
func NewGetInvoicesByAccountIDParamsWithTimeout(timeout time.Duration) *GetInvoicesByAccountIDParams
NewGetInvoicesByAccountIDParamsWithTimeout creates a new GetInvoicesByAccountIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInvoicesByAccountIDParams) SetAccountID ¶
func (o *GetInvoicesByAccountIDParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetContext ¶
func (o *GetInvoicesByAccountIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetExcludeChildren ¶
func (o *GetInvoicesByAccountIDParams) SetExcludeChildren(excludeChildren *bool)
SetExcludeChildren adds the excludeChildren to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetHTTPClient ¶
func (o *GetInvoicesByAccountIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetIncludeRetired ¶
func (o *GetInvoicesByAccountIDParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetOffset ¶
func (o *GetInvoicesByAccountIDParams) SetOffset(offset *int32)
SetOffset adds the offset to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetOrder ¶
func (o *GetInvoicesByAccountIDParams) SetOrder(order *string)
SetOrder adds the order to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetOrderBy ¶
func (o *GetInvoicesByAccountIDParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetOrganizations ¶
func (o *GetInvoicesByAccountIDParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetRecords ¶
func (o *GetInvoicesByAccountIDParams) SetRecords(records *int32)
SetRecords adds the records to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) SetTimeout ¶
func (o *GetInvoicesByAccountIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithAccountID ¶
func (o *GetInvoicesByAccountIDParams) WithAccountID(accountID string) *GetInvoicesByAccountIDParams
WithAccountID adds the accountID to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithContext ¶
func (o *GetInvoicesByAccountIDParams) WithContext(ctx context.Context) *GetInvoicesByAccountIDParams
WithContext adds the context to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithExcludeChildren ¶
func (o *GetInvoicesByAccountIDParams) WithExcludeChildren(excludeChildren *bool) *GetInvoicesByAccountIDParams
WithExcludeChildren adds the excludeChildren to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithHTTPClient ¶
func (o *GetInvoicesByAccountIDParams) WithHTTPClient(client *http.Client) *GetInvoicesByAccountIDParams
WithHTTPClient adds the HTTPClient to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithIncludeRetired ¶
func (o *GetInvoicesByAccountIDParams) WithIncludeRetired(includeRetired *bool) *GetInvoicesByAccountIDParams
WithIncludeRetired adds the includeRetired to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithOffset ¶
func (o *GetInvoicesByAccountIDParams) WithOffset(offset *int32) *GetInvoicesByAccountIDParams
WithOffset adds the offset to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithOrder ¶
func (o *GetInvoicesByAccountIDParams) WithOrder(order *string) *GetInvoicesByAccountIDParams
WithOrder adds the order to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithOrderBy ¶
func (o *GetInvoicesByAccountIDParams) WithOrderBy(orderBy *string) *GetInvoicesByAccountIDParams
WithOrderBy adds the orderBy to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithOrganizations ¶
func (o *GetInvoicesByAccountIDParams) WithOrganizations(organizations []string) *GetInvoicesByAccountIDParams
WithOrganizations adds the organizations to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithRecords ¶
func (o *GetInvoicesByAccountIDParams) WithRecords(records *int32) *GetInvoicesByAccountIDParams
WithRecords adds the records to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WithTimeout ¶
func (o *GetInvoicesByAccountIDParams) WithTimeout(timeout time.Duration) *GetInvoicesByAccountIDParams
WithTimeout adds the timeout to the get invoices by account ID params
func (*GetInvoicesByAccountIDParams) WriteToRequest ¶
func (o *GetInvoicesByAccountIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoicesByAccountIDReader ¶
type GetInvoicesByAccountIDReader struct {
// contains filtered or unexported fields
}
GetInvoicesByAccountIDReader is a Reader for the GetInvoicesByAccountID structure.
func (*GetInvoicesByAccountIDReader) ReadResponse ¶
func (o *GetInvoicesByAccountIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.