payment_method

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

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 ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreatePaymentMethodCustomFields(ctx context.Context, params *CreatePaymentMethodCustomFieldsParams) (*CreatePaymentMethodCustomFieldsCreated, error)

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

	DeletePaymentMethodCustomFields(ctx context.Context, params *DeletePaymentMethodCustomFieldsParams) (*DeletePaymentMethodCustomFieldsNoContent, error)

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

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

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

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

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

	ModifyPaymentMethodCustomFields(ctx context.Context, params *ModifyPaymentMethodCustomFieldsParams) (*ModifyPaymentMethodCustomFieldsNoContent, error)

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

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type CreatePaymentMethodCustomFieldsBadRequest

type CreatePaymentMethodCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreatePaymentMethodCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment method id supplied

func NewCreatePaymentMethodCustomFieldsBadRequest

func NewCreatePaymentMethodCustomFieldsBadRequest() *CreatePaymentMethodCustomFieldsBadRequest

NewCreatePaymentMethodCustomFieldsBadRequest creates a CreatePaymentMethodCustomFieldsBadRequest with default headers values

func (*CreatePaymentMethodCustomFieldsBadRequest) Code

Code gets the status code for the create payment method custom fields bad request response

func (*CreatePaymentMethodCustomFieldsBadRequest) Error

func (*CreatePaymentMethodCustomFieldsBadRequest) IsClientError

IsClientError returns true when this create payment method custom fields bad request response has a 4xx status code

func (*CreatePaymentMethodCustomFieldsBadRequest) IsCode

IsCode returns true when this create payment method custom fields bad request response a status code equal to that given

func (*CreatePaymentMethodCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this create payment method custom fields bad request response has a 3xx status code

func (*CreatePaymentMethodCustomFieldsBadRequest) IsServerError

IsServerError returns true when this create payment method custom fields bad request response has a 5xx status code

func (*CreatePaymentMethodCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this create payment method custom fields bad request response has a 2xx status code

func (*CreatePaymentMethodCustomFieldsBadRequest) String

type CreatePaymentMethodCustomFieldsCreated

type CreatePaymentMethodCustomFieldsCreated struct {
	Payload      []*kbmodel.CustomField
	HttpResponse runtime.ClientResponse
}

CreatePaymentMethodCustomFieldsCreated describes a response with status code 201, with default header values.

Custom field created successfully

func NewCreatePaymentMethodCustomFieldsCreated

func NewCreatePaymentMethodCustomFieldsCreated() *CreatePaymentMethodCustomFieldsCreated

NewCreatePaymentMethodCustomFieldsCreated creates a CreatePaymentMethodCustomFieldsCreated with default headers values

func (*CreatePaymentMethodCustomFieldsCreated) Code

Code gets the status code for the create payment method custom fields created response

func (*CreatePaymentMethodCustomFieldsCreated) Error

func (*CreatePaymentMethodCustomFieldsCreated) GetPayload

func (*CreatePaymentMethodCustomFieldsCreated) IsClientError

func (o *CreatePaymentMethodCustomFieldsCreated) IsClientError() bool

IsClientError returns true when this create payment method custom fields created response has a 4xx status code

func (*CreatePaymentMethodCustomFieldsCreated) IsCode

IsCode returns true when this create payment method custom fields created response a status code equal to that given

func (*CreatePaymentMethodCustomFieldsCreated) IsRedirect

IsRedirect returns true when this create payment method custom fields created response has a 3xx status code

func (*CreatePaymentMethodCustomFieldsCreated) IsServerError

func (o *CreatePaymentMethodCustomFieldsCreated) IsServerError() bool

IsServerError returns true when this create payment method custom fields created response has a 5xx status code

func (*CreatePaymentMethodCustomFieldsCreated) IsSuccess

IsSuccess returns true when this create payment method custom fields created response has a 2xx status code

func (*CreatePaymentMethodCustomFieldsCreated) String

type CreatePaymentMethodCustomFieldsParams

type CreatePaymentMethodCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewCreatePaymentMethodCustomFieldsParamsWithContext

func NewCreatePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *CreatePaymentMethodCustomFieldsParams

NewCreatePaymentMethodCustomFieldsParamsWithContext creates a new CreatePaymentMethodCustomFieldsParams object with 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 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 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) SetDefaults

func (o *CreatePaymentMethodCustomFieldsParams) SetDefaults()

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

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

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

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

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

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 describes a response with status code 400, with default header values.

Invalid paymentMethodId supplied

func NewDeletePaymentMethodBadRequest

func NewDeletePaymentMethodBadRequest() *DeletePaymentMethodBadRequest

NewDeletePaymentMethodBadRequest creates a DeletePaymentMethodBadRequest with default headers values

func (*DeletePaymentMethodBadRequest) Code

Code gets the status code for the delete payment method bad request response

func (*DeletePaymentMethodBadRequest) Error

func (*DeletePaymentMethodBadRequest) IsClientError

func (o *DeletePaymentMethodBadRequest) IsClientError() bool

IsClientError returns true when this delete payment method bad request response has a 4xx status code

func (*DeletePaymentMethodBadRequest) IsCode

func (o *DeletePaymentMethodBadRequest) IsCode(code int) bool

IsCode returns true when this delete payment method bad request response a status code equal to that given

func (*DeletePaymentMethodBadRequest) IsRedirect

func (o *DeletePaymentMethodBadRequest) IsRedirect() bool

IsRedirect returns true when this delete payment method bad request response has a 3xx status code

func (*DeletePaymentMethodBadRequest) IsServerError

func (o *DeletePaymentMethodBadRequest) IsServerError() bool

IsServerError returns true when this delete payment method bad request response has a 5xx status code

func (*DeletePaymentMethodBadRequest) IsSuccess

func (o *DeletePaymentMethodBadRequest) IsSuccess() bool

IsSuccess returns true when this delete payment method bad request response has a 2xx status code

func (*DeletePaymentMethodBadRequest) String

type DeletePaymentMethodCustomFieldsBadRequest

type DeletePaymentMethodCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentMethodCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment method id supplied

func NewDeletePaymentMethodCustomFieldsBadRequest

func NewDeletePaymentMethodCustomFieldsBadRequest() *DeletePaymentMethodCustomFieldsBadRequest

NewDeletePaymentMethodCustomFieldsBadRequest creates a DeletePaymentMethodCustomFieldsBadRequest with default headers values

func (*DeletePaymentMethodCustomFieldsBadRequest) Code

Code gets the status code for the delete payment method custom fields bad request response

func (*DeletePaymentMethodCustomFieldsBadRequest) Error

func (*DeletePaymentMethodCustomFieldsBadRequest) IsClientError

IsClientError returns true when this delete payment method custom fields bad request response has a 4xx status code

func (*DeletePaymentMethodCustomFieldsBadRequest) IsCode

IsCode returns true when this delete payment method custom fields bad request response a status code equal to that given

func (*DeletePaymentMethodCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this delete payment method custom fields bad request response has a 3xx status code

func (*DeletePaymentMethodCustomFieldsBadRequest) IsServerError

IsServerError returns true when this delete payment method custom fields bad request response has a 5xx status code

func (*DeletePaymentMethodCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this delete payment method custom fields bad request response has a 2xx status code

func (*DeletePaymentMethodCustomFieldsBadRequest) String

type DeletePaymentMethodCustomFieldsNoContent

type DeletePaymentMethodCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentMethodCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeletePaymentMethodCustomFieldsNoContent

func NewDeletePaymentMethodCustomFieldsNoContent() *DeletePaymentMethodCustomFieldsNoContent

NewDeletePaymentMethodCustomFieldsNoContent creates a DeletePaymentMethodCustomFieldsNoContent with default headers values

func (*DeletePaymentMethodCustomFieldsNoContent) Code

Code gets the status code for the delete payment method custom fields no content response

func (*DeletePaymentMethodCustomFieldsNoContent) Error

func (*DeletePaymentMethodCustomFieldsNoContent) IsClientError

IsClientError returns true when this delete payment method custom fields no content response has a 4xx status code

func (*DeletePaymentMethodCustomFieldsNoContent) IsCode

IsCode returns true when this delete payment method custom fields no content response a status code equal to that given

func (*DeletePaymentMethodCustomFieldsNoContent) IsRedirect

IsRedirect returns true when this delete payment method custom fields no content response has a 3xx status code

func (*DeletePaymentMethodCustomFieldsNoContent) IsServerError

IsServerError returns true when this delete payment method custom fields no content response has a 5xx status code

func (*DeletePaymentMethodCustomFieldsNoContent) IsSuccess

IsSuccess returns true when this delete payment method custom fields no content response has a 2xx status code

func (*DeletePaymentMethodCustomFieldsNoContent) String

type DeletePaymentMethodCustomFieldsParams

type DeletePaymentMethodCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// CustomField.
	CustomField []strfmt.UUID

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewDeletePaymentMethodCustomFieldsParamsWithContext

func NewDeletePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *DeletePaymentMethodCustomFieldsParams

NewDeletePaymentMethodCustomFieldsParamsWithContext creates a new DeletePaymentMethodCustomFieldsParams object with 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 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 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) SetDefaults

func (o *DeletePaymentMethodCustomFieldsParams) SetDefaults()

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

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

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

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

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

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 describes a response with status code 204, with default header values.

Successful operation

func NewDeletePaymentMethodNoContent

func NewDeletePaymentMethodNoContent() *DeletePaymentMethodNoContent

NewDeletePaymentMethodNoContent creates a DeletePaymentMethodNoContent with default headers values

func (*DeletePaymentMethodNoContent) Code

Code gets the status code for the delete payment method no content response

func (*DeletePaymentMethodNoContent) Error

func (*DeletePaymentMethodNoContent) IsClientError

func (o *DeletePaymentMethodNoContent) IsClientError() bool

IsClientError returns true when this delete payment method no content response has a 4xx status code

func (*DeletePaymentMethodNoContent) IsCode

func (o *DeletePaymentMethodNoContent) IsCode(code int) bool

IsCode returns true when this delete payment method no content response a status code equal to that given

func (*DeletePaymentMethodNoContent) IsRedirect

func (o *DeletePaymentMethodNoContent) IsRedirect() bool

IsRedirect returns true when this delete payment method no content response has a 3xx status code

func (*DeletePaymentMethodNoContent) IsServerError

func (o *DeletePaymentMethodNoContent) IsServerError() bool

IsServerError returns true when this delete payment method no content response has a 5xx status code

func (*DeletePaymentMethodNoContent) IsSuccess

func (o *DeletePaymentMethodNoContent) IsSuccess() bool

IsSuccess returns true when this delete payment method no content response has a 2xx status code

func (*DeletePaymentMethodNoContent) String

type DeletePaymentMethodNotFound

type DeletePaymentMethodNotFound struct {
	HttpResponse runtime.ClientResponse
}

DeletePaymentMethodNotFound describes a response with status code 404, 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) Code

func (o *DeletePaymentMethodNotFound) Code() int

Code gets the status code for the delete payment method not found response

func (*DeletePaymentMethodNotFound) Error

func (*DeletePaymentMethodNotFound) IsClientError

func (o *DeletePaymentMethodNotFound) IsClientError() bool

IsClientError returns true when this delete payment method not found response has a 4xx status code

func (*DeletePaymentMethodNotFound) IsCode

func (o *DeletePaymentMethodNotFound) IsCode(code int) bool

IsCode returns true when this delete payment method not found response a status code equal to that given

func (*DeletePaymentMethodNotFound) IsRedirect

func (o *DeletePaymentMethodNotFound) IsRedirect() bool

IsRedirect returns true when this delete payment method not found response has a 3xx status code

func (*DeletePaymentMethodNotFound) IsServerError

func (o *DeletePaymentMethodNotFound) IsServerError() bool

IsServerError returns true when this delete payment method not found response has a 5xx status code

func (*DeletePaymentMethodNotFound) IsSuccess

func (o *DeletePaymentMethodNotFound) IsSuccess() bool

IsSuccess returns true when this delete payment method not found response has a 2xx status code

func (*DeletePaymentMethodNotFound) String

func (o *DeletePaymentMethodNotFound) String() string

type DeletePaymentMethodParams

type DeletePaymentMethodParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// DeleteDefaultPmWithAutoPayOff.
	DeleteDefaultPmWithAutoPayOff *bool

	// ForceDefaultPmDeletion.
	ForceDefaultPmDeletion *bool

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

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewDeletePaymentMethodParamsWithContext

func NewDeletePaymentMethodParamsWithContext(ctx context.Context) *DeletePaymentMethodParams

NewDeletePaymentMethodParamsWithContext creates a new DeletePaymentMethodParams object with 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 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 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) SetDefaults

