account

package
v3.0.8-draft Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAccountBlockingStateBadRequest

type AddAccountBlockingStateBadRequest struct {
	HttpResponse runtime.ClientResponse
}

AddAccountBlockingStateBadRequest handles this case with default header values.

Invalid account id supplied

func NewAddAccountBlockingStateBadRequest

func NewAddAccountBlockingStateBadRequest() *AddAccountBlockingStateBadRequest

NewAddAccountBlockingStateBadRequest creates a AddAccountBlockingStateBadRequest with default headers values

func (*AddAccountBlockingStateBadRequest) Error

type AddAccountBlockingStateCreated

type AddAccountBlockingStateCreated struct {
	Payload []*kbmodel.BlockingState

	HttpResponse runtime.ClientResponse
}

AddAccountBlockingStateCreated handles this case with default header values.

Blocking state created successfully

func NewAddAccountBlockingStateCreated

func NewAddAccountBlockingStateCreated() *AddAccountBlockingStateCreated

NewAddAccountBlockingStateCreated creates a AddAccountBlockingStateCreated with default headers values

func (*AddAccountBlockingStateCreated) Error

func (*AddAccountBlockingStateCreated) GetPayload

type AddAccountBlockingStateNotFound

type AddAccountBlockingStateNotFound struct {
	HttpResponse runtime.ClientResponse
}

AddAccountBlockingStateNotFound handles this case with default header values.

Account not found

func NewAddAccountBlockingStateNotFound

func NewAddAccountBlockingStateNotFound() *AddAccountBlockingStateNotFound

NewAddAccountBlockingStateNotFound creates a AddAccountBlockingStateNotFound with default headers values

func (*AddAccountBlockingStateNotFound) Error

type AddAccountBlockingStateParams

type AddAccountBlockingStateParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body *kbmodel.BlockingState
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewAddAccountBlockingStateParams

func NewAddAccountBlockingStateParams() *AddAccountBlockingStateParams

NewAddAccountBlockingStateParams creates a new AddAccountBlockingStateParams object with the default values initialized.

func NewAddAccountBlockingStateParamsWithContext

func NewAddAccountBlockingStateParamsWithContext(ctx context.Context) *AddAccountBlockingStateParams

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

func NewAddAccountBlockingStateParamsWithHTTPClient

func NewAddAccountBlockingStateParamsWithHTTPClient(client *http.Client) *AddAccountBlockingStateParams

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

func NewAddAccountBlockingStateParamsWithTimeout

func NewAddAccountBlockingStateParamsWithTimeout(timeout time.Duration) *AddAccountBlockingStateParams

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

func (*AddAccountBlockingStateParams) SetAccountID

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

SetAccountID adds the accountId to the add account blocking state params

func (*AddAccountBlockingStateParams) SetBody

SetBody adds the body to the add account blocking state params

func (*AddAccountBlockingStateParams) SetContext

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

SetContext adds the context to the add account blocking state params

