payment_method

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for payment method API

func New

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

New creates a new payment method API client.

func (*Client) CreatePaymentMethodCustomFields

func (a *Client) CreatePaymentMethodCustomFields(ctx context.Context, params *CreatePaymentMethodCustomFieldsParams) (*CreatePaymentMethodCustomFieldsCreated, error)

CreatePaymentMethodCustomFields adds custom fields to payment method

func (*Client) DeletePaymentMethod

func (a *Client) DeletePaymentMethod(ctx context.Context, params *DeletePaymentMethodParams) (*DeletePaymentMethodNoContent, error)

DeletePaymentMethod deletes a payment method

func (*Client) DeletePaymentMethodCustomFields

DeletePaymentMethodCustomFields removes custom fields from payment method

func (*Client) GetPaymentMethod

func (a *Client) GetPaymentMethod(ctx context.Context, params *GetPaymentMethodParams) (*GetPaymentMethodOK, error)

GetPaymentMethod retrieves a payment method by id

func (*Client) GetPaymentMethodAuditLogsWithHistory

func (a *Client) GetPaymentMethodAuditLogsWithHistory(ctx context.Context, params *GetPaymentMethodAuditLogsWithHistoryParams) (*GetPaymentMethodAuditLogsWithHistoryOK, error)

GetPaymentMethodAuditLogsWithHistory retrieves payment method audit logs with history by id

func (*Client) GetPaymentMethodByKey

func (a *Client) GetPaymentMethodByKey(ctx context.Context, params *GetPaymentMethodByKeyParams) (*GetPaymentMethodByKeyOK, error)

GetPaymentMethodByKey retrieves a payment method by external key

func (*Client) GetPaymentMethodCustomFields

func (a *Client) GetPaymentMethodCustomFields(ctx context.Context, params *GetPaymentMethodCustomFieldsParams) (*GetPaymentMethodCustomFieldsOK, error)

GetPaymentMethodCustomFields retrieves payment method custom fields

func (*Client) GetPaymentMethods

func (a *Client) GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams) (*GetPaymentMethodsOK, error)

GetPaymentMethods lists payment methods

func (*Client) ModifyPaymentMethodCustomFields

ModifyPaymentMethodCustomFields modifies custom fields to payment method

func (*Client) SearchPaymentMethods

func (a *Client) SearchPaymentMethods(ctx context.Context, params *SearchPaymentMethodsParams) (*SearchPaymentMethodsOK, error)

SearchPaymentMethods searches payment methods

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreatePaymentMethodCustomFieldsBadRequest

type CreatePaymentMethodCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreatePaymentMethodCustomFieldsBadRequest handles this case with default header values.

Invalid payment method id supplied

func NewCreatePaymentMethodCustomFieldsBadRequest

func NewCreatePaymentMethodCustomFieldsBadRequest() *CreatePaymentMethodCustomFieldsBadRequest

NewCreatePaymentMethodCustomFieldsBadRequest creates a CreatePaymentMethodCustomFieldsBadRequest with default headers values

func (*CreatePaymentMethodCustomFieldsBadRequest) Error

type CreatePaymentMethodCustomFieldsCreated

type CreatePaymentMethodCustomFieldsCreated struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

CreatePaymentMethodCustomFieldsCreated handles this case with default header values.

Custom field created successfully

func NewCreatePaymentMethodCustomFieldsCreated

func NewCreatePaymentMethodCustomFieldsCreated() *CreatePaymentMethodCustomFieldsCreated

NewCreatePaymentMethodCustomFieldsCreated creates a CreatePaymentMethodCustomFieldsCreated with default headers values

func (*CreatePaymentMethodCustomFieldsCreated) Error

type CreatePaymentMethodCustomFieldsParams

type CreatePaymentMethodCustomFieldsParams struct {

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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewCreatePaymentMethodCustomFieldsParams

func NewCreatePaymentMethodCustomFieldsParams() *CreatePaymentMethodCustomFieldsParams

NewCreatePaymentMethodCustomFieldsParams creates a new CreatePaymentMethodCustomFieldsParams object with the default values initialized.

func NewCreatePaymentMethodCustomFieldsParamsWithContext

func NewCreatePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *CreatePaymentMethodCustomFieldsParams

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

func NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient

func NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *CreatePaymentMethodCustomFieldsParams

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

func NewCreatePaymentMethodCustomFieldsParamsWithTimeout

func NewCreatePaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *CreatePaymentMethodCustomFieldsParams

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

func (*CreatePaymentMethodCustomFieldsParams) SetBody

SetBody adds the body to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) SetContext

SetContext adds the context to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) SetPaymentMethodID

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

SetPaymentMethodID adds the paymentMethodId to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WithBody

WithBody adds the body to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WithContext

WithContext adds the context to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WithPaymentMethodID

WithPaymentMethodID adds the paymentMethodID to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the create payment method custom fields params

