account

package
v3.0.1-draft Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 11 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 {
}
AddAccountBlockingStateBadRequest describes a response with status code 400, 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
}
AddAccountBlockingStateCreated describes a response with status code 201, 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 {
}
AddAccountBlockingStateNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.BlockingState

	// PluginProperty.
	PluginProperty []string

	// RequestedDate.
	//
	// Format: date
	RequestedDate *strfmt.Date

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddAccountBlockingStateParamsWithContext

func NewAddAccountBlockingStateParamsWithContext(ctx context.Context) *AddAccountBlockingStateParams

NewAddAccountBlockingStateParamsWithContext creates a new AddAccountBlockingStateParams object with 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 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 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) SetDefaults

func (o *AddAccountBlockingStateParams) SetDefaults()

SetDefaults hydrates default values in the add account blocking state params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the add account blocking state params (not the query body).

All values with no default are reset to their zero value.

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 {
}
AddEmailBadRequest describes a response with status code 400, 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
}
AddEmailCreated describes a response with status code 201, 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 {
}
AddEmailNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.AccountEmail

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddEmailParamsWithContext

func NewAddEmailParamsWithContext(ctx context.Context) *AddEmailParams

NewAddEmailParamsWithContext creates a new AddEmailParams object with 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 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 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) SetDefaults

func (o *AddEmailParams) SetDefaults()

SetDefaults hydrates default values in the add email params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *AddEmailParams) WithDefaults() *AddEmailParams

WithDefaults hydrates default values in the add email params (not the query body).

All values with no default are reset to their zero value.

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 (*Client) AddAccountBlockingState

func (a *Client) AddAccountBlockingState(params *AddAccountBlockingStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAccountBlockingStateCreated, error)

AddAccountBlockingState blocks an account

func (*Client) AddEmail

func (a *Client) AddEmail(params *AddEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddEmailCreated, error)

AddEmail adds account email

func (*Client) CloseAccount

func (a *Client) CloseAccount(params *CloseAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloseAccountNoContent, error)

CloseAccount closes account

func (*Client) CreateAccount

func (a *Client) CreateAccount(params *CreateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountCreated, error)

CreateAccount creates account

func (*Client) CreateAccountCustomFields

func (a *Client) CreateAccountCustomFields(params *CreateAccountCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountCustomFieldsCreated, error)

CreateAccountCustomFields adds custom fields to account

func (*Client) CreateAccountTags

func (a *Client) CreateAccountTags(params *CreateAccountTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountTagsCreated, error)

CreateAccountTags adds tags to account

func (*Client) CreatePaymentMethod

func (a *Client) CreatePaymentMethod(params *CreatePaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePaymentMethodCreated, error)

CreatePaymentMethod adds a payment method

func (*Client) DeleteAccountCustomFields

DeleteAccountCustomFields removes custom fields from account

func (*Client) DeleteAccountTags

func (a *Client) DeleteAccountTags(params *DeleteAccountTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountTagsNoContent, error)

DeleteAccountTags removes tags from account

func (*Client) GetAccount

func (a *Client) GetAccount(params *GetAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountOK, error)

GetAccount retrieves an account by id

func (*Client) GetAccountAuditLogs

func (a *Client) GetAccountAuditLogs(params *GetAccountAuditLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountAuditLogsOK, error)

GetAccountAuditLogs retrieves audit logs by account id

func (*Client) GetAccountAuditLogsWithHistory

func (a *Client) GetAccountAuditLogsWithHistory(params *GetAccountAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountAuditLogsWithHistoryOK, error)

GetAccountAuditLogsWithHistory retrieves account audit logs with history by account id

func (*Client) GetAccountBundles

func (a *Client) GetAccountBundles(params *GetAccountBundlesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountBundlesOK, error)

GetAccountBundles retrieves bundles for account

func (*Client) GetAccountByKey

func (a *Client) GetAccountByKey(params *GetAccountByKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountByKeyOK, error)

GetAccountByKey retrieves an account by external key

func (*Client) GetAccountCustomFields

func (a *Client) GetAccountCustomFields(params *GetAccountCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountCustomFieldsOK, error)

GetAccountCustomFields retrieves account custom fields

func (*Client) GetAccountEmailAuditLogsWithHistory

func (a *Client) GetAccountEmailAuditLogsWithHistory(params *GetAccountEmailAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountEmailAuditLogsWithHistoryOK, error)

GetAccountEmailAuditLogsWithHistory retrieves account email audit logs with history by id

func (*Client) GetAccountTags

func (a *Client) GetAccountTags(params *GetAccountTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountTagsOK, error)

GetAccountTags retrieves account tags

func (*Client) GetAccountTimeline

func (a *Client) GetAccountTimeline(params *GetAccountTimelineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountTimelineOK, error)

GetAccountTimeline retrieves account timeline

func (*Client) GetAccounts

func (a *Client) GetAccounts(params *GetAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountsOK, error)

GetAccounts lists accounts

func (*Client) GetAllCustomFields

func (a *Client) GetAllCustomFields(params *GetAllCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllCustomFieldsOK, error)