func (o *DeletePaymentMethodParams) SetDefaults()

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

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

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

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

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

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 describes a response with status code 404, with default header values.

Account not found

func NewGetPaymentMethodAuditLogsWithHistoryNotFound

func NewGetPaymentMethodAuditLogsWithHistoryNotFound() *GetPaymentMethodAuditLogsWithHistoryNotFound

NewGetPaymentMethodAuditLogsWithHistoryNotFound creates a GetPaymentMethodAuditLogsWithHistoryNotFound with default headers values

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) Code

Code gets the status code for the get payment method audit logs with history not found response

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) Error

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsClientError

IsClientError returns true when this get payment method audit logs with history not found response has a 4xx status code

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsCode

IsCode returns true when this get payment method audit logs with history not found response a status code equal to that given

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsRedirect

IsRedirect returns true when this get payment method audit logs with history not found response has a 3xx status code

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsServerError

IsServerError returns true when this get payment method audit logs with history not found response has a 5xx status code

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsSuccess

IsSuccess returns true when this get payment method audit logs with history not found response has a 2xx status code

func (*GetPaymentMethodAuditLogsWithHistoryNotFound) String

type GetPaymentMethodAuditLogsWithHistoryOK

type GetPaymentMethodAuditLogsWithHistoryOK struct {
	Payload      []*kbmodel.AuditLog
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodAuditLogsWithHistoryOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentMethodAuditLogsWithHistoryOK

func NewGetPaymentMethodAuditLogsWithHistoryOK() *GetPaymentMethodAuditLogsWithHistoryOK

NewGetPaymentMethodAuditLogsWithHistoryOK creates a GetPaymentMethodAuditLogsWithHistoryOK with default headers values

func (*GetPaymentMethodAuditLogsWithHistoryOK) Code

Code gets the status code for the get payment method audit logs with history o k response

func (*GetPaymentMethodAuditLogsWithHistoryOK) Error

func (*GetPaymentMethodAuditLogsWithHistoryOK) GetPayload

func (*GetPaymentMethodAuditLogsWithHistoryOK) IsClientError

func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsClientError() bool

IsClientError returns true when this get payment method audit logs with history o k response has a 4xx status code

func (*GetPaymentMethodAuditLogsWithHistoryOK) IsCode

IsCode returns true when this get payment method audit logs with history o k response a status code equal to that given

func (*GetPaymentMethodAuditLogsWithHistoryOK) IsRedirect

IsRedirect returns true when this get payment method audit logs with history o k response has a 3xx status code

func (*GetPaymentMethodAuditLogsWithHistoryOK) IsServerError

func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsServerError() bool

IsServerError returns true when this get payment method audit logs with history o k response has a 5xx status code

func (*GetPaymentMethodAuditLogsWithHistoryOK) IsSuccess

IsSuccess returns true when this get payment method audit logs with history o k response has a 2xx status code

func (*GetPaymentMethodAuditLogsWithHistoryOK) String

type GetPaymentMethodAuditLogsWithHistoryParams

type GetPaymentMethodAuditLogsWithHistoryParams struct {

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext

func NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentMethodAuditLogsWithHistoryParams

NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext creates a new GetPaymentMethodAuditLogsWithHistoryParams object with 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 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 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) SetDefaults

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

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

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

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

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

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 describes a response with status code 400, with default header values.

Invalid paymentMethodId supplied

func NewGetPaymentMethodBadRequest

func NewGetPaymentMethodBadRequest() *GetPaymentMethodBadRequest

NewGetPaymentMethodBadRequest creates a GetPaymentMethodBadRequest with default headers values

func (*GetPaymentMethodBadRequest) Code

func (o *GetPaymentMethodBadRequest) Code() int

Code gets the status code for the get payment method bad request response

func (*GetPaymentMethodBadRequest) Error

func (*GetPaymentMethodBadRequest) IsClientError

func (o *GetPaymentMethodBadRequest) IsClientError() bool

IsClientError returns true when this get payment method bad request response has a 4xx status code

func (*GetPaymentMethodBadRequest) IsCode

func (o *GetPaymentMethodBadRequest) IsCode(code int) bool

IsCode returns true when this get payment method bad request response a status code equal to that given

func (*GetPaymentMethodBadRequest) IsRedirect

func (o *GetPaymentMethodBadRequest) IsRedirect() bool

IsRedirect returns true when this get payment method bad request response has a 3xx status code

func (*GetPaymentMethodBadRequest) IsServerError

func (o *GetPaymentMethodBadRequest) IsServerError() bool

IsServerError returns true when this get payment method bad request response has a 5xx status code

func (*GetPaymentMethodBadRequest) IsSuccess

func (o *GetPaymentMethodBadRequest) IsSuccess() bool

IsSuccess returns true when this get payment method bad request response has a 2xx status code

func (*GetPaymentMethodBadRequest) String

func (o *GetPaymentMethodBadRequest) String() string

type GetPaymentMethodByKeyNotFound

type GetPaymentMethodByKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodByKeyNotFound describes a response with status code 404, 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) Code

