catalog

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddSimplePlanCreated

type AddSimplePlanCreated struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

AddSimplePlanCreated handles this case with default header values.

Created new plan successfully

func NewAddSimplePlanCreated

func NewAddSimplePlanCreated() *AddSimplePlanCreated

NewAddSimplePlanCreated creates a AddSimplePlanCreated with default headers values

func (*AddSimplePlanCreated) Error

func (o *AddSimplePlanCreated) Error() string

type AddSimplePlanParams

type AddSimplePlanParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.SimplePlan

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

AddSimplePlanParams contains all the parameters to send to the API endpoint for the add simple plan operation typically these are written to a http.Request

func NewAddSimplePlanParams

func NewAddSimplePlanParams() *AddSimplePlanParams

NewAddSimplePlanParams creates a new AddSimplePlanParams object with the default values initialized.

func NewAddSimplePlanParamsWithContext

func NewAddSimplePlanParamsWithContext(ctx context.Context) *AddSimplePlanParams

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

func NewAddSimplePlanParamsWithHTTPClient

func NewAddSimplePlanParamsWithHTTPClient(client *http.Client) *AddSimplePlanParams

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

func NewAddSimplePlanParamsWithTimeout

func NewAddSimplePlanParamsWithTimeout(timeout time.Duration) *AddSimplePlanParams

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

func (*AddSimplePlanParams) SetBody

func (o *AddSimplePlanParams) SetBody(body *kbmodel.SimplePlan)

SetBody adds the body to the add simple plan params

func (*AddSimplePlanParams) SetContext

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

SetContext adds the context to the add simple plan params