GetAllCustomFields retrieves account custom fields

func (*Client) GetAllTags

func (a *Client) GetAllTags(params *GetAllTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllTagsOK, error)

GetAllTags retrieves account tags

func (*Client) GetBlockingStateAuditLogsWithHistory

func (a *Client) GetBlockingStateAuditLogsWithHistory(params *GetBlockingStateAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBlockingStateAuditLogsWithHistoryOK, error)

GetBlockingStateAuditLogsWithHistory retrieves blocking state audit logs with history by id

func (*Client) GetBlockingStates

func (a *Client) GetBlockingStates(params *GetBlockingStatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBlockingStatesOK, error)

GetBlockingStates retrieves blocking states for account

func (*Client) GetChildrenAccounts

func (a *Client) GetChildrenAccounts(params *GetChildrenAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetChildrenAccountsOK, error)

GetChildrenAccounts lists children accounts

func (*Client) GetEmails

func (a *Client) GetEmails(params *GetEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailsOK, error)

GetEmails retrieves an account emails

func (*Client) GetInvoicePayments

func (a *Client) GetInvoicePayments(params *GetInvoicePaymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoicePaymentsOK, error)

GetInvoicePayments retrieves account invoice payments

func (*Client) GetInvoicesForAccount

func (a *Client) GetInvoicesForAccount(params *GetInvoicesForAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoicesForAccountOK, error)

GetInvoicesForAccount retrieves account invoices

func (*Client) GetOverdueAccount

func (a *Client) GetOverdueAccount(params *GetOverdueAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOverdueAccountOK, error)

GetOverdueAccount retrieves overdue state for account

func (*Client) GetPaymentMethodsForAccount

func (a *Client) GetPaymentMethodsForAccount(params *GetPaymentMethodsForAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodsForAccountOK, error)

GetPaymentMethodsForAccount retrieves account payment methods

func (*Client) GetPaymentsForAccount

func (a *Client) GetPaymentsForAccount(params *GetPaymentsForAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentsForAccountOK, error)

GetPaymentsForAccount retrieves account payments

func (*Client) ModifyAccountCustomFields

ModifyAccountCustomFields modifies custom fields to account

func (*Client) PayAllInvoices

PayAllInvoices triggers a payment for all unpaid invoices

func (*Client) ProcessPayment

func (a *Client) ProcessPayment(params *ProcessPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProcessPaymentCreated, error)

ProcessPayment triggers a payment authorization purchase or credit

func (*Client) ProcessPaymentByExternalKey

func (a *Client) ProcessPaymentByExternalKey(params *ProcessPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProcessPaymentByExternalKeyCreated, error)

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

func (*Client) RebalanceExistingCBAOnAccount

RebalanceExistingCBAOnAccount rebalances account c b a

func (*Client) RefreshPaymentMethods

func (a *Client) RefreshPaymentMethods(params *RefreshPaymentMethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshPaymentMethodsNoContent, error)

RefreshPaymentMethods refreshes account payment methods

func (*Client) RemoveEmail

func (a *Client) RemoveEmail(params *RemoveEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveEmailNoContent, error)

RemoveEmail deletes email from account

func (*Client) SearchAccounts

func (a *Client) SearchAccounts(params *SearchAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchAccountsOK, error)

SearchAccounts searches accounts

func (*Client) SetDefaultPaymentMethod

func (a *Client) SetDefaultPaymentMethod(params *SetDefaultPaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetDefaultPaymentMethodNoContent, error)

SetDefaultPaymentMethod sets the default payment method

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TransferChildCreditToParent

TransferChildCreditToParent moves a given child credit to the parent level

func (*Client) UpdateAccount

func (a *Client) UpdateAccount(params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccountNoContent, error)

