Documentation ¶
Index ¶
- type AddSubscriptionBlockingStateBadRequest
- type AddSubscriptionBlockingStateCreated
- type AddSubscriptionBlockingStateNotFound
- type AddSubscriptionBlockingStateParams
- func NewAddSubscriptionBlockingStateParams() *AddSubscriptionBlockingStateParams
- func NewAddSubscriptionBlockingStateParamsWithContext(ctx context.Context) *AddSubscriptionBlockingStateParams
- func NewAddSubscriptionBlockingStateParamsWithHTTPClient(client *http.Client) *AddSubscriptionBlockingStateParams
- func NewAddSubscriptionBlockingStateParamsWithTimeout(timeout time.Duration) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) SetBody(body *kbmodel.BlockingState)
- func (o *AddSubscriptionBlockingStateParams) SetContext(ctx context.Context)
- func (o *AddSubscriptionBlockingStateParams) SetHTTPClient(client *http.Client)
- func (o *AddSubscriptionBlockingStateParams) SetPluginProperty(pluginProperty []string)
- func (o *AddSubscriptionBlockingStateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *AddSubscriptionBlockingStateParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *AddSubscriptionBlockingStateParams) SetTimeout(timeout time.Duration)
- func (o *AddSubscriptionBlockingStateParams) SetXKillbillComment(xKillbillComment *string)
- func (o *AddSubscriptionBlockingStateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *AddSubscriptionBlockingStateParams) SetXKillbillReason(xKillbillReason *string)
- func (o *AddSubscriptionBlockingStateParams) WithBody(body *kbmodel.BlockingState) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithContext(ctx context.Context) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithHTTPClient(client *http.Client) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithPluginProperty(pluginProperty []string) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithRequestedDate(requestedDate *strfmt.Date) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithSubscriptionID(subscriptionID strfmt.UUID) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithTimeout(timeout time.Duration) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithXKillbillComment(xKillbillComment *string) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithXKillbillReason(xKillbillReason *string) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddSubscriptionBlockingStateReader
- type CancelSubscriptionPlanBadRequest
- type CancelSubscriptionPlanNoContent
- type CancelSubscriptionPlanNotFound
- type CancelSubscriptionPlanParams
- func NewCancelSubscriptionPlanParams() *CancelSubscriptionPlanParams
- func NewCancelSubscriptionPlanParamsWithContext(ctx context.Context) *CancelSubscriptionPlanParams
- func NewCancelSubscriptionPlanParamsWithHTTPClient(client *http.Client) *CancelSubscriptionPlanParams
- func NewCancelSubscriptionPlanParamsWithTimeout(timeout time.Duration) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) SetBillingPolicy(billingPolicy *string)
- func (o *CancelSubscriptionPlanParams) SetCallCompletion(callCompletion *bool)
- func (o *CancelSubscriptionPlanParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *CancelSubscriptionPlanParams) SetContext(ctx context.Context)
- func (o *CancelSubscriptionPlanParams) SetEntitlementPolicy(entitlementPolicy *string)
- func (o *CancelSubscriptionPlanParams) SetHTTPClient(client *http.Client)
- func (o *CancelSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
- func (o *CancelSubscriptionPlanParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *CancelSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *CancelSubscriptionPlanParams) SetTimeout(timeout time.Duration)
- func (o *CancelSubscriptionPlanParams) SetUseRequestedDateForBilling(useRequestedDateForBilling *bool)
- func (o *CancelSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CancelSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CancelSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CancelSubscriptionPlanParams) WithBillingPolicy(billingPolicy *string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithCallCompletion(callCompletion *bool) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithCallTimeoutSec(callTimeoutSec *int64) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithContext(ctx context.Context) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithEntitlementPolicy(entitlementPolicy *string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithHTTPClient(client *http.Client) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithRequestedDate(requestedDate *strfmt.Date) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithTimeout(timeout time.Duration) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithUseRequestedDateForBilling(useRequestedDateForBilling *bool) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelSubscriptionPlanReader
- type ChangeSubscriptionPlanBadRequest
- type ChangeSubscriptionPlanNoContent
- type ChangeSubscriptionPlanNotFound
- type ChangeSubscriptionPlanParams
- func NewChangeSubscriptionPlanParams() *ChangeSubscriptionPlanParams
- func NewChangeSubscriptionPlanParamsWithContext(ctx context.Context) *ChangeSubscriptionPlanParams
- func NewChangeSubscriptionPlanParamsWithHTTPClient(client *http.Client) *ChangeSubscriptionPlanParams
- func NewChangeSubscriptionPlanParamsWithTimeout(timeout time.Duration) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) SetBillingPolicy(billingPolicy *string)
- func (o *ChangeSubscriptionPlanParams) SetBody(body *kbmodel.Subscription)
- func (o *ChangeSubscriptionPlanParams) SetCallCompletion(callCompletion *bool)
- func (o *ChangeSubscriptionPlanParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *ChangeSubscriptionPlanParams) SetContext(ctx context.Context)
- func (o *ChangeSubscriptionPlanParams) SetHTTPClient(client *http.Client)
- func (o *ChangeSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
- func (o *ChangeSubscriptionPlanParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *ChangeSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *ChangeSubscriptionPlanParams) SetTimeout(timeout time.Duration)
- func (o *ChangeSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ChangeSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ChangeSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ChangeSubscriptionPlanParams) WithBillingPolicy(billingPolicy *string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithBody(body *kbmodel.Subscription) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithCallCompletion(callCompletion *bool) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithCallTimeoutSec(callTimeoutSec *int64) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithContext(ctx context.Context) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithHTTPClient(client *http.Client) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithRequestedDate(requestedDate *strfmt.Date) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithTimeout(timeout time.Duration) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeSubscriptionPlanReader
- type Client
- func (a *Client) AddSubscriptionBlockingState(ctx context.Context, params *AddSubscriptionBlockingStateParams) (*AddSubscriptionBlockingStateCreated, error)
- func (a *Client) CancelSubscriptionPlan(ctx context.Context, params *CancelSubscriptionPlanParams) (*CancelSubscriptionPlanNoContent, error)
- func (a *Client) ChangeSubscriptionPlan(ctx context.Context, params *ChangeSubscriptionPlanParams) (*ChangeSubscriptionPlanNoContent, error)
- func (a *Client) CreateSubscription(ctx context.Context, params *CreateSubscriptionParams) (*CreateSubscriptionCreated, error)
- func (a *Client) CreateSubscriptionCustomFields(ctx context.Context, params *CreateSubscriptionCustomFieldsParams) (*CreateSubscriptionCustomFieldsCreated, error)
- func (a *Client) CreateSubscriptionTags(ctx context.Context, params *CreateSubscriptionTagsParams) (*CreateSubscriptionTagsCreated, error)
- func (a *Client) CreateSubscriptionWithAddOns(ctx context.Context, params *CreateSubscriptionWithAddOnsParams) (*CreateSubscriptionWithAddOnsCreated, error)
- func (a *Client) CreateSubscriptionsWithAddOns(ctx context.Context, params *CreateSubscriptionsWithAddOnsParams) (*CreateSubscriptionsWithAddOnsCreated, error)
- func (a *Client) DeleteSubscriptionCustomFields(ctx context.Context, params *DeleteSubscriptionCustomFieldsParams) (*DeleteSubscriptionCustomFieldsNoContent, error)
- func (a *Client) DeleteSubscriptionTags(ctx context.Context, params *DeleteSubscriptionTagsParams) (*DeleteSubscriptionTagsNoContent, error)
- func (a *Client) GetSubscription(ctx context.Context, params *GetSubscriptionParams) (*GetSubscriptionOK, error)
- func (a *Client) GetSubscriptionCustomFields(ctx context.Context, params *GetSubscriptionCustomFieldsParams) (*GetSubscriptionCustomFieldsOK, error)
- func (a *Client) GetSubscriptionTags(ctx context.Context, params *GetSubscriptionTagsParams) (*GetSubscriptionTagsOK, error)
- func (a *Client) ModifySubscriptionCustomFields(ctx context.Context, params *ModifySubscriptionCustomFieldsParams) (*ModifySubscriptionCustomFieldsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UncancelSubscriptionPlan(ctx context.Context, params *UncancelSubscriptionPlanParams) (*UncancelSubscriptionPlanNoContent, error)
- func (a *Client) UndoChangeSubscriptionPlan(ctx context.Context, params *UndoChangeSubscriptionPlanParams) (*UndoChangeSubscriptionPlanNoContent, error)
- func (a *Client) UpdateSubscriptionBCD(ctx context.Context, params *UpdateSubscriptionBCDParams) (*UpdateSubscriptionBCDNoContent, error)
- type CreateSubscriptionCreated
- type CreateSubscriptionCustomFieldsBadRequest
- type CreateSubscriptionCustomFieldsCreated
- type CreateSubscriptionCustomFieldsParams
- func NewCreateSubscriptionCustomFieldsParams() *CreateSubscriptionCustomFieldsParams
- func NewCreateSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *CreateSubscriptionCustomFieldsParams
- func NewCreateSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionCustomFieldsParams
- func NewCreateSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *CreateSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *CreateSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionCustomFieldsReader
- type CreateSubscriptionParams
- func NewCreateSubscriptionParams() *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) SetBcd(bcd *int32)
- func (o *CreateSubscriptionParams) SetBillingDate(billingDate *strfmt.Date)
- func (o *CreateSubscriptionParams) SetBody(body *kbmodel.Subscription)
- func (o *CreateSubscriptionParams) SetCallCompletion(callCompletion *bool)
- func (o *CreateSubscriptionParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *CreateSubscriptionParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionParams) SetEntitlementDate(entitlementDate *strfmt.Date)
- func (o *CreateSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionParams) SetMigrated(migrated *bool)
- func (o *CreateSubscriptionParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateSubscriptionParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
- func (o *CreateSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionParams) WithBcd(bcd *int32) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithBody(body *kbmodel.Subscription) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithMigrated(migrated *bool) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionReader
- type CreateSubscriptionTagsBadRequest
- type CreateSubscriptionTagsCreated
- type CreateSubscriptionTagsParams
- func NewCreateSubscriptionTagsParams() *CreateSubscriptionTagsParams
- func NewCreateSubscriptionTagsParamsWithContext(ctx context.Context) *CreateSubscriptionTagsParams
- func NewCreateSubscriptionTagsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionTagsParams
- func NewCreateSubscriptionTagsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) SetBody(body []strfmt.UUID)
- func (o *CreateSubscriptionTagsParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionTagsParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *CreateSubscriptionTagsParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionTagsParams) WithBody(body []strfmt.UUID) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithContext(ctx context.Context) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionTagsReader
- type CreateSubscriptionWithAddOnsCreated
- type CreateSubscriptionWithAddOnsParams
- func NewCreateSubscriptionWithAddOnsParams() *CreateSubscriptionWithAddOnsParams
- func NewCreateSubscriptionWithAddOnsParamsWithContext(ctx context.Context) *CreateSubscriptionWithAddOnsParams
- func NewCreateSubscriptionWithAddOnsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionWithAddOnsParams
- func NewCreateSubscriptionWithAddOnsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) SetBillingDate(billingDate *strfmt.Date)
- func (o *CreateSubscriptionWithAddOnsParams) SetBody(body []*kbmodel.Subscription)
- func (o *CreateSubscriptionWithAddOnsParams) SetCallCompletion(callCompletion *bool)
- func (o *CreateSubscriptionWithAddOnsParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *CreateSubscriptionWithAddOnsParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionWithAddOnsParams) SetEntitlementDate(entitlementDate *strfmt.Date)
- func (o *CreateSubscriptionWithAddOnsParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionWithAddOnsParams) SetMigrated(migrated *bool)
- func (o *CreateSubscriptionWithAddOnsParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateSubscriptionWithAddOnsParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
- func (o *CreateSubscriptionWithAddOnsParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionWithAddOnsParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithBody(body []*kbmodel.Subscription) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithContext(ctx context.Context) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithMigrated(migrated *bool) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionWithAddOnsReader
- type CreateSubscriptionsWithAddOnsCreated
- type CreateSubscriptionsWithAddOnsParams
- func NewCreateSubscriptionsWithAddOnsParams() *CreateSubscriptionsWithAddOnsParams
- func NewCreateSubscriptionsWithAddOnsParamsWithContext(ctx context.Context) *CreateSubscriptionsWithAddOnsParams
- func NewCreateSubscriptionsWithAddOnsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionsWithAddOnsParams
- func NewCreateSubscriptionsWithAddOnsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) SetBillingDate(billingDate *strfmt.Date)
- func (o *CreateSubscriptionsWithAddOnsParams) SetBody(body []*kbmodel.BulkSubscriptionsBundle)
- func (o *CreateSubscriptionsWithAddOnsParams) SetCallCompletion(callCompletion *bool)
- func (o *CreateSubscriptionsWithAddOnsParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *CreateSubscriptionsWithAddOnsParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionsWithAddOnsParams) SetEntitlementDate(entitlementDate *strfmt.Date)
- func (o *CreateSubscriptionsWithAddOnsParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionsWithAddOnsParams) SetMigrated(migrated *bool)
- func (o *CreateSubscriptionsWithAddOnsParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateSubscriptionsWithAddOnsParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
- func (o *CreateSubscriptionsWithAddOnsParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionsWithAddOnsParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithBody(body []*kbmodel.BulkSubscriptionsBundle) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithContext(ctx context.Context) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithMigrated(migrated *bool) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionsWithAddOnsReader
- type DeleteSubscriptionCustomFieldsBadRequest
- type DeleteSubscriptionCustomFieldsNoContent
- type DeleteSubscriptionCustomFieldsParams
- func NewDeleteSubscriptionCustomFieldsParams() *DeleteSubscriptionCustomFieldsParams
- func NewDeleteSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *DeleteSubscriptionCustomFieldsParams
- func NewDeleteSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionCustomFieldsParams
- func NewDeleteSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
- func (o *DeleteSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *DeleteSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionCustomFieldsReader
- type DeleteSubscriptionTagsBadRequest
- type DeleteSubscriptionTagsNoContent
- type DeleteSubscriptionTagsParams
- func NewDeleteSubscriptionTagsParams() *DeleteSubscriptionTagsParams
- func NewDeleteSubscriptionTagsParamsWithContext(ctx context.Context) *DeleteSubscriptionTagsParams
- func NewDeleteSubscriptionTagsParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionTagsParams
- func NewDeleteSubscriptionTagsParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *DeleteSubscriptionTagsParams) SetTagDef(tagDef []strfmt.UUID)
- func (o *DeleteSubscriptionTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteSubscriptionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteSubscriptionTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteSubscriptionTagsParams) WithContext(ctx context.Context) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionTagsReader
- type GetSubscriptionBadRequest
- type GetSubscriptionCustomFieldsBadRequest
- type GetSubscriptionCustomFieldsOK
- type GetSubscriptionCustomFieldsParams
- func NewGetSubscriptionCustomFieldsParams() *GetSubscriptionCustomFieldsParams
- func NewGetSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *GetSubscriptionCustomFieldsParams
- func NewGetSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *GetSubscriptionCustomFieldsParams
- func NewGetSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) SetAudit(audit *string)
- func (o *GetSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *GetSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionCustomFieldsParams) WithAudit(audit *string) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionCustomFieldsReader
- type GetSubscriptionNotFound
- type GetSubscriptionOK
- type GetSubscriptionParams
- func NewGetSubscriptionParams() *GetSubscriptionParams
- func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams
- func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams
- func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) SetAudit(audit *string)
- func (o *GetSubscriptionParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *GetSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionParams) WithAudit(audit *string) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithContext(ctx context.Context) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithHTTPClient(client *http.Client) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionReader
- type GetSubscriptionTagsBadRequest
- type GetSubscriptionTagsNotFound
- type GetSubscriptionTagsOK
- type GetSubscriptionTagsParams
- func NewGetSubscriptionTagsParams() *GetSubscriptionTagsParams
- func NewGetSubscriptionTagsParamsWithContext(ctx context.Context) *GetSubscriptionTagsParams
- func NewGetSubscriptionTagsParamsWithHTTPClient(client *http.Client) *GetSubscriptionTagsParams
- func NewGetSubscriptionTagsParamsWithTimeout(timeout time.Duration) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) SetAudit(audit *string)
- func (o *GetSubscriptionTagsParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionTagsParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *GetSubscriptionTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionTagsParams) WithAudit(audit *string) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithContext(ctx context.Context) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithHTTPClient(client *http.Client) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithTimeout(timeout time.Duration) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionTagsReader
- type ISubscription
- type KillbillDefaults
- type ModifySubscriptionCustomFieldsBadRequest
- type ModifySubscriptionCustomFieldsNoContent
- type ModifySubscriptionCustomFieldsParams
- func NewModifySubscriptionCustomFieldsParams() *ModifySubscriptionCustomFieldsParams
- func NewModifySubscriptionCustomFieldsParamsWithContext(ctx context.Context) *ModifySubscriptionCustomFieldsParams
- func NewModifySubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifySubscriptionCustomFieldsParams
- func NewModifySubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *ModifySubscriptionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *ModifySubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *ModifySubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *ModifySubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ModifySubscriptionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithContext(ctx context.Context) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifySubscriptionCustomFieldsReader
- type UncancelSubscriptionPlanBadRequest
- type UncancelSubscriptionPlanNoContent
- type UncancelSubscriptionPlanNotFound
- type UncancelSubscriptionPlanParams
- func NewUncancelSubscriptionPlanParams() *UncancelSubscriptionPlanParams
- func NewUncancelSubscriptionPlanParamsWithContext(ctx context.Context) *UncancelSubscriptionPlanParams
- func NewUncancelSubscriptionPlanParamsWithHTTPClient(client *http.Client) *UncancelSubscriptionPlanParams
- func NewUncancelSubscriptionPlanParamsWithTimeout(timeout time.Duration) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) SetContext(ctx context.Context)
- func (o *UncancelSubscriptionPlanParams) SetHTTPClient(client *http.Client)
- func (o *UncancelSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
- func (o *UncancelSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *UncancelSubscriptionPlanParams) SetTimeout(timeout time.Duration)
- func (o *UncancelSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UncancelSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UncancelSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UncancelSubscriptionPlanParams) WithContext(ctx context.Context) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithHTTPClient(client *http.Client) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithTimeout(timeout time.Duration) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UncancelSubscriptionPlanReader
- type UndoChangeSubscriptionPlanBadRequest
- type UndoChangeSubscriptionPlanNoContent
- type UndoChangeSubscriptionPlanNotFound
- type UndoChangeSubscriptionPlanParams
- func NewUndoChangeSubscriptionPlanParams() *UndoChangeSubscriptionPlanParams
- func NewUndoChangeSubscriptionPlanParamsWithContext(ctx context.Context) *UndoChangeSubscriptionPlanParams
- func NewUndoChangeSubscriptionPlanParamsWithHTTPClient(client *http.Client) *UndoChangeSubscriptionPlanParams
- func NewUndoChangeSubscriptionPlanParamsWithTimeout(timeout time.Duration) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) SetContext(ctx context.Context)
- func (o *UndoChangeSubscriptionPlanParams) SetHTTPClient(client *http.Client)
- func (o *UndoChangeSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
- func (o *UndoChangeSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *UndoChangeSubscriptionPlanParams) SetTimeout(timeout time.Duration)
- func (o *UndoChangeSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UndoChangeSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UndoChangeSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UndoChangeSubscriptionPlanParams) WithContext(ctx context.Context) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithHTTPClient(client *http.Client) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithTimeout(timeout time.Duration) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UndoChangeSubscriptionPlanReader
- type UpdateSubscriptionBCDBadRequest
- type UpdateSubscriptionBCDNoContent
- type UpdateSubscriptionBCDParams
- func NewUpdateSubscriptionBCDParams() *UpdateSubscriptionBCDParams
- func NewUpdateSubscriptionBCDParamsWithContext(ctx context.Context) *UpdateSubscriptionBCDParams
- func NewUpdateSubscriptionBCDParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionBCDParams
- func NewUpdateSubscriptionBCDParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) SetBody(body *kbmodel.Subscription)
- func (o *UpdateSubscriptionBCDParams) SetContext(ctx context.Context)
- func (o *UpdateSubscriptionBCDParams) SetEffectiveFromDate(effectiveFromDate *strfmt.Date)
- func (o *UpdateSubscriptionBCDParams) SetForceNewBcdWithPastEffectiveDate(forceNewBcdWithPastEffectiveDate *bool)
- func (o *UpdateSubscriptionBCDParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSubscriptionBCDParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *UpdateSubscriptionBCDParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSubscriptionBCDParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UpdateSubscriptionBCDParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UpdateSubscriptionBCDParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UpdateSubscriptionBCDParams) WithBody(body *kbmodel.Subscription) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithContext(ctx context.Context) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithEffectiveFromDate(effectiveFromDate *strfmt.Date) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithForceNewBcdWithPastEffectiveDate(forceNewBcdWithPastEffectiveDate *bool) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithXKillbillComment(xKillbillComment *string) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithXKillbillReason(xKillbillReason *string) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSubscriptionBCDReader
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 ¶
func (o *AddSubscriptionBlockingStateBadRequest) Error() string
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 ¶
func (o *AddSubscriptionBlockingStateCreated) Error() string
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 ¶
func (o *AddSubscriptionBlockingStateNotFound) Error() string
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 ¶
func (o *AddSubscriptionBlockingStateParams) SetBody(body *kbmodel.BlockingState)
SetBody adds the body to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetContext ¶
func (o *AddSubscriptionBlockingStateParams) SetContext(ctx context.Context)
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 ¶
func (o *AddSubscriptionBlockingStateParams) WithBody(body *kbmodel.BlockingState) *AddSubscriptionBlockingStateParams
WithBody adds the body to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithContext ¶
func (o *AddSubscriptionBlockingStateParams) WithContext(ctx context.Context) *AddSubscriptionBlockingStateParams
WithContext adds the context to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithHTTPClient ¶
func (o *AddSubscriptionBlockingStateParams) WithHTTPClient(client *http.Client) *AddSubscriptionBlockingStateParams
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 ¶
func (o *AddSubscriptionBlockingStateParams) WithRequestedDate(requestedDate *strfmt.Date) *AddSubscriptionBlockingStateParams
WithRequestedDate adds the requestedDate to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithSubscriptionID ¶
func (o *AddSubscriptionBlockingStateParams) WithSubscriptionID(subscriptionID strfmt.UUID) *AddSubscriptionBlockingStateParams
WithSubscriptionID adds the subscriptionID to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithTimeout ¶
func (o *AddSubscriptionBlockingStateParams) WithTimeout(timeout time.Duration) *AddSubscriptionBlockingStateParams
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 ¶
func (o *AddSubscriptionBlockingStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CancelSubscriptionPlanBadRequest) Error() string
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 ¶
func (o *CancelSubscriptionPlanNoContent) Error() string
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 ¶
func (o *CancelSubscriptionPlanNotFound) Error() string
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 ¶
func (o *CancelSubscriptionPlanParams) WithContext(ctx context.Context) *CancelSubscriptionPlanParams
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 ¶
func (o *CancelSubscriptionPlanParams) WithHTTPClient(client *http.Client) *CancelSubscriptionPlanParams
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 ¶
func (o *CancelSubscriptionPlanParams) WithTimeout(timeout time.Duration) *CancelSubscriptionPlanParams
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 ¶
func (o *CancelSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ChangeSubscriptionPlanBadRequest) Error() string
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 ¶
func (o *ChangeSubscriptionPlanNoContent) Error() string
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 ¶
func (o *ChangeSubscriptionPlanNotFound) Error() string
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 ¶
func (o *ChangeSubscriptionPlanParams) SetBody(body *kbmodel.Subscription)
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 ¶
func (o *ChangeSubscriptionPlanParams) WithBody(body *kbmodel.Subscription) *ChangeSubscriptionPlanParams
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 ¶
func (o *ChangeSubscriptionPlanParams) WithContext(ctx context.Context) *ChangeSubscriptionPlanParams
WithContext adds the context to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithHTTPClient ¶
func (o *ChangeSubscriptionPlanParams) WithHTTPClient(client *http.Client) *ChangeSubscriptionPlanParams
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 ¶
func (o *ChangeSubscriptionPlanParams) WithTimeout(timeout time.Duration) *ChangeSubscriptionPlanParams
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 ¶
func (o *ChangeSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (a *Client) DeleteSubscriptionCustomFields(ctx context.Context, params *DeleteSubscriptionCustomFieldsParams) (*DeleteSubscriptionCustomFieldsNoContent, error)
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 ¶
func (a *Client) ModifySubscriptionCustomFields(ctx context.Context, params *ModifySubscriptionCustomFieldsParams) (*ModifySubscriptionCustomFieldsNoContent, error)
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 ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) Error() string
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 ¶
func (o *CreateSubscriptionCustomFieldsCreated) Error() string
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 ¶
func (o *CreateSubscriptionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) SetContext ¶
func (o *CreateSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateSubscriptionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateSubscriptionCustomFieldsParams
WithBody adds the body to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithContext ¶
func (o *CreateSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *CreateSubscriptionCustomFieldsParams
WithContext adds the context to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithHTTPClient ¶
func (o *CreateSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithSubscriptionID ¶
func (o *CreateSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CreateSubscriptionCustomFieldsParams
WithSubscriptionID adds the subscriptionID to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithTimeout ¶
func (o *CreateSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionCustomFieldsParams
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 ¶
func (o *CreateSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateSubscriptionParams) WithBcd(bcd *int32) *CreateSubscriptionParams
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 ¶
func (o *CreateSubscriptionParams) WithBody(body *kbmodel.Subscription) *CreateSubscriptionParams
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 ¶
func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
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 ¶
func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
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 ¶
func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateSubscriptionTagsBadRequest) Error() string
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 ¶
func (o *CreateSubscriptionTagsCreated) Error() string
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 ¶
func (o *CreateSubscriptionTagsParams) WithBody(body []strfmt.UUID) *CreateSubscriptionTagsParams
WithBody adds the body to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithContext ¶
func (o *CreateSubscriptionTagsParams) WithContext(ctx context.Context) *CreateSubscriptionTagsParams
WithContext adds the context to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithHTTPClient ¶
func (o *CreateSubscriptionTagsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionTagsParams
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 ¶
func (o *CreateSubscriptionTagsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionTagsParams
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 ¶
func (o *CreateSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateSubscriptionWithAddOnsCreated) Error() string
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 ¶
func (o *CreateSubscriptionWithAddOnsParams) SetBody(body []*kbmodel.Subscription)
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 ¶
func (o *CreateSubscriptionWithAddOnsParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateSubscriptionWithAddOnsParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionWithAddOnsParams
WithBillingDate adds the billingDate to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithBody ¶
func (o *CreateSubscriptionWithAddOnsParams) WithBody(body []*kbmodel.Subscription) *CreateSubscriptionWithAddOnsParams
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 ¶
func (o *CreateSubscriptionWithAddOnsParams) WithContext(ctx context.Context) *CreateSubscriptionWithAddOnsParams
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 ¶
func (o *CreateSubscriptionWithAddOnsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionWithAddOnsParams
WithHTTPClient adds the HTTPClient to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithMigrated ¶
func (o *CreateSubscriptionWithAddOnsParams) WithMigrated(migrated *bool) *CreateSubscriptionWithAddOnsParams
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 ¶
func (o *CreateSubscriptionWithAddOnsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionWithAddOnsParams
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 ¶
func (o *CreateSubscriptionWithAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateSubscriptionsWithAddOnsCreated) Error() string
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 ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetBody(body []*kbmodel.BulkSubscriptionsBundle)
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 ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionsWithAddOnsParams
WithBillingDate adds the billingDate to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithBody ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithBody(body []*kbmodel.BulkSubscriptionsBundle) *CreateSubscriptionsWithAddOnsParams
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 ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithContext(ctx context.Context) *CreateSubscriptionsWithAddOnsParams
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 ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionsWithAddOnsParams
WithHTTPClient adds the HTTPClient to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithMigrated ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithMigrated(migrated *bool) *CreateSubscriptionsWithAddOnsParams
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 ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionsWithAddOnsParams
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 ¶
func (o *CreateSubscriptionsWithAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) Error() string
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 ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) Error() string
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 ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *DeleteSubscriptionCustomFieldsParams
WithContext adds the context to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithCustomField ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteSubscriptionCustomFieldsParams
WithCustomField adds the customField to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithHTTPClient ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithSubscriptionID ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *DeleteSubscriptionCustomFieldsParams
WithSubscriptionID adds the subscriptionID to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithTimeout ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionCustomFieldsParams
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 ¶
func (o *DeleteSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteSubscriptionTagsBadRequest) Error() string
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 ¶
func (o *DeleteSubscriptionTagsNoContent) Error() string
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 ¶
func (o *DeleteSubscriptionTagsParams) WithContext(ctx context.Context) *DeleteSubscriptionTagsParams
WithContext adds the context to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithHTTPClient ¶
func (o *DeleteSubscriptionTagsParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionTagsParams
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 ¶
func (o *DeleteSubscriptionTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteSubscriptionTagsParams
WithTagDef adds the tagDef to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithTimeout ¶
func (o *DeleteSubscriptionTagsParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionTagsParams
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 ¶
func (o *DeleteSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetSubscriptionCustomFieldsBadRequest) Error() string
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 ¶
func (o *GetSubscriptionCustomFieldsOK) Error() string
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 ¶
func (o *GetSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetSubscriptionCustomFieldsParams) WithAudit(audit *string) *GetSubscriptionCustomFieldsParams
WithAudit adds the audit to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WithContext ¶
func (o *GetSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *GetSubscriptionCustomFieldsParams
WithContext adds the context to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WithHTTPClient ¶
func (o *GetSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *GetSubscriptionCustomFieldsParams
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 ¶
func (o *GetSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *GetSubscriptionCustomFieldsParams
WithTimeout adds the timeout to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WriteToRequest ¶
func (o *GetSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetSubscriptionParams) WithContext(ctx context.Context) *GetSubscriptionParams
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 ¶
func (o *GetSubscriptionTagsBadRequest) Error() string
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 ¶
func (o *GetSubscriptionTagsNotFound) Error() string
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 ¶
func (o *GetSubscriptionTagsParams) WithAudit(audit *string) *GetSubscriptionTagsParams
WithAudit adds the audit to the get subscription tags params
func (*GetSubscriptionTagsParams) WithContext ¶
func (o *GetSubscriptionTagsParams) WithContext(ctx context.Context) *GetSubscriptionTagsParams
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 ¶
func (o *GetSubscriptionTagsParams) WithTimeout(timeout time.Duration) *GetSubscriptionTagsParams
WithTimeout adds the timeout to the get subscription tags params
func (*GetSubscriptionTagsParams) WriteToRequest ¶
func (o *GetSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) Error() string
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 ¶
func (o *ModifySubscriptionCustomFieldsNoContent) Error() string
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 ¶
func (o *ModifySubscriptionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) SetContext ¶
func (o *ModifySubscriptionCustomFieldsParams) SetContext(ctx context.Context)
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 ¶
func (o *ModifySubscriptionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifySubscriptionCustomFieldsParams
WithBody adds the body to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithContext ¶
func (o *ModifySubscriptionCustomFieldsParams) WithContext(ctx context.Context) *ModifySubscriptionCustomFieldsParams
WithContext adds the context to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithHTTPClient ¶
func (o *ModifySubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifySubscriptionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithSubscriptionID ¶
func (o *ModifySubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *ModifySubscriptionCustomFieldsParams
WithSubscriptionID adds the subscriptionID to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithTimeout ¶
func (o *ModifySubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifySubscriptionCustomFieldsParams
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 ¶
func (o *ModifySubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UncancelSubscriptionPlanBadRequest) Error() string
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 ¶
func (o *UncancelSubscriptionPlanNoContent) Error() string
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 ¶
func (o *UncancelSubscriptionPlanNotFound) Error() string
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 ¶
func (o *UncancelSubscriptionPlanParams) WithContext(ctx context.Context) *UncancelSubscriptionPlanParams
WithContext adds the context to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithHTTPClient ¶
func (o *UncancelSubscriptionPlanParams) WithHTTPClient(client *http.Client) *UncancelSubscriptionPlanParams
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 ¶
func (o *UncancelSubscriptionPlanParams) WithTimeout(timeout time.Duration) *UncancelSubscriptionPlanParams
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 ¶
func (o *UncancelSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UndoChangeSubscriptionPlanBadRequest) Error() string
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 ¶
func (o *UndoChangeSubscriptionPlanNoContent) Error() string
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 ¶
func (o *UndoChangeSubscriptionPlanNotFound) Error() string
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 ¶
func (o *UndoChangeSubscriptionPlanParams) SetContext(ctx context.Context)
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 ¶
func (o *UndoChangeSubscriptionPlanParams) WithContext(ctx context.Context) *UndoChangeSubscriptionPlanParams
WithContext adds the context to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithHTTPClient ¶
func (o *UndoChangeSubscriptionPlanParams) WithHTTPClient(client *http.Client) *UndoChangeSubscriptionPlanParams
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 ¶
func (o *UndoChangeSubscriptionPlanParams) WithTimeout(timeout time.Duration) *UndoChangeSubscriptionPlanParams
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 ¶
func (o *UndoChangeSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateSubscriptionBCDBadRequest) Error() string
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 ¶
func (o *UpdateSubscriptionBCDNoContent) Error() string
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 ¶
func (o *UpdateSubscriptionBCDParams) SetBody(body *kbmodel.Subscription)
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 ¶
func (o *UpdateSubscriptionBCDParams) WithBody(body *kbmodel.Subscription) *UpdateSubscriptionBCDParams
WithBody adds the body to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithContext ¶
func (o *UpdateSubscriptionBCDParams) WithContext(ctx context.Context) *UpdateSubscriptionBCDParams
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 ¶
func (o *UpdateSubscriptionBCDParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionBCDParams
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 ¶
func (o *UpdateSubscriptionBCDParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionBCDParams
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 ¶
func (o *UpdateSubscriptionBCDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- add_subscription_blocking_state_parameters.go
- add_subscription_blocking_state_responses.go
- cancel_subscription_plan_parameters.go
- cancel_subscription_plan_responses.go
- change_subscription_plan_parameters.go
- change_subscription_plan_responses.go
- create_subscription_custom_fields_parameters.go
- create_subscription_custom_fields_responses.go
- create_subscription_parameters.go
- create_subscription_responses.go
- create_subscription_tags_parameters.go
- create_subscription_tags_responses.go
- create_subscription_with_add_ons_parameters.go
- create_subscription_with_add_ons_responses.go
- create_subscriptions_with_add_ons_parameters.go
- create_subscriptions_with_add_ons_responses.go
- delete_subscription_custom_fields_parameters.go
- delete_subscription_custom_fields_responses.go
- delete_subscription_tags_parameters.go
- delete_subscription_tags_responses.go
- get_subscription_custom_fields_parameters.go
- get_subscription_custom_fields_responses.go
- get_subscription_parameters.go
- get_subscription_responses.go
- get_subscription_tags_parameters.go
- get_subscription_tags_responses.go
- modify_subscription_custom_fields_parameters.go
- modify_subscription_custom_fields_responses.go
- subscription_client.go
- uncancel_subscription_plan_parameters.go
- uncancel_subscription_plan_responses.go
- undo_change_subscription_plan_parameters.go
- undo_change_subscription_plan_responses.go
- update_subscription_b_c_d_parameters.go
- update_subscription_b_c_d_responses.go