Code gets the status code for the get payment method by key not found response

func (*GetPaymentMethodByKeyNotFound) Error

func (*GetPaymentMethodByKeyNotFound) IsClientError

func (o *GetPaymentMethodByKeyNotFound) IsClientError() bool

IsClientError returns true when this get payment method by key not found response has a 4xx status code

func (*GetPaymentMethodByKeyNotFound) IsCode

func (o *GetPaymentMethodByKeyNotFound) IsCode(code int) bool

IsCode returns true when this get payment method by key not found response a status code equal to that given

func (*GetPaymentMethodByKeyNotFound) IsRedirect

func (o *GetPaymentMethodByKeyNotFound) IsRedirect() bool

IsRedirect returns true when this get payment method by key not found response has a 3xx status code

func (*GetPaymentMethodByKeyNotFound) IsServerError

func (o *GetPaymentMethodByKeyNotFound) IsServerError() bool

IsServerError returns true when this get payment method by key not found response has a 5xx status code

func (*GetPaymentMethodByKeyNotFound) IsSuccess

func (o *GetPaymentMethodByKeyNotFound) IsSuccess() bool

IsSuccess returns true when this get payment method by key not found response has a 2xx status code

func (*GetPaymentMethodByKeyNotFound) String

type GetPaymentMethodByKeyOK

type GetPaymentMethodByKeyOK struct {
	Payload      *kbmodel.PaymentMethod
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodByKeyOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentMethodByKeyOK

func NewGetPaymentMethodByKeyOK() *GetPaymentMethodByKeyOK

NewGetPaymentMethodByKeyOK creates a GetPaymentMethodByKeyOK with default headers values

func (*GetPaymentMethodByKeyOK) Code

func (o *GetPaymentMethodByKeyOK) Code() int

Code gets the status code for the get payment method by key o k response

func (*GetPaymentMethodByKeyOK) Error

func (o *GetPaymentMethodByKeyOK) Error() string

func (*GetPaymentMethodByKeyOK) GetPayload

func (*GetPaymentMethodByKeyOK) IsClientError

func (o *GetPaymentMethodByKeyOK) IsClientError() bool

IsClientError returns true when this get payment method by key o k response has a 4xx status code

func (*GetPaymentMethodByKeyOK) IsCode

func (o *GetPaymentMethodByKeyOK) IsCode(code int) bool

IsCode returns true when this get payment method by key o k response a status code equal to that given

func (*GetPaymentMethodByKeyOK) IsRedirect

func (o *GetPaymentMethodByKeyOK) IsRedirect() bool

IsRedirect returns true when this get payment method by key o k response has a 3xx status code

func (*GetPaymentMethodByKeyOK) IsServerError

func (o *GetPaymentMethodByKeyOK) IsServerError() bool

IsServerError returns true when this get payment method by key o k response has a 5xx status code

func (*GetPaymentMethodByKeyOK) IsSuccess

func (o *GetPaymentMethodByKeyOK) IsSuccess() bool

IsSuccess returns true when this get payment method by key o k response has a 2xx status code

func (*GetPaymentMethodByKeyOK) String

func (o *GetPaymentMethodByKeyOK) String() string

type GetPaymentMethodByKeyParams

type GetPaymentMethodByKeyParams struct {

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

	// ExternalKey.
	ExternalKey string

	// IncludedDeleted.
	IncludedDeleted *bool

	// PluginProperty.
	PluginProperty []string

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewGetPaymentMethodByKeyParamsWithContext

func NewGetPaymentMethodByKeyParamsWithContext(ctx context.Context) *GetPaymentMethodByKeyParams

NewGetPaymentMethodByKeyParamsWithContext creates a new GetPaymentMethodByKeyParams object with 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 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 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) SetDefaults

func (o *GetPaymentMethodByKeyParams) SetDefaults()

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

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

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

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

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

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 describes a response with status code 400, with default header values.

Invalid payment method id supplied

func NewGetPaymentMethodCustomFieldsBadRequest

func NewGetPaymentMethodCustomFieldsBadRequest() *GetPaymentMethodCustomFieldsBadRequest

NewGetPaymentMethodCustomFieldsBadRequest creates a GetPaymentMethodCustomFieldsBadRequest with default headers values

func (*GetPaymentMethodCustomFieldsBadRequest) Code

Code gets the status code for the get payment method custom fields bad request response

func (*GetPaymentMethodCustomFieldsBadRequest) Error

func (*GetPaymentMethodCustomFieldsBadRequest) IsClientError

func (o *GetPaymentMethodCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this get payment method custom fields bad request response has a 4xx status code

func (*GetPaymentMethodCustomFieldsBadRequest) IsCode

IsCode returns true when this get payment method custom fields bad request response a status code equal to that given

func (*GetPaymentMethodCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this get payment method custom fields bad request response has a 3xx status code

func (*GetPaymentMethodCustomFieldsBadRequest) IsServerError

func (o *GetPaymentMethodCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this get payment method custom fields bad request response has a 5xx status code

func (*GetPaymentMethodCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this get payment method custom fields bad request response has a 2xx status code

func (*GetPaymentMethodCustomFieldsBadRequest) String

type GetPaymentMethodCustomFieldsOK

type GetPaymentMethodCustomFieldsOK struct {
	Payload      []*kbmodel.CustomField
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodCustomFieldsOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentMethodCustomFieldsOK

func NewGetPaymentMethodCustomFieldsOK() *GetPaymentMethodCustomFieldsOK

NewGetPaymentMethodCustomFieldsOK creates a GetPaymentMethodCustomFieldsOK with default headers values

func (*GetPaymentMethodCustomFieldsOK) Code

Code gets the status code for the get payment method custom fields o k response

func (*GetPaymentMethodCustomFieldsOK) Error

func (*GetPaymentMethodCustomFieldsOK) GetPayload

func (*GetPaymentMethodCustomFieldsOK) IsClientError

func (o *GetPaymentMethodCustomFieldsOK) IsClientError() bool

IsClientError returns true when this get payment method custom fields o k response has a 4xx status code

func (*GetPaymentMethodCustomFieldsOK) IsCode

func (o *GetPaymentMethodCustomFieldsOK) IsCode(code int) bool

IsCode returns true when this get payment method custom fields o k response a status code equal to that given

func (*GetPaymentMethodCustomFieldsOK) IsRedirect

func (o *GetPaymentMethodCustomFieldsOK) IsRedirect() bool

IsRedirect returns true when this get payment method custom fields o k response has a 3xx status code

func (*GetPaymentMethodCustomFieldsOK) IsServerError

func (o *GetPaymentMethodCustomFieldsOK) IsServerError() bool

IsServerError returns true when this get payment method custom fields o k response has a 5xx status code

func (*GetPaymentMethodCustomFieldsOK) IsSuccess

func (o *GetPaymentMethodCustomFieldsOK) IsSuccess() bool

IsSuccess returns true when this get payment method custom fields o k response has a 2xx status code

func (*GetPaymentMethodCustomFieldsOK) String

type GetPaymentMethodCustomFieldsParams

type GetPaymentMethodCustomFieldsParams struct {

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

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewGetPaymentMethodCustomFieldsParamsWithContext

func NewGetPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *GetPaymentMethodCustomFieldsParams

NewGetPaymentMethodCustomFieldsParamsWithContext creates a new GetPaymentMethodCustomFieldsParams object with 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 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 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) SetDefaults

func (o *GetPaymentMethodCustomFieldsParams) SetDefaults()

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

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

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

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

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

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 describes a response with status code 404, 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) Code

func (o *GetPaymentMethodNotFound) Code() int

Code gets the status code for the get payment method not found response

func (*GetPaymentMethodNotFound) Error

func (o *GetPaymentMethodNotFound) Error() string

func (*GetPaymentMethodNotFound) IsClientError

func (o *GetPaymentMethodNotFound) IsClientError() bool

IsClientError returns true when this get payment method not found response has a 4xx status code

func (*GetPaymentMethodNotFound) IsCode

func (o *GetPaymentMethodNotFound) IsCode(code int) bool

IsCode returns true when this get payment method not found response a status code equal to that given

func (*GetPaymentMethodNotFound) IsRedirect

func (o *GetPaymentMethodNotFound) IsRedirect() bool

IsRedirect returns true when this get payment method not found response has a 3xx status code

func (*GetPaymentMethodNotFound) IsServerError

func (o *GetPaymentMethodNotFound) IsServerError() bool

IsServerError returns true when this get payment method not found response has a 5xx status code

func (*GetPaymentMethodNotFound) IsSuccess

func (o *GetPaymentMethodNotFound) IsSuccess() bool

IsSuccess returns true when this get payment method not found response has a 2xx status code

func (*GetPaymentMethodNotFound) String

func (o *GetPaymentMethodNotFound) String() string

type GetPaymentMethodOK

type GetPaymentMethodOK struct {
	Payload      *kbmodel.PaymentMethod
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentMethodOK

func NewGetPaymentMethodOK() *GetPaymentMethodOK

NewGetPaymentMethodOK creates a GetPaymentMethodOK with default headers values

func (*GetPaymentMethodOK) Code

func (o *GetPaymentMethodOK) Code() int

Code gets the status code for the get payment method o k response

func (*GetPaymentMethodOK) Error

func (o *GetPaymentMethodOK) Error() string

func (*GetPaymentMethodOK) GetPayload

func (o *GetPaymentMethodOK) GetPayload() *kbmodel.PaymentMethod

func (*GetPaymentMethodOK) IsClientError

func (o *GetPaymentMethodOK) IsClientError() bool

IsClientError returns true when this get payment method o k response has a 4xx status code

func (*GetPaymentMethodOK) IsCode

func (o *GetPaymentMethodOK) IsCode(code int) bool

IsCode returns true when this get payment method o k response a status code equal to that given

func (*GetPaymentMethodOK) IsRedirect

func (o *GetPaymentMethodOK) IsRedirect() bool

IsRedirect returns true when this get payment method o k response has a 3xx status code

func (*GetPaymentMethodOK) IsServerError

func (o *GetPaymentMethodOK) IsServerError() bool

IsServerError returns true when this get payment method o k response has a 5xx status code

func (*GetPaymentMethodOK) IsSuccess

func (o *GetPaymentMethodOK) IsSuccess() bool

IsSuccess returns true when this get payment method o k response has a 2xx status code

func (*GetPaymentMethodOK) String

func (o *GetPaymentMethodOK) String() string

type GetPaymentMethodParams

type GetPaymentMethodParams struct {

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

	// IncludedDeleted.
	IncludedDeleted *bool

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

	// PluginProperty.
	PluginProperty []string

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewGetPaymentMethodParamsWithContext

func NewGetPaymentMethodParamsWithContext(ctx context.Context) *GetPaymentMethodParams

NewGetPaymentMethodParamsWithContext creates a new GetPaymentMethodParams object with 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 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 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) SetDefaults

func (o *GetPaymentMethodParams) SetDefaults()

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

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

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

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

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

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 describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentMethodsOK

func NewGetPaymentMethodsOK() *GetPaymentMethodsOK

NewGetPaymentMethodsOK creates a GetPaymentMethodsOK with default headers values

func (*GetPaymentMethodsOK) Code

func (o *GetPaymentMethodsOK) Code() int

Code gets the status code for the get payment methods o k response

func (*GetPaymentMethodsOK) Error

func (o *GetPaymentMethodsOK) Error() string

func (*GetPaymentMethodsOK) GetPayload

func (o *GetPaymentMethodsOK) GetPayload() []*kbmodel.PaymentMethod

func (*GetPaymentMethodsOK) IsClientError

func (o *GetPaymentMethodsOK) IsClientError() bool

IsClientError returns true when this get payment methods o k response has a 4xx status code

func (*GetPaymentMethodsOK) IsCode

func (o *GetPaymentMethodsOK) IsCode(code int) bool

IsCode returns true when this get payment methods o k response a status code equal to that given

func (*GetPaymentMethodsOK) IsRedirect

func (o *GetPaymentMethodsOK) IsRedirect() bool

IsRedirect returns true when this get payment methods o k response has a 3xx status code

func (*GetPaymentMethodsOK) IsServerError

func (o *GetPaymentMethodsOK) IsServerError() bool

IsServerError returns true when this get payment methods o k response has a 5xx status code

func (*GetPaymentMethodsOK) IsSuccess

func (o *GetPaymentMethodsOK) IsSuccess() bool

IsSuccess returns true when this get payment methods o k response has a 2xx status code

func (*GetPaymentMethodsOK) String

func (o *GetPaymentMethodsOK) String() string

type GetPaymentMethodsParams

type GetPaymentMethodsParams struct {

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

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

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

	// PluginName.
	PluginName *string

	// PluginProperty.
	PluginProperty []string

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewGetPaymentMethodsParamsWithContext

func NewGetPaymentMethodsParamsWithContext(ctx context.Context) *GetPaymentMethodsParams

NewGetPaymentMethodsParamsWithContext creates a new GetPaymentMethodsParams object with 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 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 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) SetDefaults

func (o *GetPaymentMethodsParams) SetDefaults()

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

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

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

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

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

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 KillbillDefaults

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

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

type ModifyPaymentMethodCustomFieldsBadRequest

type ModifyPaymentMethodCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifyPaymentMethodCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid payment method id supplied

func NewModifyPaymentMethodCustomFieldsBadRequest

func NewModifyPaymentMethodCustomFieldsBadRequest() *ModifyPaymentMethodCustomFieldsBadRequest

NewModifyPaymentMethodCustomFieldsBadRequest creates a ModifyPaymentMethodCustomFieldsBadRequest with default headers values

func (*ModifyPaymentMethodCustomFieldsBadRequest) Code

Code gets the status code for the modify payment method custom fields bad request response

func (*ModifyPaymentMethodCustomFieldsBadRequest) Error

func (*ModifyPaymentMethodCustomFieldsBadRequest) IsClientError

IsClientError returns true when this modify payment method custom fields bad request response has a 4xx status code

func (*ModifyPaymentMethodCustomFieldsBadRequest) IsCode

IsCode returns true when this modify payment method custom fields bad request response a status code equal to that given

func (*ModifyPaymentMethodCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this modify payment method custom fields bad request response has a 3xx status code

func (*ModifyPaymentMethodCustomFieldsBadRequest) IsServerError

IsServerError returns true when this modify payment method custom fields bad request response has a 5xx status code

func (*ModifyPaymentMethodCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this modify payment method custom fields bad request response has a 2xx status code

func (*ModifyPaymentMethodCustomFieldsBadRequest) String

type ModifyPaymentMethodCustomFieldsNoContent

type ModifyPaymentMethodCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyPaymentMethodCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewModifyPaymentMethodCustomFieldsNoContent

func NewModifyPaymentMethodCustomFieldsNoContent() *ModifyPaymentMethodCustomFieldsNoContent

NewModifyPaymentMethodCustomFieldsNoContent creates a ModifyPaymentMethodCustomFieldsNoContent with default headers values

func (*ModifyPaymentMethodCustomFieldsNoContent) Code

Code gets the status code for the modify payment method custom fields no content response

func (*ModifyPaymentMethodCustomFieldsNoContent) Error

func (*ModifyPaymentMethodCustomFieldsNoContent) IsClientError

IsClientError returns true when this modify payment method custom fields no content response has a 4xx status code

func (*ModifyPaymentMethodCustomFieldsNoContent) IsCode

IsCode returns true when this modify payment method custom fields no content response a status code equal to that given

func (*ModifyPaymentMethodCustomFieldsNoContent) IsRedirect

IsRedirect returns true when this modify payment method custom fields no content response has a 3xx status code

func (*ModifyPaymentMethodCustomFieldsNoContent) IsServerError

IsServerError returns true when this modify payment method custom fields no content response has a 5xx status code

func (*ModifyPaymentMethodCustomFieldsNoContent) IsSuccess

IsSuccess returns true when this modify payment method custom fields no content response has a 2xx status code

func (*ModifyPaymentMethodCustomFieldsNoContent) String

type ModifyPaymentMethodCustomFieldsParams

type ModifyPaymentMethodCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewModifyPaymentMethodCustomFieldsParamsWithContext

func NewModifyPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *ModifyPaymentMethodCustomFieldsParams

NewModifyPaymentMethodCustomFieldsParamsWithContext creates a new ModifyPaymentMethodCustomFieldsParams object with 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 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 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) SetDefaults

func (o *ModifyPaymentMethodCustomFieldsParams) SetDefaults()

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

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

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

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

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

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 describes a response with status code 200, with default header values.

successful operation

func NewSearchPaymentMethodsOK

func NewSearchPaymentMethodsOK() *SearchPaymentMethodsOK

NewSearchPaymentMethodsOK creates a SearchPaymentMethodsOK with default headers values

func (*SearchPaymentMethodsOK) Code

func (o *SearchPaymentMethodsOK) Code() int

Code gets the status code for the search payment methods o k response

func (*SearchPaymentMethodsOK) Error

func (o *SearchPaymentMethodsOK) Error() string

func (*SearchPaymentMethodsOK) GetPayload

func (o *SearchPaymentMethodsOK) GetPayload() []*kbmodel.PaymentMethod

func (*SearchPaymentMethodsOK) IsClientError

func (o *SearchPaymentMethodsOK) IsClientError() bool

IsClientError returns true when this search payment methods o k response has a 4xx status code

func (*SearchPaymentMethodsOK) IsCode

func (o *SearchPaymentMethodsOK) IsCode(code int) bool

IsCode returns true when this search payment methods o k response a status code equal to that given

func (*SearchPaymentMethodsOK) IsRedirect

func (o *SearchPaymentMethodsOK) IsRedirect() bool

IsRedirect returns true when this search payment methods o k response has a 3xx status code

func (*SearchPaymentMethodsOK) IsServerError

func (o *SearchPaymentMethodsOK) IsServerError() bool

IsServerError returns true when this search payment methods o k response has a 5xx status code

func (*SearchPaymentMethodsOK) IsSuccess

func (o *SearchPaymentMethodsOK) IsSuccess() bool

IsSuccess returns true when this search payment methods o k response has a 2xx status code

func (*SearchPaymentMethodsOK) String

func (o *SearchPaymentMethodsOK) String() string

type SearchPaymentMethodsParams

type SearchPaymentMethodsParams struct {

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

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

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

	// PluginName.
	PluginName *string

	// PluginProperty.
	PluginProperty []string

	// SearchKey.
	SearchKey string

	// WithPluginInfo.
	WithPluginInfo *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

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

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 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 NewSearchPaymentMethodsParamsWithContext

func NewSearchPaymentMethodsParamsWithContext(ctx context.Context) *SearchPaymentMethodsParams

NewSearchPaymentMethodsParamsWithContext creates a new SearchPaymentMethodsParams object with 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 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 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) SetDefaults

func (o *SearchPaymentMethodsParams) SetDefaults()

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

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

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

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

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

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