UpdateAccount updates account

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddAccountBlockingState(params *AddAccountBlockingStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAccountBlockingStateCreated, error)

	AddEmail(params *AddEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddEmailCreated, error)

	CloseAccount(params *CloseAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloseAccountNoContent, error)

	CreateAccount(params *CreateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountCreated, error)

	CreateAccountCustomFields(params *CreateAccountCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountCustomFieldsCreated, error)

	CreateAccountTags(params *CreateAccountTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountTagsCreated, error)

	CreatePaymentMethod(params *CreatePaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePaymentMethodCreated, error)

	DeleteAccountCustomFields(params *DeleteAccountCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountCustomFieldsNoContent, error)

	DeleteAccountTags(params *DeleteAccountTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountTagsNoContent, error)

	GetAccount(params *GetAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountOK, error)

	GetAccountAuditLogs(params *GetAccountAuditLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountAuditLogsOK, error)

	GetAccountAuditLogsWithHistory(params *GetAccountAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountAuditLogsWithHistoryOK, error)

	GetAccountBundles(params *GetAccountBundlesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountBundlesOK, error)

	GetAccountByKey(params *GetAccountByKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountByKeyOK, error)

	GetAccountCustomFields(params *GetAccountCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountCustomFieldsOK, error)

	GetAccountEmailAuditLogsWithHistory(params *GetAccountEmailAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountEmailAuditLogsWithHistoryOK, error)

	GetAccountTags(params *GetAccountTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountTagsOK, error)

	GetAccountTimeline(params *GetAccountTimelineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountTimelineOK, error)

	GetAccounts(params *GetAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountsOK, error)

	GetAllCustomFields(params *GetAllCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllCustomFieldsOK, error)

	GetAllTags(params *GetAllTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllTagsOK, error)

	GetBlockingStateAuditLogsWithHistory(params *GetBlockingStateAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBlockingStateAuditLogsWithHistoryOK, error)

	GetBlockingStates(params *GetBlockingStatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBlockingStatesOK, error)

	GetChildrenAccounts(params *GetChildrenAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetChildrenAccountsOK, error)

	GetEmails(params *GetEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailsOK, error)

	GetInvoicePayments(params *GetInvoicePaymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoicePaymentsOK, error)

	GetInvoicesForAccount(params *GetInvoicesForAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoicesForAccountOK, error)

	GetOverdueAccount(params *GetOverdueAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOverdueAccountOK, error)

	GetPaymentMethodsForAccount(params *GetPaymentMethodsForAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodsForAccountOK, error)

	GetPaymentsForAccount(params *GetPaymentsForAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentsForAccountOK, error)

	ModifyAccountCustomFields(params *ModifyAccountCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ModifyAccountCustomFieldsNoContent, error)

	PayAllInvoices(params *PayAllInvoicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PayAllInvoicesCreated, *PayAllInvoicesNoContent, error)

	ProcessPayment(params *ProcessPaymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProcessPaymentCreated, error)

	ProcessPaymentByExternalKey(params *ProcessPaymentByExternalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProcessPaymentByExternalKeyCreated, error)

	RebalanceExistingCBAOnAccount(params *RebalanceExistingCBAOnAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RebalanceExistingCBAOnAccountNoContent, error)

	RefreshPaymentMethods(params *RefreshPaymentMethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshPaymentMethodsNoContent, error)

	RemoveEmail(params *RemoveEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveEmailNoContent, error)

	SearchAccounts(params *SearchAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchAccountsOK, error)

	SetDefaultPaymentMethod(params *SetDefaultPaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetDefaultPaymentMethodNoContent, error)

	TransferChildCreditToParent(params *TransferChildCreditToParentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TransferChildCreditToParentNoContent, error)

	UpdateAccount(params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccountNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new account API client.

type CloseAccountBadRequest

type CloseAccountBadRequest struct {
}
CloseAccountBadRequest describes a response with status code 400, 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 {
}
CloseAccountNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// CancelAllSubscriptions.
	CancelAllSubscriptions *bool

	// ItemAdjustUnpaidInvoices.
	ItemAdjustUnpaidInvoices *bool

	// RemoveFutureNotifications.
	//
	// Default: true
	RemoveFutureNotifications *bool

	// WriteOffUnpaidInvoices.
	WriteOffUnpaidInvoices *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCloseAccountParamsWithContext

func NewCloseAccountParamsWithContext(ctx context.Context) *CloseAccountParams

NewCloseAccountParamsWithContext creates a new CloseAccountParams object with 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 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 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) SetDefaults

func (o *CloseAccountParams) SetDefaults()

SetDefaults hydrates default values in the close account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *CloseAccountParams) WithDefaults() *CloseAccountParams

WithDefaults hydrates default values in the close account params (not the query body).

All values with no default are reset to their zero value.

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 {
}
CreateAccountBadRequest describes a response with status code 400, 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
}
CreateAccountCreated describes a response with status code 201, 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 {
}
CreateAccountCustomFieldsBadRequest describes a response with status code 400, 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
}
CreateAccountCustomFieldsCreated describes a response with status code 201, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body []*kbmodel.CustomField

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateAccountCustomFieldsParamsWithContext

func NewCreateAccountCustomFieldsParamsWithContext(ctx context.Context) *CreateAccountCustomFieldsParams

NewCreateAccountCustomFieldsParamsWithContext creates a new CreateAccountCustomFieldsParams object with 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 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 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) SetDefaults

func (o *CreateAccountCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the create account custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the create account custom fields params (not the query body).

All values with no default are reset to their zero value.

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

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateAccountParamsWithContext

func NewCreateAccountParamsWithContext(ctx context.Context) *CreateAccountParams

NewCreateAccountParamsWithContext creates a new CreateAccountParams object with 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 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 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) SetDefaults

func (o *CreateAccountParams) SetDefaults()

SetDefaults hydrates default values in the create account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *CreateAccountParams) WithDefaults() *CreateAccountParams

WithDefaults hydrates default values in the create account params (not the query body).

All values with no default are reset to their zero value.

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 {
}
CreateAccountTagsBadRequest describes a response with status code 400, 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
}
CreateAccountTagsCreated describes a response with status code 201, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body []strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateAccountTagsParamsWithContext

func NewCreateAccountTagsParamsWithContext(ctx context.Context) *CreateAccountTagsParams

NewCreateAccountTagsParamsWithContext creates a new CreateAccountTagsParams object with 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 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 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) SetDefaults

