Versions in this module Expand all Collapse all v1 v1.0.0 Sep 4, 2019 Changes in this version + type Client struct + func New(transport runtime.ClientTransport, formats strfmt.Registry, ...) *Client + func (a *Client) CreateCredit(ctx context.Context, params *CreateCreditParams) (*CreateCreditCreated, error) + func (a *Client) GetCredit(ctx context.Context, params *GetCreditParams) (*GetCreditOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type CreateCreditBadRequest struct + HttpResponse runtime.ClientResponse + func NewCreateCreditBadRequest() *CreateCreditBadRequest + func (o *CreateCreditBadRequest) Error() string + type CreateCreditCreated struct + HttpResponse runtime.ClientResponse + Payload *kbmodel.Credit + func NewCreateCreditCreated() *CreateCreditCreated + func (o *CreateCreditCreated) Error() string + type CreateCreditNotFound struct + HttpResponse runtime.ClientResponse + func NewCreateCreditNotFound() *CreateCreditNotFound + func (o *CreateCreditNotFound) Error() string + type CreateCreditParams struct + AutoCommit *bool + Body *kbmodel.Credit + Context context.Context + HTTPClient *http.Client + PluginProperty []string + ProcessLocationHeader bool + WithStackTrace *bool + XKillbillComment *string + XKillbillCreatedBy string + XKillbillReason *string + func NewCreateCreditParams() *CreateCreditParams + func NewCreateCreditParamsWithContext(ctx context.Context) *CreateCreditParams + func NewCreateCreditParamsWithHTTPClient(client *http.Client) *CreateCreditParams + func NewCreateCreditParamsWithTimeout(timeout time.Duration) *CreateCreditParams + func (o *CreateCreditParams) SetAutoCommit(autoCommit *bool) + func (o *CreateCreditParams) SetBody(body *kbmodel.Credit) + func (o *CreateCreditParams) SetContext(ctx context.Context) + func (o *CreateCreditParams) SetHTTPClient(client *http.Client) + func (o *CreateCreditParams) SetPluginProperty(pluginProperty []string) + func (o *CreateCreditParams) SetTimeout(timeout time.Duration) + func (o *CreateCreditParams) SetXKillbillComment(xKillbillComment *string) + func (o *CreateCreditParams) SetXKillbillCreatedBy(xKillbillCreatedBy string) + func (o *CreateCreditParams) SetXKillbillReason(xKillbillReason *string) + func (o *CreateCreditParams) WithAutoCommit(autoCommit *bool) *CreateCreditParams + func (o *CreateCreditParams) WithBody(body *kbmodel.Credit) *CreateCreditParams + func (o *CreateCreditParams) WithContext(ctx context.Context) *CreateCreditParams + func (o *CreateCreditParams) WithHTTPClient(client *http.Client) *CreateCreditParams + func (o *CreateCreditParams) WithPluginProperty(pluginProperty []string) *CreateCreditParams + func (o *CreateCreditParams) WithTimeout(timeout time.Duration) *CreateCreditParams + func (o *CreateCreditParams) WithXKillbillComment(xKillbillComment *string) *CreateCreditParams + func (o *CreateCreditParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateCreditParams + func (o *CreateCreditParams) WithXKillbillReason(xKillbillReason *string) *CreateCreditParams + func (o *CreateCreditParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateCreditReader struct + func (o *CreateCreditReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetCreditBadRequest struct + HttpResponse runtime.ClientResponse + func NewGetCreditBadRequest() *GetCreditBadRequest + func (o *GetCreditBadRequest) Error() string + type GetCreditNotFound struct + HttpResponse runtime.ClientResponse + func NewGetCreditNotFound() *GetCreditNotFound + func (o *GetCreditNotFound) Error() string + type GetCreditOK struct + HttpResponse runtime.ClientResponse + Payload *kbmodel.Credit + func NewGetCreditOK() *GetCreditOK + func (o *GetCreditOK) Error() string + type GetCreditParams struct + Context context.Context + CreditID strfmt.UUID + HTTPClient *http.Client + ProcessLocationHeader bool + WithStackTrace *bool + func NewGetCreditParams() *GetCreditParams + func NewGetCreditParamsWithContext(ctx context.Context) *GetCreditParams + func NewGetCreditParamsWithHTTPClient(client *http.Client) *GetCreditParams + func NewGetCreditParamsWithTimeout(timeout time.Duration) *GetCreditParams + func (o *GetCreditParams) SetContext(ctx context.Context) + func (o *GetCreditParams) SetCreditID(creditID strfmt.UUID) + func (o *GetCreditParams) SetHTTPClient(client *http.Client) + func (o *GetCreditParams) SetTimeout(timeout time.Duration) + func (o *GetCreditParams) WithContext(ctx context.Context) *GetCreditParams + func (o *GetCreditParams) WithCreditID(creditID strfmt.UUID) *GetCreditParams + func (o *GetCreditParams) WithHTTPClient(client *http.Client) *GetCreditParams + func (o *GetCreditParams) WithTimeout(timeout time.Duration) *GetCreditParams + func (o *GetCreditParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetCreditReader struct + func (o *GetCreditReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ICredit interface + CreateCredit func(ctx context.Context, params *CreateCreditParams) (*CreateCreditCreated, error) + GetCredit func(ctx context.Context, params *GetCreditParams) (*GetCreditOK, error) + type KillbillDefaults interface + KillbillWithStackTrace func() *bool + XKillbillComment func() *string + XKillbillCreatedBy func() *string + XKillbillReason func() *string Other modules containing this package github.com/CDNA-Technologies/kbcli/v3