func (*AddAccountBlockingStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add account blocking state params

func (*AddAccountBlockingStateParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the add account blocking state params

func (*AddAccountBlockingStateParams) SetRequestedDate

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

SetRequestedDate adds the requestedDate to the add account blocking state params

func (*AddAccountBlockingStateParams) SetTimeout

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

SetTimeout adds the timeout to the add account blocking state params

func (*AddAccountBlockingStateParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the add account blocking state params

func (*AddAccountBlockingStateParams) SetXKillbillCreatedBy

func (o *AddAccountBlockingStateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add account blocking state params

func (*AddAccountBlockingStateParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the add account blocking state params

func (*AddAccountBlockingStateParams) WithAccountID

WithAccountID adds the accountID to the add account blocking state params

func (*AddAccountBlockingStateParams) WithBody

WithBody adds the body to the add account blocking state params

func (*AddAccountBlockingStateParams) WithContext

WithContext adds the context to the add account blocking state params

func (*AddAccountBlockingStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add account blocking state params

func (*AddAccountBlockingStateParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the add account blocking state params

func (*AddAccountBlockingStateParams) WithRequestedDate

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

WithRequestedDate adds the requestedDate to the add account blocking state params

func (*AddAccountBlockingStateParams) WithTimeout

WithTimeout adds the timeout to the add account blocking state params

func (*AddAccountBlockingStateParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the add account blocking state params

func (*AddAccountBlockingStateParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add account blocking state params

func (*AddAccountBlockingStateParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the add account blocking state params

func (*AddAccountBlockingStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddAccountBlockingStateReader

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

AddAccountBlockingStateReader is a Reader for the AddAccountBlockingState structure.

func (*AddAccountBlockingStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddEmailBadRequest

type AddEmailBadRequest struct {
	HttpResponse runtime.ClientResponse
}

AddEmailBadRequest handles this case with default header values.

Invalid account id supplied

func NewAddEmailBadRequest

func NewAddEmailBadRequest() *AddEmailBadRequest

NewAddEmailBadRequest creates a AddEmailBadRequest with default headers values

func (*AddEmailBadRequest) Error

func (o *AddEmailBadRequest) Error() string

type AddEmailCreated

type AddEmailCreated struct {
	Payload []*kbmodel.AccountEmail

	HttpResponse runtime.ClientResponse
}

AddEmailCreated handles this case with default header values.

Email created successfully

func NewAddEmailCreated

func NewAddEmailCreated() *AddEmailCreated

NewAddEmailCreated creates a AddEmailCreated with default headers values

func (*AddEmailCreated) Error

func (o *AddEmailCreated) Error() string

func (*AddEmailCreated) GetPayload

func (o *AddEmailCreated) GetPayload() []*kbmodel.AccountEmail

type AddEmailNotFound

type AddEmailNotFound struct {
	HttpResponse runtime.ClientResponse
}

AddEmailNotFound handles this case with default header values.

Account not found

func NewAddEmailNotFound

func NewAddEmailNotFound() *AddEmailNotFound

NewAddEmailNotFound creates a AddEmailNotFound with default headers values

func (*AddEmailNotFound) Error

func (o *AddEmailNotFound) Error() string

type AddEmailParams

type AddEmailParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body *kbmodel.AccountEmail

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

AddEmailParams contains all the parameters to send to the API endpoint for the add email operation typically these are written to a http.Request

func NewAddEmailParams

func NewAddEmailParams() *AddEmailParams

NewAddEmailParams creates a new AddEmailParams object with the default values initialized.

func NewAddEmailParamsWithContext

func NewAddEmailParamsWithContext(ctx context.Context) *AddEmailParams

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

func NewAddEmailParamsWithHTTPClient

func NewAddEmailParamsWithHTTPClient(client *http.Client) *AddEmailParams

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

func NewAddEmailParamsWithTimeout

func NewAddEmailParamsWithTimeout(timeout time.Duration) *AddEmailParams

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

func (*AddEmailParams) SetAccountID

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

SetAccountID adds the accountId to the add email params

func (*AddEmailParams) SetBody

func (o *AddEmailParams) SetBody(body *kbmodel.AccountEmail)

SetBody adds the body to the add email params

func (*AddEmailParams) SetContext

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

SetContext adds the context to the add email params

func (*AddEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add email params

func (*AddEmailParams) SetTimeout

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

SetTimeout adds the timeout to the add email params

func (*AddEmailParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the add email params

func (*AddEmailParams) SetXKillbillCreatedBy

func (o *AddEmailParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add email params

func (*AddEmailParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the add email params

func (*AddEmailParams) WithAccountID

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

WithAccountID adds the accountID to the add email params

func (*AddEmailParams) WithBody

func (o *AddEmailParams) WithBody(body *kbmodel.AccountEmail) *AddEmailParams

WithBody adds the body to the add email params

func (*AddEmailParams) WithContext

func (o *AddEmailParams) WithContext(ctx context.Context) *AddEmailParams

WithContext adds the context to the add email params

func (*AddEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add email params

func (*AddEmailParams) WithTimeout

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

WithTimeout adds the timeout to the add email params

func (*AddEmailParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the add email params

func (*AddEmailParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add email params

func (*AddEmailParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the add email params

func (*AddEmailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddEmailReader

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

AddEmailReader is a Reader for the AddEmail structure.

func (*AddEmailReader) ReadResponse

func (o *AddEmailReader) 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 account API

func New

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

New creates a new account API client.

func (*Client) AddAccountBlockingState

func (a *Client) AddAccountBlockingState(ctx context.Context, params *AddAccountBlockingStateParams) (*AddAccountBlockingStateCreated, error)

AddAccountBlockingState blocks an account

resource description

func (*Client) AddEmail

func (a *Client) AddEmail(ctx context.Context, params *AddEmailParams) (*AddEmailCreated, error)

AddEmail adds account email

resource description

func (*Client) CloseAccount

func (a *Client) CloseAccount(ctx context.Context, params *CloseAccountParams) (*CloseAccountNoContent, error)

CloseAccount closes account

resource description

func (*Client) CreateAccount

func (a *Client) CreateAccount(ctx context.Context, params *CreateAccountParams) (*CreateAccountCreated, error)

CreateAccount creates account

resource description

func (*Client) CreateAccountCustomFields

func (a *Client) CreateAccountCustomFields(ctx context.Context, params *CreateAccountCustomFieldsParams) (*CreateAccountCustomFieldsCreated, error)

CreateAccountCustomFields adds custom fields to account

resource description

func (*Client) CreateAccountTags

func (a *Client) CreateAccountTags(ctx context.Context, params *CreateAccountTagsParams) (*CreateAccountTagsCreated, error)

CreateAccountTags adds tags to account

resource description

func (*Client) CreatePaymentMethod

func (a *Client) CreatePaymentMethod(ctx context.Context, params *CreatePaymentMethodParams) (*CreatePaymentMethodCreated, error)

CreatePaymentMethod adds a payment method

resource description

func (*Client) DeleteAccountCustomFields

func (a *Client) DeleteAccountCustomFields(ctx context.Context, params *DeleteAccountCustomFieldsParams) (*DeleteAccountCustomFieldsNoContent, error)

DeleteAccountCustomFields removes custom fields from account

resource description

func (*Client) DeleteAccountTags

func (a *Client) DeleteAccountTags(ctx context.Context, params *DeleteAccountTagsParams) (*DeleteAccountTagsNoContent, error)

DeleteAccountTags removes tags from account

resource description

func (*Client) GetAccount

func (a *Client) GetAccount(ctx context.Context, params *GetAccountParams) (*GetAccountOK, error)

GetAccount retrieves an account by id

resource description

func (*Client) GetAccountAuditLogs

func (a *Client) GetAccountAuditLogs(ctx context.Context, params *GetAccountAuditLogsParams) (*GetAccountAuditLogsOK, error)

GetAccountAuditLogs retrieves audit logs by account id

resource description

func (*Client) GetAccountAuditLogsWithHistory

func (a *Client) GetAccountAuditLogsWithHistory(ctx context.Context, params *GetAccountAuditLogsWithHistoryParams) (*GetAccountAuditLogsWithHistoryOK, error)

GetAccountAuditLogsWithHistory retrieves account audit logs with history by account id

resource description

func (*Client) GetAccountBundles

func (a *Client) GetAccountBundles(ctx context.Context, params *GetAccountBundlesParams) (*GetAccountBundlesOK, error)

GetAccountBundles retrieves bundles for account

resource description

func (*Client) GetAccountByKey

func (a *Client) GetAccountByKey(ctx context.Context, params *GetAccountByKeyParams) (*GetAccountByKeyOK, error)

GetAccountByKey retrieves an account by external key

resource description

func (*Client) GetAccountCustomFields

func (a *Client) GetAccountCustomFields(ctx context.Context, params *GetAccountCustomFieldsParams) (*GetAccountCustomFieldsOK, error)

GetAccountCustomFields retrieves account custom fields

resource description

func (*Client) GetAccountEmailAuditLogsWithHistory

func (a *Client) GetAccountEmailAuditLogsWithHistory(ctx context.Context, params *GetAccountEmailAuditLogsWithHistoryParams) (*GetAccountEmailAuditLogsWithHistoryOK, error)

GetAccountEmailAuditLogsWithHistory retrieves account email audit logs with history by id

resource description

func (*Client) GetAccountTags

func (a *Client) GetAccountTags(ctx context.Context, params *GetAccountTagsParams) (*GetAccountTagsOK, error)

GetAccountTags retrieves account tags

resource description

func (*Client) GetAccountTimeline

func (a *Client) GetAccountTimeline(ctx context.Context, params *GetAccountTimelineParams) (*GetAccountTimelineOK, error)

GetAccountTimeline retrieves account timeline

resource description

func (*Client) GetAccounts

func (a *Client) GetAccounts(ctx context.Context, params *GetAccountsParams) (*GetAccountsOK, error)

GetAccounts lists accounts

resource description

func (*Client) GetAllCustomFields

func (a *Client) GetAllCustomFields(ctx context.Context, params *GetAllCustomFieldsParams) (*GetAllCustomFieldsOK, error)

GetAllCustomFields retrieves account custom fields

resource description

func (*Client) GetAllTags

func (a *Client) GetAllTags(ctx context.Context, params *GetAllTagsParams) (*GetAllTagsOK, error)

GetAllTags retrieves account tags

resource description

func (*Client) GetBlockingStateAuditLogsWithHistory

func (a *Client) GetBlockingStateAuditLogsWithHistory(ctx context.Context, params *GetBlockingStateAuditLogsWithHistoryParams) (*GetBlockingStateAuditLogsWithHistoryOK, error)

GetBlockingStateAuditLogsWithHistory retrieves blocking state audit logs with history by id

resource description

func (*Client) GetBlockingStates

func (a *Client) GetBlockingStates(ctx context.Context, params *GetBlockingStatesParams) (*GetBlockingStatesOK, error)

GetBlockingStates retrieves blocking states for account

resource description

func (*Client) GetChildrenAccounts

func (a *Client) GetChildrenAccounts(ctx context.Context, params *GetChildrenAccountsParams) (*GetChildrenAccountsOK, error)

GetChildrenAccounts lists children accounts

resource description

func (*Client) GetEmails

func (a *Client) GetEmails(ctx context.Context, params *GetEmailsParams) (*GetEmailsOK, error)

GetEmails retrieves an account emails

resource description

func (*Client) GetInvoicePayments

func (a *Client) GetInvoicePayments(ctx context.Context, params *GetInvoicePaymentsParams) (*GetInvoicePaymentsOK, error)

GetInvoicePayments retrieves account invoice payments

resource description

func (*Client) GetInvoicesForAccount

func (a *Client) GetInvoicesForAccount(ctx context.Context, params *GetInvoicesForAccountParams) (*GetInvoicesForAccountOK, error)

GetInvoicesForAccount retrieves account invoices

resource description

func (*Client) GetOverdueAccount

func (a *Client) GetOverdueAccount(ctx context.Context, params *GetOverdueAccountParams) (*GetOverdueAccountOK, error)

GetOverdueAccount retrieves overdue state for account

resource description

func (*Client) GetPaymentMethodsForAccount

func (a *Client) GetPaymentMethodsForAccount(ctx context.Context, params *GetPaymentMethodsForAccountParams) (*GetPaymentMethodsForAccountOK, error)

GetPaymentMethodsForAccount retrieves account payment methods

resource description

func (*Client) GetPaymentsForAccount

func (a *Client) GetPaymentsForAccount(ctx context.Context, params *GetPaymentsForAccountParams) (*GetPaymentsForAccountOK, error)

GetPaymentsForAccount retrieves account payments

resource description

func (*Client) ModifyAccountCustomFields

func (a *Client) ModifyAccountCustomFields(ctx context.Context, params *ModifyAccountCustomFieldsParams) (*ModifyAccountCustomFieldsNoContent, error)

ModifyAccountCustomFields modifies custom fields to account

resource description

func (*Client) PayAllInvoices

PayAllInvoices triggers a payment for all unpaid invoices

resource description

func (*Client) ProcessPayment

func (a *Client) ProcessPayment(ctx context.Context, params *ProcessPaymentParams) (*ProcessPaymentCreated, error)

ProcessPayment triggers a payment authorization purchase or credit

resource description

func (*Client) ProcessPaymentByExternalKey

func (a *Client) ProcessPaymentByExternalKey(ctx context.Context, params *ProcessPaymentByExternalKeyParams) (*ProcessPaymentByExternalKeyCreated, error)

ProcessPaymentByExternalKey triggers a payment using the account external key authorization purchase or credit

resource description

func (*Client) RebalanceExistingCBAOnAccount

RebalanceExistingCBAOnAccount rebalances account c b a

resource description

func (*Client) RefreshPaymentMethods

func (a *Client) RefreshPaymentMethods(ctx context.Context, params *RefreshPaymentMethodsParams) (*RefreshPaymentMethodsNoContent, error)

RefreshPaymentMethods refreshes account payment methods

resource description

func (*Client) RemoveEmail

func (a *Client) RemoveEmail(ctx context.Context, params *RemoveEmailParams) (*RemoveEmailNoContent, error)

RemoveEmail deletes email from account

resource description

func (*Client) SearchAccounts

func (a *Client) SearchAccounts(ctx context.Context, params *SearchAccountsParams) (*SearchAccountsOK, error)

SearchAccounts searches accounts

resource description

func (*Client) SetDefaultPaymentMethod

func (a *Client) SetDefaultPaymentMethod(ctx context.Context, params *SetDefaultPaymentMethodParams) (*SetDefaultPaymentMethodNoContent, error)

SetDefaultPaymentMethod sets the default payment method

resource description

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TransferChildCreditToParent

func (a *Client) TransferChildCreditToParent(ctx context.Context, params *TransferChildCreditToParentParams) (*TransferChildCreditToParentNoContent, error)

TransferChildCreditToParent moves a given child credit to the parent level

resource description

func (*Client) UpdateAccount

func (a *Client) UpdateAccount(ctx context.Context, params *UpdateAccountParams) (*UpdateAccountNoContent, error)

UpdateAccount updates account

resource description

type CloseAccountBadRequest

type CloseAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CloseAccountBadRequest handles this case with default header values.

Invalid account id supplied

func NewCloseAccountBadRequest

func NewCloseAccountBadRequest() *CloseAccountBadRequest

NewCloseAccountBadRequest creates a CloseAccountBadRequest with default headers values

func (*CloseAccountBadRequest) Error

func (o *CloseAccountBadRequest) Error() string

type CloseAccountNoContent

type CloseAccountNoContent struct {
	HttpResponse runtime.ClientResponse
}

CloseAccountNoContent handles this case with default header values.

Successful operation

func NewCloseAccountNoContent

func NewCloseAccountNoContent() *CloseAccountNoContent

NewCloseAccountNoContent creates a CloseAccountNoContent with default headers values

func (*CloseAccountNoContent) Error

func (o *CloseAccountNoContent) Error() string

type CloseAccountParams

type CloseAccountParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*CancelAllSubscriptions*/
	CancelAllSubscriptions *bool
	/*ItemAdjustUnpaidInvoices*/
	ItemAdjustUnpaidInvoices *bool
	/*RemoveFutureNotifications*/
	RemoveFutureNotifications *bool
	/*WriteOffUnpaidInvoices*/
	WriteOffUnpaidInvoices *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

CloseAccountParams contains all the parameters to send to the API endpoint for the close account operation typically these are written to a http.Request

func NewCloseAccountParams

func NewCloseAccountParams() *CloseAccountParams

NewCloseAccountParams creates a new CloseAccountParams object with the default values initialized.

func NewCloseAccountParamsWithContext

func NewCloseAccountParamsWithContext(ctx context.Context) *CloseAccountParams

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

func NewCloseAccountParamsWithHTTPClient

func NewCloseAccountParamsWithHTTPClient(client *http.Client) *CloseAccountParams

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

func NewCloseAccountParamsWithTimeout

func NewCloseAccountParamsWithTimeout(timeout time.Duration) *CloseAccountParams

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

func (*CloseAccountParams) SetAccountID

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

SetAccountID adds the accountId to the close account params

func (*CloseAccountParams) SetCancelAllSubscriptions

func (o *CloseAccountParams) SetCancelAllSubscriptions(cancelAllSubscriptions *bool)

SetCancelAllSubscriptions adds the cancelAllSubscriptions to the close account params

func (*CloseAccountParams) SetContext

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

SetContext adds the context to the close account params

func (*CloseAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the close account params

func (*CloseAccountParams) SetItemAdjustUnpaidInvoices

func (o *CloseAccountParams) SetItemAdjustUnpaidInvoices(itemAdjustUnpaidInvoices *bool)

SetItemAdjustUnpaidInvoices adds the itemAdjustUnpaidInvoices to the close account params

func (*CloseAccountParams) SetRemoveFutureNotifications

func (o *CloseAccountParams) SetRemoveFutureNotifications(removeFutureNotifications *bool)

SetRemoveFutureNotifications adds the removeFutureNotifications to the close account params

func (*CloseAccountParams) SetTimeout

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

SetTimeout adds the timeout to the close account params

func (*CloseAccountParams) SetWriteOffUnpaidInvoices

func (o *CloseAccountParams) SetWriteOffUnpaidInvoices(writeOffUnpaidInvoices *bool)

SetWriteOffUnpaidInvoices adds the writeOffUnpaidInvoices to the close account params

func (*CloseAccountParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the close account params

func (*CloseAccountParams) SetXKillbillCreatedBy

func (o *CloseAccountParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the close account params

func (*CloseAccountParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the close account params

func (*CloseAccountParams) WithAccountID

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

WithAccountID adds the accountID to the close account params

func (*CloseAccountParams) WithCancelAllSubscriptions

func (o *CloseAccountParams) WithCancelAllSubscriptions(cancelAllSubscriptions *bool) *CloseAccountParams

WithCancelAllSubscriptions adds the cancelAllSubscriptions to the close account params

func (*CloseAccountParams) WithContext

WithContext adds the context to the close account params

func (*CloseAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the close account params

func (*CloseAccountParams) WithItemAdjustUnpaidInvoices

func (o *CloseAccountParams) WithItemAdjustUnpaidInvoices(itemAdjustUnpaidInvoices *bool) *CloseAccountParams

WithItemAdjustUnpaidInvoices adds the itemAdjustUnpaidInvoices to the close account params

func (*CloseAccountParams) WithRemoveFutureNotifications

func (o *CloseAccountParams) WithRemoveFutureNotifications(removeFutureNotifications *bool) *CloseAccountParams

WithRemoveFutureNotifications adds the removeFutureNotifications to the close account params

func (*CloseAccountParams) WithTimeout

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

WithTimeout adds the timeout to the close account params

func (*CloseAccountParams) WithWriteOffUnpaidInvoices

func (o *CloseAccountParams) WithWriteOffUnpaidInvoices(writeOffUnpaidInvoices *bool) *CloseAccountParams

WithWriteOffUnpaidInvoices adds the writeOffUnpaidInvoices to the close account params

func (*CloseAccountParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the close account params

func (*CloseAccountParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the close account params

func (*CloseAccountParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the close account params

func (*CloseAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CloseAccountReader

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

CloseAccountReader is a Reader for the CloseAccount structure.

func (*CloseAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAccountBadRequest

type CreateAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateAccountBadRequest handles this case with default header values.

Invalid account data supplied

func NewCreateAccountBadRequest

func NewCreateAccountBadRequest() *CreateAccountBadRequest

NewCreateAccountBadRequest creates a CreateAccountBadRequest with default headers values

func (*CreateAccountBadRequest) Error

func (o *CreateAccountBadRequest) Error() string

type CreateAccountCreated

type CreateAccountCreated struct {
	Payload *kbmodel.Account

	HttpResponse runtime.ClientResponse
}

CreateAccountCreated handles this case with default header values.

Account created successfully

func NewCreateAccountCreated

func NewCreateAccountCreated() *CreateAccountCreated

NewCreateAccountCreated creates a CreateAccountCreated with default headers values

func (*CreateAccountCreated) Error

func (o *CreateAccountCreated) Error() string

func (*CreateAccountCreated) GetPayload

func (o *CreateAccountCreated) GetPayload() *kbmodel.Account

type CreateAccountCustomFieldsBadRequest

type CreateAccountCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateAccountCustomFieldsBadRequest handles this case with default header values.

Invalid account id supplied

func NewCreateAccountCustomFieldsBadRequest

func NewCreateAccountCustomFieldsBadRequest() *CreateAccountCustomFieldsBadRequest

NewCreateAccountCustomFieldsBadRequest creates a CreateAccountCustomFieldsBadRequest with default headers values

func (*CreateAccountCustomFieldsBadRequest) Error

type CreateAccountCustomFieldsCreated

type CreateAccountCustomFieldsCreated struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

CreateAccountCustomFieldsCreated handles this case with default header values.

Custom field created successfully

func NewCreateAccountCustomFieldsCreated

func NewCreateAccountCustomFieldsCreated() *CreateAccountCustomFieldsCreated

NewCreateAccountCustomFieldsCreated creates a CreateAccountCustomFieldsCreated with default headers values

func (*CreateAccountCustomFieldsCreated) Error

func (*CreateAccountCustomFieldsCreated) GetPayload

type CreateAccountCustomFieldsParams

type CreateAccountCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body []*kbmodel.CustomField

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewCreateAccountCustomFieldsParams

func NewCreateAccountCustomFieldsParams() *CreateAccountCustomFieldsParams

NewCreateAccountCustomFieldsParams creates a new CreateAccountCustomFieldsParams object with the default values initialized.

func NewCreateAccountCustomFieldsParamsWithContext

func NewCreateAccountCustomFieldsParamsWithContext(ctx context.Context) *CreateAccountCustomFieldsParams

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

func NewCreateAccountCustomFieldsParamsWithHTTPClient

func NewCreateAccountCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateAccountCustomFieldsParams

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

func NewCreateAccountCustomFieldsParamsWithTimeout

func NewCreateAccountCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateAccountCustomFieldsParams

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

func (*CreateAccountCustomFieldsParams) SetAccountID

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

SetAccountID adds the accountId to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetBody

SetBody adds the body to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetContext

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

SetContext adds the context to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreateAccountCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithAccountID

WithAccountID adds the accountID to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithBody

WithBody adds the body to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithContext

WithContext adds the context to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAccountCustomFieldsReader

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

CreateAccountCustomFieldsReader is a Reader for the CreateAccountCustomFields structure.

func (*CreateAccountCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAccountParams

type CreateAccountParams struct {

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

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewCreateAccountParams

func NewCreateAccountParams() *CreateAccountParams

NewCreateAccountParams creates a new CreateAccountParams object with the default values initialized.

func NewCreateAccountParamsWithContext

func NewCreateAccountParamsWithContext(ctx context.Context) *CreateAccountParams

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

func NewCreateAccountParamsWithHTTPClient

func NewCreateAccountParamsWithHTTPClient(client *http.Client) *CreateAccountParams

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

func NewCreateAccountParamsWithTimeout

func NewCreateAccountParamsWithTimeout(timeout time.Duration) *CreateAccountParams

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

func (*CreateAccountParams) SetBody

func (o *CreateAccountParams) SetBody(body *kbmodel.Account)

SetBody adds the body to the create account params

func (*CreateAccountParams) SetContext

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

SetContext adds the context to the create account params

func (*CreateAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create account params

func (*CreateAccountParams) SetTimeout

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

SetTimeout adds the timeout to the create account params

func (*CreateAccountParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create account params

func (*CreateAccountParams) SetXKillbillCreatedBy

func (o *CreateAccountParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create account params

func (*CreateAccountParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create account params

func (*CreateAccountParams) WithBody

WithBody adds the body to the create account params

func (*CreateAccountParams) WithContext

WithContext adds the context to the create account params

func (*CreateAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create account params

func (*CreateAccountParams) WithTimeout

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

WithTimeout adds the timeout to the create account params

func (*CreateAccountParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create account params

func (*CreateAccountParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create account params

func (*CreateAccountParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create account params

func (*CreateAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateAccountReader

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

CreateAccountReader is a Reader for the CreateAccount structure.

func (*CreateAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAccountTagsBadRequest

type CreateAccountTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateAccountTagsBadRequest handles this case with default header values.

Invalid account id supplied

func NewCreateAccountTagsBadRequest

func NewCreateAccountTagsBadRequest() *CreateAccountTagsBadRequest

NewCreateAccountTagsBadRequest creates a CreateAccountTagsBadRequest with default headers values

func (*CreateAccountTagsBadRequest) Error

type CreateAccountTagsCreated

type CreateAccountTagsCreated struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

CreateAccountTagsCreated handles this case with default header values.

Tag created successfully

func NewCreateAccountTagsCreated

func NewCreateAccountTagsCreated() *CreateAccountTagsCreated

NewCreateAccountTagsCreated creates a CreateAccountTagsCreated with default headers values

func (*CreateAccountTagsCreated) Error

func (o *CreateAccountTagsCreated) Error() string

func (*CreateAccountTagsCreated) GetPayload

func (o *CreateAccountTagsCreated) GetPayload() []*kbmodel.Tag

type CreateAccountTagsParams

type CreateAccountTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body []strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewCreateAccountTagsParams

func NewCreateAccountTagsParams() *CreateAccountTagsParams

NewCreateAccountTagsParams creates a new CreateAccountTagsParams object with the default values initialized.

func NewCreateAccountTagsParamsWithContext

func NewCreateAccountTagsParamsWithContext(ctx context.Context) *CreateAccountTagsParams

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

func NewCreateAccountTagsParamsWithHTTPClient

func NewCreateAccountTagsParamsWithHTTPClient(client *http.Client) *CreateAccountTagsParams

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

func NewCreateAccountTagsParamsWithTimeout

func NewCreateAccountTagsParamsWithTimeout(timeout time.Duration) *CreateAccountTagsParams

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

func (*CreateAccountTagsParams) SetAccountID

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

SetAccountID adds the accountId to the create account tags params

func (*CreateAccountTagsParams) SetBody

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

SetBody adds the body to the create account tags params

func (*CreateAccountTagsParams) SetContext

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

SetContext adds the context to the create account tags params

func (*CreateAccountTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create account tags params

func (*CreateAccountTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create account tags params

func (*CreateAccountTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create account tags params

func (*CreateAccountTagsParams) SetXKillbillCreatedBy

func (o *CreateAccountTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create account tags params

func (*CreateAccountTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create account tags params

func (*CreateAccountTagsParams) WithAccountID

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

WithAccountID adds the accountID to the create account tags params

func (*CreateAccountTagsParams) WithBody

WithBody adds the body to the create account tags params

func (*CreateAccountTagsParams) WithContext

WithContext adds the context to the create account tags params

func (*CreateAccountTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create account tags params

func (*CreateAccountTagsParams) WithTimeout

WithTimeout adds the timeout to the create account tags params

func (*CreateAccountTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create account tags params

func (*CreateAccountTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create account tags params

func (*CreateAccountTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create account tags params

func (*CreateAccountTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAccountTagsReader

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

CreateAccountTagsReader is a Reader for the CreateAccountTags structure.

func (*CreateAccountTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePaymentMethodBadRequest

type CreatePaymentMethodBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreatePaymentMethodBadRequest handles this case with default header values.

Invalid account id supplied

func NewCreatePaymentMethodBadRequest

func NewCreatePaymentMethodBadRequest() *CreatePaymentMethodBadRequest

NewCreatePaymentMethodBadRequest creates a CreatePaymentMethodBadRequest with default headers values

func (*CreatePaymentMethodBadRequest) Error

type CreatePaymentMethodCreated

type CreatePaymentMethodCreated struct {
	Payload *kbmodel.PaymentMethod

	HttpResponse runtime.ClientResponse
}

CreatePaymentMethodCreated handles this case with default header values.

Payment method created

func NewCreatePaymentMethodCreated

func NewCreatePaymentMethodCreated() *CreatePaymentMethodCreated

NewCreatePaymentMethodCreated creates a CreatePaymentMethodCreated with default headers values

func (*CreatePaymentMethodCreated) Error

func (*CreatePaymentMethodCreated) GetPayload

type CreatePaymentMethodNotFound

type CreatePaymentMethodNotFound struct {
	HttpResponse runtime.ClientResponse
}

CreatePaymentMethodNotFound handles this case with default header values.

Account not found

func NewCreatePaymentMethodNotFound

func NewCreatePaymentMethodNotFound() *CreatePaymentMethodNotFound

NewCreatePaymentMethodNotFound creates a CreatePaymentMethodNotFound with default headers values

func (*CreatePaymentMethodNotFound) Error

type CreatePaymentMethodParams

type CreatePaymentMethodParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body *kbmodel.PaymentMethod
	/*ControlPluginName*/
	ControlPluginName []string
	/*IsDefault*/
	IsDefault *bool
	/*PayAllUnpaidInvoices*/
	PayAllUnpaidInvoices *bool
	/*PluginProperty*/
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

CreatePaymentMethodParams contains all the parameters to send to the API endpoint for the create payment method operation typically these are written to a http.Request

func NewCreatePaymentMethodParams

func NewCreatePaymentMethodParams() *CreatePaymentMethodParams

NewCreatePaymentMethodParams creates a new CreatePaymentMethodParams object with the default values initialized.

func NewCreatePaymentMethodParamsWithContext

func NewCreatePaymentMethodParamsWithContext(ctx context.Context) *CreatePaymentMethodParams

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

func NewCreatePaymentMethodParamsWithHTTPClient

func NewCreatePaymentMethodParamsWithHTTPClient(client *http.Client) *CreatePaymentMethodParams

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

func NewCreatePaymentMethodParamsWithTimeout

func NewCreatePaymentMethodParamsWithTimeout(timeout time.Duration) *CreatePaymentMethodParams

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

func (*CreatePaymentMethodParams) SetAccountID

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

SetAccountID adds the accountId to the create payment method params

func (*CreatePaymentMethodParams) SetBody

SetBody adds the body to the create payment method params

func (*CreatePaymentMethodParams) SetContext

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

SetContext adds the context to the create payment method params

func (*CreatePaymentMethodParams) SetControlPluginName

func (o *CreatePaymentMethodParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the create payment method params

func (*CreatePaymentMethodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create payment method params

func (*CreatePaymentMethodParams) SetIsDefault

func (o *CreatePaymentMethodParams) SetIsDefault(isDefault *bool)

SetIsDefault adds the isDefault to the create payment method params

func (*CreatePaymentMethodParams) SetPayAllUnpaidInvoices

func (o *CreatePaymentMethodParams) SetPayAllUnpaidInvoices(payAllUnpaidInvoices *bool)

SetPayAllUnpaidInvoices adds the payAllUnpaidInvoices to the create payment method params

func (*CreatePaymentMethodParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create payment method params

func (*CreatePaymentMethodParams) SetTimeout

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

SetTimeout adds the timeout to the create payment method params

func (*CreatePaymentMethodParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create payment method params

func (*CreatePaymentMethodParams) SetXKillbillCreatedBy

func (o *CreatePaymentMethodParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment method params

func (*CreatePaymentMethodParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create payment method params

func (*CreatePaymentMethodParams) WithAccountID

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

WithAccountID adds the accountID to the create payment method params

func (*CreatePaymentMethodParams) WithBody

WithBody adds the body to the create payment method params

func (*CreatePaymentMethodParams) WithContext

WithContext adds the context to the create payment method params

func (*CreatePaymentMethodParams) WithControlPluginName

func (o *CreatePaymentMethodParams) WithControlPluginName(controlPluginName []string) *CreatePaymentMethodParams

WithControlPluginName adds the controlPluginName to the create payment method params

func (*CreatePaymentMethodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create payment method params

func (*CreatePaymentMethodParams) WithIsDefault

func (o *CreatePaymentMethodParams) WithIsDefault(isDefault *bool) *CreatePaymentMethodParams

WithIsDefault adds the isDefault to the create payment method params

func (*CreatePaymentMethodParams) WithPayAllUnpaidInvoices

func (o *CreatePaymentMethodParams) WithPayAllUnpaidInvoices(payAllUnpaidInvoices *bool) *CreatePaymentMethodParams

WithPayAllUnpaidInvoices adds the payAllUnpaidInvoices to the create payment method params

func (*CreatePaymentMethodParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create payment method params

func (*CreatePaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the create payment method params

func (*CreatePaymentMethodParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create payment method params

func (*CreatePaymentMethodParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment method params

func (*CreatePaymentMethodParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create payment method params

func (*CreatePaymentMethodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePaymentMethodReader

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

CreatePaymentMethodReader is a Reader for the CreatePaymentMethod structure.

func (*CreatePaymentMethodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAccountCustomFieldsBadRequest

type DeleteAccountCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteAccountCustomFieldsBadRequest handles this case with default header values.

Invalid account id supplied

func NewDeleteAccountCustomFieldsBadRequest

func NewDeleteAccountCustomFieldsBadRequest() *DeleteAccountCustomFieldsBadRequest

NewDeleteAccountCustomFieldsBadRequest creates a DeleteAccountCustomFieldsBadRequest with default headers values

func (*DeleteAccountCustomFieldsBadRequest) Error

type DeleteAccountCustomFieldsNoContent

type DeleteAccountCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteAccountCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewDeleteAccountCustomFieldsNoContent

func NewDeleteAccountCustomFieldsNoContent() *DeleteAccountCustomFieldsNoContent

NewDeleteAccountCustomFieldsNoContent creates a DeleteAccountCustomFieldsNoContent with default headers values

func (*DeleteAccountCustomFieldsNoContent) Error

type DeleteAccountCustomFieldsParams

type DeleteAccountCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*CustomField*/
	CustomField []strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewDeleteAccountCustomFieldsParams

func NewDeleteAccountCustomFieldsParams() *DeleteAccountCustomFieldsParams

NewDeleteAccountCustomFieldsParams creates a new DeleteAccountCustomFieldsParams object with the default values initialized.

func NewDeleteAccountCustomFieldsParamsWithContext

func NewDeleteAccountCustomFieldsParamsWithContext(ctx context.Context) *DeleteAccountCustomFieldsParams

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

func NewDeleteAccountCustomFieldsParamsWithHTTPClient

func NewDeleteAccountCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteAccountCustomFieldsParams

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

func NewDeleteAccountCustomFieldsParamsWithTimeout

func NewDeleteAccountCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteAccountCustomFieldsParams

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

func (*DeleteAccountCustomFieldsParams) SetAccountID

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

SetAccountID adds the accountId to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetContext

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

SetContext adds the context to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetCustomField

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

SetCustomField adds the customField to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeleteAccountCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithAccountID

WithAccountID adds the accountID to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithContext

WithContext adds the context to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccountCustomFieldsReader

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

DeleteAccountCustomFieldsReader is a Reader for the DeleteAccountCustomFields structure.

func (*DeleteAccountCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAccountTagsBadRequest

type DeleteAccountTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteAccountTagsBadRequest handles this case with default header values.

Invalid account id supplied or account does not have a default payment method (AUTO_PAY_OFF tag only)

func NewDeleteAccountTagsBadRequest

func NewDeleteAccountTagsBadRequest() *DeleteAccountTagsBadRequest

NewDeleteAccountTagsBadRequest creates a DeleteAccountTagsBadRequest with default headers values

func (*DeleteAccountTagsBadRequest) Error

type DeleteAccountTagsNoContent

type DeleteAccountTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteAccountTagsNoContent handles this case with default header values.

Successful operation

func NewDeleteAccountTagsNoContent

func NewDeleteAccountTagsNoContent() *DeleteAccountTagsNoContent

NewDeleteAccountTagsNoContent creates a DeleteAccountTagsNoContent with default headers values

func (*DeleteAccountTagsNoContent) Error

type DeleteAccountTagsParams

type DeleteAccountTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*TagDef*/
	TagDef []strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewDeleteAccountTagsParams

func NewDeleteAccountTagsParams() *DeleteAccountTagsParams

NewDeleteAccountTagsParams creates a new DeleteAccountTagsParams object with the default values initialized.

func NewDeleteAccountTagsParamsWithContext

func NewDeleteAccountTagsParamsWithContext(ctx context.Context) *DeleteAccountTagsParams

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

func NewDeleteAccountTagsParamsWithHTTPClient

func NewDeleteAccountTagsParamsWithHTTPClient(client *http.Client) *DeleteAccountTagsParams

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

func NewDeleteAccountTagsParamsWithTimeout

func NewDeleteAccountTagsParamsWithTimeout(timeout time.Duration) *DeleteAccountTagsParams

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

func (*DeleteAccountTagsParams) SetAccountID

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

SetAccountID adds the accountId to the delete account tags params

func (*DeleteAccountTagsParams) SetContext

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

SetContext adds the context to the delete account tags params

func (*DeleteAccountTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete account tags params

func (*DeleteAccountTagsParams) SetTagDef

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

SetTagDef adds the tagDef to the delete account tags params

func (*DeleteAccountTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete account tags params

func (*DeleteAccountTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete account tags params

func (*DeleteAccountTagsParams) SetXKillbillCreatedBy

func (o *DeleteAccountTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete account tags params

func (*DeleteAccountTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete account tags params

func (*DeleteAccountTagsParams) WithAccountID

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

WithAccountID adds the accountID to the delete account tags params

func (*DeleteAccountTagsParams) WithContext

WithContext adds the context to the delete account tags params

func (*DeleteAccountTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete account tags params

func (*DeleteAccountTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete account tags params

func (*DeleteAccountTagsParams) WithTimeout

WithTimeout adds the timeout to the delete account tags params

func (*DeleteAccountTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete account tags params

func (*DeleteAccountTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete account tags params

func (*DeleteAccountTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete account tags params

func (*DeleteAccountTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccountTagsReader

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

DeleteAccountTagsReader is a Reader for the DeleteAccountTags structure.

func (*DeleteAccountTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountAuditLogsNotFound

type GetAccountAuditLogsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAccountAuditLogsNotFound handles this case with default header values.

Account not found

func NewGetAccountAuditLogsNotFound

func NewGetAccountAuditLogsNotFound() *GetAccountAuditLogsNotFound

NewGetAccountAuditLogsNotFound creates a GetAccountAuditLogsNotFound with default headers values

func (*GetAccountAuditLogsNotFound) Error

type GetAccountAuditLogsOK

type GetAccountAuditLogsOK struct {
	Payload []*kbmodel.AuditLog

	HttpResponse runtime.ClientResponse
}

GetAccountAuditLogsOK handles this case with default header values.

successful operation

func NewGetAccountAuditLogsOK

func NewGetAccountAuditLogsOK() *GetAccountAuditLogsOK

NewGetAccountAuditLogsOK creates a GetAccountAuditLogsOK with default headers values

func (*GetAccountAuditLogsOK) Error

func (o *GetAccountAuditLogsOK) Error() string

func (*GetAccountAuditLogsOK) GetPayload

func (o *GetAccountAuditLogsOK) GetPayload() []*kbmodel.AuditLog

type GetAccountAuditLogsParams

type GetAccountAuditLogsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetAccountAuditLogsParams contains all the parameters to send to the API endpoint for the get account audit logs operation typically these are written to a http.Request

func NewGetAccountAuditLogsParams

func NewGetAccountAuditLogsParams() *GetAccountAuditLogsParams

NewGetAccountAuditLogsParams creates a new GetAccountAuditLogsParams object with the default values initialized.

func NewGetAccountAuditLogsParamsWithContext

func NewGetAccountAuditLogsParamsWithContext(ctx context.Context) *GetAccountAuditLogsParams

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

func NewGetAccountAuditLogsParamsWithHTTPClient

func NewGetAccountAuditLogsParamsWithHTTPClient(client *http.Client) *GetAccountAuditLogsParams

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

func NewGetAccountAuditLogsParamsWithTimeout

func NewGetAccountAuditLogsParamsWithTimeout(timeout time.Duration) *GetAccountAuditLogsParams

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

func (*GetAccountAuditLogsParams) SetAccountID

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

SetAccountID adds the accountId to the get account audit logs params

func (*GetAccountAuditLogsParams) SetContext

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

SetContext adds the context to the get account audit logs params

func (*GetAccountAuditLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account audit logs params

func (*GetAccountAuditLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get account audit logs params

func (*GetAccountAuditLogsParams) WithAccountID

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

WithAccountID adds the accountID to the get account audit logs params

func (*GetAccountAuditLogsParams) WithContext

WithContext adds the context to the get account audit logs params

func (*GetAccountAuditLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account audit logs params

func (*GetAccountAuditLogsParams) WithTimeout

WithTimeout adds the timeout to the get account audit logs params

func (*GetAccountAuditLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountAuditLogsReader

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

GetAccountAuditLogsReader is a Reader for the GetAccountAuditLogs structure.

func (*GetAccountAuditLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountAuditLogsWithHistoryNotFound

type GetAccountAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAccountAuditLogsWithHistoryNotFound handles this case with default header values.

Account not found

func NewGetAccountAuditLogsWithHistoryNotFound

func NewGetAccountAuditLogsWithHistoryNotFound() *GetAccountAuditLogsWithHistoryNotFound

NewGetAccountAuditLogsWithHistoryNotFound creates a GetAccountAuditLogsWithHistoryNotFound with default headers values

func (*GetAccountAuditLogsWithHistoryNotFound) Error

type GetAccountAuditLogsWithHistoryOK

type GetAccountAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog

	HttpResponse runtime.ClientResponse
}

GetAccountAuditLogsWithHistoryOK handles this case with default header values.

successful operation

func NewGetAccountAuditLogsWithHistoryOK

func NewGetAccountAuditLogsWithHistoryOK() *GetAccountAuditLogsWithHistoryOK

NewGetAccountAuditLogsWithHistoryOK creates a GetAccountAuditLogsWithHistoryOK with default headers values

func (*GetAccountAuditLogsWithHistoryOK) Error

func (*GetAccountAuditLogsWithHistoryOK) GetPayload

type GetAccountAuditLogsWithHistoryParams

type GetAccountAuditLogsWithHistoryParams struct {

	/*AccountID*/
	AccountID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetAccountAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint for the get account audit logs with history operation typically these are written to a http.Request

func NewGetAccountAuditLogsWithHistoryParams

func NewGetAccountAuditLogsWithHistoryParams() *GetAccountAuditLogsWithHistoryParams

NewGetAccountAuditLogsWithHistoryParams creates a new GetAccountAuditLogsWithHistoryParams object with the default values initialized.

func NewGetAccountAuditLogsWithHistoryParamsWithContext

func NewGetAccountAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetAccountAuditLogsWithHistoryParams

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

func NewGetAccountAuditLogsWithHistoryParamsWithHTTPClient

func NewGetAccountAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetAccountAuditLogsWithHistoryParams

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

func NewGetAccountAuditLogsWithHistoryParamsWithTimeout

func NewGetAccountAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetAccountAuditLogsWithHistoryParams

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

func (*GetAccountAuditLogsWithHistoryParams) SetAccountID

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

SetAccountID adds the accountId to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) SetContext

SetContext adds the context to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) WithAccountID

WithAccountID adds the accountID to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountAuditLogsWithHistoryReader

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

GetAccountAuditLogsWithHistoryReader is a Reader for the GetAccountAuditLogsWithHistory structure.

func (*GetAccountAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountBadRequest

type GetAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetAccountBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetAccountBadRequest

func NewGetAccountBadRequest() *GetAccountBadRequest

NewGetAccountBadRequest creates a GetAccountBadRequest with default headers values

func (*GetAccountBadRequest) Error

func (o *GetAccountBadRequest) Error() string

type GetAccountBundlesBadRequest

type GetAccountBundlesBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetAccountBundlesBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetAccountBundlesBadRequest

func NewGetAccountBundlesBadRequest() *GetAccountBundlesBadRequest

NewGetAccountBundlesBadRequest creates a GetAccountBundlesBadRequest with default headers values

func (*GetAccountBundlesBadRequest) Error

type GetAccountBundlesNotFound

type GetAccountBundlesNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAccountBundlesNotFound handles this case with default header values.

Account not found

func NewGetAccountBundlesNotFound

func NewGetAccountBundlesNotFound() *GetAccountBundlesNotFound

NewGetAccountBundlesNotFound creates a GetAccountBundlesNotFound with default headers values

func (*GetAccountBundlesNotFound) Error

func (o *GetAccountBundlesNotFound) Error() string

type GetAccountBundlesOK

type GetAccountBundlesOK struct {
	Payload []*kbmodel.Bundle

	HttpResponse runtime.ClientResponse
}

GetAccountBundlesOK handles this case with default header values.

successful operation

func NewGetAccountBundlesOK

func NewGetAccountBundlesOK() *GetAccountBundlesOK

NewGetAccountBundlesOK creates a GetAccountBundlesOK with default headers values

func (*GetAccountBundlesOK) Error

func (o *GetAccountBundlesOK) Error() string

func (*GetAccountBundlesOK) GetPayload

func (o *GetAccountBundlesOK) GetPayload() []*kbmodel.Bundle

type GetAccountBundlesParams

type GetAccountBundlesParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*BundlesFilter*/
	BundlesFilter *string
	/*ExternalKey*/
	ExternalKey *string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetAccountBundlesParams contains all the parameters to send to the API endpoint for the get account bundles operation typically these are written to a http.Request

func NewGetAccountBundlesParams

func NewGetAccountBundlesParams() *GetAccountBundlesParams

NewGetAccountBundlesParams creates a new GetAccountBundlesParams object with the default values initialized.

func NewGetAccountBundlesParamsWithContext

func NewGetAccountBundlesParamsWithContext(ctx context.Context) *GetAccountBundlesParams

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

func NewGetAccountBundlesParamsWithHTTPClient

func NewGetAccountBundlesParamsWithHTTPClient(client *http.Client) *GetAccountBundlesParams

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

func NewGetAccountBundlesParamsWithTimeout

func NewGetAccountBundlesParamsWithTimeout(timeout time.Duration) *GetAccountBundlesParams

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

func (*GetAccountBundlesParams) SetAccountID

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

SetAccountID adds the accountId to the get account bundles params

func (*GetAccountBundlesParams) SetAudit

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

SetAudit adds the audit to the get account bundles params

func (*GetAccountBundlesParams) SetBundlesFilter

func (o *GetAccountBundlesParams) SetBundlesFilter(bundlesFilter *string)

SetBundlesFilter adds the bundlesFilter to the get account bundles params

func (*GetAccountBundlesParams) SetContext

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

SetContext adds the context to the get account bundles params

func (*GetAccountBundlesParams) SetExternalKey

func (o *GetAccountBundlesParams) SetExternalKey(externalKey *string)

SetExternalKey adds the externalKey to the get account bundles params

func (*GetAccountBundlesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account bundles params

func (*GetAccountBundlesParams) SetTimeout

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

SetTimeout adds the timeout to the get account bundles params

func (*GetAccountBundlesParams) WithAccountID

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

WithAccountID adds the accountID to the get account bundles params

func (*GetAccountBundlesParams) WithAudit

WithAudit adds the audit to the get account bundles params

func (*GetAccountBundlesParams) WithBundlesFilter

func (o *GetAccountBundlesParams) WithBundlesFilter(bundlesFilter *string) *GetAccountBundlesParams

WithBundlesFilter adds the bundlesFilter to the get account bundles params

func (*GetAccountBundlesParams) WithContext

WithContext adds the context to the get account bundles params

func (*GetAccountBundlesParams) WithExternalKey

func (o *GetAccountBundlesParams) WithExternalKey(externalKey *string) *GetAccountBundlesParams

WithExternalKey adds the externalKey to the get account bundles params

func (*GetAccountBundlesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account bundles params

func (*GetAccountBundlesParams) WithTimeout

WithTimeout adds the timeout to the get account bundles params

func (*GetAccountBundlesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountBundlesReader

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

GetAccountBundlesReader is a Reader for the GetAccountBundles structure.

func (*GetAccountBundlesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountByKeyNotFound

type GetAccountByKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAccountByKeyNotFound handles this case with default header values.

Account not found

func NewGetAccountByKeyNotFound

func NewGetAccountByKeyNotFound() *GetAccountByKeyNotFound

NewGetAccountByKeyNotFound creates a GetAccountByKeyNotFound with default headers values

func (*GetAccountByKeyNotFound) Error

func (o *GetAccountByKeyNotFound) Error() string

type GetAccountByKeyOK

type GetAccountByKeyOK struct {
	Payload *kbmodel.Account

	HttpResponse runtime.ClientResponse
}

GetAccountByKeyOK handles this case with default header values.

successful operation

func NewGetAccountByKeyOK

func NewGetAccountByKeyOK() *GetAccountByKeyOK

NewGetAccountByKeyOK creates a GetAccountByKeyOK with default headers values

func (*GetAccountByKeyOK) Error

func (o *GetAccountByKeyOK) Error() string

func (*GetAccountByKeyOK) GetPayload

func (o *GetAccountByKeyOK) GetPayload() *kbmodel.Account

type GetAccountByKeyParams

type GetAccountByKeyParams struct {

	/*AccountWithBalance*/
	AccountWithBalance *bool
	/*AccountWithBalanceAndCBA*/
	AccountWithBalanceAndCBA *bool
	/*Audit*/
	Audit *string
	/*ExternalKey*/
	ExternalKey string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetAccountByKeyParams contains all the parameters to send to the API endpoint for the get account by key operation typically these are written to a http.Request

func NewGetAccountByKeyParams

func NewGetAccountByKeyParams() *GetAccountByKeyParams

NewGetAccountByKeyParams creates a new GetAccountByKeyParams object with the default values initialized.

func NewGetAccountByKeyParamsWithContext

func NewGetAccountByKeyParamsWithContext(ctx context.Context) *GetAccountByKeyParams

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

func NewGetAccountByKeyParamsWithHTTPClient

func NewGetAccountByKeyParamsWithHTTPClient(client *http.Client) *GetAccountByKeyParams

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

func NewGetAccountByKeyParamsWithTimeout

func NewGetAccountByKeyParamsWithTimeout(timeout time.Duration) *GetAccountByKeyParams

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

func (*GetAccountByKeyParams) SetAccountWithBalance

func (o *GetAccountByKeyParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the get account by key params

func (*GetAccountByKeyParams) SetAccountWithBalanceAndCBA

func (o *GetAccountByKeyParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get account by key params

func (*GetAccountByKeyParams) SetAudit

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

SetAudit adds the audit to the get account by key params

func (*GetAccountByKeyParams) SetContext

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

SetContext adds the context to the get account by key params

func (*GetAccountByKeyParams) SetExternalKey

func (o *GetAccountByKeyParams) SetExternalKey(externalKey string)

SetExternalKey adds the externalKey to the get account by key params

func (*GetAccountByKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account by key params

func (*GetAccountByKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get account by key params

func (*GetAccountByKeyParams) WithAccountWithBalance

func (o *GetAccountByKeyParams) WithAccountWithBalance(accountWithBalance *bool) *GetAccountByKeyParams

WithAccountWithBalance adds the accountWithBalance to the get account by key params

func (*GetAccountByKeyParams) WithAccountWithBalanceAndCBA

func (o *GetAccountByKeyParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *GetAccountByKeyParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get account by key params

func (*GetAccountByKeyParams) WithAudit

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

WithAudit adds the audit to the get account by key params

func (*GetAccountByKeyParams) WithContext

WithContext adds the context to the get account by key params

func (*GetAccountByKeyParams) WithExternalKey

func (o *GetAccountByKeyParams) WithExternalKey(externalKey string) *GetAccountByKeyParams

WithExternalKey adds the externalKey to the get account by key params

func (*GetAccountByKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account by key params

func (*GetAccountByKeyParams) WithTimeout

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

WithTimeout adds the timeout to the get account by key params

func (*GetAccountByKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountByKeyReader

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

GetAccountByKeyReader is a Reader for the GetAccountByKey structure.

func (*GetAccountByKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountCustomFieldsBadRequest

type GetAccountCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetAccountCustomFieldsBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetAccountCustomFieldsBadRequest

func NewGetAccountCustomFieldsBadRequest() *GetAccountCustomFieldsBadRequest

NewGetAccountCustomFieldsBadRequest creates a GetAccountCustomFieldsBadRequest with default headers values

func (*GetAccountCustomFieldsBadRequest) Error

type GetAccountCustomFieldsOK

type GetAccountCustomFieldsOK struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

GetAccountCustomFieldsOK handles this case with default header values.

successful operation

func NewGetAccountCustomFieldsOK

func NewGetAccountCustomFieldsOK() *GetAccountCustomFieldsOK

NewGetAccountCustomFieldsOK creates a GetAccountCustomFieldsOK with default headers values

func (*GetAccountCustomFieldsOK) Error

func (o *GetAccountCustomFieldsOK) Error() string

func (*GetAccountCustomFieldsOK) GetPayload

func (o *GetAccountCustomFieldsOK) GetPayload() []*kbmodel.CustomField

type GetAccountCustomFieldsParams

type GetAccountCustomFieldsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewGetAccountCustomFieldsParams

func NewGetAccountCustomFieldsParams() *GetAccountCustomFieldsParams

NewGetAccountCustomFieldsParams creates a new GetAccountCustomFieldsParams object with the default values initialized.

func NewGetAccountCustomFieldsParamsWithContext

func NewGetAccountCustomFieldsParamsWithContext(ctx context.Context) *GetAccountCustomFieldsParams

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

func NewGetAccountCustomFieldsParamsWithHTTPClient

func NewGetAccountCustomFieldsParamsWithHTTPClient(client *http.Client) *GetAccountCustomFieldsParams

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

func NewGetAccountCustomFieldsParamsWithTimeout

func NewGetAccountCustomFieldsParamsWithTimeout(timeout time.Duration) *GetAccountCustomFieldsParams

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

func (*GetAccountCustomFieldsParams) SetAccountID

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

SetAccountID adds the accountId to the get account custom fields params

func (*GetAccountCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get account custom fields params

func (*GetAccountCustomFieldsParams) SetContext

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

SetContext adds the context to the get account custom fields params

func (*GetAccountCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account custom fields params

func (*GetAccountCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithAccountID

WithAccountID adds the accountID to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithAudit

WithAudit adds the audit to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithContext

WithContext adds the context to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get account custom fields params

func (*GetAccountCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountCustomFieldsReader

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

GetAccountCustomFieldsReader is a Reader for the GetAccountCustomFields structure.

func (*GetAccountCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountEmailAuditLogsWithHistoryNotFound

type GetAccountEmailAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAccountEmailAuditLogsWithHistoryNotFound handles this case with default header values.

Account not found

func NewGetAccountEmailAuditLogsWithHistoryNotFound

func NewGetAccountEmailAuditLogsWithHistoryNotFound() *GetAccountEmailAuditLogsWithHistoryNotFound

NewGetAccountEmailAuditLogsWithHistoryNotFound creates a GetAccountEmailAuditLogsWithHistoryNotFound with default headers values

func (*GetAccountEmailAuditLogsWithHistoryNotFound) Error

type GetAccountEmailAuditLogsWithHistoryOK

type GetAccountEmailAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog

	HttpResponse runtime.ClientResponse
}

GetAccountEmailAuditLogsWithHistoryOK handles this case with default header values.

successful operation

func NewGetAccountEmailAuditLogsWithHistoryOK

func NewGetAccountEmailAuditLogsWithHistoryOK() *GetAccountEmailAuditLogsWithHistoryOK

NewGetAccountEmailAuditLogsWithHistoryOK creates a GetAccountEmailAuditLogsWithHistoryOK with default headers values

func (*GetAccountEmailAuditLogsWithHistoryOK) Error

func (*GetAccountEmailAuditLogsWithHistoryOK) GetPayload

type GetAccountEmailAuditLogsWithHistoryParams

type GetAccountEmailAuditLogsWithHistoryParams struct {

	/*AccountEmailID*/
	AccountEmailID strfmt.UUID
	/*AccountID*/
	AccountID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetAccountEmailAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint for the get account email audit logs with history operation typically these are written to a http.Request

func NewGetAccountEmailAuditLogsWithHistoryParams

func NewGetAccountEmailAuditLogsWithHistoryParams() *GetAccountEmailAuditLogsWithHistoryParams

NewGetAccountEmailAuditLogsWithHistoryParams creates a new GetAccountEmailAuditLogsWithHistoryParams object with the default values initialized.

func NewGetAccountEmailAuditLogsWithHistoryParamsWithContext

func NewGetAccountEmailAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetAccountEmailAuditLogsWithHistoryParams

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

func NewGetAccountEmailAuditLogsWithHistoryParamsWithHTTPClient

func NewGetAccountEmailAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetAccountEmailAuditLogsWithHistoryParams

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

func NewGetAccountEmailAuditLogsWithHistoryParamsWithTimeout

func NewGetAccountEmailAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetAccountEmailAuditLogsWithHistoryParams

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

func (*GetAccountEmailAuditLogsWithHistoryParams) SetAccountEmailID

func (o *GetAccountEmailAuditLogsWithHistoryParams) SetAccountEmailID(accountEmailID strfmt.UUID)

SetAccountEmailID adds the accountEmailId to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) SetAccountID

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

SetAccountID adds the accountId to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) SetContext

SetContext adds the context to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) SetTimeout

SetTimeout adds the timeout to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithAccountEmailID

WithAccountEmailID adds the accountEmailID to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithAccountID

WithAccountID adds the accountID to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountEmailAuditLogsWithHistoryReader

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

GetAccountEmailAuditLogsWithHistoryReader is a Reader for the GetAccountEmailAuditLogsWithHistory structure.

func (*GetAccountEmailAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountNotFound

type GetAccountNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAccountNotFound handles this case with default header values.

Account not found

func NewGetAccountNotFound

func NewGetAccountNotFound() *GetAccountNotFound

NewGetAccountNotFound creates a GetAccountNotFound with default headers values

func (*GetAccountNotFound) Error

func (o *GetAccountNotFound) Error() string

type GetAccountOK

type GetAccountOK struct {
	Payload *kbmodel.Account

	HttpResponse runtime.ClientResponse
}

GetAccountOK handles this case with default header values.

successful operation

func NewGetAccountOK

func NewGetAccountOK() *GetAccountOK

NewGetAccountOK creates a GetAccountOK with default headers values

func (*GetAccountOK) Error

func (o *GetAccountOK) Error() string

func (*GetAccountOK) GetPayload

func (o *GetAccountOK) GetPayload() *kbmodel.Account

type GetAccountParams

type GetAccountParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*AccountWithBalance*/
	AccountWithBalance *bool
	/*AccountWithBalanceAndCBA*/
	AccountWithBalanceAndCBA *bool
	/*Audit*/
	Audit *string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewGetAccountParams

func NewGetAccountParams() *GetAccountParams

NewGetAccountParams creates a new GetAccountParams object with the default values initialized.

func NewGetAccountParamsWithContext

func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams

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

func NewGetAccountParamsWithHTTPClient

func NewGetAccountParamsWithHTTPClient(client *http.Client) *GetAccountParams

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

func NewGetAccountParamsWithTimeout

func NewGetAccountParamsWithTimeout(timeout time.Duration) *GetAccountParams

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

func (*GetAccountParams) SetAccountID

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

SetAccountID adds the accountId to the get account params

func (*GetAccountParams) SetAccountWithBalance

func (o *GetAccountParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the get account params

func (*GetAccountParams) SetAccountWithBalanceAndCBA

func (o *GetAccountParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get account params

func (*GetAccountParams) SetAudit

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

SetAudit adds the audit to the get account params

func (*GetAccountParams) SetContext

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

SetContext adds the context to the get account params

func (*GetAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account params

func (*GetAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get account params

func (*GetAccountParams) WithAccountID

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

WithAccountID adds the accountID to the get account params

func (*GetAccountParams) WithAccountWithBalance

func (o *GetAccountParams) WithAccountWithBalance(accountWithBalance *bool) *GetAccountParams

WithAccountWithBalance adds the accountWithBalance to the get account params

func (*GetAccountParams) WithAccountWithBalanceAndCBA

func (o *GetAccountParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *GetAccountParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get account params

func (*GetAccountParams) WithAudit

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

WithAudit adds the audit to the get account params

func (*GetAccountParams) WithContext

func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams

WithContext adds the context to the get account params

func (*GetAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account params

func (*GetAccountParams) WithTimeout

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

WithTimeout adds the timeout to the get account params

func (*GetAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountReader

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

GetAccountReader is a Reader for the GetAccount structure.

func (*GetAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountTagsBadRequest

type GetAccountTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetAccountTagsBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetAccountTagsBadRequest

func NewGetAccountTagsBadRequest() *GetAccountTagsBadRequest

NewGetAccountTagsBadRequest creates a GetAccountTagsBadRequest with default headers values

func (*GetAccountTagsBadRequest) Error

func (o *GetAccountTagsBadRequest) Error() string

type GetAccountTagsNotFound

type GetAccountTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAccountTagsNotFound handles this case with default header values.

Account not found

func NewGetAccountTagsNotFound

func NewGetAccountTagsNotFound() *GetAccountTagsNotFound

NewGetAccountTagsNotFound creates a GetAccountTagsNotFound with default headers values

func (*GetAccountTagsNotFound) Error

func (o *GetAccountTagsNotFound) Error() string

type GetAccountTagsOK

type GetAccountTagsOK struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

GetAccountTagsOK handles this case with default header values.

successful operation

func NewGetAccountTagsOK

func NewGetAccountTagsOK() *GetAccountTagsOK

NewGetAccountTagsOK creates a GetAccountTagsOK with default headers values

func (*GetAccountTagsOK) Error

func (o *GetAccountTagsOK) Error() string

func (*GetAccountTagsOK) GetPayload

func (o *GetAccountTagsOK) GetPayload() []*kbmodel.Tag

type GetAccountTagsParams

type GetAccountTagsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*IncludedDeleted*/
	IncludedDeleted *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewGetAccountTagsParams

func NewGetAccountTagsParams() *GetAccountTagsParams

NewGetAccountTagsParams creates a new GetAccountTagsParams object with the default values initialized.

func NewGetAccountTagsParamsWithContext

func NewGetAccountTagsParamsWithContext(ctx context.Context) *GetAccountTagsParams

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

func NewGetAccountTagsParamsWithHTTPClient

func NewGetAccountTagsParamsWithHTTPClient(client *http.Client) *GetAccountTagsParams

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

func NewGetAccountTagsParamsWithTimeout

func NewGetAccountTagsParamsWithTimeout(timeout time.Duration) *GetAccountTagsParams

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

func (*GetAccountTagsParams) SetAccountID

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

SetAccountID adds the accountId to the get account tags params

func (*GetAccountTagsParams) SetAudit

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

SetAudit adds the audit to the get account tags params

func (*GetAccountTagsParams) SetContext

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

SetContext adds the context to the get account tags params

func (*GetAccountTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account tags params

func (*GetAccountTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get account tags params

func (*GetAccountTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get account tags params

func (*GetAccountTagsParams) WithAccountID

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

WithAccountID adds the accountID to the get account tags params

func (*GetAccountTagsParams) WithAudit

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

WithAudit adds the audit to the get account tags params

func (*GetAccountTagsParams) WithContext

WithContext adds the context to the get account tags params

func (*GetAccountTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account tags params

func (*GetAccountTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get account tags params

func (*GetAccountTagsParams) WithTimeout

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

WithTimeout adds the timeout to the get account tags params

func (*GetAccountTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountTagsReader

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

GetAccountTagsReader is a Reader for the GetAccountTags structure.

func (*GetAccountTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountTimelineBadRequest

type GetAccountTimelineBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetAccountTimelineBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetAccountTimelineBadRequest

func NewGetAccountTimelineBadRequest() *GetAccountTimelineBadRequest

NewGetAccountTimelineBadRequest creates a GetAccountTimelineBadRequest with default headers values

func (*GetAccountTimelineBadRequest) Error

type GetAccountTimelineNotFound

type GetAccountTimelineNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAccountTimelineNotFound handles this case with default header values.

Account not found

func NewGetAccountTimelineNotFound

func NewGetAccountTimelineNotFound() *GetAccountTimelineNotFound

NewGetAccountTimelineNotFound creates a GetAccountTimelineNotFound with default headers values

func (*GetAccountTimelineNotFound) Error

type GetAccountTimelineOK

type GetAccountTimelineOK struct {
	Payload *kbmodel.AccountTimeline

	HttpResponse runtime.ClientResponse
}

GetAccountTimelineOK handles this case with default header values.

successful operation

func NewGetAccountTimelineOK

func NewGetAccountTimelineOK() *GetAccountTimelineOK

NewGetAccountTimelineOK creates a GetAccountTimelineOK with default headers values

func (*GetAccountTimelineOK) Error

func (o *GetAccountTimelineOK) Error() string

func (*GetAccountTimelineOK) GetPayload

func (o *GetAccountTimelineOK) GetPayload() *kbmodel.AccountTimeline

type GetAccountTimelineParams

type GetAccountTimelineParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*Parallel*/
	Parallel *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetAccountTimelineParams contains all the parameters to send to the API endpoint for the get account timeline operation typically these are written to a http.Request

func NewGetAccountTimelineParams

func NewGetAccountTimelineParams() *GetAccountTimelineParams

NewGetAccountTimelineParams creates a new GetAccountTimelineParams object with the default values initialized.

func NewGetAccountTimelineParamsWithContext

func NewGetAccountTimelineParamsWithContext(ctx context.Context) *GetAccountTimelineParams

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

func NewGetAccountTimelineParamsWithHTTPClient

func NewGetAccountTimelineParamsWithHTTPClient(client *http.Client) *GetAccountTimelineParams

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

func NewGetAccountTimelineParamsWithTimeout

func NewGetAccountTimelineParamsWithTimeout(timeout time.Duration) *GetAccountTimelineParams

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

func (*GetAccountTimelineParams) SetAccountID

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

SetAccountID adds the accountId to the get account timeline params

func (*GetAccountTimelineParams) SetAudit

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

SetAudit adds the audit to the get account timeline params

func (*GetAccountTimelineParams) SetContext

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

SetContext adds the context to the get account timeline params

func (*GetAccountTimelineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account timeline params

func (*GetAccountTimelineParams) SetParallel

func (o *GetAccountTimelineParams) SetParallel(parallel *bool)

SetParallel adds the parallel to the get account timeline params

func (*GetAccountTimelineParams) SetTimeout

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

SetTimeout adds the timeout to the get account timeline params

func (*GetAccountTimelineParams) WithAccountID

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

WithAccountID adds the accountID to the get account timeline params

func (*GetAccountTimelineParams) WithAudit

WithAudit adds the audit to the get account timeline params

func (*GetAccountTimelineParams) WithContext

WithContext adds the context to the get account timeline params

func (*GetAccountTimelineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account timeline params

func (*GetAccountTimelineParams) WithParallel

func (o *GetAccountTimelineParams) WithParallel(parallel *bool) *GetAccountTimelineParams

WithParallel adds the parallel to the get account timeline params

func (*GetAccountTimelineParams) WithTimeout

WithTimeout adds the timeout to the get account timeline params

func (*GetAccountTimelineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountTimelineReader

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

GetAccountTimelineReader is a Reader for the GetAccountTimeline structure.

func (*GetAccountTimelineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsOK

type GetAccountsOK struct {
	Payload []*kbmodel.Account

	HttpResponse runtime.ClientResponse
}

GetAccountsOK handles this case with default header values.

successful operation

func NewGetAccountsOK

func NewGetAccountsOK() *GetAccountsOK

NewGetAccountsOK creates a GetAccountsOK with default headers values

func (*GetAccountsOK) Error

func (o *GetAccountsOK) Error() string

func (*GetAccountsOK) GetPayload

func (o *GetAccountsOK) GetPayload() []*kbmodel.Account

type GetAccountsParams

type GetAccountsParams struct {

	/*AccountWithBalance*/
	AccountWithBalance *bool
	/*AccountWithBalanceAndCBA*/
	AccountWithBalanceAndCBA *bool
	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewGetAccountsParams

func NewGetAccountsParams() *GetAccountsParams

NewGetAccountsParams creates a new GetAccountsParams object with the default values initialized.

func NewGetAccountsParamsWithContext

func NewGetAccountsParamsWithContext(ctx context.Context) *GetAccountsParams

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

func NewGetAccountsParamsWithHTTPClient

func NewGetAccountsParamsWithHTTPClient(client *http.Client) *GetAccountsParams

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

func NewGetAccountsParamsWithTimeout

func NewGetAccountsParamsWithTimeout(timeout time.Duration) *GetAccountsParams

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

func (*GetAccountsParams) SetAccountWithBalance

func (o *GetAccountsParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the get accounts params

func (*GetAccountsParams) SetAccountWithBalanceAndCBA

func (o *GetAccountsParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get accounts params

func (*GetAccountsParams) SetAudit

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

SetAudit adds the audit to the get accounts params

func (*GetAccountsParams) SetContext

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

SetContext adds the context to the get accounts params

func (*GetAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get accounts params

func (*GetAccountsParams) SetLimit

func (o *GetAccountsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get accounts params

func (*GetAccountsParams) SetOffset

func (o *GetAccountsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get accounts params

func (*GetAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get accounts params

func (*GetAccountsParams) WithAccountWithBalance

func (o *GetAccountsParams) WithAccountWithBalance(accountWithBalance *bool) *GetAccountsParams

WithAccountWithBalance adds the accountWithBalance to the get accounts params

func (*GetAccountsParams) WithAccountWithBalanceAndCBA

func (o *GetAccountsParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *GetAccountsParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get accounts params

func (*GetAccountsParams) WithAudit

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

WithAudit adds the audit to the get accounts params

func (*GetAccountsParams) WithContext

func (o *GetAccountsParams) WithContext(ctx context.Context) *GetAccountsParams

WithContext adds the context to the get accounts params

func (*GetAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get accounts params

func (*GetAccountsParams) WithLimit

func (o *GetAccountsParams) WithLimit(limit *int64) *GetAccountsParams

WithLimit adds the limit to the get accounts params

func (*GetAccountsParams) WithOffset

func (o *GetAccountsParams) WithOffset(offset *int64) *GetAccountsParams

WithOffset adds the offset to the get accounts params

func (*GetAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the get accounts params

func (*GetAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountsReader

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

GetAccountsReader is a Reader for the GetAccounts structure.

func (*GetAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllCustomFieldsBadRequest

type GetAllCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetAllCustomFieldsBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetAllCustomFieldsBadRequest

func NewGetAllCustomFieldsBadRequest() *GetAllCustomFieldsBadRequest

NewGetAllCustomFieldsBadRequest creates a GetAllCustomFieldsBadRequest with default headers values

func (*GetAllCustomFieldsBadRequest) Error

type GetAllCustomFieldsNotFound

type GetAllCustomFieldsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAllCustomFieldsNotFound handles this case with default header values.

Account not found

func NewGetAllCustomFieldsNotFound

func NewGetAllCustomFieldsNotFound() *GetAllCustomFieldsNotFound

NewGetAllCustomFieldsNotFound creates a GetAllCustomFieldsNotFound with default headers values

func (*GetAllCustomFieldsNotFound) Error

type GetAllCustomFieldsOK

type GetAllCustomFieldsOK struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

GetAllCustomFieldsOK handles this case with default header values.

successful operation

func NewGetAllCustomFieldsOK

func NewGetAllCustomFieldsOK() *GetAllCustomFieldsOK

NewGetAllCustomFieldsOK creates a GetAllCustomFieldsOK with default headers values

func (*GetAllCustomFieldsOK) Error

func (o *GetAllCustomFieldsOK) Error() string

func (*GetAllCustomFieldsOK) GetPayload

func (o *GetAllCustomFieldsOK) GetPayload() []*kbmodel.CustomField

type GetAllCustomFieldsParams

type GetAllCustomFieldsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*ObjectType*/
	ObjectType *string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewGetAllCustomFieldsParams

func NewGetAllCustomFieldsParams() *GetAllCustomFieldsParams

NewGetAllCustomFieldsParams creates a new GetAllCustomFieldsParams object with the default values initialized.

func NewGetAllCustomFieldsParamsWithContext

func NewGetAllCustomFieldsParamsWithContext(ctx context.Context) *GetAllCustomFieldsParams

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

func NewGetAllCustomFieldsParamsWithHTTPClient

func NewGetAllCustomFieldsParamsWithHTTPClient(client *http.Client) *GetAllCustomFieldsParams

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

func NewGetAllCustomFieldsParamsWithTimeout

func NewGetAllCustomFieldsParamsWithTimeout(timeout time.Duration) *GetAllCustomFieldsParams

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

func (*GetAllCustomFieldsParams) SetAccountID

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

SetAccountID adds the accountId to the get all custom fields params

func (*GetAllCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get all custom fields params

func (*GetAllCustomFieldsParams) SetContext

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

SetContext adds the context to the get all custom fields params

func (*GetAllCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all custom fields params

func (*GetAllCustomFieldsParams) SetObjectType

func (o *GetAllCustomFieldsParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get all custom fields params

func (*GetAllCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get all custom fields params

func (*GetAllCustomFieldsParams) WithAccountID

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

WithAccountID adds the accountID to the get all custom fields params

func (*GetAllCustomFieldsParams) WithAudit

WithAudit adds the audit to the get all custom fields params

func (*GetAllCustomFieldsParams) WithContext

WithContext adds the context to the get all custom fields params

func (*GetAllCustomFieldsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all custom fields params

func (*GetAllCustomFieldsParams) WithObjectType

func (o *GetAllCustomFieldsParams) WithObjectType(objectType *string) *GetAllCustomFieldsParams

WithObjectType adds the objectType to the get all custom fields params

func (*GetAllCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get all custom fields params

func (*GetAllCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllCustomFieldsReader

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

GetAllCustomFieldsReader is a Reader for the GetAllCustomFields structure.

func (*GetAllCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllTagsBadRequest

type GetAllTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetAllTagsBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetAllTagsBadRequest

func NewGetAllTagsBadRequest() *GetAllTagsBadRequest

NewGetAllTagsBadRequest creates a GetAllTagsBadRequest with default headers values

func (*GetAllTagsBadRequest) Error

func (o *GetAllTagsBadRequest) Error() string

type GetAllTagsNotFound

type GetAllTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetAllTagsNotFound handles this case with default header values.

Account not found

func NewGetAllTagsNotFound

func NewGetAllTagsNotFound() *GetAllTagsNotFound

NewGetAllTagsNotFound creates a GetAllTagsNotFound with default headers values

func (*GetAllTagsNotFound) Error

func (o *GetAllTagsNotFound) Error() string

type GetAllTagsOK

type GetAllTagsOK struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

GetAllTagsOK handles this case with default header values.

successful operation

func NewGetAllTagsOK

func NewGetAllTagsOK() *GetAllTagsOK

NewGetAllTagsOK creates a GetAllTagsOK with default headers values

func (*GetAllTagsOK) Error

func (o *GetAllTagsOK) Error() string

func (*GetAllTagsOK) GetPayload

func (o *GetAllTagsOK) GetPayload() []*kbmodel.Tag

type GetAllTagsParams

type GetAllTagsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*IncludedDeleted*/
	IncludedDeleted *bool
	/*ObjectType*/
	ObjectType *string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewGetAllTagsParams

func NewGetAllTagsParams() *GetAllTagsParams

NewGetAllTagsParams creates a new GetAllTagsParams object with the default values initialized.

func NewGetAllTagsParamsWithContext

func NewGetAllTagsParamsWithContext(ctx context.Context) *GetAllTagsParams

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

func NewGetAllTagsParamsWithHTTPClient

func NewGetAllTagsParamsWithHTTPClient(client *http.Client) *GetAllTagsParams

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

func NewGetAllTagsParamsWithTimeout

func NewGetAllTagsParamsWithTimeout(timeout time.Duration) *GetAllTagsParams

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

func (*GetAllTagsParams) SetAccountID

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

SetAccountID adds the accountId to the get all tags params

func (*GetAllTagsParams) SetAudit

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

SetAudit adds the audit to the get all tags params

func (*GetAllTagsParams) SetContext

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

SetContext adds the context to the get all tags params

func (*GetAllTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all tags params

func (*GetAllTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get all tags params

func (*GetAllTagsParams) SetObjectType

func (o *GetAllTagsParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get all tags params

func (*GetAllTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get all tags params

func (*GetAllTagsParams) WithAccountID

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

WithAccountID adds the accountID to the get all tags params

func (*GetAllTagsParams) WithAudit

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

WithAudit adds the audit to the get all tags params

func (*GetAllTagsParams) WithContext

func (o *GetAllTagsParams) WithContext(ctx context.Context) *GetAllTagsParams

WithContext adds the context to the get all tags params

func (*GetAllTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all tags params

func (*GetAllTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get all tags params

func (*GetAllTagsParams) WithObjectType

func (o *GetAllTagsParams) WithObjectType(objectType *string) *GetAllTagsParams

WithObjectType adds the objectType to the get all tags params

func (*GetAllTagsParams) WithTimeout

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

WithTimeout adds the timeout to the get all tags params

func (*GetAllTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAllTagsReader

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

GetAllTagsReader is a Reader for the GetAllTags structure.

func (*GetAllTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlockingStateAuditLogsWithHistoryNotFound

type GetBlockingStateAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetBlockingStateAuditLogsWithHistoryNotFound handles this case with default header values.

Blocking state not found

func NewGetBlockingStateAuditLogsWithHistoryNotFound

func NewGetBlockingStateAuditLogsWithHistoryNotFound() *GetBlockingStateAuditLogsWithHistoryNotFound

NewGetBlockingStateAuditLogsWithHistoryNotFound creates a GetBlockingStateAuditLogsWithHistoryNotFound with default headers values

func (*GetBlockingStateAuditLogsWithHistoryNotFound) Error

type GetBlockingStateAuditLogsWithHistoryOK

type GetBlockingStateAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog

	HttpResponse runtime.ClientResponse
}

GetBlockingStateAuditLogsWithHistoryOK handles this case with default header values.

successful operation

func NewGetBlockingStateAuditLogsWithHistoryOK

func NewGetBlockingStateAuditLogsWithHistoryOK() *GetBlockingStateAuditLogsWithHistoryOK

NewGetBlockingStateAuditLogsWithHistoryOK creates a GetBlockingStateAuditLogsWithHistoryOK with default headers values

func (*GetBlockingStateAuditLogsWithHistoryOK) Error

func (*GetBlockingStateAuditLogsWithHistoryOK) GetPayload

type GetBlockingStateAuditLogsWithHistoryParams

type GetBlockingStateAuditLogsWithHistoryParams struct {

	/*BlockingID*/
	BlockingID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetBlockingStateAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint for the get blocking state audit logs with history operation typically these are written to a http.Request

func NewGetBlockingStateAuditLogsWithHistoryParams

func NewGetBlockingStateAuditLogsWithHistoryParams() *GetBlockingStateAuditLogsWithHistoryParams

NewGetBlockingStateAuditLogsWithHistoryParams creates a new GetBlockingStateAuditLogsWithHistoryParams object with the default values initialized.

func NewGetBlockingStateAuditLogsWithHistoryParamsWithContext

func NewGetBlockingStateAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetBlockingStateAuditLogsWithHistoryParams

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

func NewGetBlockingStateAuditLogsWithHistoryParamsWithHTTPClient

func NewGetBlockingStateAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetBlockingStateAuditLogsWithHistoryParams

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

func NewGetBlockingStateAuditLogsWithHistoryParamsWithTimeout

func NewGetBlockingStateAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetBlockingStateAuditLogsWithHistoryParams

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

func (*GetBlockingStateAuditLogsWithHistoryParams) SetBlockingID

func (o *GetBlockingStateAuditLogsWithHistoryParams) SetBlockingID(blockingID strfmt.UUID)

SetBlockingID adds the blockingId to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) SetContext

SetContext adds the context to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) SetTimeout

SetTimeout adds the timeout to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WithBlockingID

WithBlockingID adds the blockingID to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBlockingStateAuditLogsWithHistoryReader

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

GetBlockingStateAuditLogsWithHistoryReader is a Reader for the GetBlockingStateAuditLogsWithHistory structure.

func (*GetBlockingStateAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlockingStatesBadRequest

type GetBlockingStatesBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetBlockingStatesBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetBlockingStatesBadRequest

func NewGetBlockingStatesBadRequest() *GetBlockingStatesBadRequest

NewGetBlockingStatesBadRequest creates a GetBlockingStatesBadRequest with default headers values

func (*GetBlockingStatesBadRequest) Error

type GetBlockingStatesOK

type GetBlockingStatesOK struct {
	Payload []*kbmodel.BlockingState

	HttpResponse runtime.ClientResponse
}

GetBlockingStatesOK handles this case with default header values.

successful operation

func NewGetBlockingStatesOK

func NewGetBlockingStatesOK() *GetBlockingStatesOK

NewGetBlockingStatesOK creates a GetBlockingStatesOK with default headers values

func (*GetBlockingStatesOK) Error

func (o *GetBlockingStatesOK) Error() string

func (*GetBlockingStatesOK) GetPayload

func (o *GetBlockingStatesOK) GetPayload() []*kbmodel.BlockingState

type GetBlockingStatesParams

type GetBlockingStatesParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*BlockingStateSvcs*/
	BlockingStateSvcs []string
	/*BlockingStateTypes*/
	BlockingStateTypes []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetBlockingStatesParams contains all the parameters to send to the API endpoint for the get blocking states operation typically these are written to a http.Request

func NewGetBlockingStatesParams

func NewGetBlockingStatesParams() *GetBlockingStatesParams

NewGetBlockingStatesParams creates a new GetBlockingStatesParams object with the default values initialized.

func NewGetBlockingStatesParamsWithContext

func NewGetBlockingStatesParamsWithContext(ctx context.Context) *GetBlockingStatesParams

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

func NewGetBlockingStatesParamsWithHTTPClient

func NewGetBlockingStatesParamsWithHTTPClient(client *http.Client) *GetBlockingStatesParams

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

func NewGetBlockingStatesParamsWithTimeout

func NewGetBlockingStatesParamsWithTimeout(timeout time.Duration) *GetBlockingStatesParams

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

func (*GetBlockingStatesParams) SetAccountID

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

SetAccountID adds the accountId to the get blocking states params

func (*GetBlockingStatesParams) SetAudit

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

SetAudit adds the audit to the get blocking states params

func (*GetBlockingStatesParams) SetBlockingStateSvcs

func (o *GetBlockingStatesParams) SetBlockingStateSvcs(blockingStateSvcs []string)

SetBlockingStateSvcs adds the blockingStateSvcs to the get blocking states params

func (*GetBlockingStatesParams) SetBlockingStateTypes

func (o *GetBlockingStatesParams) SetBlockingStateTypes(blockingStateTypes []string)

SetBlockingStateTypes adds the blockingStateTypes to the get blocking states params

func (*GetBlockingStatesParams) SetContext

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

SetContext adds the context to the get blocking states params

func (*GetBlockingStatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get blocking states params

func (*GetBlockingStatesParams) SetTimeout

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

SetTimeout adds the timeout to the get blocking states params

func (*GetBlockingStatesParams) WithAccountID

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

WithAccountID adds the accountID to the get blocking states params

func (*GetBlockingStatesParams) WithAudit

WithAudit adds the audit to the get blocking states params

func (*GetBlockingStatesParams) WithBlockingStateSvcs

func (o *GetBlockingStatesParams) WithBlockingStateSvcs(blockingStateSvcs []string) *GetBlockingStatesParams

WithBlockingStateSvcs adds the blockingStateSvcs to the get blocking states params

func (*GetBlockingStatesParams) WithBlockingStateTypes

func (o *GetBlockingStatesParams) WithBlockingStateTypes(blockingStateTypes []string) *GetBlockingStatesParams

WithBlockingStateTypes adds the blockingStateTypes to the get blocking states params

func (*GetBlockingStatesParams) WithContext

WithContext adds the context to the get blocking states params

func (*GetBlockingStatesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get blocking states params

func (*GetBlockingStatesParams) WithTimeout

WithTimeout adds the timeout to the get blocking states params

func (*GetBlockingStatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBlockingStatesReader

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

GetBlockingStatesReader is a Reader for the GetBlockingStates structure.

func (*GetBlockingStatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetChildrenAccountsBadRequest

type GetChildrenAccountsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetChildrenAccountsBadRequest handles this case with default header values.

Invalid parent account id supplied

func NewGetChildrenAccountsBadRequest

func NewGetChildrenAccountsBadRequest() *GetChildrenAccountsBadRequest

NewGetChildrenAccountsBadRequest creates a GetChildrenAccountsBadRequest with default headers values

func (*GetChildrenAccountsBadRequest) Error

type GetChildrenAccountsNotFound

type GetChildrenAccountsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetChildrenAccountsNotFound handles this case with default header values.

Parent Account not found

func NewGetChildrenAccountsNotFound

func NewGetChildrenAccountsNotFound() *GetChildrenAccountsNotFound

NewGetChildrenAccountsNotFound creates a GetChildrenAccountsNotFound with default headers values

func (*GetChildrenAccountsNotFound) Error

type GetChildrenAccountsOK

type GetChildrenAccountsOK struct {
	Payload []*kbmodel.Account

	HttpResponse runtime.ClientResponse
}

GetChildrenAccountsOK handles this case with default header values.

successful operation

func NewGetChildrenAccountsOK

func NewGetChildrenAccountsOK() *GetChildrenAccountsOK

NewGetChildrenAccountsOK creates a GetChildrenAccountsOK with default headers values

func (*GetChildrenAccountsOK) Error

func (o *GetChildrenAccountsOK) Error() string

func (*GetChildrenAccountsOK) GetPayload

func (o *GetChildrenAccountsOK) GetPayload() []*kbmodel.Account

type GetChildrenAccountsParams

type GetChildrenAccountsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*AccountWithBalance*/
	AccountWithBalance *bool
	/*AccountWithBalanceAndCBA*/
	AccountWithBalanceAndCBA *bool
	/*Audit*/
	Audit *string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetChildrenAccountsParams contains all the parameters to send to the API endpoint for the get children accounts operation typically these are written to a http.Request

func NewGetChildrenAccountsParams

func NewGetChildrenAccountsParams() *GetChildrenAccountsParams

NewGetChildrenAccountsParams creates a new GetChildrenAccountsParams object with the default values initialized.

func NewGetChildrenAccountsParamsWithContext

func NewGetChildrenAccountsParamsWithContext(ctx context.Context) *GetChildrenAccountsParams

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

func NewGetChildrenAccountsParamsWithHTTPClient

func NewGetChildrenAccountsParamsWithHTTPClient(client *http.Client) *GetChildrenAccountsParams

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

func NewGetChildrenAccountsParamsWithTimeout

func NewGetChildrenAccountsParamsWithTimeout(timeout time.Duration) *GetChildrenAccountsParams

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

func (*GetChildrenAccountsParams) SetAccountID

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

SetAccountID adds the accountId to the get children accounts params

func (*GetChildrenAccountsParams) SetAccountWithBalance

func (o *GetChildrenAccountsParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the get children accounts params

func (*GetChildrenAccountsParams) SetAccountWithBalanceAndCBA

func (o *GetChildrenAccountsParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get children accounts params

func (*GetChildrenAccountsParams) SetAudit

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

SetAudit adds the audit to the get children accounts params

func (*GetChildrenAccountsParams) SetContext

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

SetContext adds the context to the get children accounts params

func (*GetChildrenAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get children accounts params

func (*GetChildrenAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get children accounts params

func (*GetChildrenAccountsParams) WithAccountID

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

WithAccountID adds the accountID to the get children accounts params

func (*GetChildrenAccountsParams) WithAccountWithBalance

func (o *GetChildrenAccountsParams) WithAccountWithBalance(accountWithBalance *bool) *GetChildrenAccountsParams

WithAccountWithBalance adds the accountWithBalance to the get children accounts params

func (*GetChildrenAccountsParams) WithAccountWithBalanceAndCBA

func (o *GetChildrenAccountsParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *GetChildrenAccountsParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get children accounts params

func (*GetChildrenAccountsParams) WithAudit

WithAudit adds the audit to the get children accounts params

func (*GetChildrenAccountsParams) WithContext

WithContext adds the context to the get children accounts params

func (*GetChildrenAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get children accounts params

func (*GetChildrenAccountsParams) WithTimeout

WithTimeout adds the timeout to the get children accounts params

func (*GetChildrenAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetChildrenAccountsReader

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

GetChildrenAccountsReader is a Reader for the GetChildrenAccounts structure.

func (*GetChildrenAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEmailsBadRequest

type GetEmailsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetEmailsBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetEmailsBadRequest

func NewGetEmailsBadRequest() *GetEmailsBadRequest

NewGetEmailsBadRequest creates a GetEmailsBadRequest with default headers values

func (*GetEmailsBadRequest) Error

func (o *GetEmailsBadRequest) Error() string

type GetEmailsOK

type GetEmailsOK struct {
	Payload []*kbmodel.AccountEmail

	HttpResponse runtime.ClientResponse
}

GetEmailsOK handles this case with default header values.

successful operation

func NewGetEmailsOK

func NewGetEmailsOK() *GetEmailsOK

NewGetEmailsOK creates a GetEmailsOK with default headers values

func (*GetEmailsOK) Error

func (o *GetEmailsOK) Error() string

func (*GetEmailsOK) GetPayload

func (o *GetEmailsOK) GetPayload() []*kbmodel.AccountEmail

type GetEmailsParams

type GetEmailsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewGetEmailsParams

func NewGetEmailsParams() *GetEmailsParams

NewGetEmailsParams creates a new GetEmailsParams object with the default values initialized.

func NewGetEmailsParamsWithContext

func NewGetEmailsParamsWithContext(ctx context.Context) *GetEmailsParams

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

func NewGetEmailsParamsWithHTTPClient

func NewGetEmailsParamsWithHTTPClient(client *http.Client) *GetEmailsParams

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

func NewGetEmailsParamsWithTimeout

func NewGetEmailsParamsWithTimeout(timeout time.Duration) *GetEmailsParams

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

func (*GetEmailsParams) SetAccountID

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

SetAccountID adds the accountId to the get emails params

func (*GetEmailsParams) SetContext

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

SetContext adds the context to the get emails params

func (*GetEmailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get emails params

func (*GetEmailsParams) SetTimeout

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

SetTimeout adds the timeout to the get emails params

func (*GetEmailsParams) WithAccountID

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

WithAccountID adds the accountID to the get emails params

func (*GetEmailsParams) WithContext

func (o *GetEmailsParams) WithContext(ctx context.Context) *GetEmailsParams

WithContext adds the context to the get emails params

func (*GetEmailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get emails params

func (*GetEmailsParams) WithTimeout

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

WithTimeout adds the timeout to the get emails params

func (*GetEmailsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetEmailsReader

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

GetEmailsReader is a Reader for the GetEmails structure.

func (*GetEmailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicePaymentsBadRequest

type GetInvoicePaymentsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicePaymentsBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetInvoicePaymentsBadRequest

func NewGetInvoicePaymentsBadRequest() *GetInvoicePaymentsBadRequest

NewGetInvoicePaymentsBadRequest creates a GetInvoicePaymentsBadRequest with default headers values

func (*GetInvoicePaymentsBadRequest) Error

type GetInvoicePaymentsNotFound

type GetInvoicePaymentsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicePaymentsNotFound handles this case with default header values.

Account not found

func NewGetInvoicePaymentsNotFound

func NewGetInvoicePaymentsNotFound() *GetInvoicePaymentsNotFound

NewGetInvoicePaymentsNotFound creates a GetInvoicePaymentsNotFound with default headers values

func (*GetInvoicePaymentsNotFound) Error

type GetInvoicePaymentsOK

type GetInvoicePaymentsOK struct {
	Payload []*kbmodel.InvoicePayment

	HttpResponse runtime.ClientResponse
}

GetInvoicePaymentsOK handles this case with default header values.

successful operation

func NewGetInvoicePaymentsOK

func NewGetInvoicePaymentsOK() *GetInvoicePaymentsOK

NewGetInvoicePaymentsOK creates a GetInvoicePaymentsOK with default headers values

func (*GetInvoicePaymentsOK) Error

func (o *GetInvoicePaymentsOK) Error() string

func (*GetInvoicePaymentsOK) GetPayload

func (o *GetInvoicePaymentsOK) GetPayload() []*kbmodel.InvoicePayment

type GetInvoicePaymentsParams

type GetInvoicePaymentsParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*PluginProperty*/
	PluginProperty []string
	/*WithAttempts*/
	WithAttempts *bool
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetInvoicePaymentsParams contains all the parameters to send to the API endpoint for the get invoice payments operation typically these are written to a http.Request

func NewGetInvoicePaymentsParams

func NewGetInvoicePaymentsParams() *GetInvoicePaymentsParams

NewGetInvoicePaymentsParams creates a new GetInvoicePaymentsParams object with the default values initialized.

func NewGetInvoicePaymentsParamsWithContext

func NewGetInvoicePaymentsParamsWithContext(ctx context.Context) *GetInvoicePaymentsParams

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

func NewGetInvoicePaymentsParamsWithHTTPClient

func NewGetInvoicePaymentsParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentsParams

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

func NewGetInvoicePaymentsParamsWithTimeout

func NewGetInvoicePaymentsParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentsParams

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

func (*GetInvoicePaymentsParams) SetAccountID

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

SetAccountID adds the accountId to the get invoice payments params

func (*GetInvoicePaymentsParams) SetAudit

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

SetAudit adds the audit to the get invoice payments params

func (*GetInvoicePaymentsParams) SetContext

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

SetContext adds the context to the get invoice payments params

func (*GetInvoicePaymentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice payments params

func (*GetInvoicePaymentsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get invoice payments params

func (*GetInvoicePaymentsParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice payments params

func (*GetInvoicePaymentsParams) SetWithAttempts

func (o *GetInvoicePaymentsParams) SetWithAttempts(withAttempts *bool)

SetWithAttempts adds the withAttempts to the get invoice payments params

func (*GetInvoicePaymentsParams) SetWithPluginInfo

func (o *GetInvoicePaymentsParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get invoice payments params

func (*GetInvoicePaymentsParams) WithAccountID

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

WithAccountID adds the accountID to the get invoice payments params

func (*GetInvoicePaymentsParams) WithAudit

WithAudit adds the audit to the get invoice payments params

func (*GetInvoicePaymentsParams) WithContext

WithContext adds the context to the get invoice payments params

func (*GetInvoicePaymentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice payments params

func (*GetInvoicePaymentsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get invoice payments params

func (*GetInvoicePaymentsParams) WithTimeout

WithTimeout adds the timeout to the get invoice payments params

func (*GetInvoicePaymentsParams) WithWithAttempts

func (o *GetInvoicePaymentsParams) WithWithAttempts(withAttempts *bool) *GetInvoicePaymentsParams

WithWithAttempts adds the withAttempts to the get invoice payments params

func (*GetInvoicePaymentsParams) WithWithPluginInfo

func (o *GetInvoicePaymentsParams) WithWithPluginInfo(withPluginInfo *bool) *GetInvoicePaymentsParams

WithWithPluginInfo adds the withPluginInfo to the get invoice payments params

func (*GetInvoicePaymentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicePaymentsReader

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

GetInvoicePaymentsReader is a Reader for the GetInvoicePayments structure.

func (*GetInvoicePaymentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicesForAccountBadRequest

type GetInvoicesForAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetInvoicesForAccountBadRequest

func NewGetInvoicesForAccountBadRequest() *GetInvoicesForAccountBadRequest

NewGetInvoicesForAccountBadRequest creates a GetInvoicesForAccountBadRequest with default headers values

func (*GetInvoicesForAccountBadRequest) Error

type GetInvoicesForAccountNotFound

type GetInvoicesForAccountNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountNotFound handles this case with default header values.

Account not found

func NewGetInvoicesForAccountNotFound

func NewGetInvoicesForAccountNotFound() *GetInvoicesForAccountNotFound

NewGetInvoicesForAccountNotFound creates a GetInvoicesForAccountNotFound with default headers values

func (*GetInvoicesForAccountNotFound) Error

type GetInvoicesForAccountOK

type GetInvoicesForAccountOK struct {
	Payload []*kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountOK handles this case with default header values.

successful operation

func NewGetInvoicesForAccountOK

func NewGetInvoicesForAccountOK() *GetInvoicesForAccountOK

NewGetInvoicesForAccountOK creates a GetInvoicesForAccountOK with default headers values

func (*GetInvoicesForAccountOK) Error

func (o *GetInvoicesForAccountOK) Error() string

func (*GetInvoicesForAccountOK) GetPayload

func (o *GetInvoicesForAccountOK) GetPayload() []*kbmodel.Invoice

type GetInvoicesForAccountParams

type GetInvoicesForAccountParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*EndDate*/
	EndDate *strfmt.Date
	/*IncludeVoidedInvoices*/
	IncludeVoidedInvoices *bool
	/*InvoicesFilter*/
	InvoicesFilter *string
	/*StartDate*/
	StartDate *strfmt.Date
	/*UnpaidInvoicesOnly*/
	UnpaidInvoicesOnly *bool
	/*WithMigrationInvoices*/
	WithMigrationInvoices *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetInvoicesForAccountParams contains all the parameters to send to the API endpoint for the get invoices for account operation typically these are written to a http.Request

func NewGetInvoicesForAccountParams

func NewGetInvoicesForAccountParams() *GetInvoicesForAccountParams

NewGetInvoicesForAccountParams creates a new GetInvoicesForAccountParams object with the default values initialized.

func NewGetInvoicesForAccountParamsWithContext

func NewGetInvoicesForAccountParamsWithContext(ctx context.Context) *GetInvoicesForAccountParams

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

func NewGetInvoicesForAccountParamsWithHTTPClient

func NewGetInvoicesForAccountParamsWithHTTPClient(client *http.Client) *GetInvoicesForAccountParams

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

func NewGetInvoicesForAccountParamsWithTimeout

func NewGetInvoicesForAccountParamsWithTimeout(timeout time.Duration) *GetInvoicesForAccountParams

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

func (*GetInvoicesForAccountParams) SetAccountID

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

SetAccountID adds the accountId to the get invoices for account params

func (*GetInvoicesForAccountParams) SetAudit

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

SetAudit adds the audit to the get invoices for account params

func (*GetInvoicesForAccountParams) SetContext

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

SetContext adds the context to the get invoices for account params

func (*GetInvoicesForAccountParams) SetEndDate

func (o *GetInvoicesForAccountParams) SetEndDate(endDate *strfmt.Date)

SetEndDate adds the endDate to the get invoices for account params

func (*GetInvoicesForAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoices for account params

func (*GetInvoicesForAccountParams) SetIncludeVoidedInvoices

func (o *GetInvoicesForAccountParams) SetIncludeVoidedInvoices(includeVoidedInvoices *bool)

SetIncludeVoidedInvoices adds the includeVoidedInvoices to the get invoices for account params

func (*GetInvoicesForAccountParams) SetInvoicesFilter

func (o *GetInvoicesForAccountParams) SetInvoicesFilter(invoicesFilter *string)

SetInvoicesFilter adds the invoicesFilter to the get invoices for account params

func (*GetInvoicesForAccountParams) SetStartDate

func (o *GetInvoicesForAccountParams) SetStartDate(startDate *strfmt.Date)

SetStartDate adds the startDate to the get invoices for account params

func (*GetInvoicesForAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get invoices for account params

func (*GetInvoicesForAccountParams) SetUnpaidInvoicesOnly

func (o *GetInvoicesForAccountParams) SetUnpaidInvoicesOnly(unpaidInvoicesOnly *bool)

SetUnpaidInvoicesOnly adds the unpaidInvoicesOnly to the get invoices for account params

func (*GetInvoicesForAccountParams) SetWithMigrationInvoices

func (o *GetInvoicesForAccountParams) SetWithMigrationInvoices(withMigrationInvoices *bool)

SetWithMigrationInvoices adds the withMigrationInvoices to the get invoices for account params

func (*GetInvoicesForAccountParams) WithAccountID

WithAccountID adds the accountID to the get invoices for account params

func (*GetInvoicesForAccountParams) WithAudit

WithAudit adds the audit to the get invoices for account params

func (*GetInvoicesForAccountParams) WithContext

WithContext adds the context to the get invoices for account params

func (*GetInvoicesForAccountParams) WithEndDate

WithEndDate adds the endDate to the get invoices for account params

func (*GetInvoicesForAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoices for account params

func (*GetInvoicesForAccountParams) WithIncludeVoidedInvoices

func (o *GetInvoicesForAccountParams) WithIncludeVoidedInvoices(includeVoidedInvoices *bool) *GetInvoicesForAccountParams

WithIncludeVoidedInvoices adds the includeVoidedInvoices to the get invoices for account params

func (*GetInvoicesForAccountParams) WithInvoicesFilter

func (o *GetInvoicesForAccountParams) WithInvoicesFilter(invoicesFilter *string) *GetInvoicesForAccountParams

WithInvoicesFilter adds the invoicesFilter to the get invoices for account params

func (*GetInvoicesForAccountParams) WithStartDate

WithStartDate adds the startDate to the get invoices for account params

func (*GetInvoicesForAccountParams) WithTimeout

WithTimeout adds the timeout to the get invoices for account params

func (*GetInvoicesForAccountParams) WithUnpaidInvoicesOnly

func (o *GetInvoicesForAccountParams) WithUnpaidInvoicesOnly(unpaidInvoicesOnly *bool) *GetInvoicesForAccountParams

WithUnpaidInvoicesOnly adds the unpaidInvoicesOnly to the get invoices for account params

func (*GetInvoicesForAccountParams) WithWithMigrationInvoices

func (o *GetInvoicesForAccountParams) WithWithMigrationInvoices(withMigrationInvoices *bool) *GetInvoicesForAccountParams

WithWithMigrationInvoices adds the withMigrationInvoices to the get invoices for account params

func (*GetInvoicesForAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicesForAccountReader

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

GetInvoicesForAccountReader is a Reader for the GetInvoicesForAccount structure.

func (*GetInvoicesForAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOverdueAccountBadRequest

type GetOverdueAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetOverdueAccountBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetOverdueAccountBadRequest

func NewGetOverdueAccountBadRequest() *GetOverdueAccountBadRequest

NewGetOverdueAccountBadRequest creates a GetOverdueAccountBadRequest with default headers values

func (*GetOverdueAccountBadRequest) Error

type GetOverdueAccountNotFound

type GetOverdueAccountNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetOverdueAccountNotFound handles this case with default header values.

Account not found

func NewGetOverdueAccountNotFound

func NewGetOverdueAccountNotFound() *GetOverdueAccountNotFound

NewGetOverdueAccountNotFound creates a GetOverdueAccountNotFound with default headers values

func (*GetOverdueAccountNotFound) Error

func (o *GetOverdueAccountNotFound) Error() string

type GetOverdueAccountOK

type GetOverdueAccountOK struct {
	Payload *kbmodel.OverdueState

	HttpResponse runtime.ClientResponse
}

GetOverdueAccountOK handles this case with default header values.

successful operation

func NewGetOverdueAccountOK

func NewGetOverdueAccountOK() *GetOverdueAccountOK

NewGetOverdueAccountOK creates a GetOverdueAccountOK with default headers values

func (*GetOverdueAccountOK) Error

func (o *GetOverdueAccountOK) Error() string

func (*GetOverdueAccountOK) GetPayload

func (o *GetOverdueAccountOK) GetPayload() *kbmodel.OverdueState

type GetOverdueAccountParams

type GetOverdueAccountParams struct {

	/*AccountID*/
	AccountID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetOverdueAccountParams contains all the parameters to send to the API endpoint for the get overdue account operation typically these are written to a http.Request

func NewGetOverdueAccountParams

func NewGetOverdueAccountParams() *GetOverdueAccountParams

NewGetOverdueAccountParams creates a new GetOverdueAccountParams object with the default values initialized.

func NewGetOverdueAccountParamsWithContext

func NewGetOverdueAccountParamsWithContext(ctx context.Context) *GetOverdueAccountParams

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

func NewGetOverdueAccountParamsWithHTTPClient

func NewGetOverdueAccountParamsWithHTTPClient(client *http.Client) *GetOverdueAccountParams

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

func NewGetOverdueAccountParamsWithTimeout

func NewGetOverdueAccountParamsWithTimeout(timeout time.Duration) *GetOverdueAccountParams

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

func (*GetOverdueAccountParams) SetAccountID

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

SetAccountID adds the accountId to the get overdue account params

func (*GetOverdueAccountParams) SetContext

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

SetContext adds the context to the get overdue account params

func (*GetOverdueAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get overdue account params

func (*GetOverdueAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get overdue account params

func (*GetOverdueAccountParams) WithAccountID

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

WithAccountID adds the accountID to the get overdue account params

func (*GetOverdueAccountParams) WithContext

WithContext adds the context to the get overdue account params

func (*GetOverdueAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get overdue account params

func (*GetOverdueAccountParams) WithTimeout

WithTimeout adds the timeout to the get overdue account params

func (*GetOverdueAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOverdueAccountReader

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

GetOverdueAccountReader is a Reader for the GetOverdueAccount structure.

func (*GetOverdueAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentMethodsForAccountBadRequest

type GetPaymentMethodsForAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodsForAccountBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetPaymentMethodsForAccountBadRequest

func NewGetPaymentMethodsForAccountBadRequest() *GetPaymentMethodsForAccountBadRequest

NewGetPaymentMethodsForAccountBadRequest creates a GetPaymentMethodsForAccountBadRequest with default headers values

func (*GetPaymentMethodsForAccountBadRequest) Error

type GetPaymentMethodsForAccountNotFound

type GetPaymentMethodsForAccountNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodsForAccountNotFound handles this case with default header values.

Account not found

func NewGetPaymentMethodsForAccountNotFound

func NewGetPaymentMethodsForAccountNotFound() *GetPaymentMethodsForAccountNotFound

NewGetPaymentMethodsForAccountNotFound creates a GetPaymentMethodsForAccountNotFound with default headers values

func (*GetPaymentMethodsForAccountNotFound) Error

type GetPaymentMethodsForAccountOK

type GetPaymentMethodsForAccountOK struct {
	Payload []*kbmodel.PaymentMethod

	HttpResponse runtime.ClientResponse
}

GetPaymentMethodsForAccountOK handles this case with default header values.

successful operation

func NewGetPaymentMethodsForAccountOK

func NewGetPaymentMethodsForAccountOK() *GetPaymentMethodsForAccountOK

NewGetPaymentMethodsForAccountOK creates a GetPaymentMethodsForAccountOK with default headers values

func (*GetPaymentMethodsForAccountOK) Error

func (*GetPaymentMethodsForAccountOK) GetPayload

type GetPaymentMethodsForAccountParams

type GetPaymentMethodsForAccountParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*IncludedDeleted*/
	IncludedDeleted *bool
	/*PluginProperty*/
	PluginProperty []string
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetPaymentMethodsForAccountParams contains all the parameters to send to the API endpoint for the get payment methods for account operation typically these are written to a http.Request

func NewGetPaymentMethodsForAccountParams

func NewGetPaymentMethodsForAccountParams() *GetPaymentMethodsForAccountParams

NewGetPaymentMethodsForAccountParams creates a new GetPaymentMethodsForAccountParams object with the default values initialized.

func NewGetPaymentMethodsForAccountParamsWithContext

func NewGetPaymentMethodsForAccountParamsWithContext(ctx context.Context) *GetPaymentMethodsForAccountParams

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

func NewGetPaymentMethodsForAccountParamsWithHTTPClient

func NewGetPaymentMethodsForAccountParamsWithHTTPClient(client *http.Client) *GetPaymentMethodsForAccountParams

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

func NewGetPaymentMethodsForAccountParamsWithTimeout

func NewGetPaymentMethodsForAccountParamsWithTimeout(timeout time.Duration) *GetPaymentMethodsForAccountParams

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

func (*GetPaymentMethodsForAccountParams) SetAccountID

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

SetAccountID adds the accountId to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetAudit

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

SetAudit adds the audit to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetContext

SetContext adds the context to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetWithPluginInfo

func (o *GetPaymentMethodsForAccountParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithAccountID

WithAccountID adds the accountID to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithAudit

WithAudit adds the audit to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithContext

WithContext adds the context to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithTimeout

WithTimeout adds the timeout to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithWithPluginInfo

func (o *GetPaymentMethodsForAccountParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentMethodsForAccountParams

WithWithPluginInfo adds the withPluginInfo to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodsForAccountReader

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

GetPaymentMethodsForAccountReader is a Reader for the GetPaymentMethodsForAccount structure.

func (*GetPaymentMethodsForAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentsForAccountBadRequest

type GetPaymentsForAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentsForAccountBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetPaymentsForAccountBadRequest

func NewGetPaymentsForAccountBadRequest() *GetPaymentsForAccountBadRequest

NewGetPaymentsForAccountBadRequest creates a GetPaymentsForAccountBadRequest with default headers values

func (*GetPaymentsForAccountBadRequest) Error

type GetPaymentsForAccountOK

type GetPaymentsForAccountOK struct {
	Payload []*kbmodel.Payment

	HttpResponse runtime.ClientResponse
}

GetPaymentsForAccountOK handles this case with default header values.

successful operation

func NewGetPaymentsForAccountOK

func NewGetPaymentsForAccountOK() *GetPaymentsForAccountOK

NewGetPaymentsForAccountOK creates a GetPaymentsForAccountOK with default headers values

func (*GetPaymentsForAccountOK) Error

func (o *GetPaymentsForAccountOK) Error() string

func (*GetPaymentsForAccountOK) GetPayload

func (o *GetPaymentsForAccountOK) GetPayload() []*kbmodel.Payment

type GetPaymentsForAccountParams

type GetPaymentsForAccountParams struct {

	/*AccountID*/
	AccountID strfmt.UUID
	/*Audit*/
	Audit *string
	/*PluginProperty*/
	PluginProperty []string
	/*WithAttempts*/
	WithAttempts *bool
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

GetPaymentsForAccountParams contains all the parameters to send to the API endpoint for the get payments for account operation typically these are written to a http.Request

func NewGetPaymentsForAccountParams

func NewGetPaymentsForAccountParams() *GetPaymentsForAccountParams

NewGetPaymentsForAccountParams creates a new GetPaymentsForAccountParams object with the default values initialized.

func NewGetPaymentsForAccountParamsWithContext

func NewGetPaymentsForAccountParamsWithContext(ctx context.Context) *GetPaymentsForAccountParams

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

func NewGetPaymentsForAccountParamsWithHTTPClient

func NewGetPaymentsForAccountParamsWithHTTPClient(client *http.Client) *GetPaymentsForAccountParams

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

func NewGetPaymentsForAccountParamsWithTimeout

func NewGetPaymentsForAccountParamsWithTimeout(timeout time.Duration) *GetPaymentsForAccountParams

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

func (*GetPaymentsForAccountParams) SetAccountID

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

SetAccountID adds the accountId to the get payments for account params

func (*GetPaymentsForAccountParams) SetAudit

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

SetAudit adds the audit to the get payments for account params

func (*GetPaymentsForAccountParams) SetContext

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

SetContext adds the context to the get payments for account params

func (*GetPaymentsForAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payments for account params

func (*GetPaymentsForAccountParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get payments for account params

func (*GetPaymentsForAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get payments for account params

func (*GetPaymentsForAccountParams) SetWithAttempts

func (o *GetPaymentsForAccountParams) SetWithAttempts(withAttempts *bool)

SetWithAttempts adds the withAttempts to the get payments for account params

func (*GetPaymentsForAccountParams) SetWithPluginInfo

func (o *GetPaymentsForAccountParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get payments for account params

func (*GetPaymentsForAccountParams) WithAccountID

WithAccountID adds the accountID to the get payments for account params

func (*GetPaymentsForAccountParams) WithAudit

WithAudit adds the audit to the get payments for account params

func (*GetPaymentsForAccountParams) WithContext

WithContext adds the context to the get payments for account params

func (*GetPaymentsForAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payments for account params

func (*GetPaymentsForAccountParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get payments for account params

func (*GetPaymentsForAccountParams) WithTimeout

WithTimeout adds the timeout to the get payments for account params

func (*GetPaymentsForAccountParams) WithWithAttempts

func (o *GetPaymentsForAccountParams) WithWithAttempts(withAttempts *bool) *GetPaymentsForAccountParams

WithWithAttempts adds the withAttempts to the get payments for account params

func (*GetPaymentsForAccountParams) WithWithPluginInfo

func (o *GetPaymentsForAccountParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentsForAccountParams

WithWithPluginInfo adds the withPluginInfo to the get payments for account params

func (*GetPaymentsForAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentsForAccountReader

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

GetPaymentsForAccountReader is a Reader for the GetPaymentsForAccount structure.

func (*GetPaymentsForAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IAccount

type IAccount interface {
	/*
		AddAccountBlockingState blocks an account

		resource description
	*/
	AddAccountBlockingState(ctx context.Context, params *AddAccountBlockingStateParams) (*AddAccountBlockingStateCreated, error)

	/*
		AddEmail adds account email

		resource description
	*/
	AddEmail(ctx context.Context, params *AddEmailParams) (*AddEmailCreated, error)

	/*
		CloseAccount closes account

		resource description
	*/
	CloseAccount(ctx context.Context, params *CloseAccountParams) (*CloseAccountNoContent, error)

	/*
		CreateAccount creates account

		resource description
	*/
	CreateAccount(ctx context.Context, params *CreateAccountParams) (*CreateAccountCreated, error)

	/*
		CreateAccountCustomFields adds custom fields to account

		resource description
	*/
	CreateAccountCustomFields(ctx context.Context, params *CreateAccountCustomFieldsParams) (*CreateAccountCustomFieldsCreated, error)

	/*
		CreateAccountTags adds tags to account

		resource description
	*/
	CreateAccountTags(ctx context.Context, params *CreateAccountTagsParams) (*CreateAccountTagsCreated, error)

	/*
		CreatePaymentMethod adds a payment method

		resource description
	*/
	CreatePaymentMethod(ctx context.Context, params *CreatePaymentMethodParams) (*CreatePaymentMethodCreated, error)

	/*
		DeleteAccountCustomFields removes custom fields from account

		resource description
	*/
	DeleteAccountCustomFields(ctx context.Context, params *DeleteAccountCustomFieldsParams) (*DeleteAccountCustomFieldsNoContent, error)

	/*
		DeleteAccountTags removes tags from account

		resource description
	*/
	DeleteAccountTags(ctx context.Context, params *DeleteAccountTagsParams) (*DeleteAccountTagsNoContent, error)

	/*
		GetAccount retrieves an account by id

		resource description
	*/
	GetAccount(ctx context.Context, params *GetAccountParams) (*GetAccountOK, error)

	/*
		GetAccountAuditLogs retrieves audit logs by account id

		resource description
	*/
	GetAccountAuditLogs(ctx context.Context, params *GetAccountAuditLogsParams) (*GetAccountAuditLogsOK, error)

	/*
		GetAccountAuditLogsWithHistory retrieves account audit logs with history by account id

		resource description
	*/
	GetAccountAuditLogsWithHistory(ctx context.Context, params *GetAccountAuditLogsWithHistoryParams) (*GetAccountAuditLogsWithHistoryOK, error)

	/*
		GetAccountBundles retrieves bundles for account

		resource description
	*/
	GetAccountBundles(ctx context.Context, params *GetAccountBundlesParams) (*GetAccountBundlesOK, error)

	/*
		GetAccountByKey retrieves an account by external key

		resource description
	*/
	GetAccountByKey(ctx context.Context, params *GetAccountByKeyParams) (*GetAccountByKeyOK, error)

	/*
		GetAccountCustomFields retrieves account custom fields

		resource description
	*/
	GetAccountCustomFields(ctx context.Context, params *GetAccountCustomFieldsParams) (*GetAccountCustomFieldsOK, error)

	/*
		GetAccountEmailAuditLogsWithHistory retrieves account email audit logs with history by id

		resource description
	*/
	GetAccountEmailAuditLogsWithHistory(ctx context.Context, params *GetAccountEmailAuditLogsWithHistoryParams) (*GetAccountEmailAuditLogsWithHistoryOK, error)

	/*
		GetAccountTags retrieves account tags

		resource description
	*/
	GetAccountTags(ctx context.Context, params *GetAccountTagsParams) (*GetAccountTagsOK, error)

	/*
		GetAccountTimeline retrieves account timeline

		resource description
	*/
	GetAccountTimeline(ctx context.Context, params *GetAccountTimelineParams) (*GetAccountTimelineOK, error)

	/*
		GetAccounts lists accounts

		resource description
	*/
	GetAccounts(ctx context.Context, params *GetAccountsParams) (*GetAccountsOK, error)

	/*
		GetAllCustomFields retrieves account custom fields

		resource description
	*/
	GetAllCustomFields(ctx context.Context, params *GetAllCustomFieldsParams) (*GetAllCustomFieldsOK, error)

	/*
		GetAllTags retrieves account tags

		resource description
	*/
	GetAllTags(ctx context.Context, params *GetAllTagsParams) (*GetAllTagsOK, error)

	/*
		GetBlockingStateAuditLogsWithHistory retrieves blocking state audit logs with history by id

		resource description
	*/
	GetBlockingStateAuditLogsWithHistory(ctx context.Context, params *GetBlockingStateAuditLogsWithHistoryParams) (*GetBlockingStateAuditLogsWithHistoryOK, error)

	/*
		GetBlockingStates retrieves blocking states for account

		resource description
	*/
	GetBlockingStates(ctx context.Context, params *GetBlockingStatesParams) (*GetBlockingStatesOK, error)

	/*
		GetChildrenAccounts lists children accounts

		resource description
	*/
	GetChildrenAccounts(ctx context.Context, params *GetChildrenAccountsParams) (*GetChildrenAccountsOK, error)

	/*
		GetEmails retrieves an account emails

		resource description
	*/
	GetEmails(ctx context.Context, params *GetEmailsParams) (*GetEmailsOK, error)

	/*
		GetInvoicePayments retrieves account invoice payments

		resource description
	*/
	GetInvoicePayments(ctx context.Context, params *GetInvoicePaymentsParams) (*GetInvoicePaymentsOK, error)

	/*
		GetInvoicesForAccount retrieves account invoices

		resource description
	*/
	GetInvoicesForAccount(ctx context.Context, params *GetInvoicesForAccountParams) (*GetInvoicesForAccountOK, error)

	/*
		GetOverdueAccount retrieves overdue state for account

		resource description
	*/
	GetOverdueAccount(ctx context.Context, params *GetOverdueAccountParams) (*GetOverdueAccountOK, error)

	/*
		GetPaymentMethodsForAccount retrieves account payment methods

		resource description
	*/
	GetPaymentMethodsForAccount(ctx context.Context, params *GetPaymentMethodsForAccountParams) (*GetPaymentMethodsForAccountOK, error)

	/*
		GetPaymentsForAccount retrieves account payments

		resource description
	*/
	GetPaymentsForAccount(ctx context.Context, params *GetPaymentsForAccountParams) (*GetPaymentsForAccountOK, error)

	/*
		ModifyAccountCustomFields modifies custom fields to account

		resource description
	*/
	ModifyAccountCustomFields(ctx context.Context, params *ModifyAccountCustomFieldsParams) (*ModifyAccountCustomFieldsNoContent, error)

	/*
		PayAllInvoices triggers a payment for all unpaid invoices

		resource description
	*/
	PayAllInvoices(ctx context.Context, params *PayAllInvoicesParams) (*PayAllInvoicesCreated, *PayAllInvoicesNoContent, error)

	/*
		ProcessPayment triggers a payment authorization purchase or credit

		resource description
	*/
	ProcessPayment(ctx context.Context, params *ProcessPaymentParams) (*ProcessPaymentCreated, error)

	/*
		ProcessPaymentByExternalKey triggers a payment using the account external key authorization purchase or credit

		resource description
	*/
	ProcessPaymentByExternalKey(ctx context.Context, params *ProcessPaymentByExternalKeyParams) (*ProcessPaymentByExternalKeyCreated, error)

	/*
		RebalanceExistingCBAOnAccount rebalances account c b a

		resource description
	*/
	RebalanceExistingCBAOnAccount(ctx context.Context, params *RebalanceExistingCBAOnAccountParams) (*RebalanceExistingCBAOnAccountNoContent, error)

	/*
		RefreshPaymentMethods refreshes account payment methods

		resource description
	*/
	RefreshPaymentMethods(ctx context.Context, params *RefreshPaymentMethodsParams) (*RefreshPaymentMethodsNoContent, error)

	/*
		RemoveEmail deletes email from account

		resource description
	*/
	RemoveEmail(ctx context.Context, params *RemoveEmailParams) (*RemoveEmailNoContent, error)

	/*
		SearchAccounts searches accounts

		resource description
	*/
	SearchAccounts(ctx context.Context, params *SearchAccountsParams) (*SearchAccountsOK, error)

	/*
		SetDefaultPaymentMethod sets the default payment method

		resource description
	*/
	SetDefaultPaymentMethod(ctx context.Context, params *SetDefaultPaymentMethodParams) (*SetDefaultPaymentMethodNoContent, error)

	/*
		TransferChildCreditToParent moves a given child credit to the parent level

		resource description
	*/
	TransferChildCreditToParent(ctx context.Context, params *TransferChildCreditToParentParams) (*TransferChildCreditToParentNoContent, error)

	/*
		UpdateAccount updates account

		resource description
	*/
	UpdateAccount(ctx context.Context, params *UpdateAccountParams) (*UpdateAccountNoContent, error)
}

IAccount - interface for Account 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 WithWithProfilingInfo. If not set explicitly in params, this will be used.
	KillbillWithProfilingInfo() *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 ModifyAccountCustomFieldsBadRequest

type ModifyAccountCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifyAccountCustomFieldsBadRequest handles this case with default header values.

Invalid account id supplied

func NewModifyAccountCustomFieldsBadRequest

func NewModifyAccountCustomFieldsBadRequest() *ModifyAccountCustomFieldsBadRequest

NewModifyAccountCustomFieldsBadRequest creates a ModifyAccountCustomFieldsBadRequest with default headers values

func (*ModifyAccountCustomFieldsBadRequest) Error

type ModifyAccountCustomFieldsNoContent

type ModifyAccountCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyAccountCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewModifyAccountCustomFieldsNoContent

func NewModifyAccountCustomFieldsNoContent() *ModifyAccountCustomFieldsNoContent

NewModifyAccountCustomFieldsNoContent creates a ModifyAccountCustomFieldsNoContent with default headers values

func (*ModifyAccountCustomFieldsNoContent) Error

type ModifyAccountCustomFieldsParams

type ModifyAccountCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body []*kbmodel.CustomField

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

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

func NewModifyAccountCustomFieldsParams

func NewModifyAccountCustomFieldsParams() *ModifyAccountCustomFieldsParams

NewModifyAccountCustomFieldsParams creates a new ModifyAccountCustomFieldsParams object with the default values initialized.

func NewModifyAccountCustomFieldsParamsWithContext

func NewModifyAccountCustomFieldsParamsWithContext(ctx context.Context) *ModifyAccountCustomFieldsParams

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

func NewModifyAccountCustomFieldsParamsWithHTTPClient

func NewModifyAccountCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyAccountCustomFieldsParams

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

func NewModifyAccountCustomFieldsParamsWithTimeout

func NewModifyAccountCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyAccountCustomFieldsParams

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

func (*ModifyAccountCustomFieldsParams) SetAccountID

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

SetAccountID adds the accountId to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetBody

SetBody adds the body to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetContext

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

SetContext adds the context to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyAccountCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithAccountID

WithAccountID adds the accountID to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithBody

WithBody adds the body to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithContext

WithContext adds the context to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyAccountCustomFieldsReader

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

ModifyAccountCustomFieldsReader is a Reader for the ModifyAccountCustomFields structure.

func (*ModifyAccountCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PayAllInvoicesCreated

type PayAllInvoicesCreated struct {
	Payload []*kbmodel.Invoice

	HttpResponse runtime.ClientResponse
}

PayAllInvoicesCreated handles this case with default header values.

Successful operation

func NewPayAllInvoicesCreated

func NewPayAllInvoicesCreated() *PayAllInvoicesCreated

NewPayAllInvoicesCreated creates a PayAllInvoicesCreated with default headers values

func (*PayAllInvoicesCreated) Error

func (o *PayAllInvoicesCreated) Error() string

func (*PayAllInvoicesCreated) GetPayload

func (o *PayAllInvoicesCreated) GetPayload() []*kbmodel.Invoice

type PayAllInvoicesNoContent

type PayAllInvoicesNoContent struct {
	HttpResponse runtime.ClientResponse
}

PayAllInvoicesNoContent handles this case with default header values.

Nothing to pay

func NewPayAllInvoicesNoContent

func NewPayAllInvoicesNoContent() *PayAllInvoicesNoContent

NewPayAllInvoicesNoContent creates a PayAllInvoicesNoContent with default headers values

func (*PayAllInvoicesNoContent) Error

func (o *PayAllInvoicesNoContent) Error() string

type PayAllInvoicesNotFound

type PayAllInvoicesNotFound struct {
	HttpResponse runtime.ClientResponse
}

PayAllInvoicesNotFound handles this case with default header values.

Invalid account id supplied

func NewPayAllInvoicesNotFound

func NewPayAllInvoicesNotFound() *PayAllInvoicesNotFound

NewPayAllInvoicesNotFound creates a PayAllInvoicesNotFound with default headers values

func (*PayAllInvoicesNotFound) Error

func (o *PayAllInvoicesNotFound) Error() string

type PayAllInvoicesParams

type PayAllInvoicesParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*ExternalPayment*/
	ExternalPayment *bool
	/*PaymentAmount*/
	PaymentAmount *float64
	/*PaymentMethodID*/
	PaymentMethodID *strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string
	/*TargetDate*/
	TargetDate *strfmt.Date

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

PayAllInvoicesParams contains all the parameters to send to the API endpoint for the pay all invoices operation typically these are written to a http.Request

func NewPayAllInvoicesParams

func NewPayAllInvoicesParams() *PayAllInvoicesParams

NewPayAllInvoicesParams creates a new PayAllInvoicesParams object with the default values initialized.

func NewPayAllInvoicesParamsWithContext

func NewPayAllInvoicesParamsWithContext(ctx context.Context) *PayAllInvoicesParams

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

func NewPayAllInvoicesParamsWithHTTPClient

func NewPayAllInvoicesParamsWithHTTPClient(client *http.Client) *PayAllInvoicesParams

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

func NewPayAllInvoicesParamsWithTimeout

func NewPayAllInvoicesParamsWithTimeout(timeout time.Duration) *PayAllInvoicesParams

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

func (*PayAllInvoicesParams) SetAccountID

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

SetAccountID adds the accountId to the pay all invoices params

func (*PayAllInvoicesParams) SetContext

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

SetContext adds the context to the pay all invoices params

func (*PayAllInvoicesParams) SetExternalPayment

func (o *PayAllInvoicesParams) SetExternalPayment(externalPayment *bool)

SetExternalPayment adds the externalPayment to the pay all invoices params

func (*PayAllInvoicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pay all invoices params

func (*PayAllInvoicesParams) SetPaymentAmount

func (o *PayAllInvoicesParams) SetPaymentAmount(paymentAmount *float64)

SetPaymentAmount adds the paymentAmount to the pay all invoices params

func (*PayAllInvoicesParams) SetPaymentMethodID

func (o *PayAllInvoicesParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the pay all invoices params

func (*PayAllInvoicesParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the pay all invoices params

func (*PayAllInvoicesParams) SetTargetDate

func (o *PayAllInvoicesParams) SetTargetDate(targetDate *strfmt.Date)

SetTargetDate adds the targetDate to the pay all invoices params

func (*PayAllInvoicesParams) SetTimeout

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

SetTimeout adds the timeout to the pay all invoices params

func (*PayAllInvoicesParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the pay all invoices params

func (*PayAllInvoicesParams) SetXKillbillCreatedBy

func (o *PayAllInvoicesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the pay all invoices params

func (*PayAllInvoicesParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the pay all invoices params

func (*PayAllInvoicesParams) WithAccountID

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

WithAccountID adds the accountID to the pay all invoices params

func (*PayAllInvoicesParams) WithContext

WithContext adds the context to the pay all invoices params

func (*PayAllInvoicesParams) WithExternalPayment

func (o *PayAllInvoicesParams) WithExternalPayment(externalPayment *bool) *PayAllInvoicesParams

WithExternalPayment adds the externalPayment to the pay all invoices params

func (*PayAllInvoicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pay all invoices params

func (*PayAllInvoicesParams) WithPaymentAmount

func (o *PayAllInvoicesParams) WithPaymentAmount(paymentAmount *float64) *PayAllInvoicesParams

WithPaymentAmount adds the paymentAmount to the pay all invoices params

func (*PayAllInvoicesParams) WithPaymentMethodID

func (o *PayAllInvoicesParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *PayAllInvoicesParams

WithPaymentMethodID adds the paymentMethodID to the pay all invoices params

func (*PayAllInvoicesParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the pay all invoices params

func (*PayAllInvoicesParams) WithTargetDate

func (o *PayAllInvoicesParams) WithTargetDate(targetDate *strfmt.Date) *PayAllInvoicesParams

WithTargetDate adds the targetDate to the pay all invoices params

func (*PayAllInvoicesParams) WithTimeout

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

WithTimeout adds the timeout to the pay all invoices params

func (*PayAllInvoicesParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the pay all invoices params

func (*PayAllInvoicesParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the pay all invoices params

func (*PayAllInvoicesParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the pay all invoices params

func (*PayAllInvoicesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PayAllInvoicesReader

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

PayAllInvoicesReader is a Reader for the PayAllInvoices structure.

func (*PayAllInvoicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProcessPaymentBadGateway

type ProcessPaymentBadGateway struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentBadGateway handles this case with default header values.

Failed to submit payment transaction

func NewProcessPaymentBadGateway

func NewProcessPaymentBadGateway() *ProcessPaymentBadGateway

NewProcessPaymentBadGateway creates a ProcessPaymentBadGateway with default headers values

func (*ProcessPaymentBadGateway) Error

func (o *ProcessPaymentBadGateway) Error() string

type ProcessPaymentBadRequest

type ProcessPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentBadRequest handles this case with default header values.

Invalid account id supplied

func NewProcessPaymentBadRequest

func NewProcessPaymentBadRequest() *ProcessPaymentBadRequest

NewProcessPaymentBadRequest creates a ProcessPaymentBadRequest with default headers values

func (*ProcessPaymentBadRequest) Error

func (o *ProcessPaymentBadRequest) Error() string

type ProcessPaymentByExternalKeyBadGateway

type ProcessPaymentByExternalKeyBadGateway struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyBadGateway handles this case with default header values.

Failed to submit payment transaction

func NewProcessPaymentByExternalKeyBadGateway

func NewProcessPaymentByExternalKeyBadGateway() *ProcessPaymentByExternalKeyBadGateway

NewProcessPaymentByExternalKeyBadGateway creates a ProcessPaymentByExternalKeyBadGateway with default headers values

func (*ProcessPaymentByExternalKeyBadGateway) Error

type ProcessPaymentByExternalKeyBadRequest

type ProcessPaymentByExternalKeyBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyBadRequest handles this case with default header values.

Invalid account external key supplied

func NewProcessPaymentByExternalKeyBadRequest

func NewProcessPaymentByExternalKeyBadRequest() *ProcessPaymentByExternalKeyBadRequest

NewProcessPaymentByExternalKeyBadRequest creates a ProcessPaymentByExternalKeyBadRequest with default headers values

func (*ProcessPaymentByExternalKeyBadRequest) Error

type ProcessPaymentByExternalKeyCreated

type ProcessPaymentByExternalKeyCreated struct {
	Payload *kbmodel.Payment

	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyCreated handles this case with default header values.

Payment transaction created successfully

func NewProcessPaymentByExternalKeyCreated

func NewProcessPaymentByExternalKeyCreated() *ProcessPaymentByExternalKeyCreated

NewProcessPaymentByExternalKeyCreated creates a ProcessPaymentByExternalKeyCreated with default headers values

func (*ProcessPaymentByExternalKeyCreated) Error

func (*ProcessPaymentByExternalKeyCreated) GetPayload

type ProcessPaymentByExternalKeyGatewayTimeout

type ProcessPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyGatewayTimeout handles this case with default header values.

Payment operation timeout

func NewProcessPaymentByExternalKeyGatewayTimeout

func NewProcessPaymentByExternalKeyGatewayTimeout() *ProcessPaymentByExternalKeyGatewayTimeout

NewProcessPaymentByExternalKeyGatewayTimeout creates a ProcessPaymentByExternalKeyGatewayTimeout with default headers values

func (*ProcessPaymentByExternalKeyGatewayTimeout) Error

type ProcessPaymentByExternalKeyNotFound

type ProcessPaymentByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyNotFound handles this case with default header values.

Account not found

func NewProcessPaymentByExternalKeyNotFound

func NewProcessPaymentByExternalKeyNotFound() *ProcessPaymentByExternalKeyNotFound

NewProcessPaymentByExternalKeyNotFound creates a ProcessPaymentByExternalKeyNotFound with default headers values

func (*ProcessPaymentByExternalKeyNotFound) Error

type ProcessPaymentByExternalKeyParams

type ProcessPaymentByExternalKeyParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.PaymentTransaction
	/*ControlPluginName*/
	ControlPluginName []string
	/*ExternalKey*/
	ExternalKey string
	/*PaymentMethodID*/
	PaymentMethodID *strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

ProcessPaymentByExternalKeyParams contains all the parameters to send to the API endpoint for the process payment by external key operation typically these are written to a http.Request

func NewProcessPaymentByExternalKeyParams

func NewProcessPaymentByExternalKeyParams() *ProcessPaymentByExternalKeyParams

NewProcessPaymentByExternalKeyParams creates a new ProcessPaymentByExternalKeyParams object with the default values initialized.

func NewProcessPaymentByExternalKeyParamsWithContext

func NewProcessPaymentByExternalKeyParamsWithContext(ctx context.Context) *ProcessPaymentByExternalKeyParams

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

func NewProcessPaymentByExternalKeyParamsWithHTTPClient

func NewProcessPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *ProcessPaymentByExternalKeyParams

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

func NewProcessPaymentByExternalKeyParamsWithTimeout

func NewProcessPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *ProcessPaymentByExternalKeyParams

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

func (*ProcessPaymentByExternalKeyParams) SetBody

SetBody adds the body to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetContext

SetContext adds the context to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetControlPluginName

func (o *ProcessPaymentByExternalKeyParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetExternalKey

func (o *ProcessPaymentByExternalKeyParams) SetExternalKey(externalKey string)

SetExternalKey adds the externalKey to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetPaymentMethodID

func (o *ProcessPaymentByExternalKeyParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetTimeout

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

SetTimeout adds the timeout to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *ProcessPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithBody

WithBody adds the body to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithContext

WithContext adds the context to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithControlPluginName

func (o *ProcessPaymentByExternalKeyParams) WithControlPluginName(controlPluginName []string) *ProcessPaymentByExternalKeyParams

WithControlPluginName adds the controlPluginName to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithExternalKey

WithExternalKey adds the externalKey to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithPaymentMethodID

func (o *ProcessPaymentByExternalKeyParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *ProcessPaymentByExternalKeyParams

WithPaymentMethodID adds the paymentMethodID to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProcessPaymentByExternalKeyPaymentRequired

type ProcessPaymentByExternalKeyPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyPaymentRequired handles this case with default header values.

Transaction declined by gateway

func NewProcessPaymentByExternalKeyPaymentRequired

func NewProcessPaymentByExternalKeyPaymentRequired() *ProcessPaymentByExternalKeyPaymentRequired

NewProcessPaymentByExternalKeyPaymentRequired creates a ProcessPaymentByExternalKeyPaymentRequired with default headers values

func (*ProcessPaymentByExternalKeyPaymentRequired) Error

type ProcessPaymentByExternalKeyReader

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

ProcessPaymentByExternalKeyReader is a Reader for the ProcessPaymentByExternalKey structure.

func (*ProcessPaymentByExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProcessPaymentByExternalKeyServiceUnavailable

type ProcessPaymentByExternalKeyServiceUnavailable struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyServiceUnavailable handles this case with default header values.

Payment in unknown status, failed to receive gateway response

func NewProcessPaymentByExternalKeyServiceUnavailable

func NewProcessPaymentByExternalKeyServiceUnavailable() *ProcessPaymentByExternalKeyServiceUnavailable

NewProcessPaymentByExternalKeyServiceUnavailable creates a ProcessPaymentByExternalKeyServiceUnavailable with default headers values

func (*ProcessPaymentByExternalKeyServiceUnavailable) Error

type ProcessPaymentByExternalKeyUnprocessableEntity

type ProcessPaymentByExternalKeyUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyUnprocessableEntity handles this case with default header values.

Payment is aborted by a control plugin

func NewProcessPaymentByExternalKeyUnprocessableEntity

func NewProcessPaymentByExternalKeyUnprocessableEntity() *ProcessPaymentByExternalKeyUnprocessableEntity

NewProcessPaymentByExternalKeyUnprocessableEntity creates a ProcessPaymentByExternalKeyUnprocessableEntity with default headers values

func (*ProcessPaymentByExternalKeyUnprocessableEntity) Error

type ProcessPaymentCreated

type ProcessPaymentCreated struct {
	Payload *kbmodel.Payment

	HttpResponse runtime.ClientResponse
}

ProcessPaymentCreated handles this case with default header values.

Payment transaction created successfully

func NewProcessPaymentCreated

func NewProcessPaymentCreated() *ProcessPaymentCreated

NewProcessPaymentCreated creates a ProcessPaymentCreated with default headers values

func (*ProcessPaymentCreated) Error

func (o *ProcessPaymentCreated) Error() string

func (*ProcessPaymentCreated) GetPayload

func (o *ProcessPaymentCreated) GetPayload() *kbmodel.Payment

type ProcessPaymentGatewayTimeout

type ProcessPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentGatewayTimeout handles this case with default header values.

Payment operation timeout

func NewProcessPaymentGatewayTimeout

func NewProcessPaymentGatewayTimeout() *ProcessPaymentGatewayTimeout

NewProcessPaymentGatewayTimeout creates a ProcessPaymentGatewayTimeout with default headers values

func (*ProcessPaymentGatewayTimeout) Error

type ProcessPaymentNotFound

type ProcessPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentNotFound handles this case with default header values.

Account not found

func NewProcessPaymentNotFound

func NewProcessPaymentNotFound() *ProcessPaymentNotFound

NewProcessPaymentNotFound creates a ProcessPaymentNotFound with default headers values

func (*ProcessPaymentNotFound) Error

func (o *ProcessPaymentNotFound) Error() string

type ProcessPaymentParams

type ProcessPaymentParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body *kbmodel.PaymentTransaction
	/*ControlPluginName*/
	ControlPluginName []string
	/*PaymentMethodID*/
	PaymentMethodID *strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

ProcessPaymentParams contains all the parameters to send to the API endpoint for the process payment operation typically these are written to a http.Request

func NewProcessPaymentParams

func NewProcessPaymentParams() *ProcessPaymentParams

NewProcessPaymentParams creates a new ProcessPaymentParams object with the default values initialized.

func NewProcessPaymentParamsWithContext

func NewProcessPaymentParamsWithContext(ctx context.Context) *ProcessPaymentParams

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

func NewProcessPaymentParamsWithHTTPClient

func NewProcessPaymentParamsWithHTTPClient(client *http.Client) *ProcessPaymentParams

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

func NewProcessPaymentParamsWithTimeout

func NewProcessPaymentParamsWithTimeout(timeout time.Duration) *ProcessPaymentParams

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

func (*ProcessPaymentParams) SetAccountID

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

SetAccountID adds the accountId to the process payment params

func (*ProcessPaymentParams) SetBody

SetBody adds the body to the process payment params

func (*ProcessPaymentParams) SetContext

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

SetContext adds the context to the process payment params

func (*ProcessPaymentParams) SetControlPluginName

func (o *ProcessPaymentParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the process payment params

func (*ProcessPaymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the process payment params

func (*ProcessPaymentParams) SetPaymentMethodID

func (o *ProcessPaymentParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the process payment params

func (*ProcessPaymentParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the process payment params

func (*ProcessPaymentParams) SetTimeout

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

SetTimeout adds the timeout to the process payment params

func (*ProcessPaymentParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the process payment params

func (*ProcessPaymentParams) SetXKillbillCreatedBy

func (o *ProcessPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the process payment params

func (*ProcessPaymentParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the process payment params

func (*ProcessPaymentParams) WithAccountID

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

WithAccountID adds the accountID to the process payment params

func (*ProcessPaymentParams) WithBody

WithBody adds the body to the process payment params

func (*ProcessPaymentParams) WithContext

WithContext adds the context to the process payment params

func (*ProcessPaymentParams) WithControlPluginName

func (o *ProcessPaymentParams) WithControlPluginName(controlPluginName []string) *ProcessPaymentParams

WithControlPluginName adds the controlPluginName to the process payment params

func (*ProcessPaymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the process payment params

func (*ProcessPaymentParams) WithPaymentMethodID

func (o *ProcessPaymentParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *ProcessPaymentParams

WithPaymentMethodID adds the paymentMethodID to the process payment params

func (*ProcessPaymentParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the process payment params

func (*ProcessPaymentParams) WithTimeout

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

WithTimeout adds the timeout to the process payment params

func (*ProcessPaymentParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the process payment params

func (*ProcessPaymentParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the process payment params

func (*ProcessPaymentParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the process payment params

func (*ProcessPaymentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ProcessPaymentPaymentRequired

type ProcessPaymentPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentPaymentRequired handles this case with default header values.

Transaction declined by gateway

func NewProcessPaymentPaymentRequired

func NewProcessPaymentPaymentRequired() *ProcessPaymentPaymentRequired

NewProcessPaymentPaymentRequired creates a ProcessPaymentPaymentRequired with default headers values

func (*ProcessPaymentPaymentRequired) Error

type ProcessPaymentReader

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

ProcessPaymentReader is a Reader for the ProcessPayment structure.

func (*ProcessPaymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProcessPaymentServiceUnavailable

type ProcessPaymentServiceUnavailable struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentServiceUnavailable handles this case with default header values.

Payment in unknown status, failed to receive gateway response

func NewProcessPaymentServiceUnavailable

func NewProcessPaymentServiceUnavailable() *ProcessPaymentServiceUnavailable

NewProcessPaymentServiceUnavailable creates a ProcessPaymentServiceUnavailable with default headers values

func (*ProcessPaymentServiceUnavailable) Error

type ProcessPaymentUnprocessableEntity

type ProcessPaymentUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentUnprocessableEntity handles this case with default header values.

Payment is aborted by a control plugin

func NewProcessPaymentUnprocessableEntity

func NewProcessPaymentUnprocessableEntity() *ProcessPaymentUnprocessableEntity

NewProcessPaymentUnprocessableEntity creates a ProcessPaymentUnprocessableEntity with default headers values

func (*ProcessPaymentUnprocessableEntity) Error

type RebalanceExistingCBAOnAccountBadRequest

type RebalanceExistingCBAOnAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

RebalanceExistingCBAOnAccountBadRequest handles this case with default header values.

Invalid account id supplied

func NewRebalanceExistingCBAOnAccountBadRequest

func NewRebalanceExistingCBAOnAccountBadRequest() *RebalanceExistingCBAOnAccountBadRequest

NewRebalanceExistingCBAOnAccountBadRequest creates a RebalanceExistingCBAOnAccountBadRequest with default headers values

func (*RebalanceExistingCBAOnAccountBadRequest) Error

type RebalanceExistingCBAOnAccountNoContent

type RebalanceExistingCBAOnAccountNoContent struct {
	HttpResponse runtime.ClientResponse
}

RebalanceExistingCBAOnAccountNoContent handles this case with default header values.

Successful operation

func NewRebalanceExistingCBAOnAccountNoContent

func NewRebalanceExistingCBAOnAccountNoContent() *RebalanceExistingCBAOnAccountNoContent

NewRebalanceExistingCBAOnAccountNoContent creates a RebalanceExistingCBAOnAccountNoContent with default headers values

func (*RebalanceExistingCBAOnAccountNoContent) Error

type RebalanceExistingCBAOnAccountParams

type RebalanceExistingCBAOnAccountParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

RebalanceExistingCBAOnAccountParams contains all the parameters to send to the API endpoint for the rebalance existing c b a on account operation typically these are written to a http.Request

func NewRebalanceExistingCBAOnAccountParams

func NewRebalanceExistingCBAOnAccountParams() *RebalanceExistingCBAOnAccountParams

NewRebalanceExistingCBAOnAccountParams creates a new RebalanceExistingCBAOnAccountParams object with the default values initialized.

func NewRebalanceExistingCBAOnAccountParamsWithContext

func NewRebalanceExistingCBAOnAccountParamsWithContext(ctx context.Context) *RebalanceExistingCBAOnAccountParams

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

func NewRebalanceExistingCBAOnAccountParamsWithHTTPClient

func NewRebalanceExistingCBAOnAccountParamsWithHTTPClient(client *http.Client) *RebalanceExistingCBAOnAccountParams

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

func NewRebalanceExistingCBAOnAccountParamsWithTimeout

func NewRebalanceExistingCBAOnAccountParamsWithTimeout(timeout time.Duration) *RebalanceExistingCBAOnAccountParams

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

func (*RebalanceExistingCBAOnAccountParams) SetAccountID

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

SetAccountID adds the accountId to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetContext

SetContext adds the context to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetTimeout

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

SetTimeout adds the timeout to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetXKillbillCreatedBy

func (o *RebalanceExistingCBAOnAccountParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithAccountID

WithAccountID adds the accountID to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithContext

WithContext adds the context to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithTimeout

WithTimeout adds the timeout to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RebalanceExistingCBAOnAccountReader

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

RebalanceExistingCBAOnAccountReader is a Reader for the RebalanceExistingCBAOnAccount structure.

func (*RebalanceExistingCBAOnAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefreshPaymentMethodsBadRequest

type RefreshPaymentMethodsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

RefreshPaymentMethodsBadRequest handles this case with default header values.

Invalid account id supplied

func NewRefreshPaymentMethodsBadRequest

func NewRefreshPaymentMethodsBadRequest() *RefreshPaymentMethodsBadRequest

NewRefreshPaymentMethodsBadRequest creates a RefreshPaymentMethodsBadRequest with default headers values

func (*RefreshPaymentMethodsBadRequest) Error

type RefreshPaymentMethodsNoContent

type RefreshPaymentMethodsNoContent struct {
	HttpResponse runtime.ClientResponse
}

RefreshPaymentMethodsNoContent handles this case with default header values.

Successful operation

func NewRefreshPaymentMethodsNoContent

func NewRefreshPaymentMethodsNoContent() *RefreshPaymentMethodsNoContent

NewRefreshPaymentMethodsNoContent creates a RefreshPaymentMethodsNoContent with default headers values

func (*RefreshPaymentMethodsNoContent) Error

type RefreshPaymentMethodsNotFound

type RefreshPaymentMethodsNotFound struct {
	HttpResponse runtime.ClientResponse
}

RefreshPaymentMethodsNotFound handles this case with default header values.

Account not found

func NewRefreshPaymentMethodsNotFound

func NewRefreshPaymentMethodsNotFound() *RefreshPaymentMethodsNotFound

NewRefreshPaymentMethodsNotFound creates a RefreshPaymentMethodsNotFound with default headers values

func (*RefreshPaymentMethodsNotFound) Error

type RefreshPaymentMethodsParams

type RefreshPaymentMethodsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*PluginName*/
	PluginName *string
	/*PluginProperty*/
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

RefreshPaymentMethodsParams contains all the parameters to send to the API endpoint for the refresh payment methods operation typically these are written to a http.Request

func NewRefreshPaymentMethodsParams

func NewRefreshPaymentMethodsParams() *RefreshPaymentMethodsParams

NewRefreshPaymentMethodsParams creates a new RefreshPaymentMethodsParams object with the default values initialized.

func NewRefreshPaymentMethodsParamsWithContext

func NewRefreshPaymentMethodsParamsWithContext(ctx context.Context) *RefreshPaymentMethodsParams

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

func NewRefreshPaymentMethodsParamsWithHTTPClient

func NewRefreshPaymentMethodsParamsWithHTTPClient(client *http.Client) *RefreshPaymentMethodsParams

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

func NewRefreshPaymentMethodsParamsWithTimeout

func NewRefreshPaymentMethodsParamsWithTimeout(timeout time.Duration) *RefreshPaymentMethodsParams

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

func (*RefreshPaymentMethodsParams) SetAccountID

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

SetAccountID adds the accountId to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetContext

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

SetContext adds the context to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetPluginName

func (o *RefreshPaymentMethodsParams) SetPluginName(pluginName *string)

SetPluginName adds the pluginName to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetTimeout

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

SetTimeout adds the timeout to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetXKillbillCreatedBy

func (o *RefreshPaymentMethodsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithAccountID

WithAccountID adds the accountID to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithContext

WithContext adds the context to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithPluginName

func (o *RefreshPaymentMethodsParams) WithPluginName(pluginName *string) *RefreshPaymentMethodsParams

WithPluginName adds the pluginName to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithTimeout

WithTimeout adds the timeout to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RefreshPaymentMethodsReader

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

RefreshPaymentMethodsReader is a Reader for the RefreshPaymentMethods structure.

func (*RefreshPaymentMethodsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveEmailBadRequest

type RemoveEmailBadRequest struct {
	HttpResponse runtime.ClientResponse
}

RemoveEmailBadRequest handles this case with default header values.

Invalid account id supplied

func NewRemoveEmailBadRequest

func NewRemoveEmailBadRequest() *RemoveEmailBadRequest

NewRemoveEmailBadRequest creates a RemoveEmailBadRequest with default headers values

func (*RemoveEmailBadRequest) Error

func (o *RemoveEmailBadRequest) Error() string

type RemoveEmailNoContent

type RemoveEmailNoContent struct {
	HttpResponse runtime.ClientResponse
}

RemoveEmailNoContent handles this case with default header values.

Successful operation

func NewRemoveEmailNoContent

func NewRemoveEmailNoContent() *RemoveEmailNoContent

NewRemoveEmailNoContent creates a RemoveEmailNoContent with default headers values

func (*RemoveEmailNoContent) Error

func (o *RemoveEmailNoContent) Error() string

type RemoveEmailParams

type RemoveEmailParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Email*/
	Email string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

RemoveEmailParams contains all the parameters to send to the API endpoint for the remove email operation typically these are written to a http.Request

func NewRemoveEmailParams

func NewRemoveEmailParams() *RemoveEmailParams

NewRemoveEmailParams creates a new RemoveEmailParams object with the default values initialized.

func NewRemoveEmailParamsWithContext

func NewRemoveEmailParamsWithContext(ctx context.Context) *RemoveEmailParams

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

func NewRemoveEmailParamsWithHTTPClient

func NewRemoveEmailParamsWithHTTPClient(client *http.Client) *RemoveEmailParams

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

func NewRemoveEmailParamsWithTimeout

func NewRemoveEmailParamsWithTimeout(timeout time.Duration) *RemoveEmailParams

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

func (*RemoveEmailParams) SetAccountID

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

SetAccountID adds the accountId to the remove email params

func (*RemoveEmailParams) SetContext

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

SetContext adds the context to the remove email params

func (*RemoveEmailParams) SetEmail

func (o *RemoveEmailParams) SetEmail(email string)

SetEmail adds the email to the remove email params

func (*RemoveEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove email params

func (*RemoveEmailParams) SetTimeout

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

SetTimeout adds the timeout to the remove email params

func (*RemoveEmailParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the remove email params

func (*RemoveEmailParams) SetXKillbillCreatedBy

func (o *RemoveEmailParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the remove email params

func (*RemoveEmailParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the remove email params

func (*RemoveEmailParams) WithAccountID

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

WithAccountID adds the accountID to the remove email params

func (*RemoveEmailParams) WithContext

func (o *RemoveEmailParams) WithContext(ctx context.Context) *RemoveEmailParams

WithContext adds the context to the remove email params

func (*RemoveEmailParams) WithEmail

func (o *RemoveEmailParams) WithEmail(email string) *RemoveEmailParams

WithEmail adds the email to the remove email params

func (*RemoveEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove email params

func (*RemoveEmailParams) WithTimeout

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

WithTimeout adds the timeout to the remove email params

func (*RemoveEmailParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the remove email params

func (*RemoveEmailParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the remove email params

func (*RemoveEmailParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the remove email params

func (*RemoveEmailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveEmailReader

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

RemoveEmailReader is a Reader for the RemoveEmail structure.

func (*RemoveEmailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchAccountsOK

type SearchAccountsOK struct {
	Payload []*kbmodel.Account

	HttpResponse runtime.ClientResponse
}

SearchAccountsOK handles this case with default header values.

successful operation

func NewSearchAccountsOK

func NewSearchAccountsOK() *SearchAccountsOK

NewSearchAccountsOK creates a SearchAccountsOK with default headers values

func (*SearchAccountsOK) Error

func (o *SearchAccountsOK) Error() string

func (*SearchAccountsOK) GetPayload

func (o *SearchAccountsOK) GetPayload() []*kbmodel.Account

type SearchAccountsParams

type SearchAccountsParams struct {

	/*AccountWithBalance*/
	AccountWithBalance *bool
	/*AccountWithBalanceAndCBA*/
	AccountWithBalanceAndCBA *bool
	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*SearchKey*/
	SearchKey string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

SearchAccountsParams contains all the parameters to send to the API endpoint for the search accounts operation typically these are written to a http.Request

func NewSearchAccountsParams

func NewSearchAccountsParams() *SearchAccountsParams

NewSearchAccountsParams creates a new SearchAccountsParams object with the default values initialized.

func NewSearchAccountsParamsWithContext

func NewSearchAccountsParamsWithContext(ctx context.Context) *SearchAccountsParams

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

func NewSearchAccountsParamsWithHTTPClient

func NewSearchAccountsParamsWithHTTPClient(client *http.Client) *SearchAccountsParams

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

func NewSearchAccountsParamsWithTimeout

func NewSearchAccountsParamsWithTimeout(timeout time.Duration) *SearchAccountsParams

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

func (*SearchAccountsParams) SetAccountWithBalance

func (o *SearchAccountsParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the search accounts params

func (*SearchAccountsParams) SetAccountWithBalanceAndCBA

func (o *SearchAccountsParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the search accounts params

func (*SearchAccountsParams) SetAudit

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

SetAudit adds the audit to the search accounts params

func (*SearchAccountsParams) SetContext

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

SetContext adds the context to the search accounts params

func (*SearchAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search accounts params

func (*SearchAccountsParams) SetLimit

func (o *SearchAccountsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search accounts params

func (*SearchAccountsParams) SetOffset

func (o *SearchAccountsParams) SetOffset(offset *int64)

SetOffset adds the offset to the search accounts params

func (*SearchAccountsParams) SetSearchKey

func (o *SearchAccountsParams) SetSearchKey(searchKey string)

SetSearchKey adds the searchKey to the search accounts params

func (*SearchAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the search accounts params

func (*SearchAccountsParams) WithAccountWithBalance

func (o *SearchAccountsParams) WithAccountWithBalance(accountWithBalance *bool) *SearchAccountsParams

WithAccountWithBalance adds the accountWithBalance to the search accounts params

func (*SearchAccountsParams) WithAccountWithBalanceAndCBA

func (o *SearchAccountsParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *SearchAccountsParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the search accounts params

func (*SearchAccountsParams) WithAudit

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

WithAudit adds the audit to the search accounts params

func (*SearchAccountsParams) WithContext

WithContext adds the context to the search accounts params

func (*SearchAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search accounts params

func (*SearchAccountsParams) WithLimit

func (o *SearchAccountsParams) WithLimit(limit *int64) *SearchAccountsParams

WithLimit adds the limit to the search accounts params

func (*SearchAccountsParams) WithOffset

func (o *SearchAccountsParams) WithOffset(offset *int64) *SearchAccountsParams

WithOffset adds the offset to the search accounts params

func (*SearchAccountsParams) WithSearchKey

func (o *SearchAccountsParams) WithSearchKey(searchKey string) *SearchAccountsParams

WithSearchKey adds the searchKey to the search accounts params

func (*SearchAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the search accounts params

func (*SearchAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchAccountsReader

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

SearchAccountsReader is a Reader for the SearchAccounts structure.

func (*SearchAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultPaymentMethodBadRequest

type SetDefaultPaymentMethodBadRequest struct {
	HttpResponse runtime.ClientResponse
}

SetDefaultPaymentMethodBadRequest handles this case with default header values.

Invalid account id or payment method id supplied

func NewSetDefaultPaymentMethodBadRequest

func NewSetDefaultPaymentMethodBadRequest() *SetDefaultPaymentMethodBadRequest

NewSetDefaultPaymentMethodBadRequest creates a SetDefaultPaymentMethodBadRequest with default headers values

func (*SetDefaultPaymentMethodBadRequest) Error

type SetDefaultPaymentMethodNoContent

type SetDefaultPaymentMethodNoContent struct {
	HttpResponse runtime.ClientResponse
}

SetDefaultPaymentMethodNoContent handles this case with default header values.

Successful operation

func NewSetDefaultPaymentMethodNoContent

func NewSetDefaultPaymentMethodNoContent() *SetDefaultPaymentMethodNoContent

NewSetDefaultPaymentMethodNoContent creates a SetDefaultPaymentMethodNoContent with default headers values

func (*SetDefaultPaymentMethodNoContent) Error

type SetDefaultPaymentMethodNotFound

type SetDefaultPaymentMethodNotFound struct {
	HttpResponse runtime.ClientResponse
}

SetDefaultPaymentMethodNotFound handles this case with default header values.

Account not found

func NewSetDefaultPaymentMethodNotFound

func NewSetDefaultPaymentMethodNotFound() *SetDefaultPaymentMethodNotFound

NewSetDefaultPaymentMethodNotFound creates a SetDefaultPaymentMethodNotFound with default headers values

func (*SetDefaultPaymentMethodNotFound) Error

type SetDefaultPaymentMethodParams

type SetDefaultPaymentMethodParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*PayAllUnpaidInvoices*/
	PayAllUnpaidInvoices *bool
	/*PaymentMethodID*/
	PaymentMethodID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

SetDefaultPaymentMethodParams contains all the parameters to send to the API endpoint for the set default payment method operation typically these are written to a http.Request

func NewSetDefaultPaymentMethodParams

func NewSetDefaultPaymentMethodParams() *SetDefaultPaymentMethodParams

NewSetDefaultPaymentMethodParams creates a new SetDefaultPaymentMethodParams object with the default values initialized.

func NewSetDefaultPaymentMethodParamsWithContext

func NewSetDefaultPaymentMethodParamsWithContext(ctx context.Context) *SetDefaultPaymentMethodParams

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

func NewSetDefaultPaymentMethodParamsWithHTTPClient

func NewSetDefaultPaymentMethodParamsWithHTTPClient(client *http.Client) *SetDefaultPaymentMethodParams

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

func NewSetDefaultPaymentMethodParamsWithTimeout

func NewSetDefaultPaymentMethodParamsWithTimeout(timeout time.Duration) *SetDefaultPaymentMethodParams

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

func (*SetDefaultPaymentMethodParams) SetAccountID

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

SetAccountID adds the accountId to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetContext

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

SetContext adds the context to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetPayAllUnpaidInvoices

func (o *SetDefaultPaymentMethodParams) SetPayAllUnpaidInvoices(payAllUnpaidInvoices *bool)

SetPayAllUnpaidInvoices adds the payAllUnpaidInvoices to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetPaymentMethodID

func (o *SetDefaultPaymentMethodParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetTimeout

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

SetTimeout adds the timeout to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetXKillbillCreatedBy

func (o *SetDefaultPaymentMethodParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithAccountID

WithAccountID adds the accountID to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithContext

WithContext adds the context to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithPayAllUnpaidInvoices

func (o *SetDefaultPaymentMethodParams) WithPayAllUnpaidInvoices(payAllUnpaidInvoices *bool) *SetDefaultPaymentMethodParams

WithPayAllUnpaidInvoices adds the payAllUnpaidInvoices to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithPaymentMethodID

func (o *SetDefaultPaymentMethodParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *SetDefaultPaymentMethodParams

WithPaymentMethodID adds the paymentMethodID to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the set default payment method params

func (*SetDefaultPaymentMethodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDefaultPaymentMethodReader

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

SetDefaultPaymentMethodReader is a Reader for the SetDefaultPaymentMethod structure.

func (*SetDefaultPaymentMethodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TransferChildCreditToParentBadRequest

type TransferChildCreditToParentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

TransferChildCreditToParentBadRequest handles this case with default header values.

Account does not have credit

func NewTransferChildCreditToParentBadRequest

func NewTransferChildCreditToParentBadRequest() *TransferChildCreditToParentBadRequest

NewTransferChildCreditToParentBadRequest creates a TransferChildCreditToParentBadRequest with default headers values

func (*TransferChildCreditToParentBadRequest) Error

type TransferChildCreditToParentNoContent

type TransferChildCreditToParentNoContent struct {
	HttpResponse runtime.ClientResponse
}

TransferChildCreditToParentNoContent handles this case with default header values.

Successful operation

func NewTransferChildCreditToParentNoContent

func NewTransferChildCreditToParentNoContent() *TransferChildCreditToParentNoContent

NewTransferChildCreditToParentNoContent creates a TransferChildCreditToParentNoContent with default headers values

func (*TransferChildCreditToParentNoContent) Error

type TransferChildCreditToParentNotFound

type TransferChildCreditToParentNotFound struct {
	HttpResponse runtime.ClientResponse
}

TransferChildCreditToParentNotFound handles this case with default header values.

Account not found

func NewTransferChildCreditToParentNotFound

func NewTransferChildCreditToParentNotFound() *TransferChildCreditToParentNotFound

NewTransferChildCreditToParentNotFound creates a TransferChildCreditToParentNotFound with default headers values

func (*TransferChildCreditToParentNotFound) Error

type TransferChildCreditToParentParams

type TransferChildCreditToParentParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*ChildAccountID*/
	ChildAccountID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

TransferChildCreditToParentParams contains all the parameters to send to the API endpoint for the transfer child credit to parent operation typically these are written to a http.Request

func NewTransferChildCreditToParentParams

func NewTransferChildCreditToParentParams() *TransferChildCreditToParentParams

NewTransferChildCreditToParentParams creates a new TransferChildCreditToParentParams object with the default values initialized.

func NewTransferChildCreditToParentParamsWithContext

func NewTransferChildCreditToParentParamsWithContext(ctx context.Context) *TransferChildCreditToParentParams

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

func NewTransferChildCreditToParentParamsWithHTTPClient

func NewTransferChildCreditToParentParamsWithHTTPClient(client *http.Client) *TransferChildCreditToParentParams

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

func NewTransferChildCreditToParentParamsWithTimeout

func NewTransferChildCreditToParentParamsWithTimeout(timeout time.Duration) *TransferChildCreditToParentParams

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

func (*TransferChildCreditToParentParams) SetChildAccountID

func (o *TransferChildCreditToParentParams) SetChildAccountID(childAccountID strfmt.UUID)

SetChildAccountID adds the childAccountId to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetContext

SetContext adds the context to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetTimeout

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

SetTimeout adds the timeout to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetXKillbillCreatedBy

func (o *TransferChildCreditToParentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithChildAccountID

func (o *TransferChildCreditToParentParams) WithChildAccountID(childAccountID strfmt.UUID) *TransferChildCreditToParentParams

WithChildAccountID adds the childAccountID to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithContext

WithContext adds the context to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithTimeout

WithTimeout adds the timeout to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TransferChildCreditToParentReader

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

TransferChildCreditToParentReader is a Reader for the TransferChildCreditToParent structure.

func (*TransferChildCreditToParentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAccountBadRequest

type UpdateAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

UpdateAccountBadRequest handles this case with default header values.

Invalid account data supplied

func NewUpdateAccountBadRequest

func NewUpdateAccountBadRequest() *UpdateAccountBadRequest

NewUpdateAccountBadRequest creates a UpdateAccountBadRequest with default headers values

func (*UpdateAccountBadRequest) Error

func (o *UpdateAccountBadRequest) Error() string

type UpdateAccountNoContent

type UpdateAccountNoContent struct {
	HttpResponse runtime.ClientResponse
}

UpdateAccountNoContent handles this case with default header values.

Successful operation

func NewUpdateAccountNoContent

func NewUpdateAccountNoContent() *UpdateAccountNoContent

NewUpdateAccountNoContent creates a UpdateAccountNoContent with default headers values

func (*UpdateAccountNoContent) Error

func (o *UpdateAccountNoContent) Error() string

type UpdateAccountParams

type UpdateAccountParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*AccountID*/
	AccountID strfmt.UUID
	/*Body*/
	Body *kbmodel.Account
	/*TreatNullAsReset*/
	TreatNullAsReset *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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
}

UpdateAccountParams contains all the parameters to send to the API endpoint for the update account operation typically these are written to a http.Request

func NewUpdateAccountParams

func NewUpdateAccountParams() *UpdateAccountParams

NewUpdateAccountParams creates a new UpdateAccountParams object with the default values initialized.

func NewUpdateAccountParamsWithContext

func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParams

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

func NewUpdateAccountParamsWithHTTPClient

func NewUpdateAccountParamsWithHTTPClient(client *http.Client) *UpdateAccountParams

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

func NewUpdateAccountParamsWithTimeout

func NewUpdateAccountParamsWithTimeout(timeout time.Duration) *UpdateAccountParams

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

func (*UpdateAccountParams) SetAccountID

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

SetAccountID adds the accountId to the update account params

func (*UpdateAccountParams) SetBody

func (o *UpdateAccountParams) SetBody(body *kbmodel.Account)

SetBody adds the body to the update account params

func (*UpdateAccountParams) SetContext

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

SetContext adds the context to the update account params

func (*UpdateAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update account params

func (*UpdateAccountParams) SetTimeout

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

SetTimeout adds the timeout to the update account params

func (*UpdateAccountParams) SetTreatNullAsReset

func (o *UpdateAccountParams) SetTreatNullAsReset(treatNullAsReset *bool)

SetTreatNullAsReset adds the treatNullAsReset to the update account params

func (*UpdateAccountParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the update account params

func (*UpdateAccountParams) SetXKillbillCreatedBy

func (o *UpdateAccountParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update account params

func (*UpdateAccountParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the update account params

func (*UpdateAccountParams) WithAccountID

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

WithAccountID adds the accountID to the update account params

func (*UpdateAccountParams) WithBody

WithBody adds the body to the update account params

func (*UpdateAccountParams) WithContext

WithContext adds the context to the update account params

func (*UpdateAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update account params

func (*UpdateAccountParams) WithTimeout

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

WithTimeout adds the timeout to the update account params

func (*UpdateAccountParams) WithTreatNullAsReset

func (o *UpdateAccountParams) WithTreatNullAsReset(treatNullAsReset *bool) *UpdateAccountParams

WithTreatNullAsReset adds the treatNullAsReset to the update account params

func (*UpdateAccountParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the update account params

func (*UpdateAccountParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update account params

func (*UpdateAccountParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the update account params

func (*UpdateAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateAccountReader

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

UpdateAccountReader is a Reader for the UpdateAccount structure.

func (*UpdateAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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