func (o *CreateAccountTagsParams) SetDefaults()

SetDefaults hydrates default values in the create account tags params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the create account tags params (not the query body).

All values with no default are reset to their zero value.

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 {
}
CreatePaymentMethodBadRequest describes a response with status code 400, 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
}
CreatePaymentMethodCreated describes a response with status code 201, 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 {
}
CreatePaymentMethodNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.PaymentMethod

	// ControlPluginName.
	ControlPluginName []string

	// IsDefault.
	IsDefault *bool

	// PayAllUnpaidInvoices.
	PayAllUnpaidInvoices *bool

	// PluginProperty.
	PluginProperty []string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePaymentMethodParamsWithContext

func NewCreatePaymentMethodParamsWithContext(ctx context.Context) *CreatePaymentMethodParams

NewCreatePaymentMethodParamsWithContext creates a new CreatePaymentMethodParams object with 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 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 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) SetDefaults

func (o *CreatePaymentMethodParams) SetDefaults()

SetDefaults hydrates default values in the create payment method params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the create payment method params (not the query body).

All values with no default are reset to their zero value.

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 {
}
DeleteAccountCustomFieldsBadRequest describes a response with status code 400, 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 {
}
DeleteAccountCustomFieldsNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// CustomField.
	CustomField []strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAccountCustomFieldsParamsWithContext

func NewDeleteAccountCustomFieldsParamsWithContext(ctx context.Context) *DeleteAccountCustomFieldsParams

NewDeleteAccountCustomFieldsParamsWithContext creates a new DeleteAccountCustomFieldsParams object with 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 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 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) SetDefaults

func (o *DeleteAccountCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the delete account custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the delete account custom fields params (not the query body).

All values with no default are reset to their zero value.

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 {
}
DeleteAccountTagsBadRequest describes a response with status code 400, 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 {
}
DeleteAccountTagsNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// TagDef.
	TagDef []strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAccountTagsParamsWithContext

func NewDeleteAccountTagsParamsWithContext(ctx context.Context) *DeleteAccountTagsParams

NewDeleteAccountTagsParamsWithContext creates a new DeleteAccountTagsParams object with 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 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 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) SetDefaults

func (o *DeleteAccountTagsParams) SetDefaults()

SetDefaults hydrates default values in the delete account tags params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the delete account tags params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountAuditLogsNotFound describes a response with status code 404, 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
}
GetAccountAuditLogsOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountAuditLogsParamsWithContext

func NewGetAccountAuditLogsParamsWithContext(ctx context.Context) *GetAccountAuditLogsParams

NewGetAccountAuditLogsParamsWithContext creates a new GetAccountAuditLogsParams object with 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 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 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) SetDefaults

func (o *GetAccountAuditLogsParams) SetDefaults()

SetDefaults hydrates default values in the get account audit logs params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get account audit logs params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountAuditLogsWithHistoryNotFound describes a response with status code 404, 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
}
GetAccountAuditLogsWithHistoryOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountAuditLogsWithHistoryParamsWithContext

func NewGetAccountAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetAccountAuditLogsWithHistoryParams

NewGetAccountAuditLogsWithHistoryParamsWithContext creates a new GetAccountAuditLogsWithHistoryParams object with 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 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 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) SetDefaults

func (o *GetAccountAuditLogsWithHistoryParams) SetDefaults()

SetDefaults hydrates default values in the get account audit logs with history params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get account audit logs with history params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountBadRequest describes a response with status code 400, 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 {
}
GetAccountBundlesBadRequest describes a response with status code 400, 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 {
}
GetAccountBundlesNotFound describes a response with status code 404, 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
}
GetAccountBundlesOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// BundlesFilter.
	BundlesFilter *string

	// ExternalKey.
	ExternalKey *string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountBundlesParamsWithContext

func NewGetAccountBundlesParamsWithContext(ctx context.Context) *GetAccountBundlesParams

NewGetAccountBundlesParamsWithContext creates a new GetAccountBundlesParams object with 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 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 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) SetDefaults

func (o *GetAccountBundlesParams) SetDefaults()

SetDefaults hydrates default values in the get account bundles params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get account bundles params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountByKeyNotFound describes a response with status code 404, 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
}
GetAccountByKeyOK describes a response with status code 200, 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.
	//
	// Default: "NONE"
	Audit *string

	// ExternalKey.
	ExternalKey string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountByKeyParamsWithContext

func NewGetAccountByKeyParamsWithContext(ctx context.Context) *GetAccountByKeyParams

NewGetAccountByKeyParamsWithContext creates a new GetAccountByKeyParams object with 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 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 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) SetDefaults

func (o *GetAccountByKeyParams) SetDefaults()

SetDefaults hydrates default values in the get account by key params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetAccountByKeyParams) WithDefaults() *GetAccountByKeyParams

WithDefaults hydrates default values in the get account by key params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountCustomFieldsBadRequest describes a response with status code 400, 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
}
GetAccountCustomFieldsOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountCustomFieldsParamsWithContext

func NewGetAccountCustomFieldsParamsWithContext(ctx context.Context) *GetAccountCustomFieldsParams

NewGetAccountCustomFieldsParamsWithContext creates a new GetAccountCustomFieldsParams object with 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 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 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) SetDefaults

func (o *GetAccountCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the get account custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get account custom fields params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountEmailAuditLogsWithHistoryNotFound describes a response with status code 404, 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
}
GetAccountEmailAuditLogsWithHistoryOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountEmailID strfmt.UUID

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountEmailAuditLogsWithHistoryParamsWithContext

func NewGetAccountEmailAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetAccountEmailAuditLogsWithHistoryParams

NewGetAccountEmailAuditLogsWithHistoryParamsWithContext creates a new GetAccountEmailAuditLogsWithHistoryParams object with 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 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 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) SetDefaults

SetDefaults hydrates default values in the get account email audit logs with history params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get account email audit logs with history params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountNotFound describes a response with status code 404, 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
}
GetAccountOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// AccountWithBalance.
	AccountWithBalance *bool

	// AccountWithBalanceAndCBA.
	AccountWithBalanceAndCBA *bool

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountParamsWithContext

func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams

NewGetAccountParamsWithContext creates a new GetAccountParams object with 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 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 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) SetDefaults

func (o *GetAccountParams) SetDefaults()

SetDefaults hydrates default values in the get account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetAccountParams) WithDefaults() *GetAccountParams

WithDefaults hydrates default values in the get account params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountTagsBadRequest describes a response with status code 400, 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 {
}
GetAccountTagsNotFound describes a response with status code 404, 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
}
GetAccountTagsOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// IncludedDeleted.
	IncludedDeleted *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountTagsParamsWithContext

func NewGetAccountTagsParamsWithContext(ctx context.Context) *GetAccountTagsParams

NewGetAccountTagsParamsWithContext creates a new GetAccountTagsParams object with 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 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 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) SetDefaults

func (o *GetAccountTagsParams) SetDefaults()

SetDefaults hydrates default values in the get account tags params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetAccountTagsParams) WithDefaults() *GetAccountTagsParams

WithDefaults hydrates default values in the get account tags params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAccountTimelineBadRequest describes a response with status code 400, 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 {
}
GetAccountTimelineNotFound describes a response with status code 404, 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
}
GetAccountTimelineOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// Parallel.
	Parallel *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountTimelineParamsWithContext

func NewGetAccountTimelineParamsWithContext(ctx context.Context) *GetAccountTimelineParams

NewGetAccountTimelineParamsWithContext creates a new GetAccountTimelineParams object with 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 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 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) SetDefaults

func (o *GetAccountTimelineParams) SetDefaults()

SetDefaults hydrates default values in the get account timeline params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get account timeline params (not the query body).

All values with no default are reset to their zero value.

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
}
GetAccountsOK describes a response with status code 200, 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.
	//
	// Default: "NONE"
	Audit *string

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountsParamsWithContext

func NewGetAccountsParamsWithContext(ctx context.Context) *GetAccountsParams

NewGetAccountsParamsWithContext creates a new GetAccountsParams object with 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 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 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) SetDefaults

func (o *GetAccountsParams) SetDefaults()

SetDefaults hydrates default values in the get accounts params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetAccountsParams) WithDefaults() *GetAccountsParams

WithDefaults hydrates default values in the get accounts params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAllCustomFieldsBadRequest describes a response with status code 400, 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 {
}
GetAllCustomFieldsNotFound describes a response with status code 404, 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
}
GetAllCustomFieldsOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// ObjectType.
	ObjectType *string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAllCustomFieldsParamsWithContext

func NewGetAllCustomFieldsParamsWithContext(ctx context.Context) *GetAllCustomFieldsParams

NewGetAllCustomFieldsParamsWithContext creates a new GetAllCustomFieldsParams object with 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 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 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) SetDefaults

func (o *GetAllCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the get all custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get all custom fields params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetAllTagsBadRequest describes a response with status code 400, 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 {
}
GetAllTagsNotFound describes a response with status code 404, 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
}
GetAllTagsOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// IncludedDeleted.
	IncludedDeleted *bool

	// ObjectType.
	ObjectType *string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAllTagsParamsWithContext

func NewGetAllTagsParamsWithContext(ctx context.Context) *GetAllTagsParams

NewGetAllTagsParamsWithContext creates a new GetAllTagsParams object with 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 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 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) SetDefaults

func (o *GetAllTagsParams) SetDefaults()

SetDefaults hydrates default values in the get all tags params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetAllTagsParams) WithDefaults() *GetAllTagsParams

WithDefaults hydrates default values in the get all tags params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetBlockingStateAuditLogsWithHistoryNotFound describes a response with status code 404, 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
}
GetBlockingStateAuditLogsWithHistoryOK describes a response with status code 200, 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.
	//
	// Format: uuid
	BlockingID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBlockingStateAuditLogsWithHistoryParamsWithContext

func NewGetBlockingStateAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetBlockingStateAuditLogsWithHistoryParams