func (*CreatePaymentMethodCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePaymentMethodCustomFieldsReader

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

CreatePaymentMethodCustomFieldsReader is a Reader for the CreatePaymentMethodCustomFields structure.

func (*CreatePaymentMethodCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePaymentMethodBadRequest

type DeletePaymentMethodBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentMethodBadRequest handles this case with default header values.

Invalid paymentMethodId supplied

func NewDeletePaymentMethodBadRequest

func NewDeletePaymentMethodBadRequest() *DeletePaymentMethodBadRequest

NewDeletePaymentMethodBadRequest creates a DeletePaymentMethodBadRequest with default headers values

func (*DeletePaymentMethodBadRequest) Error

type DeletePaymentMethodCustomFieldsBadRequest

type DeletePaymentMethodCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentMethodCustomFieldsBadRequest handles this case with default header values.

Invalid payment method id supplied

func NewDeletePaymentMethodCustomFieldsBadRequest

func NewDeletePaymentMethodCustomFieldsBadRequest() *DeletePaymentMethodCustomFieldsBadRequest

NewDeletePaymentMethodCustomFieldsBadRequest creates a DeletePaymentMethodCustomFieldsBadRequest with default headers values

func (*DeletePaymentMethodCustomFieldsBadRequest) Error

type DeletePaymentMethodCustomFieldsNoContent

type DeletePaymentMethodCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentMethodCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewDeletePaymentMethodCustomFieldsNoContent

func NewDeletePaymentMethodCustomFieldsNoContent() *DeletePaymentMethodCustomFieldsNoContent

NewDeletePaymentMethodCustomFieldsNoContent creates a DeletePaymentMethodCustomFieldsNoContent with default headers values

func (*DeletePaymentMethodCustomFieldsNoContent) Error

type DeletePaymentMethodCustomFieldsParams

type DeletePaymentMethodCustomFieldsParams struct {

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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewDeletePaymentMethodCustomFieldsParams

func NewDeletePaymentMethodCustomFieldsParams() *DeletePaymentMethodCustomFieldsParams

NewDeletePaymentMethodCustomFieldsParams creates a new DeletePaymentMethodCustomFieldsParams object with the default values initialized.

func NewDeletePaymentMethodCustomFieldsParamsWithContext

func NewDeletePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *DeletePaymentMethodCustomFieldsParams

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

func NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient

func NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodCustomFieldsParams

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

func NewDeletePaymentMethodCustomFieldsParamsWithTimeout

func NewDeletePaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodCustomFieldsParams

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

func (*DeletePaymentMethodCustomFieldsParams) SetContext

SetContext adds the context to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) SetCustomField

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

SetCustomField adds the customField to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) SetPaymentMethodID

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

SetPaymentMethodID adds the paymentMethodId to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WithContext

WithContext adds the context to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WithPaymentMethodID

WithPaymentMethodID adds the paymentMethodID to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the delete payment method custom fields params

func (*DeletePaymentMethodCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePaymentMethodCustomFieldsReader

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

DeletePaymentMethodCustomFieldsReader is a Reader for the DeletePaymentMethodCustomFields structure.

func (*DeletePaymentMethodCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePaymentMethodNoContent

type DeletePaymentMethodNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentMethodNoContent handles this case with default header values.

Successful operation

func NewDeletePaymentMethodNoContent

func NewDeletePaymentMethodNoContent() *DeletePaymentMethodNoContent

NewDeletePaymentMethodNoContent creates a DeletePaymentMethodNoContent with default headers values

func (*DeletePaymentMethodNoContent) Error

type DeletePaymentMethodNotFound

type DeletePaymentMethodNotFound struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentMethodNotFound handles this case with default header values.

Account or payment method not found

func NewDeletePaymentMethodNotFound

func NewDeletePaymentMethodNotFound() *DeletePaymentMethodNotFound

NewDeletePaymentMethodNotFound creates a DeletePaymentMethodNotFound with default headers values

func (*DeletePaymentMethodNotFound) Error

type DeletePaymentMethodParams

type DeletePaymentMethodParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*DeleteDefaultPmWithAutoPayOff*/
	DeleteDefaultPmWithAutoPayOff *bool
	/*ForceDefaultPmDeletion*/
	ForceDefaultPmDeletion *bool
	/*PaymentMethodID*/
	PaymentMethodID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewDeletePaymentMethodParams

func NewDeletePaymentMethodParams() *DeletePaymentMethodParams

NewDeletePaymentMethodParams creates a new DeletePaymentMethodParams object with the default values initialized.

func NewDeletePaymentMethodParamsWithContext

func NewDeletePaymentMethodParamsWithContext(ctx context.Context) *DeletePaymentMethodParams

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

func NewDeletePaymentMethodParamsWithHTTPClient

func NewDeletePaymentMethodParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodParams

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

func NewDeletePaymentMethodParamsWithTimeout

func NewDeletePaymentMethodParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodParams

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

func (*DeletePaymentMethodParams) SetContext

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

SetContext adds the context to the delete payment method params

func (*DeletePaymentMethodParams) SetDeleteDefaultPmWithAutoPayOff

func (o *DeletePaymentMethodParams) SetDeleteDefaultPmWithAutoPayOff(deleteDefaultPmWithAutoPayOff *bool)

SetDeleteDefaultPmWithAutoPayOff adds the deleteDefaultPmWithAutoPayOff to the delete payment method params

func (*DeletePaymentMethodParams) SetForceDefaultPmDeletion

func (o *DeletePaymentMethodParams) SetForceDefaultPmDeletion(forceDefaultPmDeletion *bool)

SetForceDefaultPmDeletion adds the forceDefaultPmDeletion to the delete payment method params

func (*DeletePaymentMethodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete payment method params

func (*DeletePaymentMethodParams) SetPaymentMethodID

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

SetPaymentMethodID adds the paymentMethodId to the delete payment method params

func (*DeletePaymentMethodParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the delete payment method params

func (*DeletePaymentMethodParams) SetTimeout

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

SetTimeout adds the timeout to the delete payment method params

func (*DeletePaymentMethodParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete payment method params

func (*DeletePaymentMethodParams) SetXKillbillCreatedBy

func (o *DeletePaymentMethodParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment method params

func (*DeletePaymentMethodParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete payment method params

func (*DeletePaymentMethodParams) WithContext

WithContext adds the context to the delete payment method params

func (*DeletePaymentMethodParams) WithDeleteDefaultPmWithAutoPayOff

func (o *DeletePaymentMethodParams) WithDeleteDefaultPmWithAutoPayOff(deleteDefaultPmWithAutoPayOff *bool) *DeletePaymentMethodParams

WithDeleteDefaultPmWithAutoPayOff adds the deleteDefaultPmWithAutoPayOff to the delete payment method params

func (*DeletePaymentMethodParams) WithForceDefaultPmDeletion

func (o *DeletePaymentMethodParams) WithForceDefaultPmDeletion(forceDefaultPmDeletion *bool) *DeletePaymentMethodParams

WithForceDefaultPmDeletion adds the forceDefaultPmDeletion to the delete payment method params

func (*DeletePaymentMethodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete payment method params

func (*DeletePaymentMethodParams) WithPaymentMethodID

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

WithPaymentMethodID adds the paymentMethodID to the delete payment method params

func (*DeletePaymentMethodParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the delete payment method params

func (*DeletePaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the delete payment method params

func (*DeletePaymentMethodParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete payment method params

func (*DeletePaymentMethodParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment method params

func (*DeletePaymentMethodParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete payment method params

func (*DeletePaymentMethodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePaymentMethodReader

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

DeletePaymentMethodReader is a Reader for the DeletePaymentMethod structure.

func (*DeletePaymentMethodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentMethodAuditLogsWithHistoryNotFound

type GetPaymentMethodAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodAuditLogsWithHistoryNotFound handles this case with default header values.

Account not found

func NewGetPaymentMethodAuditLogsWithHistoryNotFound

func NewGetPaymentMethodAuditLogsWithHistoryNotFound() *GetPaymentMethodAuditLogsWithHistoryNotFound

NewGetPaymentMethodAuditLogsWithHistoryNotFound creates a GetPaymentMethodAuditLogsWithHistoryNotFound with default headers values

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) Error

type GetPaymentMethodAuditLogsWithHistoryOK

type GetPaymentMethodAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog

	HttpResponse runtime.ClientResponse
}

GetPaymentMethodAuditLogsWithHistoryOK handles this case with default header values.

successful operation

func NewGetPaymentMethodAuditLogsWithHistoryOK

func NewGetPaymentMethodAuditLogsWithHistoryOK() *GetPaymentMethodAuditLogsWithHistoryOK

NewGetPaymentMethodAuditLogsWithHistoryOK creates a GetPaymentMethodAuditLogsWithHistoryOK with default headers values

func (*GetPaymentMethodAuditLogsWithHistoryOK) Error

type GetPaymentMethodAuditLogsWithHistoryParams

type GetPaymentMethodAuditLogsWithHistoryParams struct {

	/*PaymentMethodID*/
	PaymentMethodID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewGetPaymentMethodAuditLogsWithHistoryParams

func NewGetPaymentMethodAuditLogsWithHistoryParams() *GetPaymentMethodAuditLogsWithHistoryParams

NewGetPaymentMethodAuditLogsWithHistoryParams creates a new GetPaymentMethodAuditLogsWithHistoryParams object with the default values initialized.

func NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext

func NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentMethodAuditLogsWithHistoryParams

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

func NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient

func NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetPaymentMethodAuditLogsWithHistoryParams

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

func NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout

func NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetPaymentMethodAuditLogsWithHistoryParams

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

func (*GetPaymentMethodAuditLogsWithHistoryParams) SetContext

SetContext adds the context to the get payment method audit logs with history params

func (*GetPaymentMethodAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment method audit logs with history params

func (*GetPaymentMethodAuditLogsWithHistoryParams) SetPaymentMethodID

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

SetPaymentMethodID adds the paymentMethodId to the get payment method audit logs with history params

func (*GetPaymentMethodAuditLogsWithHistoryParams) SetTimeout

SetTimeout adds the timeout to the get payment method audit logs with history params

func (*GetPaymentMethodAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get payment method audit logs with history params

func (*GetPaymentMethodAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment method audit logs with history params

func (*GetPaymentMethodAuditLogsWithHistoryParams) WithPaymentMethodID

WithPaymentMethodID adds the paymentMethodID to the get payment method audit logs with history params

func (*GetPaymentMethodAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get payment method audit logs with history params

func (*GetPaymentMethodAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodAuditLogsWithHistoryReader

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

GetPaymentMethodAuditLogsWithHistoryReader is a Reader for the GetPaymentMethodAuditLogsWithHistory structure.

func (*GetPaymentMethodAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentMethodBadRequest

type GetPaymentMethodBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodBadRequest handles this case with default header values.

Invalid paymentMethodId supplied

func NewGetPaymentMethodBadRequest

func NewGetPaymentMethodBadRequest() *GetPaymentMethodBadRequest

NewGetPaymentMethodBadRequest creates a GetPaymentMethodBadRequest with default headers values

func (*GetPaymentMethodBadRequest) Error

type GetPaymentMethodByKeyNotFound

type GetPaymentMethodByKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodByKeyNotFound handles this case with default header values.

Account or payment method not found

func NewGetPaymentMethodByKeyNotFound

func NewGetPaymentMethodByKeyNotFound() *GetPaymentMethodByKeyNotFound

NewGetPaymentMethodByKeyNotFound creates a GetPaymentMethodByKeyNotFound with default headers values

func (*GetPaymentMethodByKeyNotFound) Error

type GetPaymentMethodByKeyOK

type GetPaymentMethodByKeyOK struct {
	Payload *kbmodel.PaymentMethod

	HttpResponse runtime.ClientResponse
}

GetPaymentMethodByKeyOK handles this case with default header values.

successful operation

func NewGetPaymentMethodByKeyOK

func NewGetPaymentMethodByKeyOK() *GetPaymentMethodByKeyOK

NewGetPaymentMethodByKeyOK creates a GetPaymentMethodByKeyOK with default headers values

func (*GetPaymentMethodByKeyOK) Error

func (o *GetPaymentMethodByKeyOK) Error() string

type GetPaymentMethodByKeyParams

type GetPaymentMethodByKeyParams struct {

	/*Audit*/
	Audit *string
	/*ExternalKey*/
	ExternalKey string
	/*IncludedDeleted*/
	IncludedDeleted *bool
	/*PluginProperty*/
	PluginProperty []string
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewGetPaymentMethodByKeyParams

func NewGetPaymentMethodByKeyParams() *GetPaymentMethodByKeyParams

NewGetPaymentMethodByKeyParams creates a new GetPaymentMethodByKeyParams object with the default values initialized.

func NewGetPaymentMethodByKeyParamsWithContext

func NewGetPaymentMethodByKeyParamsWithContext(ctx context.Context) *GetPaymentMethodByKeyParams

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

func NewGetPaymentMethodByKeyParamsWithHTTPClient

func NewGetPaymentMethodByKeyParamsWithHTTPClient(client *http.Client) *GetPaymentMethodByKeyParams

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

func NewGetPaymentMethodByKeyParamsWithTimeout

func NewGetPaymentMethodByKeyParamsWithTimeout(timeout time.Duration) *GetPaymentMethodByKeyParams

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

func (*GetPaymentMethodByKeyParams) SetAudit

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

SetAudit adds the audit to the get payment method by key params

func (*GetPaymentMethodByKeyParams) SetContext

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

SetContext adds the context to the get payment method by key params

func (*GetPaymentMethodByKeyParams) SetExternalKey

func (o *GetPaymentMethodByKeyParams) SetExternalKey(externalKey string)

SetExternalKey adds the externalKey to the get payment method by key params

func (*GetPaymentMethodByKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment method by key params

func (*GetPaymentMethodByKeyParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get payment method by key params

func (*GetPaymentMethodByKeyParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get payment method by key params

func (*GetPaymentMethodByKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get payment method by key params

func (*GetPaymentMethodByKeyParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WithAudit

WithAudit adds the audit to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WithContext

WithContext adds the context to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WithExternalKey

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

WithExternalKey adds the externalKey to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WithTimeout

WithTimeout adds the timeout to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the get payment method by key params

func (*GetPaymentMethodByKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodByKeyReader

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

GetPaymentMethodByKeyReader is a Reader for the GetPaymentMethodByKey structure.

func (*GetPaymentMethodByKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentMethodCustomFieldsBadRequest

type GetPaymentMethodCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodCustomFieldsBadRequest handles this case with default header values.

Invalid payment method id supplied

func NewGetPaymentMethodCustomFieldsBadRequest

func NewGetPaymentMethodCustomFieldsBadRequest() *GetPaymentMethodCustomFieldsBadRequest

NewGetPaymentMethodCustomFieldsBadRequest creates a GetPaymentMethodCustomFieldsBadRequest with default headers values

func (*GetPaymentMethodCustomFieldsBadRequest) Error

type GetPaymentMethodCustomFieldsOK

type GetPaymentMethodCustomFieldsOK struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

GetPaymentMethodCustomFieldsOK handles this case with default header values.

successful operation

func NewGetPaymentMethodCustomFieldsOK

func NewGetPaymentMethodCustomFieldsOK() *GetPaymentMethodCustomFieldsOK

NewGetPaymentMethodCustomFieldsOK creates a GetPaymentMethodCustomFieldsOK with default headers values

func (*GetPaymentMethodCustomFieldsOK) Error

type GetPaymentMethodCustomFieldsParams

type GetPaymentMethodCustomFieldsParams struct {

	/*Audit*/
	Audit *string
	/*PaymentMethodID*/
	PaymentMethodID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewGetPaymentMethodCustomFieldsParams

func NewGetPaymentMethodCustomFieldsParams() *GetPaymentMethodCustomFieldsParams

NewGetPaymentMethodCustomFieldsParams creates a new GetPaymentMethodCustomFieldsParams object with the default values initialized.

func NewGetPaymentMethodCustomFieldsParamsWithContext

func NewGetPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *GetPaymentMethodCustomFieldsParams

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

func NewGetPaymentMethodCustomFieldsParamsWithHTTPClient

func NewGetPaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *GetPaymentMethodCustomFieldsParams

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

func NewGetPaymentMethodCustomFieldsParamsWithTimeout

func NewGetPaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *GetPaymentMethodCustomFieldsParams

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

func (*GetPaymentMethodCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) SetContext

SetContext adds the context to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) SetPaymentMethodID

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

SetPaymentMethodID adds the paymentMethodId to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) WithAudit

WithAudit adds the audit to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) WithContext

WithContext adds the context to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) WithPaymentMethodID

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

WithPaymentMethodID adds the paymentMethodID to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get payment method custom fields params

func (*GetPaymentMethodCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodCustomFieldsReader

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

GetPaymentMethodCustomFieldsReader is a Reader for the GetPaymentMethodCustomFields structure.

func (*GetPaymentMethodCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentMethodNotFound

type GetPaymentMethodNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodNotFound handles this case with default header values.

Account or payment method not found

func NewGetPaymentMethodNotFound

func NewGetPaymentMethodNotFound() *GetPaymentMethodNotFound

NewGetPaymentMethodNotFound creates a GetPaymentMethodNotFound with default headers values

func (*GetPaymentMethodNotFound) Error

func (o *GetPaymentMethodNotFound) Error() string

type GetPaymentMethodOK

type GetPaymentMethodOK struct {
	Payload *kbmodel.PaymentMethod

	HttpResponse runtime.ClientResponse
}

GetPaymentMethodOK handles this case with default header values.

successful operation

func NewGetPaymentMethodOK

func NewGetPaymentMethodOK() *GetPaymentMethodOK

NewGetPaymentMethodOK creates a GetPaymentMethodOK with default headers values

func (*GetPaymentMethodOK) Error

func (o *GetPaymentMethodOK) Error() string

type GetPaymentMethodParams

type GetPaymentMethodParams struct {

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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewGetPaymentMethodParams

func NewGetPaymentMethodParams() *GetPaymentMethodParams

NewGetPaymentMethodParams creates a new GetPaymentMethodParams object with the default values initialized.

func NewGetPaymentMethodParamsWithContext

func NewGetPaymentMethodParamsWithContext(ctx context.Context) *GetPaymentMethodParams

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

func NewGetPaymentMethodParamsWithHTTPClient

func NewGetPaymentMethodParamsWithHTTPClient(client *http.Client) *GetPaymentMethodParams

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

func NewGetPaymentMethodParamsWithTimeout

func NewGetPaymentMethodParamsWithTimeout(timeout time.Duration) *GetPaymentMethodParams

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

func (*GetPaymentMethodParams) SetAudit

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

SetAudit adds the audit to the get payment method params

func (*GetPaymentMethodParams) SetContext

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

SetContext adds the context to the get payment method params

func (*GetPaymentMethodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment method params

func (*GetPaymentMethodParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get payment method params

func (*GetPaymentMethodParams) SetPaymentMethodID

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

SetPaymentMethodID adds the paymentMethodId to the get payment method params

func (*GetPaymentMethodParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get payment method params

func (*GetPaymentMethodParams) SetTimeout

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

SetTimeout adds the timeout to the get payment method params

func (*GetPaymentMethodParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the get payment method params

func (*GetPaymentMethodParams) WithAudit

WithAudit adds the audit to the get payment method params

func (*GetPaymentMethodParams) WithContext

WithContext adds the context to the get payment method params

func (*GetPaymentMethodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get payment method params

func (*GetPaymentMethodParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get payment method params

func (*GetPaymentMethodParams) WithPaymentMethodID

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

WithPaymentMethodID adds the paymentMethodID to the get payment method params

func (*GetPaymentMethodParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get payment method params

func (*GetPaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the get payment method params

func (*GetPaymentMethodParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the get payment method params

func (*GetPaymentMethodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodReader

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

GetPaymentMethodReader is a Reader for the GetPaymentMethod structure.

func (*GetPaymentMethodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPaymentMethodsOK

type GetPaymentMethodsOK struct {
	Payload []*kbmodel.PaymentMethod

	HttpResponse runtime.ClientResponse
}

GetPaymentMethodsOK handles this case with default header values.

successful operation

func NewGetPaymentMethodsOK

func NewGetPaymentMethodsOK() *GetPaymentMethodsOK

NewGetPaymentMethodsOK creates a GetPaymentMethodsOK with default headers values

func (*GetPaymentMethodsOK) Error

func (o *GetPaymentMethodsOK) Error() string

type GetPaymentMethodsParams

type GetPaymentMethodsParams struct {

	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*PluginName*/
	PluginName *string
	/*PluginProperty*/
	PluginProperty []string
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewGetPaymentMethodsParams

func NewGetPaymentMethodsParams() *GetPaymentMethodsParams

NewGetPaymentMethodsParams creates a new GetPaymentMethodsParams object with the default values initialized.

func NewGetPaymentMethodsParamsWithContext

func NewGetPaymentMethodsParamsWithContext(ctx context.Context) *GetPaymentMethodsParams

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

func NewGetPaymentMethodsParamsWithHTTPClient

func NewGetPaymentMethodsParamsWithHTTPClient(client *http.Client) *GetPaymentMethodsParams

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

func NewGetPaymentMethodsParamsWithTimeout

func NewGetPaymentMethodsParamsWithTimeout(timeout time.Duration) *GetPaymentMethodsParams

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

func (*GetPaymentMethodsParams) SetAudit

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

SetAudit adds the audit to the get payment methods params

func (*GetPaymentMethodsParams) SetContext

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

SetContext adds the context to the get payment methods params

func (*GetPaymentMethodsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get payment methods params

func (*GetPaymentMethodsParams) SetLimit

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

SetLimit adds the limit to the get payment methods params

func (*GetPaymentMethodsParams) SetOffset

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

SetOffset adds the offset to the get payment methods params

func (*GetPaymentMethodsParams) SetPluginName

func (o *GetPaymentMethodsParams) SetPluginName(pluginName *string)

SetPluginName adds the pluginName to the get payment methods params

func (*GetPaymentMethodsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the get payment methods params

func (*GetPaymentMethodsParams) SetTimeout

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

SetTimeout adds the timeout to the get payment methods params

func (*GetPaymentMethodsParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the get payment methods params

func (*GetPaymentMethodsParams) WithAudit

WithAudit adds the audit to the get payment methods params

func (*GetPaymentMethodsParams) WithContext

WithContext adds the context to the get payment methods params

func (*GetPaymentMethodsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get payment methods params

func (*GetPaymentMethodsParams) WithLimit

WithLimit adds the limit to the get payment methods params

func (*GetPaymentMethodsParams) WithOffset

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

WithOffset adds the offset to the get payment methods params

func (*GetPaymentMethodsParams) WithPluginName

func (o *GetPaymentMethodsParams) WithPluginName(pluginName *string) *GetPaymentMethodsParams

WithPluginName adds the pluginName to the get payment methods params

func (*GetPaymentMethodsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the get payment methods params

func (*GetPaymentMethodsParams) WithTimeout

WithTimeout adds the timeout to the get payment methods params

func (*GetPaymentMethodsParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the get payment methods params

func (*GetPaymentMethodsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodsReader

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

GetPaymentMethodsReader is a Reader for the GetPaymentMethods structure.

func (*GetPaymentMethodsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPaymentMethod

type IPaymentMethod interface {
	/*
		CreatePaymentMethodCustomFields adds custom fields to payment method
	*/
	CreatePaymentMethodCustomFields(ctx context.Context, params *CreatePaymentMethodCustomFieldsParams) (*CreatePaymentMethodCustomFieldsCreated, error)

	/*
		DeletePaymentMethod deletes a payment method
	*/
	DeletePaymentMethod(ctx context.Context, params *DeletePaymentMethodParams) (*DeletePaymentMethodNoContent, error)

	/*
		DeletePaymentMethodCustomFields removes custom fields from payment method
	*/
	DeletePaymentMethodCustomFields(ctx context.Context, params *DeletePaymentMethodCustomFieldsParams) (*DeletePaymentMethodCustomFieldsNoContent, error)

	/*
		GetPaymentMethod retrieves a payment method by id
	*/
	GetPaymentMethod(ctx context.Context, params *GetPaymentMethodParams) (*GetPaymentMethodOK, error)

	/*
		GetPaymentMethodAuditLogsWithHistory retrieves payment method audit logs with history by id
	*/
	GetPaymentMethodAuditLogsWithHistory(ctx context.Context, params *GetPaymentMethodAuditLogsWithHistoryParams) (*GetPaymentMethodAuditLogsWithHistoryOK, error)

	/*
		GetPaymentMethodByKey retrieves a payment method by external key
	*/
	GetPaymentMethodByKey(ctx context.Context, params *GetPaymentMethodByKeyParams) (*GetPaymentMethodByKeyOK, error)

	/*
		GetPaymentMethodCustomFields retrieves payment method custom fields
	*/
	GetPaymentMethodCustomFields(ctx context.Context, params *GetPaymentMethodCustomFieldsParams) (*GetPaymentMethodCustomFieldsOK, error)

	/*
		GetPaymentMethods lists payment methods
	*/
	GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams) (*GetPaymentMethodsOK, error)

	/*
		ModifyPaymentMethodCustomFields modifies custom fields to payment method
	*/
	ModifyPaymentMethodCustomFields(ctx context.Context, params *ModifyPaymentMethodCustomFieldsParams) (*ModifyPaymentMethodCustomFieldsNoContent, error)

	/*
		SearchPaymentMethods searches payment methods
	*/
	SearchPaymentMethods(ctx context.Context, params *SearchPaymentMethodsParams) (*SearchPaymentMethodsOK, error)
}

IPaymentMethod - interface for PaymentMethod client.

type KillbillDefaults

type KillbillDefaults interface {
	// Default CreatedBy. If not set explicitly in params, this will be used.
	XKillbillCreatedBy() *string
	// Default Comment. If not set explicitly in params, this will be used.
	XKillbillComment() *string
	// Default Reason. If not set explicitly in params, this will be used.
	XKillbillReason() *string
	// Default WithStackTrace. If not set explicitly in params, this will be used.
	KillbillWithStackTrace() *bool
}

killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.

type ModifyPaymentMethodCustomFieldsBadRequest

type ModifyPaymentMethodCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifyPaymentMethodCustomFieldsBadRequest handles this case with default header values.

Invalid payment method id supplied

func NewModifyPaymentMethodCustomFieldsBadRequest

func NewModifyPaymentMethodCustomFieldsBadRequest() *ModifyPaymentMethodCustomFieldsBadRequest

NewModifyPaymentMethodCustomFieldsBadRequest creates a ModifyPaymentMethodCustomFieldsBadRequest with default headers values

func (*ModifyPaymentMethodCustomFieldsBadRequest) Error

type ModifyPaymentMethodCustomFieldsNoContent

type ModifyPaymentMethodCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyPaymentMethodCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewModifyPaymentMethodCustomFieldsNoContent

func NewModifyPaymentMethodCustomFieldsNoContent() *ModifyPaymentMethodCustomFieldsNoContent

NewModifyPaymentMethodCustomFieldsNoContent creates a ModifyPaymentMethodCustomFieldsNoContent with default headers values

func (*ModifyPaymentMethodCustomFieldsNoContent) Error

type ModifyPaymentMethodCustomFieldsParams

type ModifyPaymentMethodCustomFieldsParams struct {

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

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewModifyPaymentMethodCustomFieldsParams

func NewModifyPaymentMethodCustomFieldsParams() *ModifyPaymentMethodCustomFieldsParams

NewModifyPaymentMethodCustomFieldsParams creates a new ModifyPaymentMethodCustomFieldsParams object with the default values initialized.

func NewModifyPaymentMethodCustomFieldsParamsWithContext

func NewModifyPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *ModifyPaymentMethodCustomFieldsParams

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

func NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient

func NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyPaymentMethodCustomFieldsParams

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

func NewModifyPaymentMethodCustomFieldsParamsWithTimeout

func NewModifyPaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyPaymentMethodCustomFieldsParams

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

func (*ModifyPaymentMethodCustomFieldsParams) SetBody

SetBody adds the body to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) SetContext

SetContext adds the context to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) SetPaymentMethodID

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

SetPaymentMethodID adds the paymentMethodId to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WithBody

WithBody adds the body to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WithContext

WithContext adds the context to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WithPaymentMethodID

WithPaymentMethodID adds the paymentMethodID to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the modify payment method custom fields params

func (*ModifyPaymentMethodCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyPaymentMethodCustomFieldsReader

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

ModifyPaymentMethodCustomFieldsReader is a Reader for the ModifyPaymentMethodCustomFields structure.

func (*ModifyPaymentMethodCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchPaymentMethodsOK

type SearchPaymentMethodsOK struct {
	Payload []*kbmodel.PaymentMethod

	HttpResponse runtime.ClientResponse
}

SearchPaymentMethodsOK handles this case with default header values.

successful operation

func NewSearchPaymentMethodsOK

func NewSearchPaymentMethodsOK() *SearchPaymentMethodsOK

NewSearchPaymentMethodsOK creates a SearchPaymentMethodsOK with default headers values

func (*SearchPaymentMethodsOK) Error

func (o *SearchPaymentMethodsOK) Error() string

type SearchPaymentMethodsParams

type SearchPaymentMethodsParams struct {

	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*PluginName*/
	PluginName *string
	/*PluginProperty*/
	PluginProperty []string
	/*SearchKey*/
	SearchKey string
	/*WithPluginInfo*/
	WithPluginInfo *bool

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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

func NewSearchPaymentMethodsParams

func NewSearchPaymentMethodsParams() *SearchPaymentMethodsParams

NewSearchPaymentMethodsParams creates a new SearchPaymentMethodsParams object with the default values initialized.

func NewSearchPaymentMethodsParamsWithContext

func NewSearchPaymentMethodsParamsWithContext(ctx context.Context) *SearchPaymentMethodsParams

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

func NewSearchPaymentMethodsParamsWithHTTPClient

func NewSearchPaymentMethodsParamsWithHTTPClient(client *http.Client) *SearchPaymentMethodsParams

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

func NewSearchPaymentMethodsParamsWithTimeout

func NewSearchPaymentMethodsParamsWithTimeout(timeout time.Duration) *SearchPaymentMethodsParams

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

func (*SearchPaymentMethodsParams) SetAudit

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

SetAudit adds the audit to the search payment methods params

func (*SearchPaymentMethodsParams) SetContext

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

SetContext adds the context to the search payment methods params

func (*SearchPaymentMethodsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search payment methods params

func (*SearchPaymentMethodsParams) SetLimit

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

SetLimit adds the limit to the search payment methods params

func (*SearchPaymentMethodsParams) SetOffset

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

SetOffset adds the offset to the search payment methods params

func (*SearchPaymentMethodsParams) SetPluginName

func (o *SearchPaymentMethodsParams) SetPluginName(pluginName *string)

SetPluginName adds the pluginName to the search payment methods params

func (*SearchPaymentMethodsParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the search payment methods params

func (*SearchPaymentMethodsParams) SetSearchKey

func (o *SearchPaymentMethodsParams) SetSearchKey(searchKey string)

SetSearchKey adds the searchKey to the search payment methods params

func (*SearchPaymentMethodsParams) SetTimeout

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

SetTimeout adds the timeout to the search payment methods params

func (*SearchPaymentMethodsParams) SetWithPluginInfo

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

SetWithPluginInfo adds the withPluginInfo to the search payment methods params

func (*SearchPaymentMethodsParams) WithAudit

WithAudit adds the audit to the search payment methods params

func (*SearchPaymentMethodsParams) WithContext

WithContext adds the context to the search payment methods params

func (*SearchPaymentMethodsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the search payment methods params

func (*SearchPaymentMethodsParams) WithLimit

WithLimit adds the limit to the search payment methods params

func (*SearchPaymentMethodsParams) WithOffset

WithOffset adds the offset to the search payment methods params

func (*SearchPaymentMethodsParams) WithPluginName

func (o *SearchPaymentMethodsParams) WithPluginName(pluginName *string) *SearchPaymentMethodsParams

WithPluginName adds the pluginName to the search payment methods params

func (*SearchPaymentMethodsParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the search payment methods params

func (*SearchPaymentMethodsParams) WithSearchKey

func (o *SearchPaymentMethodsParams) WithSearchKey(searchKey string) *SearchPaymentMethodsParams

WithSearchKey adds the searchKey to the search payment methods params

func (*SearchPaymentMethodsParams) WithTimeout

WithTimeout adds the timeout to the search payment methods params

func (*SearchPaymentMethodsParams) WithWithPluginInfo

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

WithWithPluginInfo adds the withPluginInfo to the search payment methods params

func (*SearchPaymentMethodsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchPaymentMethodsReader

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

SearchPaymentMethodsReader is a Reader for the SearchPaymentMethods structure.

func (*SearchPaymentMethodsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL