payment_method

package
v3.0.3-draft Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for payment method API

func (*Client) CreatePaymentMethodCustomFields

CreatePaymentMethodCustomFields adds custom fields to payment method

func (*Client) DeletePaymentMethod

func (a *Client) DeletePaymentMethod(params *DeletePaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePaymentMethodNoContent, error)

DeletePaymentMethod deletes a payment method

func (*Client) DeletePaymentMethodCustomFields

DeletePaymentMethodCustomFields removes custom fields from payment method

func (*Client) GetPaymentMethod

func (a *Client) GetPaymentMethod(params *GetPaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodOK, error)

GetPaymentMethod retrieves a payment method by id

func (*Client) GetPaymentMethodAuditLogsWithHistory

func (a *Client) GetPaymentMethodAuditLogsWithHistory(params *GetPaymentMethodAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodAuditLogsWithHistoryOK, error)

GetPaymentMethodAuditLogsWithHistory retrieves payment method audit logs with history by id

func (*Client) GetPaymentMethodByKey

func (a *Client) GetPaymentMethodByKey(params *GetPaymentMethodByKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodByKeyOK, error)

GetPaymentMethodByKey retrieves a payment method by external key

func (*Client) GetPaymentMethodCustomFields

func (a *Client) GetPaymentMethodCustomFields(params *GetPaymentMethodCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodCustomFieldsOK, error)

GetPaymentMethodCustomFields retrieves payment method custom fields

func (*Client) GetPaymentMethods

func (a *Client) GetPaymentMethods(params *GetPaymentMethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodsOK, error)

GetPaymentMethods lists payment methods

func (*Client) ModifyPaymentMethodCustomFields

ModifyPaymentMethodCustomFields modifies custom fields to payment method

func (*Client) SearchPaymentMethods

func (a *Client) SearchPaymentMethods(params *SearchPaymentMethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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(params *CreatePaymentMethodCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePaymentMethodCustomFieldsCreated, error)

	DeletePaymentMethod(params *DeletePaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePaymentMethodNoContent, error)

	DeletePaymentMethodCustomFields(params *DeletePaymentMethodCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePaymentMethodCustomFieldsNoContent, error)

	GetPaymentMethod(params *GetPaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodOK, error)

	GetPaymentMethodAuditLogsWithHistory(params *GetPaymentMethodAuditLogsWithHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodAuditLogsWithHistoryOK, error)

	GetPaymentMethodByKey(params *GetPaymentMethodByKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodByKeyOK, error)

	GetPaymentMethodCustomFields(params *GetPaymentMethodCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodCustomFieldsOK, error)

	GetPaymentMethods(params *GetPaymentMethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPaymentMethodsOK, error)

	ModifyPaymentMethodCustomFields(params *ModifyPaymentMethodCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ModifyPaymentMethodCustomFieldsNoContent, error)

	SearchPaymentMethods(params *SearchPaymentMethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchPaymentMethodsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new payment method API client.

type CreatePaymentMethodCustomFieldsBadRequest

type CreatePaymentMethodCustomFieldsBadRequest struct {
}
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) Error

type CreatePaymentMethodCustomFieldsCreated

type CreatePaymentMethodCustomFieldsCreated struct {
	Payload []*kbmodel.CustomField
}
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) Error

func (*CreatePaymentMethodCustomFieldsCreated) GetPayload

type CreatePaymentMethodCustomFieldsParams

type CreatePaymentMethodCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	Context    context.Context
	HTTPClient *http.Client
	// 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 {
}
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) Error

type DeletePaymentMethodCustomFieldsBadRequest

type DeletePaymentMethodCustomFieldsBadRequest struct {
}
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) Error

type DeletePaymentMethodCustomFieldsNoContent

type DeletePaymentMethodCustomFieldsNoContent struct {
}
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) Error

type DeletePaymentMethodCustomFieldsParams

type DeletePaymentMethodCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// CustomField.
	CustomField []strfmt.UUID

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

	Context    context.Context
	HTTPClient *http.Client
	// 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 {
}
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) Error

type DeletePaymentMethodNotFound

type DeletePaymentMethodNotFound struct {
}
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) Error

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

	Context    context.Context
	HTTPClient *http.Client
	// 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 {
}
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) Error

type GetPaymentMethodAuditLogsWithHistoryOK

type GetPaymentMethodAuditLogsWithHistoryOK struct {
	Payload []*kbmodel.AuditLog
}
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) Error

func (*GetPaymentMethodAuditLogsWithHistoryOK) GetPayload

type GetPaymentMethodAuditLogsWithHistoryParams

type GetPaymentMethodAuditLogsWithHistoryParams struct {

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

	Context    context.Context
	HTTPClient *http.Client
	// 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 {
}
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) Error

type GetPaymentMethodByKeyNotFound

type GetPaymentMethodByKeyNotFound struct {
}
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) Error

type GetPaymentMethodByKeyOK

type GetPaymentMethodByKeyOK struct {
	Payload *kbmodel.PaymentMethod
}
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) Error

func (o *GetPaymentMethodByKeyOK) Error() string

func (*GetPaymentMethodByKeyOK) GetPayload

type GetPaymentMethodByKeyParams

type GetPaymentMethodByKeyParams struct {

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

	// ExternalKey.
	ExternalKey string

	// IncludedDeleted.
	IncludedDeleted *bool

	// PluginProperty.
	PluginProperty []string

	// WithPluginInfo.
	WithPluginInfo *bool

	Context    context.Context
	HTTPClient *http.Client
	// 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 {
}
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) Error

type GetPaymentMethodCustomFieldsOK

type GetPaymentMethodCustomFieldsOK struct {
	Payload []*kbmodel.CustomField
}
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) Error

func (*GetPaymentMethodCustomFieldsOK) GetPayload

type GetPaymentMethodCustomFieldsParams

type GetPaymentMethodCustomFieldsParams struct {

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

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

	Context    context.Context
	HTTPClient *http.Client
	// 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 {
}
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) Error

func (o *GetPaymentMethodNotFound) Error() string

type GetPaymentMethodOK

type GetPaymentMethodOK struct {
	Payload *kbmodel.PaymentMethod
}
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) Error

func (o *GetPaymentMethodOK) Error() string

func (*GetPaymentMethodOK) GetPayload

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

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

	Context    context.Context
	HTTPClient *http.Client
	// 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
}
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) Error

func (o *GetPaymentMethodsOK) Error() string

func (*GetPaymentMethodsOK) GetPayload

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

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

	Context    context.Context
	HTTPClient *http.Client
	// 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 ModifyPaymentMethodCustomFieldsBadRequest

type ModifyPaymentMethodCustomFieldsBadRequest struct {
}
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) Error

type ModifyPaymentMethodCustomFieldsNoContent

type ModifyPaymentMethodCustomFieldsNoContent struct {
}
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) Error

type ModifyPaymentMethodCustomFieldsParams

type ModifyPaymentMethodCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

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

	Context    context.Context
	HTTPClient *http.Client
	// 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
}
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) Error

func (o *SearchPaymentMethodsOK) Error() string

func (*SearchPaymentMethodsOK) GetPayload

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

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

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