NewGetBlockingStateAuditLogsWithHistoryParamsWithContext creates a new GetBlockingStateAuditLogsWithHistoryParams object with 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 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 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) SetDefaults

SetDefaults hydrates default values in the get blocking state audit logs with history params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get blocking state audit logs with history params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetBlockingStatesBadRequest describes a response with status code 400, 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
}
GetBlockingStatesOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// BlockingStateSvcs.
	BlockingStateSvcs []string

	// BlockingStateTypes.
	BlockingStateTypes []string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBlockingStatesParamsWithContext

func NewGetBlockingStatesParamsWithContext(ctx context.Context) *GetBlockingStatesParams

NewGetBlockingStatesParamsWithContext creates a new GetBlockingStatesParams object with 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 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 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) SetDefaults

func (o *GetBlockingStatesParams) SetDefaults()

SetDefaults hydrates default values in the get blocking states params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get blocking states params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetChildrenAccountsBadRequest describes a response with status code 400, 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 {
}
GetChildrenAccountsNotFound describes a response with status code 404, 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
}
GetChildrenAccountsOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// AccountWithBalance.
	AccountWithBalance *bool

	// AccountWithBalanceAndCBA.
	AccountWithBalanceAndCBA *bool

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetChildrenAccountsParamsWithContext

func NewGetChildrenAccountsParamsWithContext(ctx context.Context) *GetChildrenAccountsParams

NewGetChildrenAccountsParamsWithContext creates a new GetChildrenAccountsParams object with 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 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 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) SetDefaults

func (o *GetChildrenAccountsParams) SetDefaults()

SetDefaults hydrates default values in the get children accounts params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get children accounts params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetEmailsBadRequest describes a response with status code 400, 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
}
GetEmailsOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEmailsParamsWithContext

func NewGetEmailsParamsWithContext(ctx context.Context) *GetEmailsParams

NewGetEmailsParamsWithContext creates a new GetEmailsParams object with 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 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 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) SetDefaults

func (o *GetEmailsParams) SetDefaults()

SetDefaults hydrates default values in the get emails params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetEmailsParams) WithDefaults() *GetEmailsParams

WithDefaults hydrates default values in the get emails params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetInvoicePaymentsBadRequest describes a response with status code 400, 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 {
}
GetInvoicePaymentsNotFound describes a response with status code 404, 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
}
GetInvoicePaymentsOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoicePaymentsParamsWithContext

func NewGetInvoicePaymentsParamsWithContext(ctx context.Context) *GetInvoicePaymentsParams

NewGetInvoicePaymentsParamsWithContext creates a new GetInvoicePaymentsParams object with 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 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 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) SetDefaults

func (o *GetInvoicePaymentsParams) SetDefaults()

SetDefaults hydrates default values in the get invoice payments params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get invoice payments params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetInvoicesForAccountBadRequest describes a response with status code 400, 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 {
}
GetInvoicesForAccountNotFound describes a response with status code 404, 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
}
GetInvoicesForAccountOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// EndDate.
	//
	// Format: date
	EndDate *strfmt.Date

	// IncludeVoidedInvoices.
	IncludeVoidedInvoices *bool

	// InvoicesFilter.
	InvoicesFilter *string

	// StartDate.
	//
	// Format: date
	StartDate *strfmt.Date

	// UnpaidInvoicesOnly.
	UnpaidInvoicesOnly *bool

	// WithMigrationInvoices.
	WithMigrationInvoices *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInvoicesForAccountParamsWithContext

func NewGetInvoicesForAccountParamsWithContext(ctx context.Context) *GetInvoicesForAccountParams

NewGetInvoicesForAccountParamsWithContext creates a new GetInvoicesForAccountParams object with 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 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 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) SetDefaults

func (o *GetInvoicesForAccountParams) SetDefaults()

SetDefaults hydrates default values in the get invoices for account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get invoices for account params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetOverdueAccountBadRequest describes a response with status code 400, 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 {
}
GetOverdueAccountNotFound describes a response with status code 404, 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
}
GetOverdueAccountOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOverdueAccountParamsWithContext

func NewGetOverdueAccountParamsWithContext(ctx context.Context) *GetOverdueAccountParams

NewGetOverdueAccountParamsWithContext creates a new GetOverdueAccountParams object with 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 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 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) SetDefaults

func (o *GetOverdueAccountParams) SetDefaults()

SetDefaults hydrates default values in the get overdue account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get overdue account params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetPaymentMethodsForAccountBadRequest describes a response with status code 400, 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 {
}
GetPaymentMethodsForAccountNotFound describes a response with status code 404, 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
}
GetPaymentMethodsForAccountOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// IncludedDeleted.
	IncludedDeleted *bool

	// PluginProperty.
	PluginProperty []string

	// WithPluginInfo.
	WithPluginInfo *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentMethodsForAccountParamsWithContext

func NewGetPaymentMethodsForAccountParamsWithContext(ctx context.Context) *GetPaymentMethodsForAccountParams

NewGetPaymentMethodsForAccountParamsWithContext creates a new GetPaymentMethodsForAccountParams object with 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 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 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) SetDefaults

func (o *GetPaymentMethodsForAccountParams) SetDefaults()

