subscription

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddSubscriptionBlockingStateBadRequest

type AddSubscriptionBlockingStateBadRequest struct {
	HttpResponse runtime.ClientResponse
}

AddSubscriptionBlockingStateBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewAddSubscriptionBlockingStateBadRequest

func NewAddSubscriptionBlockingStateBadRequest() *AddSubscriptionBlockingStateBadRequest

NewAddSubscriptionBlockingStateBadRequest creates a AddSubscriptionBlockingStateBadRequest with default headers values

func (*AddSubscriptionBlockingStateBadRequest) Error

type AddSubscriptionBlockingStateCreated

type AddSubscriptionBlockingStateCreated struct {
	Payload []*kbmodel.BlockingState

	HttpResponse runtime.ClientResponse
}

AddSubscriptionBlockingStateCreated handles this case with default header values.

Blocking state created successfully

func NewAddSubscriptionBlockingStateCreated

func NewAddSubscriptionBlockingStateCreated() *AddSubscriptionBlockingStateCreated

NewAddSubscriptionBlockingStateCreated creates a AddSubscriptionBlockingStateCreated with default headers values

func (*AddSubscriptionBlockingStateCreated) Error

type AddSubscriptionBlockingStateNotFound

type AddSubscriptionBlockingStateNotFound struct {
	HttpResponse runtime.ClientResponse
}

AddSubscriptionBlockingStateNotFound handles this case with default header values.

Subscription not found

func NewAddSubscriptionBlockingStateNotFound

func NewAddSubscriptionBlockingStateNotFound() *AddSubscriptionBlockingStateNotFound

NewAddSubscriptionBlockingStateNotFound creates a AddSubscriptionBlockingStateNotFound with default headers values

func (*AddSubscriptionBlockingStateNotFound) Error

type AddSubscriptionBlockingStateParams

type AddSubscriptionBlockingStateParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.BlockingState
	/*PluginProperty*/
	PluginProperty []string
	/*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
}

AddSubscriptionBlockingStateParams contains all the parameters to send to the API endpoint for the add subscription blocking state operation typically these are written to a http.Request

func NewAddSubscriptionBlockingStateParams

func NewAddSubscriptionBlockingStateParams() *AddSubscriptionBlockingStateParams

NewAddSubscriptionBlockingStateParams creates a new AddSubscriptionBlockingStateParams object with the default values initialized.

func NewAddSubscriptionBlockingStateParamsWithContext

func NewAddSubscriptionBlockingStateParamsWithContext(ctx context.Context) *AddSubscriptionBlockingStateParams

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

func NewAddSubscriptionBlockingStateParamsWithHTTPClient

func NewAddSubscriptionBlockingStateParamsWithHTTPClient(client *http.Client) *AddSubscriptionBlockingStateParams

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

func NewAddSubscriptionBlockingStateParamsWithTimeout

func NewAddSubscriptionBlockingStateParamsWithTimeout(timeout time.Duration) *AddSubscriptionBlockingStateParams

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

func (*AddSubscriptionBlockingStateParams) SetBody

SetBody adds the body to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetContext

SetContext adds the context to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetPluginProperty

func (o *AddSubscriptionBlockingStateParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetRequestedDate

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

SetRequestedDate adds the requestedDate to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetTimeout

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

SetTimeout adds the timeout to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetXKillbillCreatedBy

func (o *AddSubscriptionBlockingStateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithBody

WithBody adds the body to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithContext

WithContext adds the context to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithPluginProperty

func (o *AddSubscriptionBlockingStateParams) WithPluginProperty(pluginProperty []string) *AddSubscriptionBlockingStateParams

WithPluginProperty adds the pluginProperty to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithTimeout

WithTimeout adds the timeout to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddSubscriptionBlockingStateReader

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

AddSubscriptionBlockingStateReader is a Reader for the AddSubscriptionBlockingState structure.

func (*AddSubscriptionBlockingStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelSubscriptionPlanBadRequest

type CancelSubscriptionPlanBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CancelSubscriptionPlanBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewCancelSubscriptionPlanBadRequest

func NewCancelSubscriptionPlanBadRequest() *CancelSubscriptionPlanBadRequest

NewCancelSubscriptionPlanBadRequest creates a CancelSubscriptionPlanBadRequest with default headers values

func (*CancelSubscriptionPlanBadRequest) Error

type CancelSubscriptionPlanNoContent

type CancelSubscriptionPlanNoContent struct {
	HttpResponse runtime.ClientResponse
}

CancelSubscriptionPlanNoContent handles this case with default header values.

Successful operation

func NewCancelSubscriptionPlanNoContent

func NewCancelSubscriptionPlanNoContent() *CancelSubscriptionPlanNoContent

NewCancelSubscriptionPlanNoContent creates a CancelSubscriptionPlanNoContent with default headers values

func (*CancelSubscriptionPlanNoContent) Error

type CancelSubscriptionPlanNotFound

type CancelSubscriptionPlanNotFound struct {
	HttpResponse runtime.ClientResponse
}

CancelSubscriptionPlanNotFound handles this case with default header values.

Entitlement not found

func NewCancelSubscriptionPlanNotFound

func NewCancelSubscriptionPlanNotFound() *CancelSubscriptionPlanNotFound

NewCancelSubscriptionPlanNotFound creates a CancelSubscriptionPlanNotFound with default headers values

func (*CancelSubscriptionPlanNotFound) Error

type CancelSubscriptionPlanParams

type CancelSubscriptionPlanParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BillingPolicy*/
	BillingPolicy *string
	/*CallCompletion*/
	CallCompletion *bool
	/*CallTimeoutSec*/
	CallTimeoutSec *int64
	/*EntitlementPolicy*/
	EntitlementPolicy *string
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date
	/*SubscriptionID*/
	SubscriptionID strfmt.UUID
	/*UseRequestedDateForBilling*/
	UseRequestedDateForBilling *bool

	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
}

CancelSubscriptionPlanParams contains all the parameters to send to the API endpoint for the cancel subscription plan operation typically these are written to a http.Request

func NewCancelSubscriptionPlanParams

func NewCancelSubscriptionPlanParams() *CancelSubscriptionPlanParams

NewCancelSubscriptionPlanParams creates a new CancelSubscriptionPlanParams object with the default values initialized.

func NewCancelSubscriptionPlanParamsWithContext

func NewCancelSubscriptionPlanParamsWithContext(ctx context.Context) *CancelSubscriptionPlanParams

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

func NewCancelSubscriptionPlanParamsWithHTTPClient

func NewCancelSubscriptionPlanParamsWithHTTPClient(client *http.Client) *CancelSubscriptionPlanParams

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

func NewCancelSubscriptionPlanParamsWithTimeout

func NewCancelSubscriptionPlanParamsWithTimeout(timeout time.Duration) *CancelSubscriptionPlanParams

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

func (*CancelSubscriptionPlanParams) SetBillingPolicy

func (o *CancelSubscriptionPlanParams) SetBillingPolicy(billingPolicy *string)

SetBillingPolicy adds the billingPolicy to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetCallCompletion

func (o *CancelSubscriptionPlanParams) SetCallCompletion(callCompletion *bool)

SetCallCompletion adds the callCompletion to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetCallTimeoutSec

func (o *CancelSubscriptionPlanParams) SetCallTimeoutSec(callTimeoutSec *int64)

SetCallTimeoutSec adds the callTimeoutSec to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetContext

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

SetContext adds the context to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetEntitlementPolicy

func (o *CancelSubscriptionPlanParams) SetEntitlementPolicy(entitlementPolicy *string)

SetEntitlementPolicy adds the entitlementPolicy to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetPluginProperty

func (o *CancelSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetRequestedDate

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

SetRequestedDate adds the requestedDate to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetTimeout

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

SetTimeout adds the timeout to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetUseRequestedDateForBilling

func (o *CancelSubscriptionPlanParams) SetUseRequestedDateForBilling(useRequestedDateForBilling *bool)

SetUseRequestedDateForBilling adds the useRequestedDateForBilling to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetXKillbillCreatedBy

func (o *CancelSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithBillingPolicy

func (o *CancelSubscriptionPlanParams) WithBillingPolicy(billingPolicy *string) *CancelSubscriptionPlanParams

WithBillingPolicy adds the billingPolicy to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithCallCompletion

func (o *CancelSubscriptionPlanParams) WithCallCompletion(callCompletion *bool) *CancelSubscriptionPlanParams

WithCallCompletion adds the callCompletion to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithCallTimeoutSec

func (o *CancelSubscriptionPlanParams) WithCallTimeoutSec(callTimeoutSec *int64) *CancelSubscriptionPlanParams

WithCallTimeoutSec adds the callTimeoutSec to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithContext

WithContext adds the context to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithEntitlementPolicy

func (o *CancelSubscriptionPlanParams) WithEntitlementPolicy(entitlementPolicy *string) *CancelSubscriptionPlanParams

WithEntitlementPolicy adds the entitlementPolicy to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithPluginProperty

func (o *CancelSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *CancelSubscriptionPlanParams

WithPluginProperty adds the pluginProperty to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithRequestedDate

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

WithRequestedDate adds the requestedDate to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithSubscriptionID

func (o *CancelSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CancelSubscriptionPlanParams

WithSubscriptionID adds the subscriptionID to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithTimeout

WithTimeout adds the timeout to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithUseRequestedDateForBilling

func (o *CancelSubscriptionPlanParams) WithUseRequestedDateForBilling(useRequestedDateForBilling *bool) *CancelSubscriptionPlanParams

WithUseRequestedDateForBilling adds the useRequestedDateForBilling to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelSubscriptionPlanReader

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

CancelSubscriptionPlanReader is a Reader for the CancelSubscriptionPlan structure.

func (*CancelSubscriptionPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeSubscriptionPlanBadRequest

type ChangeSubscriptionPlanBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ChangeSubscriptionPlanBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewChangeSubscriptionPlanBadRequest

func NewChangeSubscriptionPlanBadRequest() *ChangeSubscriptionPlanBadRequest

NewChangeSubscriptionPlanBadRequest creates a ChangeSubscriptionPlanBadRequest with default headers values

func (*ChangeSubscriptionPlanBadRequest) Error

type ChangeSubscriptionPlanNoContent

type ChangeSubscriptionPlanNoContent struct {
	HttpResponse runtime.ClientResponse
}

ChangeSubscriptionPlanNoContent handles this case with default header values.

Successful operation

func NewChangeSubscriptionPlanNoContent

func NewChangeSubscriptionPlanNoContent() *ChangeSubscriptionPlanNoContent

NewChangeSubscriptionPlanNoContent creates a ChangeSubscriptionPlanNoContent with default headers values

func (*ChangeSubscriptionPlanNoContent) Error

type ChangeSubscriptionPlanNotFound

type ChangeSubscriptionPlanNotFound struct {
	HttpResponse runtime.ClientResponse
}

ChangeSubscriptionPlanNotFound handles this case with default header values.

Entitlement not found

func NewChangeSubscriptionPlanNotFound

func NewChangeSubscriptionPlanNotFound() *ChangeSubscriptionPlanNotFound

NewChangeSubscriptionPlanNotFound creates a ChangeSubscriptionPlanNotFound with default headers values

func (*ChangeSubscriptionPlanNotFound) Error

type ChangeSubscriptionPlanParams

type ChangeSubscriptionPlanParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BillingPolicy*/
	BillingPolicy *string
	/*Body*/
	Body *kbmodel.Subscription
	/*CallCompletion*/
	CallCompletion *bool
	/*CallTimeoutSec*/
	CallTimeoutSec *int64
	/*PluginProperty*/
	PluginProperty []string
	/*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
}

ChangeSubscriptionPlanParams contains all the parameters to send to the API endpoint for the change subscription plan operation typically these are written to a http.Request

func NewChangeSubscriptionPlanParams

func NewChangeSubscriptionPlanParams() *ChangeSubscriptionPlanParams

NewChangeSubscriptionPlanParams creates a new ChangeSubscriptionPlanParams object with the default values initialized.

func NewChangeSubscriptionPlanParamsWithContext

func NewChangeSubscriptionPlanParamsWithContext(ctx context.Context) *ChangeSubscriptionPlanParams

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

func NewChangeSubscriptionPlanParamsWithHTTPClient

func NewChangeSubscriptionPlanParamsWithHTTPClient(client *http.Client) *ChangeSubscriptionPlanParams

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

func NewChangeSubscriptionPlanParamsWithTimeout

func NewChangeSubscriptionPlanParamsWithTimeout(timeout time.Duration) *ChangeSubscriptionPlanParams

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

func (*ChangeSubscriptionPlanParams) SetBillingPolicy

func (o *ChangeSubscriptionPlanParams) SetBillingPolicy(billingPolicy *string)

SetBillingPolicy adds the billingPolicy to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetBody

SetBody adds the body to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetCallCompletion

func (o *ChangeSubscriptionPlanParams) SetCallCompletion(callCompletion *bool)

SetCallCompletion adds the callCompletion to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetCallTimeoutSec

func (o *ChangeSubscriptionPlanParams) SetCallTimeoutSec(callTimeoutSec *int64)

SetCallTimeoutSec adds the callTimeoutSec to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetContext

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

SetContext adds the context to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetPluginProperty

func (o *ChangeSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetRequestedDate

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

SetRequestedDate adds the requestedDate to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetTimeout

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

SetTimeout adds the timeout to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetXKillbillCreatedBy

func (o *ChangeSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the change subscription plan params

func (*ChangeSubscriptionPlanParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithBillingPolicy

func (o *ChangeSubscriptionPlanParams) WithBillingPolicy(billingPolicy *string) *ChangeSubscriptionPlanParams

WithBillingPolicy adds the billingPolicy to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithBody

WithBody adds the body to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithCallCompletion

func (o *ChangeSubscriptionPlanParams) WithCallCompletion(callCompletion *bool) *ChangeSubscriptionPlanParams

WithCallCompletion adds the callCompletion to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithCallTimeoutSec

func (o *ChangeSubscriptionPlanParams) WithCallTimeoutSec(callTimeoutSec *int64) *ChangeSubscriptionPlanParams

WithCallTimeoutSec adds the callTimeoutSec to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithContext

WithContext adds the context to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithPluginProperty

func (o *ChangeSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *ChangeSubscriptionPlanParams

WithPluginProperty adds the pluginProperty to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithRequestedDate

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

WithRequestedDate adds the requestedDate to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithSubscriptionID

func (o *ChangeSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *ChangeSubscriptionPlanParams

WithSubscriptionID adds the subscriptionID to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithTimeout

WithTimeout adds the timeout to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeSubscriptionPlanReader

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

ChangeSubscriptionPlanReader is a Reader for the ChangeSubscriptionPlan structure.

func (*ChangeSubscriptionPlanReader) ReadResponse

func (o *ChangeSubscriptionPlanReader) 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 subscription API

func New

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

New creates a new subscription API client.

func (*Client) AddSubscriptionBlockingState

func (a *Client) AddSubscriptionBlockingState(ctx context.Context, params *AddSubscriptionBlockingStateParams) (*AddSubscriptionBlockingStateCreated, error)

AddSubscriptionBlockingState blocks a subscription

func (*Client) CancelSubscriptionPlan

func (a *Client) CancelSubscriptionPlan(ctx context.Context, params *CancelSubscriptionPlanParams) (*CancelSubscriptionPlanNoContent, error)

CancelSubscriptionPlan cancels an entitlement plan

func (*Client) ChangeSubscriptionPlan

func (a *Client) ChangeSubscriptionPlan(ctx context.Context, params *ChangeSubscriptionPlanParams) (*ChangeSubscriptionPlanNoContent, error)

ChangeSubscriptionPlan changes entitlement plan

func (*Client) CreateSubscription

func (a *Client) CreateSubscription(ctx context.Context, params *CreateSubscriptionParams) (*CreateSubscriptionCreated, error)

CreateSubscription creates an subscription

func (*Client) CreateSubscriptionCustomFields

func (a *Client) CreateSubscriptionCustomFields(ctx context.Context, params *CreateSubscriptionCustomFieldsParams) (*CreateSubscriptionCustomFieldsCreated, error)

CreateSubscriptionCustomFields adds custom fields to subscription

func (*Client) CreateSubscriptionTags

func (a *Client) CreateSubscriptionTags(ctx context.Context, params *CreateSubscriptionTagsParams) (*CreateSubscriptionTagsCreated, error)

CreateSubscriptionTags create subscription tags API

func (*Client) CreateSubscriptionWithAddOns

func (a *Client) CreateSubscriptionWithAddOns(ctx context.Context, params *CreateSubscriptionWithAddOnsParams) (*CreateSubscriptionWithAddOnsCreated, error)

CreateSubscriptionWithAddOns creates an entitlement with add on products

func (*Client) CreateSubscriptionsWithAddOns

func (a *Client) CreateSubscriptionsWithAddOns(ctx context.Context, params *CreateSubscriptionsWithAddOnsParams) (*CreateSubscriptionsWithAddOnsCreated, error)

CreateSubscriptionsWithAddOns creates multiple entitlements with add on products

func (*Client) DeleteSubscriptionCustomFields

DeleteSubscriptionCustomFields removes custom fields from subscription

func (*Client) DeleteSubscriptionTags

func (a *Client) DeleteSubscriptionTags(ctx context.Context, params *DeleteSubscriptionTagsParams) (*DeleteSubscriptionTagsNoContent, error)

DeleteSubscriptionTags removes tags from subscription

func (*Client) GetSubscription

func (a *Client) GetSubscription(ctx context.Context, params *GetSubscriptionParams) (*GetSubscriptionOK, error)

GetSubscription retrieves a subscription by id

func (*Client) GetSubscriptionCustomFields

func (a *Client) GetSubscriptionCustomFields(ctx context.Context, params *GetSubscriptionCustomFieldsParams) (*GetSubscriptionCustomFieldsOK, error)

GetSubscriptionCustomFields retrieves subscription custom fields

func (*Client) GetSubscriptionTags

func (a *Client) GetSubscriptionTags(ctx context.Context, params *GetSubscriptionTagsParams) (*GetSubscriptionTagsOK, error)

GetSubscriptionTags retrieves subscription tags

func (*Client) ModifySubscriptionCustomFields

ModifySubscriptionCustomFields modifies custom fields to subscription

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UncancelSubscriptionPlan

func (a *Client) UncancelSubscriptionPlan(ctx context.Context, params *UncancelSubscriptionPlanParams) (*UncancelSubscriptionPlanNoContent, error)

UncancelSubscriptionPlan uns cancel an entitlement

func (*Client) UndoChangeSubscriptionPlan

func (a *Client) UndoChangeSubscriptionPlan(ctx context.Context, params *UndoChangeSubscriptionPlanParams) (*UndoChangeSubscriptionPlanNoContent, error)

UndoChangeSubscriptionPlan undos a pending change plan on an entitlement

func (*Client) UpdateSubscriptionBCD

func (a *Client) UpdateSubscriptionBCD(ctx context.Context, params *UpdateSubscriptionBCDParams) (*UpdateSubscriptionBCDNoContent, error)

UpdateSubscriptionBCD updates the b c d associated to a subscription

type CreateSubscriptionCreated

type CreateSubscriptionCreated struct {
	Payload *kbmodel.Subscription

	HttpResponse runtime.ClientResponse
}

CreateSubscriptionCreated handles this case with default header values.

Subscription created successfully

func NewCreateSubscriptionCreated

func NewCreateSubscriptionCreated() *CreateSubscriptionCreated

NewCreateSubscriptionCreated creates a CreateSubscriptionCreated with default headers values

func (*CreateSubscriptionCreated) Error

func (o *CreateSubscriptionCreated) Error() string

type CreateSubscriptionCustomFieldsBadRequest

type CreateSubscriptionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateSubscriptionCustomFieldsBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewCreateSubscriptionCustomFieldsBadRequest

func NewCreateSubscriptionCustomFieldsBadRequest() *CreateSubscriptionCustomFieldsBadRequest

NewCreateSubscriptionCustomFieldsBadRequest creates a CreateSubscriptionCustomFieldsBadRequest with default headers values

func (*CreateSubscriptionCustomFieldsBadRequest) Error

type CreateSubscriptionCustomFieldsCreated

type CreateSubscriptionCustomFieldsCreated struct {
	HttpResponse runtime.ClientResponse
}

CreateSubscriptionCustomFieldsCreated handles this case with default header values.

Custom field created successfully

func NewCreateSubscriptionCustomFieldsCreated

func NewCreateSubscriptionCustomFieldsCreated() *CreateSubscriptionCustomFieldsCreated

NewCreateSubscriptionCustomFieldsCreated creates a CreateSubscriptionCustomFieldsCreated with default headers values

func (*CreateSubscriptionCustomFieldsCreated) Error

type CreateSubscriptionCustomFieldsParams

type CreateSubscriptionCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*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
}

CreateSubscriptionCustomFieldsParams contains all the parameters to send to the API endpoint for the create subscription custom fields operation typically these are written to a http.Request

func NewCreateSubscriptionCustomFieldsParams

func NewCreateSubscriptionCustomFieldsParams() *CreateSubscriptionCustomFieldsParams

NewCreateSubscriptionCustomFieldsParams creates a new CreateSubscriptionCustomFieldsParams object with the default values initialized.

func NewCreateSubscriptionCustomFieldsParamsWithContext

func NewCreateSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *CreateSubscriptionCustomFieldsParams

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

func NewCreateSubscriptionCustomFieldsParamsWithHTTPClient

func NewCreateSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionCustomFieldsParams

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

func NewCreateSubscriptionCustomFieldsParamsWithTimeout

func NewCreateSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionCustomFieldsParams

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

func (*CreateSubscriptionCustomFieldsParams) SetBody

SetBody adds the body to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) SetContext

SetContext adds the context to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithBody

WithBody adds the body to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithContext

WithContext adds the context to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionCustomFieldsReader

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

CreateSubscriptionCustomFieldsReader is a Reader for the CreateSubscriptionCustomFields structure.

func (*CreateSubscriptionCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSubscriptionParams

type CreateSubscriptionParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Bcd*/
	Bcd *int32
	/*BillingDate*/
	BillingDate *strfmt.Date
	/*Body*/
	Body *kbmodel.Subscription
	/*CallCompletion*/
	CallCompletion *bool
	/*CallTimeoutSec*/
	CallTimeoutSec *int64
	/*EntitlementDate*/
	EntitlementDate *strfmt.Date
	/*Migrated*/
	Migrated *bool
	/*PluginProperty*/
	PluginProperty []string
	/*RenameKeyIfExistsAndUnused*/
	RenameKeyIfExistsAndUnused *bool

	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
}

CreateSubscriptionParams contains all the parameters to send to the API endpoint for the create subscription operation typically these are written to a http.Request

func NewCreateSubscriptionParams

func NewCreateSubscriptionParams() *CreateSubscriptionParams

NewCreateSubscriptionParams creates a new CreateSubscriptionParams object with the default values initialized.

func NewCreateSubscriptionParamsWithContext

func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams

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

func NewCreateSubscriptionParamsWithHTTPClient

func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams

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

func NewCreateSubscriptionParamsWithTimeout

func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams

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

func (*CreateSubscriptionParams) SetBcd

func (o *CreateSubscriptionParams) SetBcd(bcd *int32)

SetBcd adds the bcd to the create subscription params

func (*CreateSubscriptionParams) SetBillingDate

func (o *CreateSubscriptionParams) SetBillingDate(billingDate *strfmt.Date)

SetBillingDate adds the billingDate to the create subscription params

func (*CreateSubscriptionParams) SetBody

func (o *CreateSubscriptionParams) SetBody(body *kbmodel.Subscription)

SetBody adds the body to the create subscription params

func (*CreateSubscriptionParams) SetCallCompletion

func (o *CreateSubscriptionParams) SetCallCompletion(callCompletion *bool)

SetCallCompletion adds the callCompletion to the create subscription params

func (*CreateSubscriptionParams) SetCallTimeoutSec

func (o *CreateSubscriptionParams) SetCallTimeoutSec(callTimeoutSec *int64)

SetCallTimeoutSec adds the callTimeoutSec to the create subscription params

func (*CreateSubscriptionParams) SetContext

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

SetContext adds the context to the create subscription params

func (*CreateSubscriptionParams) SetEntitlementDate

func (o *CreateSubscriptionParams) SetEntitlementDate(entitlementDate *strfmt.Date)

SetEntitlementDate adds the entitlementDate to the create subscription params

func (*CreateSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create subscription params

func (*CreateSubscriptionParams) SetMigrated

func (o *CreateSubscriptionParams) SetMigrated(migrated *bool)

SetMigrated adds the migrated to the create subscription params

func (*CreateSubscriptionParams) SetPluginProperty

func (o *CreateSubscriptionParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the create subscription params

func (*CreateSubscriptionParams) SetRenameKeyIfExistsAndUnused

func (o *CreateSubscriptionParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)

SetRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscription params

func (*CreateSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the create subscription params

func (*CreateSubscriptionParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create subscription params

func (*CreateSubscriptionParams) SetXKillbillCreatedBy

func (o *CreateSubscriptionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription params

func (*CreateSubscriptionParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create subscription params

func (*CreateSubscriptionParams) WithBcd

WithBcd adds the bcd to the create subscription params

func (*CreateSubscriptionParams) WithBillingDate

func (o *CreateSubscriptionParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionParams

WithBillingDate adds the billingDate to the create subscription params

func (*CreateSubscriptionParams) WithBody

WithBody adds the body to the create subscription params

func (*CreateSubscriptionParams) WithCallCompletion

func (o *CreateSubscriptionParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionParams

WithCallCompletion adds the callCompletion to the create subscription params

func (*CreateSubscriptionParams) WithCallTimeoutSec

func (o *CreateSubscriptionParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionParams

WithCallTimeoutSec adds the callTimeoutSec to the create subscription params

func (*CreateSubscriptionParams) WithContext

WithContext adds the context to the create subscription params

func (*CreateSubscriptionParams) WithEntitlementDate

func (o *CreateSubscriptionParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionParams

WithEntitlementDate adds the entitlementDate to the create subscription params

func (*CreateSubscriptionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create subscription params

func (*CreateSubscriptionParams) WithMigrated

func (o *CreateSubscriptionParams) WithMigrated(migrated *bool) *CreateSubscriptionParams

WithMigrated adds the migrated to the create subscription params

func (*CreateSubscriptionParams) WithPluginProperty

func (o *CreateSubscriptionParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionParams

WithPluginProperty adds the pluginProperty to the create subscription params

func (*CreateSubscriptionParams) WithRenameKeyIfExistsAndUnused

func (o *CreateSubscriptionParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionParams

WithRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscription params

func (*CreateSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the create subscription params

func (*CreateSubscriptionParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create subscription params

func (*CreateSubscriptionParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription params

func (*CreateSubscriptionParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create subscription params

func (*CreateSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionReader

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

CreateSubscriptionReader is a Reader for the CreateSubscription structure.

func (*CreateSubscriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSubscriptionTagsBadRequest

type CreateSubscriptionTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateSubscriptionTagsBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewCreateSubscriptionTagsBadRequest

func NewCreateSubscriptionTagsBadRequest() *CreateSubscriptionTagsBadRequest

NewCreateSubscriptionTagsBadRequest creates a CreateSubscriptionTagsBadRequest with default headers values

func (*CreateSubscriptionTagsBadRequest) Error

type CreateSubscriptionTagsCreated

type CreateSubscriptionTagsCreated struct {
	HttpResponse runtime.ClientResponse
}

CreateSubscriptionTagsCreated handles this case with default header values.

Tag created successfully

func NewCreateSubscriptionTagsCreated

func NewCreateSubscriptionTagsCreated() *CreateSubscriptionTagsCreated

NewCreateSubscriptionTagsCreated creates a CreateSubscriptionTagsCreated with default headers values

func (*CreateSubscriptionTagsCreated) Error

type CreateSubscriptionTagsParams

type CreateSubscriptionTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []strfmt.UUID
	/*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
}

CreateSubscriptionTagsParams contains all the parameters to send to the API endpoint for the create subscription tags operation typically these are written to a http.Request

func NewCreateSubscriptionTagsParams

func NewCreateSubscriptionTagsParams() *CreateSubscriptionTagsParams

NewCreateSubscriptionTagsParams creates a new CreateSubscriptionTagsParams object with the default values initialized.

func NewCreateSubscriptionTagsParamsWithContext

func NewCreateSubscriptionTagsParamsWithContext(ctx context.Context) *CreateSubscriptionTagsParams

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

func NewCreateSubscriptionTagsParamsWithHTTPClient

func NewCreateSubscriptionTagsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionTagsParams

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

func NewCreateSubscriptionTagsParamsWithTimeout

func NewCreateSubscriptionTagsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionTagsParams

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

func (*CreateSubscriptionTagsParams) SetBody

func (o *CreateSubscriptionTagsParams) SetBody(body []strfmt.UUID)

SetBody adds the body to the create subscription tags params

func (*CreateSubscriptionTagsParams) SetContext

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

SetContext adds the context to the create subscription tags params

func (*CreateSubscriptionTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create subscription tags params

func (*CreateSubscriptionTagsParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the create subscription tags params

func (*CreateSubscriptionTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create subscription tags params

func (*CreateSubscriptionTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create subscription tags params

func (*CreateSubscriptionTagsParams) SetXKillbillCreatedBy

func (o *CreateSubscriptionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription tags params

func (*CreateSubscriptionTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithBody

WithBody adds the body to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithContext

WithContext adds the context to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithSubscriptionID

func (o *CreateSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CreateSubscriptionTagsParams

WithSubscriptionID adds the subscriptionID to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithTimeout

WithTimeout adds the timeout to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create subscription tags params

func (*CreateSubscriptionTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionTagsReader

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

CreateSubscriptionTagsReader is a Reader for the CreateSubscriptionTags structure.

func (*CreateSubscriptionTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSubscriptionWithAddOnsCreated

type CreateSubscriptionWithAddOnsCreated struct {
	Payload *kbmodel.Bundle

	HttpResponse runtime.ClientResponse
}

CreateSubscriptionWithAddOnsCreated handles this case with default header values.

Subscriptions created successfully

func NewCreateSubscriptionWithAddOnsCreated

func NewCreateSubscriptionWithAddOnsCreated() *CreateSubscriptionWithAddOnsCreated

NewCreateSubscriptionWithAddOnsCreated creates a CreateSubscriptionWithAddOnsCreated with default headers values

func (*CreateSubscriptionWithAddOnsCreated) Error

type CreateSubscriptionWithAddOnsParams

type CreateSubscriptionWithAddOnsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BillingDate*/
	BillingDate *strfmt.Date
	/*Body*/
	Body []*kbmodel.Subscription
	/*CallCompletion*/
	CallCompletion *bool
	/*CallTimeoutSec*/
	CallTimeoutSec *int64
	/*EntitlementDate*/
	EntitlementDate *strfmt.Date
	/*Migrated*/
	Migrated *bool
	/*PluginProperty*/
	PluginProperty []string
	/*RenameKeyIfExistsAndUnused*/
	RenameKeyIfExistsAndUnused *bool

	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
}

CreateSubscriptionWithAddOnsParams contains all the parameters to send to the API endpoint for the create subscription with add ons operation typically these are written to a http.Request

func NewCreateSubscriptionWithAddOnsParams

func NewCreateSubscriptionWithAddOnsParams() *CreateSubscriptionWithAddOnsParams

NewCreateSubscriptionWithAddOnsParams creates a new CreateSubscriptionWithAddOnsParams object with the default values initialized.

func NewCreateSubscriptionWithAddOnsParamsWithContext

func NewCreateSubscriptionWithAddOnsParamsWithContext(ctx context.Context) *CreateSubscriptionWithAddOnsParams

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

func NewCreateSubscriptionWithAddOnsParamsWithHTTPClient

func NewCreateSubscriptionWithAddOnsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionWithAddOnsParams

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

func NewCreateSubscriptionWithAddOnsParamsWithTimeout

func NewCreateSubscriptionWithAddOnsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionWithAddOnsParams

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

func (*CreateSubscriptionWithAddOnsParams) SetBillingDate

func (o *CreateSubscriptionWithAddOnsParams) SetBillingDate(billingDate *strfmt.Date)

SetBillingDate adds the billingDate to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetBody

SetBody adds the body to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetCallCompletion

func (o *CreateSubscriptionWithAddOnsParams) SetCallCompletion(callCompletion *bool)

SetCallCompletion adds the callCompletion to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetCallTimeoutSec

func (o *CreateSubscriptionWithAddOnsParams) SetCallTimeoutSec(callTimeoutSec *int64)

SetCallTimeoutSec adds the callTimeoutSec to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetContext

SetContext adds the context to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetEntitlementDate

func (o *CreateSubscriptionWithAddOnsParams) SetEntitlementDate(entitlementDate *strfmt.Date)

SetEntitlementDate adds the entitlementDate to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetMigrated

func (o *CreateSubscriptionWithAddOnsParams) SetMigrated(migrated *bool)

SetMigrated adds the migrated to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetPluginProperty

func (o *CreateSubscriptionWithAddOnsParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetRenameKeyIfExistsAndUnused

func (o *CreateSubscriptionWithAddOnsParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)

SetRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetTimeout

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

SetTimeout adds the timeout to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetXKillbillCreatedBy

func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithBillingDate

WithBillingDate adds the billingDate to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithBody

WithBody adds the body to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithCallCompletion

func (o *CreateSubscriptionWithAddOnsParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionWithAddOnsParams

WithCallCompletion adds the callCompletion to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithCallTimeoutSec

func (o *CreateSubscriptionWithAddOnsParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionWithAddOnsParams

WithCallTimeoutSec adds the callTimeoutSec to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithContext

WithContext adds the context to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithEntitlementDate

func (o *CreateSubscriptionWithAddOnsParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionWithAddOnsParams

WithEntitlementDate adds the entitlementDate to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithMigrated

WithMigrated adds the migrated to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithPluginProperty

func (o *CreateSubscriptionWithAddOnsParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionWithAddOnsParams

WithPluginProperty adds the pluginProperty to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithRenameKeyIfExistsAndUnused

func (o *CreateSubscriptionWithAddOnsParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionWithAddOnsParams

WithRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithTimeout

WithTimeout adds the timeout to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionWithAddOnsReader

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

CreateSubscriptionWithAddOnsReader is a Reader for the CreateSubscriptionWithAddOns structure.

func (*CreateSubscriptionWithAddOnsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSubscriptionsWithAddOnsCreated

type CreateSubscriptionsWithAddOnsCreated struct {
	Payload []*kbmodel.Bundle

	HttpResponse runtime.ClientResponse
}

CreateSubscriptionsWithAddOnsCreated handles this case with default header values.

Subscriptions created successfully

func NewCreateSubscriptionsWithAddOnsCreated

func NewCreateSubscriptionsWithAddOnsCreated() *CreateSubscriptionsWithAddOnsCreated

NewCreateSubscriptionsWithAddOnsCreated creates a CreateSubscriptionsWithAddOnsCreated with default headers values

func (*CreateSubscriptionsWithAddOnsCreated) Error

type CreateSubscriptionsWithAddOnsParams

type CreateSubscriptionsWithAddOnsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BillingDate*/
	BillingDate *strfmt.Date
	/*Body*/
	Body []*kbmodel.BulkSubscriptionsBundle
	/*CallCompletion*/
	CallCompletion *bool
	/*CallTimeoutSec*/
	CallTimeoutSec *int64
	/*EntitlementDate*/
	EntitlementDate *strfmt.Date
	/*Migrated*/
	Migrated *bool
	/*PluginProperty*/
	PluginProperty []string
	/*RenameKeyIfExistsAndUnused*/
	RenameKeyIfExistsAndUnused *bool

	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
}

CreateSubscriptionsWithAddOnsParams contains all the parameters to send to the API endpoint for the create subscriptions with add ons operation typically these are written to a http.Request

func NewCreateSubscriptionsWithAddOnsParams

func NewCreateSubscriptionsWithAddOnsParams() *CreateSubscriptionsWithAddOnsParams

NewCreateSubscriptionsWithAddOnsParams creates a new CreateSubscriptionsWithAddOnsParams object with the default values initialized.

func NewCreateSubscriptionsWithAddOnsParamsWithContext

func NewCreateSubscriptionsWithAddOnsParamsWithContext(ctx context.Context) *CreateSubscriptionsWithAddOnsParams

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

func NewCreateSubscriptionsWithAddOnsParamsWithHTTPClient

func NewCreateSubscriptionsWithAddOnsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionsWithAddOnsParams

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

func NewCreateSubscriptionsWithAddOnsParamsWithTimeout

func NewCreateSubscriptionsWithAddOnsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionsWithAddOnsParams

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

func (*CreateSubscriptionsWithAddOnsParams) SetBillingDate

func (o *CreateSubscriptionsWithAddOnsParams) SetBillingDate(billingDate *strfmt.Date)

SetBillingDate adds the billingDate to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetBody

SetBody adds the body to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetCallCompletion

func (o *CreateSubscriptionsWithAddOnsParams) SetCallCompletion(callCompletion *bool)

SetCallCompletion adds the callCompletion to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetCallTimeoutSec

func (o *CreateSubscriptionsWithAddOnsParams) SetCallTimeoutSec(callTimeoutSec *int64)

SetCallTimeoutSec adds the callTimeoutSec to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetContext

SetContext adds the context to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetEntitlementDate

func (o *CreateSubscriptionsWithAddOnsParams) SetEntitlementDate(entitlementDate *strfmt.Date)

SetEntitlementDate adds the entitlementDate to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetMigrated

func (o *CreateSubscriptionsWithAddOnsParams) SetMigrated(migrated *bool)

SetMigrated adds the migrated to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetPluginProperty

func (o *CreateSubscriptionsWithAddOnsParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetRenameKeyIfExistsAndUnused

func (o *CreateSubscriptionsWithAddOnsParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)

SetRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetTimeout

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

SetTimeout adds the timeout to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetXKillbillCreatedBy

func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithBillingDate

WithBillingDate adds the billingDate to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithBody

WithBody adds the body to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithCallCompletion

func (o *CreateSubscriptionsWithAddOnsParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionsWithAddOnsParams

WithCallCompletion adds the callCompletion to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithCallTimeoutSec

func (o *CreateSubscriptionsWithAddOnsParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionsWithAddOnsParams

WithCallTimeoutSec adds the callTimeoutSec to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithContext

WithContext adds the context to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithEntitlementDate

func (o *CreateSubscriptionsWithAddOnsParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionsWithAddOnsParams

WithEntitlementDate adds the entitlementDate to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithMigrated

WithMigrated adds the migrated to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithPluginProperty

func (o *CreateSubscriptionsWithAddOnsParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionsWithAddOnsParams

WithPluginProperty adds the pluginProperty to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithRenameKeyIfExistsAndUnused

func (o *CreateSubscriptionsWithAddOnsParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionsWithAddOnsParams

WithRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithTimeout

WithTimeout adds the timeout to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionsWithAddOnsReader

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

CreateSubscriptionsWithAddOnsReader is a Reader for the CreateSubscriptionsWithAddOns structure.

func (*CreateSubscriptionsWithAddOnsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSubscriptionCustomFieldsBadRequest

type DeleteSubscriptionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteSubscriptionCustomFieldsBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewDeleteSubscriptionCustomFieldsBadRequest

func NewDeleteSubscriptionCustomFieldsBadRequest() *DeleteSubscriptionCustomFieldsBadRequest

NewDeleteSubscriptionCustomFieldsBadRequest creates a DeleteSubscriptionCustomFieldsBadRequest with default headers values

func (*DeleteSubscriptionCustomFieldsBadRequest) Error

type DeleteSubscriptionCustomFieldsNoContent

type DeleteSubscriptionCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteSubscriptionCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewDeleteSubscriptionCustomFieldsNoContent

func NewDeleteSubscriptionCustomFieldsNoContent() *DeleteSubscriptionCustomFieldsNoContent

NewDeleteSubscriptionCustomFieldsNoContent creates a DeleteSubscriptionCustomFieldsNoContent with default headers values

func (*DeleteSubscriptionCustomFieldsNoContent) Error

type DeleteSubscriptionCustomFieldsParams

type DeleteSubscriptionCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*CustomField*/
	CustomField []strfmt.UUID
	/*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
}

DeleteSubscriptionCustomFieldsParams contains all the parameters to send to the API endpoint for the delete subscription custom fields operation typically these are written to a http.Request

func NewDeleteSubscriptionCustomFieldsParams

func NewDeleteSubscriptionCustomFieldsParams() *DeleteSubscriptionCustomFieldsParams

NewDeleteSubscriptionCustomFieldsParams creates a new DeleteSubscriptionCustomFieldsParams object with the default values initialized.

func NewDeleteSubscriptionCustomFieldsParamsWithContext

func NewDeleteSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *DeleteSubscriptionCustomFieldsParams

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

func NewDeleteSubscriptionCustomFieldsParamsWithHTTPClient

func NewDeleteSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionCustomFieldsParams

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

func NewDeleteSubscriptionCustomFieldsParamsWithTimeout

func NewDeleteSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionCustomFieldsParams

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

func (*DeleteSubscriptionCustomFieldsParams) SetContext

SetContext adds the context to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) SetCustomField

func (o *DeleteSubscriptionCustomFieldsParams) SetCustomField(customField []strfmt.UUID)

SetCustomField adds the customField to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithContext

WithContext adds the context to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSubscriptionCustomFieldsReader

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

DeleteSubscriptionCustomFieldsReader is a Reader for the DeleteSubscriptionCustomFields structure.

func (*DeleteSubscriptionCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSubscriptionTagsBadRequest

type DeleteSubscriptionTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteSubscriptionTagsBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewDeleteSubscriptionTagsBadRequest

func NewDeleteSubscriptionTagsBadRequest() *DeleteSubscriptionTagsBadRequest

NewDeleteSubscriptionTagsBadRequest creates a DeleteSubscriptionTagsBadRequest with default headers values

func (*DeleteSubscriptionTagsBadRequest) Error

type DeleteSubscriptionTagsNoContent

type DeleteSubscriptionTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteSubscriptionTagsNoContent handles this case with default header values.

Successful operation

func NewDeleteSubscriptionTagsNoContent

func NewDeleteSubscriptionTagsNoContent() *DeleteSubscriptionTagsNoContent

NewDeleteSubscriptionTagsNoContent creates a DeleteSubscriptionTagsNoContent with default headers values

func (*DeleteSubscriptionTagsNoContent) Error

type DeleteSubscriptionTagsParams

type DeleteSubscriptionTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*SubscriptionID*/
	SubscriptionID strfmt.UUID
	/*TagDef*/
	TagDef []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
}

DeleteSubscriptionTagsParams contains all the parameters to send to the API endpoint for the delete subscription tags operation typically these are written to a http.Request

func NewDeleteSubscriptionTagsParams

func NewDeleteSubscriptionTagsParams() *DeleteSubscriptionTagsParams

NewDeleteSubscriptionTagsParams creates a new DeleteSubscriptionTagsParams object with the default values initialized.

func NewDeleteSubscriptionTagsParamsWithContext

func NewDeleteSubscriptionTagsParamsWithContext(ctx context.Context) *DeleteSubscriptionTagsParams

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

func NewDeleteSubscriptionTagsParamsWithHTTPClient

func NewDeleteSubscriptionTagsParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionTagsParams

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

func NewDeleteSubscriptionTagsParamsWithTimeout

func NewDeleteSubscriptionTagsParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionTagsParams

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

func (*DeleteSubscriptionTagsParams) SetContext

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

SetContext adds the context to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) SetTagDef

func (o *DeleteSubscriptionTagsParams) SetTagDef(tagDef []strfmt.UUID)

SetTagDef adds the tagDef to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) SetXKillbillCreatedBy

func (o *DeleteSubscriptionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithContext

WithContext adds the context to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithSubscriptionID

func (o *DeleteSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *DeleteSubscriptionTagsParams

WithSubscriptionID adds the subscriptionID to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithTimeout

WithTimeout adds the timeout to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSubscriptionTagsReader

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

DeleteSubscriptionTagsReader is a Reader for the DeleteSubscriptionTags structure.

func (*DeleteSubscriptionTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubscriptionBadRequest

type GetSubscriptionBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetSubscriptionBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewGetSubscriptionBadRequest

func NewGetSubscriptionBadRequest() *GetSubscriptionBadRequest

NewGetSubscriptionBadRequest creates a GetSubscriptionBadRequest with default headers values

func (*GetSubscriptionBadRequest) Error

func (o *GetSubscriptionBadRequest) Error() string

type GetSubscriptionCustomFieldsBadRequest

type GetSubscriptionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetSubscriptionCustomFieldsBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewGetSubscriptionCustomFieldsBadRequest

func NewGetSubscriptionCustomFieldsBadRequest() *GetSubscriptionCustomFieldsBadRequest

NewGetSubscriptionCustomFieldsBadRequest creates a GetSubscriptionCustomFieldsBadRequest with default headers values

func (*GetSubscriptionCustomFieldsBadRequest) Error

type GetSubscriptionCustomFieldsOK

type GetSubscriptionCustomFieldsOK struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

GetSubscriptionCustomFieldsOK handles this case with default header values.

successful operation

func NewGetSubscriptionCustomFieldsOK

func NewGetSubscriptionCustomFieldsOK() *GetSubscriptionCustomFieldsOK

NewGetSubscriptionCustomFieldsOK creates a GetSubscriptionCustomFieldsOK with default headers values

func (*GetSubscriptionCustomFieldsOK) Error

type GetSubscriptionCustomFieldsParams

type GetSubscriptionCustomFieldsParams struct {

	/*Audit*/
	Audit *string
	/*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
}

GetSubscriptionCustomFieldsParams contains all the parameters to send to the API endpoint for the get subscription custom fields operation typically these are written to a http.Request

func NewGetSubscriptionCustomFieldsParams

func NewGetSubscriptionCustomFieldsParams() *GetSubscriptionCustomFieldsParams

NewGetSubscriptionCustomFieldsParams creates a new GetSubscriptionCustomFieldsParams object with the default values initialized.

func NewGetSubscriptionCustomFieldsParamsWithContext

func NewGetSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *GetSubscriptionCustomFieldsParams

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

func NewGetSubscriptionCustomFieldsParamsWithHTTPClient

func NewGetSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *GetSubscriptionCustomFieldsParams

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

func NewGetSubscriptionCustomFieldsParamsWithTimeout

func NewGetSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *GetSubscriptionCustomFieldsParams

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

func (*GetSubscriptionCustomFieldsParams) SetAudit

func (o *GetSubscriptionCustomFieldsParams) SetAudit(audit *string)

SetAudit adds the audit to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) SetContext

SetContext adds the context to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WithAudit

WithAudit adds the audit to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WithContext

WithContext adds the context to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WithSubscriptionID

func (o *GetSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionCustomFieldsParams

WithSubscriptionID adds the subscriptionID to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSubscriptionCustomFieldsReader

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

GetSubscriptionCustomFieldsReader is a Reader for the GetSubscriptionCustomFields structure.

func (*GetSubscriptionCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubscriptionNotFound

type GetSubscriptionNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetSubscriptionNotFound handles this case with default header values.

Subscription not found

func NewGetSubscriptionNotFound

func NewGetSubscriptionNotFound() *GetSubscriptionNotFound

NewGetSubscriptionNotFound creates a GetSubscriptionNotFound with default headers values

func (*GetSubscriptionNotFound) Error

func (o *GetSubscriptionNotFound) Error() string

type GetSubscriptionOK

type GetSubscriptionOK struct {
	Payload *kbmodel.Subscription

	HttpResponse runtime.ClientResponse
}

GetSubscriptionOK handles this case with default header values.

successful operation

func NewGetSubscriptionOK

func NewGetSubscriptionOK() *GetSubscriptionOK

NewGetSubscriptionOK creates a GetSubscriptionOK with default headers values

func (*GetSubscriptionOK) Error

func (o *GetSubscriptionOK) Error() string

type GetSubscriptionParams

type GetSubscriptionParams struct {

	/*Audit*/
	Audit *string
	/*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
}

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

func NewGetSubscriptionParams

func NewGetSubscriptionParams() *GetSubscriptionParams

NewGetSubscriptionParams creates a new GetSubscriptionParams object with the default values initialized.

func NewGetSubscriptionParamsWithContext

func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams

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

func NewGetSubscriptionParamsWithHTTPClient

func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams

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

func NewGetSubscriptionParamsWithTimeout

func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams

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

func (*GetSubscriptionParams) SetAudit

func (o *GetSubscriptionParams) SetAudit(audit *string)

SetAudit adds the audit to the get subscription params

func (*GetSubscriptionParams) SetContext

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

SetContext adds the context to the get subscription params

func (*GetSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscription params

func (*GetSubscriptionParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the get subscription params

func (*GetSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the get subscription params

func (*GetSubscriptionParams) WithAudit

func (o *GetSubscriptionParams) WithAudit(audit *string) *GetSubscriptionParams

WithAudit adds the audit to the get subscription params

func (*GetSubscriptionParams) WithContext

WithContext adds the context to the get subscription params

func (*GetSubscriptionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get subscription params

func (*GetSubscriptionParams) WithSubscriptionID

func (o *GetSubscriptionParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionParams

WithSubscriptionID adds the subscriptionID to the get subscription params

func (*GetSubscriptionParams) WithTimeout

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

WithTimeout adds the timeout to the get subscription params

func (*GetSubscriptionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSubscriptionReader

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

GetSubscriptionReader is a Reader for the GetSubscription structure.

func (*GetSubscriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubscriptionTagsBadRequest

type GetSubscriptionTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetSubscriptionTagsBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewGetSubscriptionTagsBadRequest

func NewGetSubscriptionTagsBadRequest() *GetSubscriptionTagsBadRequest

NewGetSubscriptionTagsBadRequest creates a GetSubscriptionTagsBadRequest with default headers values

func (*GetSubscriptionTagsBadRequest) Error

type GetSubscriptionTagsNotFound

type GetSubscriptionTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetSubscriptionTagsNotFound handles this case with default header values.

Subscription not found

func NewGetSubscriptionTagsNotFound

func NewGetSubscriptionTagsNotFound() *GetSubscriptionTagsNotFound

NewGetSubscriptionTagsNotFound creates a GetSubscriptionTagsNotFound with default headers values

func (*GetSubscriptionTagsNotFound) Error

type GetSubscriptionTagsOK

type GetSubscriptionTagsOK struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

GetSubscriptionTagsOK handles this case with default header values.

successful operation

func NewGetSubscriptionTagsOK

func NewGetSubscriptionTagsOK() *GetSubscriptionTagsOK

NewGetSubscriptionTagsOK creates a GetSubscriptionTagsOK with default headers values

func (*GetSubscriptionTagsOK) Error

func (o *GetSubscriptionTagsOK) Error() string

type GetSubscriptionTagsParams

type GetSubscriptionTagsParams struct {

	/*Audit*/
	Audit *string
	/*IncludedDeleted*/
	IncludedDeleted *bool
	/*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
}

GetSubscriptionTagsParams contains all the parameters to send to the API endpoint for the get subscription tags operation typically these are written to a http.Request

func NewGetSubscriptionTagsParams

func NewGetSubscriptionTagsParams() *GetSubscriptionTagsParams

NewGetSubscriptionTagsParams creates a new GetSubscriptionTagsParams object with the default values initialized.

func NewGetSubscriptionTagsParamsWithContext

func NewGetSubscriptionTagsParamsWithContext(ctx context.Context) *GetSubscriptionTagsParams

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

func NewGetSubscriptionTagsParamsWithHTTPClient

func NewGetSubscriptionTagsParamsWithHTTPClient(client *http.Client) *GetSubscriptionTagsParams

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

func NewGetSubscriptionTagsParamsWithTimeout

func NewGetSubscriptionTagsParamsWithTimeout(timeout time.Duration) *GetSubscriptionTagsParams

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

func (*GetSubscriptionTagsParams) SetAudit

func (o *GetSubscriptionTagsParams) SetAudit(audit *string)

SetAudit adds the audit to the get subscription tags params

func (*GetSubscriptionTagsParams) SetContext

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

SetContext adds the context to the get subscription tags params

func (*GetSubscriptionTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscription tags params

func (*GetSubscriptionTagsParams) SetIncludedDeleted

func (o *GetSubscriptionTagsParams) SetIncludedDeleted(includedDeleted *bool)

SetIncludedDeleted adds the includedDeleted to the get subscription tags params

func (*GetSubscriptionTagsParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the get subscription tags params

func (*GetSubscriptionTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get subscription tags params

func (*GetSubscriptionTagsParams) WithAudit

WithAudit adds the audit to the get subscription tags params

func (*GetSubscriptionTagsParams) WithContext

WithContext adds the context to the get subscription tags params

func (*GetSubscriptionTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get subscription tags params

func (*GetSubscriptionTagsParams) WithIncludedDeleted

func (o *GetSubscriptionTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetSubscriptionTagsParams

WithIncludedDeleted adds the includedDeleted to the get subscription tags params

func (*GetSubscriptionTagsParams) WithSubscriptionID

func (o *GetSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionTagsParams

WithSubscriptionID adds the subscriptionID to the get subscription tags params

func (*GetSubscriptionTagsParams) WithTimeout

WithTimeout adds the timeout to the get subscription tags params

func (*GetSubscriptionTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSubscriptionTagsReader

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

GetSubscriptionTagsReader is a Reader for the GetSubscriptionTags structure.

func (*GetSubscriptionTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ISubscription

type ISubscription interface {
	/*
		AddSubscriptionBlockingState blocks a subscription
	*/
	AddSubscriptionBlockingState(ctx context.Context, params *AddSubscriptionBlockingStateParams) (*AddSubscriptionBlockingStateCreated, error)

	/*
		CancelSubscriptionPlan cancels an entitlement plan
	*/
	CancelSubscriptionPlan(ctx context.Context, params *CancelSubscriptionPlanParams) (*CancelSubscriptionPlanNoContent, error)

	/*
		ChangeSubscriptionPlan changes entitlement plan
	*/
	ChangeSubscriptionPlan(ctx context.Context, params *ChangeSubscriptionPlanParams) (*ChangeSubscriptionPlanNoContent, error)

	/*
		CreateSubscription creates an subscription
	*/
	CreateSubscription(ctx context.Context, params *CreateSubscriptionParams) (*CreateSubscriptionCreated, error)

	/*
		CreateSubscriptionCustomFields adds custom fields to subscription
	*/
	CreateSubscriptionCustomFields(ctx context.Context, params *CreateSubscriptionCustomFieldsParams) (*CreateSubscriptionCustomFieldsCreated, error)

	/*
		CreateSubscriptionTags create subscription tags API
	*/
	CreateSubscriptionTags(ctx context.Context, params *CreateSubscriptionTagsParams) (*CreateSubscriptionTagsCreated, error)

	/*
		CreateSubscriptionWithAddOns creates an entitlement with add on products
	*/
	CreateSubscriptionWithAddOns(ctx context.Context, params *CreateSubscriptionWithAddOnsParams) (*CreateSubscriptionWithAddOnsCreated, error)

	/*
		CreateSubscriptionsWithAddOns creates multiple entitlements with add on products
	*/
	CreateSubscriptionsWithAddOns(ctx context.Context, params *CreateSubscriptionsWithAddOnsParams) (*CreateSubscriptionsWithAddOnsCreated, error)

	/*
		DeleteSubscriptionCustomFields removes custom fields from subscription
	*/
	DeleteSubscriptionCustomFields(ctx context.Context, params *DeleteSubscriptionCustomFieldsParams) (*DeleteSubscriptionCustomFieldsNoContent, error)

	/*
		DeleteSubscriptionTags removes tags from subscription
	*/
	DeleteSubscriptionTags(ctx context.Context, params *DeleteSubscriptionTagsParams) (*DeleteSubscriptionTagsNoContent, error)

	/*
		GetSubscription retrieves a subscription by id
	*/
	GetSubscription(ctx context.Context, params *GetSubscriptionParams) (*GetSubscriptionOK, error)

	/*
		GetSubscriptionCustomFields retrieves subscription custom fields
	*/
	GetSubscriptionCustomFields(ctx context.Context, params *GetSubscriptionCustomFieldsParams) (*GetSubscriptionCustomFieldsOK, error)

	/*
		GetSubscriptionTags retrieves subscription tags
	*/
	GetSubscriptionTags(ctx context.Context, params *GetSubscriptionTagsParams) (*GetSubscriptionTagsOK, error)

	/*
		ModifySubscriptionCustomFields modifies custom fields to subscription
	*/
	ModifySubscriptionCustomFields(ctx context.Context, params *ModifySubscriptionCustomFieldsParams) (*ModifySubscriptionCustomFieldsNoContent, error)

	/*
		UncancelSubscriptionPlan uns cancel an entitlement
	*/
	UncancelSubscriptionPlan(ctx context.Context, params *UncancelSubscriptionPlanParams) (*UncancelSubscriptionPlanNoContent, error)

	/*
		UndoChangeSubscriptionPlan undos a pending change plan on an entitlement
	*/
	UndoChangeSubscriptionPlan(ctx context.Context, params *UndoChangeSubscriptionPlanParams) (*UndoChangeSubscriptionPlanNoContent, error)

	/*
		UpdateSubscriptionBCD updates the b c d associated to a subscription
	*/
	UpdateSubscriptionBCD(ctx context.Context, params *UpdateSubscriptionBCDParams) (*UpdateSubscriptionBCDNoContent, error)
}

ISubscription - interface for Subscription 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 ModifySubscriptionCustomFieldsBadRequest

type ModifySubscriptionCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifySubscriptionCustomFieldsBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewModifySubscriptionCustomFieldsBadRequest

func NewModifySubscriptionCustomFieldsBadRequest() *ModifySubscriptionCustomFieldsBadRequest

NewModifySubscriptionCustomFieldsBadRequest creates a ModifySubscriptionCustomFieldsBadRequest with default headers values

func (*ModifySubscriptionCustomFieldsBadRequest) Error

type ModifySubscriptionCustomFieldsNoContent

type ModifySubscriptionCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifySubscriptionCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewModifySubscriptionCustomFieldsNoContent

func NewModifySubscriptionCustomFieldsNoContent() *ModifySubscriptionCustomFieldsNoContent

NewModifySubscriptionCustomFieldsNoContent creates a ModifySubscriptionCustomFieldsNoContent with default headers values

func (*ModifySubscriptionCustomFieldsNoContent) Error

type ModifySubscriptionCustomFieldsParams

type ModifySubscriptionCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*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
}

ModifySubscriptionCustomFieldsParams contains all the parameters to send to the API endpoint for the modify subscription custom fields operation typically these are written to a http.Request

func NewModifySubscriptionCustomFieldsParams

func NewModifySubscriptionCustomFieldsParams() *ModifySubscriptionCustomFieldsParams

NewModifySubscriptionCustomFieldsParams creates a new ModifySubscriptionCustomFieldsParams object with the default values initialized.

func NewModifySubscriptionCustomFieldsParamsWithContext

func NewModifySubscriptionCustomFieldsParamsWithContext(ctx context.Context) *ModifySubscriptionCustomFieldsParams

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

func NewModifySubscriptionCustomFieldsParamsWithHTTPClient

func NewModifySubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifySubscriptionCustomFieldsParams

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

func NewModifySubscriptionCustomFieldsParamsWithTimeout

func NewModifySubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifySubscriptionCustomFieldsParams

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

func (*ModifySubscriptionCustomFieldsParams) SetBody

SetBody adds the body to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) SetContext

SetContext adds the context to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithBody

WithBody adds the body to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithContext

WithContext adds the context to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifySubscriptionCustomFieldsReader

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

ModifySubscriptionCustomFieldsReader is a Reader for the ModifySubscriptionCustomFields structure.

func (*ModifySubscriptionCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UncancelSubscriptionPlanBadRequest

type UncancelSubscriptionPlanBadRequest struct {
	HttpResponse runtime.ClientResponse
}

UncancelSubscriptionPlanBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewUncancelSubscriptionPlanBadRequest

func NewUncancelSubscriptionPlanBadRequest() *UncancelSubscriptionPlanBadRequest

NewUncancelSubscriptionPlanBadRequest creates a UncancelSubscriptionPlanBadRequest with default headers values

func (*UncancelSubscriptionPlanBadRequest) Error

type UncancelSubscriptionPlanNoContent

type UncancelSubscriptionPlanNoContent struct {
	HttpResponse runtime.ClientResponse
}

UncancelSubscriptionPlanNoContent handles this case with default header values.

Successful operation

func NewUncancelSubscriptionPlanNoContent

func NewUncancelSubscriptionPlanNoContent() *UncancelSubscriptionPlanNoContent

NewUncancelSubscriptionPlanNoContent creates a UncancelSubscriptionPlanNoContent with default headers values

func (*UncancelSubscriptionPlanNoContent) Error

type UncancelSubscriptionPlanNotFound

type UncancelSubscriptionPlanNotFound struct {
	HttpResponse runtime.ClientResponse
}

UncancelSubscriptionPlanNotFound handles this case with default header values.

Entitlement not found

func NewUncancelSubscriptionPlanNotFound

func NewUncancelSubscriptionPlanNotFound() *UncancelSubscriptionPlanNotFound

NewUncancelSubscriptionPlanNotFound creates a UncancelSubscriptionPlanNotFound with default headers values

func (*UncancelSubscriptionPlanNotFound) Error

type UncancelSubscriptionPlanParams

type UncancelSubscriptionPlanParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*PluginProperty*/
	PluginProperty []string
	/*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
}

UncancelSubscriptionPlanParams contains all the parameters to send to the API endpoint for the uncancel subscription plan operation typically these are written to a http.Request

func NewUncancelSubscriptionPlanParams

func NewUncancelSubscriptionPlanParams() *UncancelSubscriptionPlanParams

NewUncancelSubscriptionPlanParams creates a new UncancelSubscriptionPlanParams object with the default values initialized.

func NewUncancelSubscriptionPlanParamsWithContext

func NewUncancelSubscriptionPlanParamsWithContext(ctx context.Context) *UncancelSubscriptionPlanParams

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

func NewUncancelSubscriptionPlanParamsWithHTTPClient

func NewUncancelSubscriptionPlanParamsWithHTTPClient(client *http.Client) *UncancelSubscriptionPlanParams

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

func NewUncancelSubscriptionPlanParamsWithTimeout

func NewUncancelSubscriptionPlanParamsWithTimeout(timeout time.Duration) *UncancelSubscriptionPlanParams

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

func (*UncancelSubscriptionPlanParams) SetContext

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

SetContext adds the context to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) SetPluginProperty

func (o *UncancelSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) SetTimeout

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

SetTimeout adds the timeout to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) SetXKillbillCreatedBy

func (o *UncancelSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithContext

WithContext adds the context to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithPluginProperty

func (o *UncancelSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *UncancelSubscriptionPlanParams

WithPluginProperty adds the pluginProperty to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithSubscriptionID

func (o *UncancelSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UncancelSubscriptionPlanParams

WithSubscriptionID adds the subscriptionID to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithTimeout

WithTimeout adds the timeout to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UncancelSubscriptionPlanReader

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

UncancelSubscriptionPlanReader is a Reader for the UncancelSubscriptionPlan structure.

func (*UncancelSubscriptionPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UndoChangeSubscriptionPlanBadRequest

type UndoChangeSubscriptionPlanBadRequest struct {
	HttpResponse runtime.ClientResponse
}

UndoChangeSubscriptionPlanBadRequest handles this case with default header values.

Invalid subscription id supplied

func NewUndoChangeSubscriptionPlanBadRequest

func NewUndoChangeSubscriptionPlanBadRequest() *UndoChangeSubscriptionPlanBadRequest

NewUndoChangeSubscriptionPlanBadRequest creates a UndoChangeSubscriptionPlanBadRequest with default headers values

func (*UndoChangeSubscriptionPlanBadRequest) Error

type UndoChangeSubscriptionPlanNoContent

type UndoChangeSubscriptionPlanNoContent struct {
	HttpResponse runtime.ClientResponse
}

UndoChangeSubscriptionPlanNoContent handles this case with default header values.

Successful operation

func NewUndoChangeSubscriptionPlanNoContent

func NewUndoChangeSubscriptionPlanNoContent() *UndoChangeSubscriptionPlanNoContent

NewUndoChangeSubscriptionPlanNoContent creates a UndoChangeSubscriptionPlanNoContent with default headers values

func (*UndoChangeSubscriptionPlanNoContent) Error

type UndoChangeSubscriptionPlanNotFound

type UndoChangeSubscriptionPlanNotFound struct {
	HttpResponse runtime.ClientResponse
}

UndoChangeSubscriptionPlanNotFound handles this case with default header values.

Entitlement not found

func NewUndoChangeSubscriptionPlanNotFound

func NewUndoChangeSubscriptionPlanNotFound() *UndoChangeSubscriptionPlanNotFound

NewUndoChangeSubscriptionPlanNotFound creates a UndoChangeSubscriptionPlanNotFound with default headers values

func (*UndoChangeSubscriptionPlanNotFound) Error

type UndoChangeSubscriptionPlanParams

type UndoChangeSubscriptionPlanParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*PluginProperty*/
	PluginProperty []string
	/*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
}

UndoChangeSubscriptionPlanParams contains all the parameters to send to the API endpoint for the undo change subscription plan operation typically these are written to a http.Request

func NewUndoChangeSubscriptionPlanParams

func NewUndoChangeSubscriptionPlanParams() *UndoChangeSubscriptionPlanParams

NewUndoChangeSubscriptionPlanParams creates a new UndoChangeSubscriptionPlanParams object with the default values initialized.

func NewUndoChangeSubscriptionPlanParamsWithContext

func NewUndoChangeSubscriptionPlanParamsWithContext(ctx context.Context) *UndoChangeSubscriptionPlanParams

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

func NewUndoChangeSubscriptionPlanParamsWithHTTPClient

func NewUndoChangeSubscriptionPlanParamsWithHTTPClient(client *http.Client) *UndoChangeSubscriptionPlanParams

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

func NewUndoChangeSubscriptionPlanParamsWithTimeout

func NewUndoChangeSubscriptionPlanParamsWithTimeout(timeout time.Duration) *UndoChangeSubscriptionPlanParams

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

func (*UndoChangeSubscriptionPlanParams) SetContext

SetContext adds the context to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) SetPluginProperty

func (o *UndoChangeSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) SetTimeout

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

SetTimeout adds the timeout to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) SetXKillbillCreatedBy

func (o *UndoChangeSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithContext

WithContext adds the context to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithPluginProperty

func (o *UndoChangeSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *UndoChangeSubscriptionPlanParams

WithPluginProperty adds the pluginProperty to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithSubscriptionID

func (o *UndoChangeSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UndoChangeSubscriptionPlanParams

WithSubscriptionID adds the subscriptionID to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithTimeout

WithTimeout adds the timeout to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UndoChangeSubscriptionPlanReader

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

UndoChangeSubscriptionPlanReader is a Reader for the UndoChangeSubscriptionPlan structure.

func (*UndoChangeSubscriptionPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSubscriptionBCDBadRequest

type UpdateSubscriptionBCDBadRequest struct {
	HttpResponse runtime.ClientResponse
}

UpdateSubscriptionBCDBadRequest handles this case with default header values.

Invalid entitlement supplied

func NewUpdateSubscriptionBCDBadRequest

func NewUpdateSubscriptionBCDBadRequest() *UpdateSubscriptionBCDBadRequest

NewUpdateSubscriptionBCDBadRequest creates a UpdateSubscriptionBCDBadRequest with default headers values

func (*UpdateSubscriptionBCDBadRequest) Error

type UpdateSubscriptionBCDNoContent

type UpdateSubscriptionBCDNoContent struct {
	HttpResponse runtime.ClientResponse
}

UpdateSubscriptionBCDNoContent handles this case with default header values.

Successful operation

func NewUpdateSubscriptionBCDNoContent

func NewUpdateSubscriptionBCDNoContent() *UpdateSubscriptionBCDNoContent

NewUpdateSubscriptionBCDNoContent creates a UpdateSubscriptionBCDNoContent with default headers values

func (*UpdateSubscriptionBCDNoContent) Error

type UpdateSubscriptionBCDParams

type UpdateSubscriptionBCDParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.Subscription
	/*EffectiveFromDate*/
	EffectiveFromDate *strfmt.Date
	/*ForceNewBcdWithPastEffectiveDate*/
	ForceNewBcdWithPastEffectiveDate *bool
	/*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
}

UpdateSubscriptionBCDParams contains all the parameters to send to the API endpoint for the update subscription b c d operation typically these are written to a http.Request

func NewUpdateSubscriptionBCDParams

func NewUpdateSubscriptionBCDParams() *UpdateSubscriptionBCDParams

NewUpdateSubscriptionBCDParams creates a new UpdateSubscriptionBCDParams object with the default values initialized.

func NewUpdateSubscriptionBCDParamsWithContext

func NewUpdateSubscriptionBCDParamsWithContext(ctx context.Context) *UpdateSubscriptionBCDParams

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

func NewUpdateSubscriptionBCDParamsWithHTTPClient

func NewUpdateSubscriptionBCDParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionBCDParams

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

func NewUpdateSubscriptionBCDParamsWithTimeout

func NewUpdateSubscriptionBCDParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionBCDParams

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

func (*UpdateSubscriptionBCDParams) SetBody

SetBody adds the body to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetContext

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

SetContext adds the context to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetEffectiveFromDate

func (o *UpdateSubscriptionBCDParams) SetEffectiveFromDate(effectiveFromDate *strfmt.Date)

SetEffectiveFromDate adds the effectiveFromDate to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetForceNewBcdWithPastEffectiveDate

func (o *UpdateSubscriptionBCDParams) SetForceNewBcdWithPastEffectiveDate(forceNewBcdWithPastEffectiveDate *bool)

SetForceNewBcdWithPastEffectiveDate adds the forceNewBcdWithPastEffectiveDate to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetSubscriptionID

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

SetSubscriptionID adds the subscriptionId to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetTimeout

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

SetTimeout adds the timeout to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetXKillbillCreatedBy

func (o *UpdateSubscriptionBCDParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithBody

WithBody adds the body to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithContext

WithContext adds the context to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithEffectiveFromDate

func (o *UpdateSubscriptionBCDParams) WithEffectiveFromDate(effectiveFromDate *strfmt.Date) *UpdateSubscriptionBCDParams

WithEffectiveFromDate adds the effectiveFromDate to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithForceNewBcdWithPastEffectiveDate

func (o *UpdateSubscriptionBCDParams) WithForceNewBcdWithPastEffectiveDate(forceNewBcdWithPastEffectiveDate *bool) *UpdateSubscriptionBCDParams

WithForceNewBcdWithPastEffectiveDate adds the forceNewBcdWithPastEffectiveDate to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithSubscriptionID

func (o *UpdateSubscriptionBCDParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UpdateSubscriptionBCDParams

WithSubscriptionID adds the subscriptionID to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithTimeout

WithTimeout adds the timeout to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSubscriptionBCDReader

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

UpdateSubscriptionBCDReader is a Reader for the UpdateSubscriptionBCD structure.

func (*UpdateSubscriptionBCDReader) ReadResponse

func (o *UpdateSubscriptionBCDReader) 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