func (*AddSimplePlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add simple plan params

func (*AddSimplePlanParams) SetTimeout

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

SetTimeout adds the timeout to the add simple plan params

func (*AddSimplePlanParams) SetXKillbillComment

func (o *AddSimplePlanParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the add simple plan params

func (*AddSimplePlanParams) SetXKillbillCreatedBy

func (o *AddSimplePlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add simple plan params

func (*AddSimplePlanParams) SetXKillbillReason

func (o *AddSimplePlanParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the add simple plan params

func (*AddSimplePlanParams) WithBody

WithBody adds the body to the add simple plan params

func (*AddSimplePlanParams) WithContext

WithContext adds the context to the add simple plan params

func (*AddSimplePlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add simple plan params

func (*AddSimplePlanParams) WithTimeout

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

WithTimeout adds the timeout to the add simple plan params

func (*AddSimplePlanParams) WithXKillbillComment

func (o *AddSimplePlanParams) WithXKillbillComment(xKillbillComment *string) *AddSimplePlanParams

WithXKillbillComment adds the xKillbillComment to the add simple plan params

func (*AddSimplePlanParams) WithXKillbillCreatedBy

func (o *AddSimplePlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddSimplePlanParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add simple plan params

func (*AddSimplePlanParams) WithXKillbillReason

func (o *AddSimplePlanParams) WithXKillbillReason(xKillbillReason *string) *AddSimplePlanParams

WithXKillbillReason adds the xKillbillReason to the add simple plan params

func (*AddSimplePlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddSimplePlanReader

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

AddSimplePlanReader is a Reader for the AddSimplePlan structure.

func (*AddSimplePlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for catalog API

func New

func New(transport runtime.ClientTransport,
	formats strfmt.Registry,
	authInfo runtime.ClientAuthInfoWriter,
	defaults KillbillDefaults) *Client

New creates a new catalog API client.

func (*Client) AddSimplePlan

func (a *Client) AddSimplePlan(ctx context.Context, params *AddSimplePlanParams) (*AddSimplePlanCreated, error)

AddSimplePlan adds a simple plan entry in the current version of the catalog

func (*Client) DeleteCatalog

func (a *Client) DeleteCatalog(ctx context.Context, params *DeleteCatalogParams) (*DeleteCatalogNoContent, error)

DeleteCatalog deletes all versions for a per tenant catalog

func (*Client) GetAvailableAddons

func (a *Client) GetAvailableAddons(ctx context.Context, params *GetAvailableAddonsParams) (*GetAvailableAddonsOK, error)

GetAvailableAddons retrieves available add ons for a given product

func (*Client) GetAvailableBasePlans

func (a *Client) GetAvailableBasePlans(ctx context.Context, params *GetAvailableBasePlansParams) (*GetAvailableBasePlansOK, error)

GetAvailableBasePlans retrieves available base plans

func (*Client) GetCatalogJSON

func (a *Client) GetCatalogJSON(ctx context.Context, params *GetCatalogJSONParams) (*GetCatalogJSONOK, error)

GetCatalogJSON retrieves the catalog as JSON

func (*Client) GetCatalogVersions

func (a *Client) GetCatalogVersions(ctx context.Context, params *GetCatalogVersionsParams) (*GetCatalogVersionsOK, error)

GetCatalogVersions retrieves a list of catalog versions

func (*Client) GetCatalogXML

func (a *Client) GetCatalogXML(ctx context.Context, params *GetCatalogXMLParams) (*GetCatalogXMLOK, error)

GetCatalogXML retrieves the full catalog as XML

func (*Client) GetPhaseForSubscriptionAndDate

func (a *Client) GetPhaseForSubscriptionAndDate(ctx context.Context, params *GetPhaseForSubscriptionAndDateParams) (*GetPhaseForSubscriptionAndDateOK, error)

GetPhaseForSubscriptionAndDate retrieves phase for a given subscription and date

func (*Client) GetPlanForSubscriptionAndDate

func (a *Client) GetPlanForSubscriptionAndDate(ctx context.Context, params *GetPlanForSubscriptionAndDateParams) (*GetPlanForSubscriptionAndDateOK, error)

GetPlanForSubscriptionAndDate retrieves plan for a given subscription and date

func (*Client) GetPriceListForSubscriptionAndDate

func (a *Client) GetPriceListForSubscriptionAndDate(ctx context.Context, params *GetPriceListForSubscriptionAndDateParams) (*GetPriceListForSubscriptionAndDateOK, error)

GetPriceListForSubscriptionAndDate retrieves price list for a given subscription and date

func (*Client) GetProductForSubscriptionAndDate

func (a *Client) GetProductForSubscriptionAndDate(ctx context.Context, params *GetProductForSubscriptionAndDateParams) (*GetProductForSubscriptionAndDateOK, error)

GetProductForSubscriptionAndDate retrieves product for a given subscription and date

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadCatalogXML

func (a *Client) UploadCatalogXML(ctx context.Context, params *UploadCatalogXMLParams) (*UploadCatalogXMLCreated, error)

UploadCatalogXML uploads the full catalog as XML

type DeleteCatalogNoContent

type DeleteCatalogNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteCatalogNoContent handles this case with default header values.

Successful operation

func NewDeleteCatalogNoContent

func NewDeleteCatalogNoContent() *DeleteCatalogNoContent

NewDeleteCatalogNoContent creates a DeleteCatalogNoContent with default headers values

func (*DeleteCatalogNoContent) Error

func (o *DeleteCatalogNoContent) Error() string

type DeleteCatalogParams

type DeleteCatalogParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

DeleteCatalogParams contains all the parameters to send to the API endpoint for the delete catalog operation typically these are written to a http.Request

func NewDeleteCatalogParams

func NewDeleteCatalogParams() *DeleteCatalogParams

NewDeleteCatalogParams creates a new DeleteCatalogParams object with the default values initialized.

func NewDeleteCatalogParamsWithContext

func NewDeleteCatalogParamsWithContext(ctx context.Context) *DeleteCatalogParams

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

func NewDeleteCatalogParamsWithHTTPClient

func NewDeleteCatalogParamsWithHTTPClient(client *http.Client) *DeleteCatalogParams

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

func NewDeleteCatalogParamsWithTimeout

func NewDeleteCatalogParamsWithTimeout(timeout time.Duration) *DeleteCatalogParams

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

func (*DeleteCatalogParams) SetContext

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

SetContext adds the context to the delete catalog params

func (*DeleteCatalogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete catalog params

func (*DeleteCatalogParams) SetTimeout

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

SetTimeout adds the timeout to the delete catalog params

func (*DeleteCatalogParams) SetXKillbillComment

func (o *DeleteCatalogParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the delete catalog params

func (*DeleteCatalogParams) SetXKillbillCreatedBy

func (o *DeleteCatalogParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete catalog params

func (*DeleteCatalogParams) SetXKillbillReason

func (o *DeleteCatalogParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the delete catalog params

func (*DeleteCatalogParams) WithContext

WithContext adds the context to the delete catalog params

func (*DeleteCatalogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete catalog params

func (*DeleteCatalogParams) WithTimeout

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

WithTimeout adds the timeout to the delete catalog params

func (*DeleteCatalogParams) WithXKillbillComment

func (o *DeleteCatalogParams) WithXKillbillComment(xKillbillComment *string) *DeleteCatalogParams

WithXKillbillComment adds the xKillbillComment to the delete catalog params

func (*DeleteCatalogParams) WithXKillbillCreatedBy

func (o *DeleteCatalogParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteCatalogParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete catalog params

func (*DeleteCatalogParams) WithXKillbillReason

func (o *DeleteCatalogParams) WithXKillbillReason(xKillbillReason *string) *DeleteCatalogParams

WithXKillbillReason adds the xKillbillReason to the delete catalog params

func (*DeleteCatalogParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteCatalogReader

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

DeleteCatalogReader is a Reader for the DeleteCatalog structure.

func (*DeleteCatalogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAvailableAddonsOK

type GetAvailableAddonsOK struct {
	Payload []*kbmodel.PlanDetail

	HttpResponse runtime.ClientResponse
}

GetAvailableAddonsOK handles this case with default header values.

successful operation

func NewGetAvailableAddonsOK

func NewGetAvailableAddonsOK() *GetAvailableAddonsOK

NewGetAvailableAddonsOK creates a GetAvailableAddonsOK with default headers values

func (*GetAvailableAddonsOK) Error

func (o *GetAvailableAddonsOK) Error() string

type GetAvailableAddonsParams

type GetAvailableAddonsParams struct {

	/*AccountID*/
	AccountID *strfmt.UUID
	/*BaseProductName*/
	BaseProductName *string
	/*PriceListName*/
	PriceListName *string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetAvailableAddonsParams contains all the parameters to send to the API endpoint for the get available addons operation typically these are written to a http.Request

func NewGetAvailableAddonsParams

func NewGetAvailableAddonsParams() *GetAvailableAddonsParams

NewGetAvailableAddonsParams creates a new GetAvailableAddonsParams object with the default values initialized.

func NewGetAvailableAddonsParamsWithContext

func NewGetAvailableAddonsParamsWithContext(ctx context.Context) *GetAvailableAddonsParams

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

func NewGetAvailableAddonsParamsWithHTTPClient

func NewGetAvailableAddonsParamsWithHTTPClient(client *http.Client) *GetAvailableAddonsParams

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

func NewGetAvailableAddonsParamsWithTimeout

func NewGetAvailableAddonsParamsWithTimeout(timeout time.Duration) *GetAvailableAddonsParams

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

func (*GetAvailableAddonsParams) SetAccountID

func (o *GetAvailableAddonsParams) SetAccountID(accountID *strfmt.UUID)

SetAccountID adds the accountId to the get available addons params

func (*GetAvailableAddonsParams) SetBaseProductName

func (o *GetAvailableAddonsParams) SetBaseProductName(baseProductName *string)

SetBaseProductName adds the baseProductName to the get available addons params

func (*GetAvailableAddonsParams) SetContext

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

SetContext adds the context to the get available addons params

func (*GetAvailableAddonsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get available addons params

func (*GetAvailableAddonsParams) SetPriceListName

func (o *GetAvailableAddonsParams) SetPriceListName(priceListName *string)

SetPriceListName adds the priceListName to the get available addons params

func (*GetAvailableAddonsParams) SetTimeout

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

SetTimeout adds the timeout to the get available addons params

func (*GetAvailableAddonsParams) WithAccountID

func (o *GetAvailableAddonsParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableAddonsParams

WithAccountID adds the accountID to the get available addons params

func (*GetAvailableAddonsParams) WithBaseProductName

func (o *GetAvailableAddonsParams) WithBaseProductName(baseProductName *string) *GetAvailableAddonsParams

WithBaseProductName adds the baseProductName to the get available addons params

func (*GetAvailableAddonsParams) WithContext

WithContext adds the context to the get available addons params

func (*GetAvailableAddonsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get available addons params

func (*GetAvailableAddonsParams) WithPriceListName

func (o *GetAvailableAddonsParams) WithPriceListName(priceListName *string) *GetAvailableAddonsParams

WithPriceListName adds the priceListName to the get available addons params

func (*GetAvailableAddonsParams) WithTimeout

WithTimeout adds the timeout to the get available addons params

func (*GetAvailableAddonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAvailableAddonsReader

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

GetAvailableAddonsReader is a Reader for the GetAvailableAddons structure.

func (*GetAvailableAddonsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAvailableBasePlansOK

type GetAvailableBasePlansOK struct {
	Payload []*kbmodel.PlanDetail

	HttpResponse runtime.ClientResponse
}

GetAvailableBasePlansOK handles this case with default header values.

successful operation

func NewGetAvailableBasePlansOK

func NewGetAvailableBasePlansOK() *GetAvailableBasePlansOK

NewGetAvailableBasePlansOK creates a GetAvailableBasePlansOK with default headers values

func (*GetAvailableBasePlansOK) Error

func (o *GetAvailableBasePlansOK) Error() string

type GetAvailableBasePlansParams

type GetAvailableBasePlansParams struct {

	/*AccountID*/
	AccountID *strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetAvailableBasePlansParams contains all the parameters to send to the API endpoint for the get available base plans operation typically these are written to a http.Request

func NewGetAvailableBasePlansParams

func NewGetAvailableBasePlansParams() *GetAvailableBasePlansParams

NewGetAvailableBasePlansParams creates a new GetAvailableBasePlansParams object with the default values initialized.

func NewGetAvailableBasePlansParamsWithContext

func NewGetAvailableBasePlansParamsWithContext(ctx context.Context) *GetAvailableBasePlansParams

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

func NewGetAvailableBasePlansParamsWithHTTPClient

func NewGetAvailableBasePlansParamsWithHTTPClient(client *http.Client) *GetAvailableBasePlansParams

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

func NewGetAvailableBasePlansParamsWithTimeout

func NewGetAvailableBasePlansParamsWithTimeout(timeout time.Duration) *GetAvailableBasePlansParams

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

func (*GetAvailableBasePlansParams) SetAccountID

func (o *GetAvailableBasePlansParams) SetAccountID(accountID *strfmt.UUID)

SetAccountID adds the accountId to the get available base plans params

func (*GetAvailableBasePlansParams) SetContext

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

SetContext adds the context to the get available base plans params

func (*GetAvailableBasePlansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get available base plans params

func (*GetAvailableBasePlansParams) SetTimeout

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

SetTimeout adds the timeout to the get available base plans params

func (*GetAvailableBasePlansParams) WithAccountID

WithAccountID adds the accountID to the get available base plans params

func (*GetAvailableBasePlansParams) WithContext

WithContext adds the context to the get available base plans params

func (*GetAvailableBasePlansParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get available base plans params

func (*GetAvailableBasePlansParams) WithTimeout

WithTimeout adds the timeout to the get available base plans params

func (*GetAvailableBasePlansParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAvailableBasePlansReader

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

GetAvailableBasePlansReader is a Reader for the GetAvailableBasePlans structure.

func (*GetAvailableBasePlansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCatalogJSONOK

type GetCatalogJSONOK struct {
	Payload []*kbmodel.Catalog

	HttpResponse runtime.ClientResponse
}

GetCatalogJSONOK handles this case with default header values.

successful operation

func NewGetCatalogJSONOK

func NewGetCatalogJSONOK() *GetCatalogJSONOK

NewGetCatalogJSONOK creates a GetCatalogJSONOK with default headers values

func (*GetCatalogJSONOK) Error

func (o *GetCatalogJSONOK) Error() string

type GetCatalogJSONParams

type GetCatalogJSONParams struct {

	/*AccountID*/
	AccountID *strfmt.UUID
	/*RequestedDate*/
	RequestedDate *strfmt.DateTime

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetCatalogJSONParams contains all the parameters to send to the API endpoint for the get catalog Json operation typically these are written to a http.Request

func NewGetCatalogJSONParams

func NewGetCatalogJSONParams() *GetCatalogJSONParams

NewGetCatalogJSONParams creates a new GetCatalogJSONParams object with the default values initialized.

func NewGetCatalogJSONParamsWithContext

func NewGetCatalogJSONParamsWithContext(ctx context.Context) *GetCatalogJSONParams

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

func NewGetCatalogJSONParamsWithHTTPClient

func NewGetCatalogJSONParamsWithHTTPClient(client *http.Client) *GetCatalogJSONParams

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

func NewGetCatalogJSONParamsWithTimeout

func NewGetCatalogJSONParamsWithTimeout(timeout time.Duration) *GetCatalogJSONParams

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

func (*GetCatalogJSONParams) SetAccountID

func (o *GetCatalogJSONParams) SetAccountID(accountID *strfmt.UUID)

SetAccountID adds the accountId to the get catalog Json params

func (*GetCatalogJSONParams) SetContext

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

SetContext adds the context to the get catalog Json params

func (*GetCatalogJSONParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get catalog Json params

func (*GetCatalogJSONParams) SetRequestedDate

func (o *GetCatalogJSONParams) SetRequestedDate(requestedDate *strfmt.DateTime)

SetRequestedDate adds the requestedDate to the get catalog Json params

func (*GetCatalogJSONParams) SetTimeout

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

SetTimeout adds the timeout to the get catalog Json params

func (*GetCatalogJSONParams) WithAccountID

func (o *GetCatalogJSONParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogJSONParams

WithAccountID adds the accountID to the get catalog Json params

func (*GetCatalogJSONParams) WithContext

WithContext adds the context to the get catalog Json params

func (*GetCatalogJSONParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get catalog Json params

func (*GetCatalogJSONParams) WithRequestedDate

func (o *GetCatalogJSONParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogJSONParams

WithRequestedDate adds the requestedDate to the get catalog Json params

func (*GetCatalogJSONParams) WithTimeout

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

WithTimeout adds the timeout to the get catalog Json params

func (*GetCatalogJSONParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCatalogJSONReader

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

GetCatalogJSONReader is a Reader for the GetCatalogJSON structure.

func (*GetCatalogJSONReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCatalogVersionsOK

type GetCatalogVersionsOK struct {
	Payload []strfmt.DateTime

	HttpResponse runtime.ClientResponse
}

GetCatalogVersionsOK handles this case with default header values.

successful operation

func NewGetCatalogVersionsOK

func NewGetCatalogVersionsOK() *GetCatalogVersionsOK

NewGetCatalogVersionsOK creates a GetCatalogVersionsOK with default headers values

func (*GetCatalogVersionsOK) Error

func (o *GetCatalogVersionsOK) Error() string

type GetCatalogVersionsParams

type GetCatalogVersionsParams struct {

	/*AccountID*/
	AccountID *strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetCatalogVersionsParams contains all the parameters to send to the API endpoint for the get catalog versions operation typically these are written to a http.Request

func NewGetCatalogVersionsParams

func NewGetCatalogVersionsParams() *GetCatalogVersionsParams

NewGetCatalogVersionsParams creates a new GetCatalogVersionsParams object with the default values initialized.

func NewGetCatalogVersionsParamsWithContext

func NewGetCatalogVersionsParamsWithContext(ctx context.Context) *GetCatalogVersionsParams

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

func NewGetCatalogVersionsParamsWithHTTPClient

func NewGetCatalogVersionsParamsWithHTTPClient(client *http.Client) *GetCatalogVersionsParams

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

func NewGetCatalogVersionsParamsWithTimeout

func NewGetCatalogVersionsParamsWithTimeout(timeout time.Duration) *GetCatalogVersionsParams

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

func (*GetCatalogVersionsParams) SetAccountID

func (o *GetCatalogVersionsParams) SetAccountID(accountID *strfmt.UUID)

SetAccountID adds the accountId to the get catalog versions params

func (*GetCatalogVersionsParams) SetContext

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

SetContext adds the context to the get catalog versions params

func (*GetCatalogVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get catalog versions params

func (*GetCatalogVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the get catalog versions params

func (*GetCatalogVersionsParams) WithAccountID

func (o *GetCatalogVersionsParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogVersionsParams

WithAccountID adds the accountID to the get catalog versions params

func (*GetCatalogVersionsParams) WithContext

WithContext adds the context to the get catalog versions params

func (*GetCatalogVersionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get catalog versions params

func (*GetCatalogVersionsParams) WithTimeout

WithTimeout adds the timeout to the get catalog versions params

func (*GetCatalogVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCatalogVersionsReader

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

GetCatalogVersionsReader is a Reader for the GetCatalogVersions structure.

func (*GetCatalogVersionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCatalogXMLOK

type GetCatalogXMLOK struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

GetCatalogXMLOK handles this case with default header values.

successful operation

func NewGetCatalogXMLOK

func NewGetCatalogXMLOK() *GetCatalogXMLOK

NewGetCatalogXMLOK creates a GetCatalogXMLOK with default headers values

func (*GetCatalogXMLOK) Error

func (o *GetCatalogXMLOK) Error() string

type GetCatalogXMLParams

type GetCatalogXMLParams struct {

	/*AccountID*/
	AccountID *strfmt.UUID
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetCatalogXMLParams contains all the parameters to send to the API endpoint for the get catalog Xml operation typically these are written to a http.Request

func NewGetCatalogXMLParams

func NewGetCatalogXMLParams() *GetCatalogXMLParams

NewGetCatalogXMLParams creates a new GetCatalogXMLParams object with the default values initialized.

func NewGetCatalogXMLParamsWithContext

func NewGetCatalogXMLParamsWithContext(ctx context.Context) *GetCatalogXMLParams

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

func NewGetCatalogXMLParamsWithHTTPClient

func NewGetCatalogXMLParamsWithHTTPClient(client *http.Client) *GetCatalogXMLParams

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

func NewGetCatalogXMLParamsWithTimeout

func NewGetCatalogXMLParamsWithTimeout(timeout time.Duration) *GetCatalogXMLParams

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

func (*GetCatalogXMLParams) SetAccountID

func (o *GetCatalogXMLParams) SetAccountID(accountID *strfmt.UUID)

SetAccountID adds the accountId to the get catalog Xml params

func (*GetCatalogXMLParams) SetContext

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

SetContext adds the context to the get catalog Xml params

func (*GetCatalogXMLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get catalog Xml params

func (*GetCatalogXMLParams) SetRequestedDate

func (o *GetCatalogXMLParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the get catalog Xml params

func (*GetCatalogXMLParams) SetTimeout

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

SetTimeout adds the timeout to the get catalog Xml params

func (*GetCatalogXMLParams) WithAccountID

func (o *GetCatalogXMLParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogXMLParams

WithAccountID adds the accountID to the get catalog Xml params

func (*GetCatalogXMLParams) WithContext

WithContext adds the context to the get catalog Xml params

func (*GetCatalogXMLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get catalog Xml params

func (*GetCatalogXMLParams) WithRequestedDate

func (o *GetCatalogXMLParams) WithRequestedDate(requestedDate *strfmt.Date) *GetCatalogXMLParams

WithRequestedDate adds the requestedDate to the get catalog Xml params

func (*GetCatalogXMLParams) WithTimeout

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

WithTimeout adds the timeout to the get catalog Xml params

func (*GetCatalogXMLParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCatalogXMLReader

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

GetCatalogXMLReader is a Reader for the GetCatalogXML structure.

func (*GetCatalogXMLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPhaseForSubscriptionAndDateOK

type GetPhaseForSubscriptionAndDateOK struct {
	Payload *kbmodel.Phase

	HttpResponse runtime.ClientResponse
}

GetPhaseForSubscriptionAndDateOK handles this case with default header values.

successful operation

func NewGetPhaseForSubscriptionAndDateOK

func NewGetPhaseForSubscriptionAndDateOK() *GetPhaseForSubscriptionAndDateOK

NewGetPhaseForSubscriptionAndDateOK creates a GetPhaseForSubscriptionAndDateOK with default headers values

func (*GetPhaseForSubscriptionAndDateOK) Error

type GetPhaseForSubscriptionAndDateParams

type GetPhaseForSubscriptionAndDateParams struct {

	/*RequestedDate*/
	RequestedDate *strfmt.Date
	/*SubscriptionID*/
	SubscriptionID *strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetPhaseForSubscriptionAndDateParams contains all the parameters to send to the API endpoint for the get phase for subscription and date operation typically these are written to a http.Request

func NewGetPhaseForSubscriptionAndDateParams

func NewGetPhaseForSubscriptionAndDateParams() *GetPhaseForSubscriptionAndDateParams

NewGetPhaseForSubscriptionAndDateParams creates a new GetPhaseForSubscriptionAndDateParams object with the default values initialized.

func NewGetPhaseForSubscriptionAndDateParamsWithContext

func NewGetPhaseForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams

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

func NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient

func NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams

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

func NewGetPhaseForSubscriptionAndDateParamsWithTimeout

func NewGetPhaseForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams

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

func (*GetPhaseForSubscriptionAndDateParams) SetContext

SetContext adds the context to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) SetRequestedDate

func (o *GetPhaseForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) SetSubscriptionID

func (o *GetPhaseForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)

SetSubscriptionID adds the subscriptionId to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) SetTimeout

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

SetTimeout adds the timeout to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithContext

WithContext adds the context to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithTimeout

WithTimeout adds the timeout to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPhaseForSubscriptionAndDateReader

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

GetPhaseForSubscriptionAndDateReader is a Reader for the GetPhaseForSubscriptionAndDate structure.

func (*GetPhaseForSubscriptionAndDateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPlanForSubscriptionAndDateOK

type GetPlanForSubscriptionAndDateOK struct {
	Payload *kbmodel.Plan

	HttpResponse runtime.ClientResponse
}

GetPlanForSubscriptionAndDateOK handles this case with default header values.

successful operation

func NewGetPlanForSubscriptionAndDateOK

func NewGetPlanForSubscriptionAndDateOK() *GetPlanForSubscriptionAndDateOK

NewGetPlanForSubscriptionAndDateOK creates a GetPlanForSubscriptionAndDateOK with default headers values

func (*GetPlanForSubscriptionAndDateOK) Error

type GetPlanForSubscriptionAndDateParams

type GetPlanForSubscriptionAndDateParams struct {

	/*RequestedDate*/
	RequestedDate *strfmt.Date
	/*SubscriptionID*/
	SubscriptionID *strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetPlanForSubscriptionAndDateParams contains all the parameters to send to the API endpoint for the get plan for subscription and date operation typically these are written to a http.Request

func NewGetPlanForSubscriptionAndDateParams

func NewGetPlanForSubscriptionAndDateParams() *GetPlanForSubscriptionAndDateParams

NewGetPlanForSubscriptionAndDateParams creates a new GetPlanForSubscriptionAndDateParams object with the default values initialized.

func NewGetPlanForSubscriptionAndDateParamsWithContext

func NewGetPlanForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams

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

func NewGetPlanForSubscriptionAndDateParamsWithHTTPClient

func NewGetPlanForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams

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

func NewGetPlanForSubscriptionAndDateParamsWithTimeout

func NewGetPlanForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams

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

func (*GetPlanForSubscriptionAndDateParams) SetContext

SetContext adds the context to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) SetRequestedDate

func (o *GetPlanForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) SetSubscriptionID

func (o *GetPlanForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)

SetSubscriptionID adds the subscriptionId to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) SetTimeout

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

SetTimeout adds the timeout to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithContext

WithContext adds the context to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithTimeout

WithTimeout adds the timeout to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlanForSubscriptionAndDateReader

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

GetPlanForSubscriptionAndDateReader is a Reader for the GetPlanForSubscriptionAndDate structure.

func (*GetPlanForSubscriptionAndDateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPriceListForSubscriptionAndDateOK

type GetPriceListForSubscriptionAndDateOK struct {
	Payload *kbmodel.PriceList

	HttpResponse runtime.ClientResponse
}

GetPriceListForSubscriptionAndDateOK handles this case with default header values.

successful operation

func NewGetPriceListForSubscriptionAndDateOK

func NewGetPriceListForSubscriptionAndDateOK() *GetPriceListForSubscriptionAndDateOK

NewGetPriceListForSubscriptionAndDateOK creates a GetPriceListForSubscriptionAndDateOK with default headers values

func (*GetPriceListForSubscriptionAndDateOK) Error

type GetPriceListForSubscriptionAndDateParams

type GetPriceListForSubscriptionAndDateParams struct {

	/*RequestedDate*/
	RequestedDate *strfmt.Date
	/*SubscriptionID*/
	SubscriptionID *strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetPriceListForSubscriptionAndDateParams contains all the parameters to send to the API endpoint for the get price list for subscription and date operation typically these are written to a http.Request

func NewGetPriceListForSubscriptionAndDateParams

func NewGetPriceListForSubscriptionAndDateParams() *GetPriceListForSubscriptionAndDateParams

NewGetPriceListForSubscriptionAndDateParams creates a new GetPriceListForSubscriptionAndDateParams object with the default values initialized.

func NewGetPriceListForSubscriptionAndDateParamsWithContext

func NewGetPriceListForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams

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

func NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient

func NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams

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

func NewGetPriceListForSubscriptionAndDateParamsWithTimeout

func NewGetPriceListForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams

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

func (*GetPriceListForSubscriptionAndDateParams) SetContext

SetContext adds the context to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) SetRequestedDate

func (o *GetPriceListForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) SetSubscriptionID

func (o *GetPriceListForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)

SetSubscriptionID adds the subscriptionId to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) SetTimeout

SetTimeout adds the timeout to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithContext

WithContext adds the context to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithTimeout

WithTimeout adds the timeout to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPriceListForSubscriptionAndDateReader

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

GetPriceListForSubscriptionAndDateReader is a Reader for the GetPriceListForSubscriptionAndDate structure.

func (*GetPriceListForSubscriptionAndDateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProductForSubscriptionAndDateOK

type GetProductForSubscriptionAndDateOK struct {
	Payload *kbmodel.Product

	HttpResponse runtime.ClientResponse
}

GetProductForSubscriptionAndDateOK handles this case with default header values.

successful operation

func NewGetProductForSubscriptionAndDateOK

func NewGetProductForSubscriptionAndDateOK() *GetProductForSubscriptionAndDateOK

NewGetProductForSubscriptionAndDateOK creates a GetProductForSubscriptionAndDateOK with default headers values

func (*GetProductForSubscriptionAndDateOK) Error

type GetProductForSubscriptionAndDateParams

type GetProductForSubscriptionAndDateParams struct {

	/*RequestedDate*/
	RequestedDate *strfmt.Date
	/*SubscriptionID*/
	SubscriptionID *strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetProductForSubscriptionAndDateParams contains all the parameters to send to the API endpoint for the get product for subscription and date operation typically these are written to a http.Request

func NewGetProductForSubscriptionAndDateParams

func NewGetProductForSubscriptionAndDateParams() *GetProductForSubscriptionAndDateParams

NewGetProductForSubscriptionAndDateParams creates a new GetProductForSubscriptionAndDateParams object with the default values initialized.

func NewGetProductForSubscriptionAndDateParamsWithContext

func NewGetProductForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams

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

func NewGetProductForSubscriptionAndDateParamsWithHTTPClient

func NewGetProductForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams

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

func NewGetProductForSubscriptionAndDateParamsWithTimeout

func NewGetProductForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams

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

func (*GetProductForSubscriptionAndDateParams) SetContext

SetContext adds the context to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) SetRequestedDate

func (o *GetProductForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) SetSubscriptionID

func (o *GetProductForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)

SetSubscriptionID adds the subscriptionId to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) SetTimeout

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

SetTimeout adds the timeout to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithContext

WithContext adds the context to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithTimeout

WithTimeout adds the timeout to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProductForSubscriptionAndDateReader

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

GetProductForSubscriptionAndDateReader is a Reader for the GetProductForSubscriptionAndDate structure.

func (*GetProductForSubscriptionAndDateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ICatalog

type ICatalog interface {
	/*
		AddSimplePlan adds a simple plan entry in the current version of the catalog
	*/
	AddSimplePlan(ctx context.Context, params *AddSimplePlanParams) (*AddSimplePlanCreated, error)

	/*
		DeleteCatalog deletes all versions for a per tenant catalog
	*/
	DeleteCatalog(ctx context.Context, params *DeleteCatalogParams) (*DeleteCatalogNoContent, error)

	/*
		GetAvailableAddons retrieves available add ons for a given product
	*/
	GetAvailableAddons(ctx context.Context, params *GetAvailableAddonsParams) (*GetAvailableAddonsOK, error)

	/*
		GetAvailableBasePlans retrieves available base plans
	*/
	GetAvailableBasePlans(ctx context.Context, params *GetAvailableBasePlansParams) (*GetAvailableBasePlansOK, error)

	/*
		GetCatalogJSON retrieves the catalog as JSON
	*/
	GetCatalogJSON(ctx context.Context, params *GetCatalogJSONParams) (*GetCatalogJSONOK, error)

	/*
		GetCatalogVersions retrieves a list of catalog versions
	*/
	GetCatalogVersions(ctx context.Context, params *GetCatalogVersionsParams) (*GetCatalogVersionsOK, error)

	/*
		GetCatalogXML retrieves the full catalog as XML
	*/
	GetCatalogXML(ctx context.Context, params *GetCatalogXMLParams) (*GetCatalogXMLOK, error)

	/*
		GetPhaseForSubscriptionAndDate retrieves phase for a given subscription and date
	*/
	GetPhaseForSubscriptionAndDate(ctx context.Context, params *GetPhaseForSubscriptionAndDateParams) (*GetPhaseForSubscriptionAndDateOK, error)

	/*
		GetPlanForSubscriptionAndDate retrieves plan for a given subscription and date
	*/
	GetPlanForSubscriptionAndDate(ctx context.Context, params *GetPlanForSubscriptionAndDateParams) (*GetPlanForSubscriptionAndDateOK, error)

	/*
		GetPriceListForSubscriptionAndDate retrieves price list for a given subscription and date
	*/
	GetPriceListForSubscriptionAndDate(ctx context.Context, params *GetPriceListForSubscriptionAndDateParams) (*GetPriceListForSubscriptionAndDateOK, error)

	/*
		GetProductForSubscriptionAndDate retrieves product for a given subscription and date
	*/
	GetProductForSubscriptionAndDate(ctx context.Context, params *GetProductForSubscriptionAndDateParams) (*GetProductForSubscriptionAndDateOK, error)

	/*
		UploadCatalogXML uploads the full catalog as XML
	*/
	UploadCatalogXML(ctx context.Context, params *UploadCatalogXMLParams) (*UploadCatalogXMLCreated, error)
}

ICatalog - interface for Catalog client.

type KillbillDefaults

type KillbillDefaults interface {
	// Default CreatedBy. If not set explicitly in params, this will be used.
	XKillbillCreatedBy() *string
	// Default Comment. If not set explicitly in params, this will be used.
	XKillbillComment() *string
	// Default Reason. If not set explicitly in params, this will be used.
	XKillbillReason() *string
	// Default WithStackTrace. If not set explicitly in params, this will be used.
	KillbillWithStackTrace() *bool
}

killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.

type UploadCatalogXMLCreated

type UploadCatalogXMLCreated struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

UploadCatalogXMLCreated handles this case with default header values.

Catalog XML created successfully

func NewUploadCatalogXMLCreated

func NewUploadCatalogXMLCreated() *UploadCatalogXMLCreated

NewUploadCatalogXMLCreated creates a UploadCatalogXMLCreated with default headers values

func (*UploadCatalogXMLCreated) Error

func (o *UploadCatalogXMLCreated) Error() string

type UploadCatalogXMLParams

type UploadCatalogXMLParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

UploadCatalogXMLParams contains all the parameters to send to the API endpoint for the upload catalog Xml operation typically these are written to a http.Request

func NewUploadCatalogXMLParams

func NewUploadCatalogXMLParams() *UploadCatalogXMLParams

NewUploadCatalogXMLParams creates a new UploadCatalogXMLParams object with the default values initialized.

func NewUploadCatalogXMLParamsWithContext

func NewUploadCatalogXMLParamsWithContext(ctx context.Context) *UploadCatalogXMLParams

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

func NewUploadCatalogXMLParamsWithHTTPClient

func NewUploadCatalogXMLParamsWithHTTPClient(client *http.Client) *UploadCatalogXMLParams

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

func NewUploadCatalogXMLParamsWithTimeout

func NewUploadCatalogXMLParamsWithTimeout(timeout time.Duration) *UploadCatalogXMLParams

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

func (*UploadCatalogXMLParams) SetBody

func (o *UploadCatalogXMLParams) SetBody(body *string)

SetBody adds the body to the upload catalog Xml params

func (*UploadCatalogXMLParams) SetContext

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

SetContext adds the context to the upload catalog Xml params

func (*UploadCatalogXMLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload catalog Xml params

func (*UploadCatalogXMLParams) SetTimeout

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

SetTimeout adds the timeout to the upload catalog Xml params

func (*UploadCatalogXMLParams) SetXKillbillComment

func (o *UploadCatalogXMLParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the upload catalog Xml params

func (*UploadCatalogXMLParams) SetXKillbillCreatedBy

func (o *UploadCatalogXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog Xml params

func (*UploadCatalogXMLParams) SetXKillbillReason

func (o *UploadCatalogXMLParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithBody

WithBody adds the body to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithContext

WithContext adds the context to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithTimeout

WithTimeout adds the timeout to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithXKillbillComment

func (o *UploadCatalogXMLParams) WithXKillbillComment(xKillbillComment *string) *UploadCatalogXMLParams

WithXKillbillComment adds the xKillbillComment to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithXKillbillCreatedBy

func (o *UploadCatalogXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadCatalogXMLParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithXKillbillReason

func (o *UploadCatalogXMLParams) WithXKillbillReason(xKillbillReason *string) *UploadCatalogXMLParams

WithXKillbillReason adds the xKillbillReason to the upload catalog Xml params

func (*UploadCatalogXMLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadCatalogXMLReader

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

UploadCatalogXMLReader is a Reader for the UploadCatalogXML structure.

func (*UploadCatalogXMLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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