SetDefaults hydrates default values in the get payment methods for account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get payment methods for account params (not the query body).

All values with no default are reset to their zero value.

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 {
}
GetPaymentsForAccountBadRequest describes a response with status code 400, 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
}
GetPaymentsForAccountOK describes a response with status code 200, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPaymentsForAccountParamsWithContext

func NewGetPaymentsForAccountParamsWithContext(ctx context.Context) *GetPaymentsForAccountParams

NewGetPaymentsForAccountParamsWithContext creates a new GetPaymentsForAccountParams object with 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 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 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) SetDefaults

func (o *GetPaymentsForAccountParams) SetDefaults()

SetDefaults hydrates default values in the get payments for account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get payments for account params (not the query body).

All values with no default are reset to their zero value.

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 ModifyAccountCustomFieldsBadRequest

type ModifyAccountCustomFieldsBadRequest struct {
}
ModifyAccountCustomFieldsBadRequest describes a response with status code 400, 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 {
}
ModifyAccountCustomFieldsNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body []*kbmodel.CustomField

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewModifyAccountCustomFieldsParamsWithContext

func NewModifyAccountCustomFieldsParamsWithContext(ctx context.Context) *ModifyAccountCustomFieldsParams

NewModifyAccountCustomFieldsParamsWithContext creates a new ModifyAccountCustomFieldsParams object with 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 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 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) SetDefaults

func (o *ModifyAccountCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the modify account custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the modify account custom fields params (not the query body).

All values with no default are reset to their zero value.

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
}
PayAllInvoicesCreated describes a response with status code 201, 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 {
}
PayAllInvoicesNoContent describes a response with status code 204, 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 {
}
PayAllInvoicesNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// ExternalPayment.
	ExternalPayment *bool

	// PaymentAmount.
	PaymentAmount *float64

	// PaymentMethodID.
	//
	// Format: uuid
	PaymentMethodID *strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	// TargetDate.
	//
	// Format: date
	TargetDate *strfmt.Date

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPayAllInvoicesParamsWithContext

func NewPayAllInvoicesParamsWithContext(ctx context.Context) *PayAllInvoicesParams

NewPayAllInvoicesParamsWithContext creates a new PayAllInvoicesParams object with 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 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 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) SetDefaults

func (o *PayAllInvoicesParams) SetDefaults()

SetDefaults hydrates default values in the pay all invoices params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *PayAllInvoicesParams) WithDefaults() *PayAllInvoicesParams

WithDefaults hydrates default values in the pay all invoices params (not the query body).

All values with no default are reset to their zero value.

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 {
}
ProcessPaymentBadGateway describes a response with status code 502, 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 {
}
ProcessPaymentBadRequest describes a response with status code 400, 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 {
}
ProcessPaymentByExternalKeyBadGateway describes a response with status code 502, 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 {
}
ProcessPaymentByExternalKeyBadRequest describes a response with status code 400, 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
}
ProcessPaymentByExternalKeyCreated describes a response with status code 201, 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 {
}
ProcessPaymentByExternalKeyGatewayTimeout describes a response with status code 504, 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 {
}
ProcessPaymentByExternalKeyNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	PaymentMethodID *strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProcessPaymentByExternalKeyParamsWithContext

func NewProcessPaymentByExternalKeyParamsWithContext(ctx context.Context) *ProcessPaymentByExternalKeyParams

NewProcessPaymentByExternalKeyParamsWithContext creates a new ProcessPaymentByExternalKeyParams object with 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 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 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) SetDefaults

func (o *ProcessPaymentByExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the process payment by external key params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the process payment by external key params (not the query body).

All values with no default are reset to their zero value.

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 {
}
ProcessPaymentByExternalKeyPaymentRequired describes a response with status code 402, 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 {
}
ProcessPaymentByExternalKeyServiceUnavailable describes a response with status code 503, 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 {
}
ProcessPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, 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
}
ProcessPaymentCreated describes a response with status code 201, 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 {
}
ProcessPaymentGatewayTimeout describes a response with status code 504, 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 {
}
ProcessPaymentNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PaymentMethodID.
	//
	// Format: uuid
	PaymentMethodID *strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProcessPaymentParamsWithContext

func NewProcessPaymentParamsWithContext(ctx context.Context) *ProcessPaymentParams

NewProcessPaymentParamsWithContext creates a new ProcessPaymentParams object with 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 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 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) SetDefaults

func (o *ProcessPaymentParams) SetDefaults()

SetDefaults hydrates default values in the process payment params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *ProcessPaymentParams) WithDefaults() *ProcessPaymentParams

WithDefaults hydrates default values in the process payment params (not the query body).

All values with no default are reset to their zero value.

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 {
}
ProcessPaymentPaymentRequired describes a response with status code 402, 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 {
}
ProcessPaymentServiceUnavailable describes a response with status code 503, 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 {
}
ProcessPaymentUnprocessableEntity describes a response with status code 422, 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 {
}
RebalanceExistingCBAOnAccountBadRequest describes a response with status code 400, 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 {
}
RebalanceExistingCBAOnAccountNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRebalanceExistingCBAOnAccountParamsWithContext

func NewRebalanceExistingCBAOnAccountParamsWithContext(ctx context.Context) *RebalanceExistingCBAOnAccountParams

NewRebalanceExistingCBAOnAccountParamsWithContext creates a new RebalanceExistingCBAOnAccountParams object with 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 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 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) SetDefaults

func (o *RebalanceExistingCBAOnAccountParams) SetDefaults()

SetDefaults hydrates default values in the rebalance existing c b a on account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the rebalance existing c b a on account params (not the query body).

All values with no default are reset to their zero value.

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 {
}
RefreshPaymentMethodsBadRequest describes a response with status code 400, 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 {
}
RefreshPaymentMethodsNoContent describes a response with status code 204, 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 {
}
RefreshPaymentMethodsNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// PluginName.
	PluginName *string

	// PluginProperty.
	PluginProperty []string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRefreshPaymentMethodsParamsWithContext

func NewRefreshPaymentMethodsParamsWithContext(ctx context.Context) *RefreshPaymentMethodsParams

NewRefreshPaymentMethodsParamsWithContext creates a new RefreshPaymentMethodsParams object with 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 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 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) SetDefaults

func (o *RefreshPaymentMethodsParams) SetDefaults()

SetDefaults hydrates default values in the refresh payment methods params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the refresh payment methods params (not the query body).

All values with no default are reset to their zero value.

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 {
}
RemoveEmailBadRequest describes a response with status code 400, 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 {
}
RemoveEmailNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Email.
	Email string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveEmailParamsWithContext

func NewRemoveEmailParamsWithContext(ctx context.Context) *RemoveEmailParams

NewRemoveEmailParamsWithContext creates a new RemoveEmailParams object with 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 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 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) SetDefaults

func (o *RemoveEmailParams) SetDefaults()

SetDefaults hydrates default values in the remove email params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *RemoveEmailParams) WithDefaults() *RemoveEmailParams

WithDefaults hydrates default values in the remove email params (not the query body).

All values with no default are reset to their zero value.

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
}
SearchAccountsOK describes a response with status code 200, 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.
	//
	// Default: "NONE"
	Audit *string

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	// SearchKey.
	SearchKey string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchAccountsParamsWithContext

func NewSearchAccountsParamsWithContext(ctx context.Context) *SearchAccountsParams

NewSearchAccountsParamsWithContext creates a new SearchAccountsParams object with 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 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 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) SetDefaults

func (o *SearchAccountsParams) SetDefaults()

SetDefaults hydrates default values in the search accounts params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SearchAccountsParams) WithDefaults() *SearchAccountsParams

WithDefaults hydrates default values in the search accounts params (not the query body).

All values with no default are reset to their zero value.

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 {
}
SetDefaultPaymentMethodBadRequest describes a response with status code 400, 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 {
}
SetDefaultPaymentMethodNoContent describes a response with status code 204, 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 {
}
SetDefaultPaymentMethodNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// PayAllUnpaidInvoices.
	PayAllUnpaidInvoices *bool

	// PaymentMethodID.
	//
	// Format: uuid
	PaymentMethodID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetDefaultPaymentMethodParamsWithContext

func NewSetDefaultPaymentMethodParamsWithContext(ctx context.Context) *SetDefaultPaymentMethodParams

NewSetDefaultPaymentMethodParamsWithContext creates a new SetDefaultPaymentMethodParams object with 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 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 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) SetDefaults

func (o *SetDefaultPaymentMethodParams) SetDefaults()

SetDefaults hydrates default values in the set default payment method params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the set default payment method params (not the query body).

All values with no default are reset to their zero value.

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 {
}
TransferChildCreditToParentBadRequest describes a response with status code 400, 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 {
}
TransferChildCreditToParentNoContent describes a response with status code 204, 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 {
}
TransferChildCreditToParentNotFound describes a response with status code 404, 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.
	//
	// Format: uuid
	ChildAccountID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTransferChildCreditToParentParamsWithContext

func NewTransferChildCreditToParentParamsWithContext(ctx context.Context) *TransferChildCreditToParentParams

NewTransferChildCreditToParentParamsWithContext creates a new TransferChildCreditToParentParams object with 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 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 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) SetDefaults

func (o *TransferChildCreditToParentParams) SetDefaults()

SetDefaults hydrates default values in the transfer child credit to parent params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the transfer child credit to parent params (not the query body).

All values with no default are reset to their zero value.

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 {
}
UpdateAccountBadRequest describes a response with status code 400, 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 {
}
UpdateAccountNoContent describes a response with status code 204, 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.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.Account

	// TreatNullAsReset.
	TreatNullAsReset *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateAccountParamsWithContext

func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParams

NewUpdateAccountParamsWithContext creates a new UpdateAccountParams object with 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 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 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) SetDefaults

func (o *UpdateAccountParams) SetDefaults()

SetDefaults hydrates default values in the update account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *UpdateAccountParams) WithDefaults() *UpdateAccountParams

WithDefaults hydrates default values in the update account params (not the query body).

All values with no default are reset to their zero value.

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