Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePaymentMethodCustomFields(ctx context.Context, params *CreatePaymentMethodCustomFieldsParams) (*CreatePaymentMethodCustomFieldsCreated, error)
- func (a *Client) DeletePaymentMethod(ctx context.Context, params *DeletePaymentMethodParams) (*DeletePaymentMethodNoContent, error)
- func (a *Client) DeletePaymentMethodCustomFields(ctx context.Context, params *DeletePaymentMethodCustomFieldsParams) (*DeletePaymentMethodCustomFieldsNoContent, error)
- func (a *Client) GetPaymentMethod(ctx context.Context, params *GetPaymentMethodParams) (*GetPaymentMethodOK, error)
- func (a *Client) GetPaymentMethodAuditLogsWithHistory(ctx context.Context, params *GetPaymentMethodAuditLogsWithHistoryParams) (*GetPaymentMethodAuditLogsWithHistoryOK, error)
- func (a *Client) GetPaymentMethodByKey(ctx context.Context, params *GetPaymentMethodByKeyParams) (*GetPaymentMethodByKeyOK, error)
- func (a *Client) GetPaymentMethodCustomFields(ctx context.Context, params *GetPaymentMethodCustomFieldsParams) (*GetPaymentMethodCustomFieldsOK, error)
- func (a *Client) GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams) (*GetPaymentMethodsOK, error)
- func (a *Client) ModifyPaymentMethodCustomFields(ctx context.Context, params *ModifyPaymentMethodCustomFieldsParams) (*ModifyPaymentMethodCustomFieldsNoContent, error)
- func (a *Client) SearchPaymentMethods(ctx context.Context, params *SearchPaymentMethodsParams) (*SearchPaymentMethodsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreatePaymentMethodCustomFieldsBadRequest
- type CreatePaymentMethodCustomFieldsCreated
- type CreatePaymentMethodCustomFieldsParams
- func NewCreatePaymentMethodCustomFieldsParams() *CreatePaymentMethodCustomFieldsParams
- func NewCreatePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *CreatePaymentMethodCustomFieldsParams
- func NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *CreatePaymentMethodCustomFieldsParams
- func NewCreatePaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *CreatePaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
- func (o *CreatePaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *CreatePaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
- func (o *CreatePaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreatePaymentMethodCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) WithContext(ctx context.Context) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) WithHTTPClient(client *http.Client) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) WithTimeout(timeout time.Duration) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreatePaymentMethodCustomFieldsParams
- func (o *CreatePaymentMethodCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePaymentMethodCustomFieldsReader
- type DeletePaymentMethodBadRequest
- type DeletePaymentMethodCustomFieldsBadRequest
- type DeletePaymentMethodCustomFieldsNoContent
- type DeletePaymentMethodCustomFieldsParams
- func NewDeletePaymentMethodCustomFieldsParams() *DeletePaymentMethodCustomFieldsParams
- func NewDeletePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *DeletePaymentMethodCustomFieldsParams
- func NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodCustomFieldsParams
- func NewDeletePaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
- func (o *DeletePaymentMethodCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
- func (o *DeletePaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *DeletePaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
- func (o *DeletePaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeletePaymentMethodCustomFieldsParams) WithContext(ctx context.Context) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) WithHTTPClient(client *http.Client) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) WithTimeout(timeout time.Duration) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeletePaymentMethodCustomFieldsParams
- func (o *DeletePaymentMethodCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePaymentMethodCustomFieldsReader
- type DeletePaymentMethodNoContent
- type DeletePaymentMethodNotFound
- type DeletePaymentMethodParams
- func NewDeletePaymentMethodParams() *DeletePaymentMethodParams
- func NewDeletePaymentMethodParamsWithContext(ctx context.Context) *DeletePaymentMethodParams
- func NewDeletePaymentMethodParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodParams
- func NewDeletePaymentMethodParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) SetContext(ctx context.Context)
- func (o *DeletePaymentMethodParams) SetDeleteDefaultPmWithAutoPayOff(deleteDefaultPmWithAutoPayOff *bool)
- func (o *DeletePaymentMethodParams) SetForceDefaultPmDeletion(forceDefaultPmDeletion *bool)
- func (o *DeletePaymentMethodParams) SetHTTPClient(client *http.Client)
- func (o *DeletePaymentMethodParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
- func (o *DeletePaymentMethodParams) SetPluginProperty(pluginProperty []string)
- func (o *DeletePaymentMethodParams) SetTimeout(timeout time.Duration)
- func (o *DeletePaymentMethodParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeletePaymentMethodParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeletePaymentMethodParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeletePaymentMethodParams) WithContext(ctx context.Context) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithDeleteDefaultPmWithAutoPayOff(deleteDefaultPmWithAutoPayOff *bool) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithForceDefaultPmDeletion(forceDefaultPmDeletion *bool) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithHTTPClient(client *http.Client) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithPluginProperty(pluginProperty []string) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithTimeout(timeout time.Duration) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithXKillbillComment(xKillbillComment *string) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WithXKillbillReason(xKillbillReason *string) *DeletePaymentMethodParams
- func (o *DeletePaymentMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePaymentMethodReader
- type GetPaymentMethodAuditLogsWithHistoryNotFound
- type GetPaymentMethodAuditLogsWithHistoryOK
- type GetPaymentMethodAuditLogsWithHistoryParams
- func NewGetPaymentMethodAuditLogsWithHistoryParams() *GetPaymentMethodAuditLogsWithHistoryParams
- func NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentMethodAuditLogsWithHistoryParams
- func NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetPaymentMethodAuditLogsWithHistoryParams
- func NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetPaymentMethodAuditLogsWithHistoryParams
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetPaymentMethodAuditLogsWithHistoryParams
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetPaymentMethodAuditLogsWithHistoryParams
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *GetPaymentMethodAuditLogsWithHistoryParams
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetPaymentMethodAuditLogsWithHistoryParams
- func (o *GetPaymentMethodAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentMethodAuditLogsWithHistoryReader
- type GetPaymentMethodBadRequest
- type GetPaymentMethodByKeyNotFound
- type GetPaymentMethodByKeyOK
- type GetPaymentMethodByKeyParams
- func NewGetPaymentMethodByKeyParams() *GetPaymentMethodByKeyParams
- func NewGetPaymentMethodByKeyParamsWithContext(ctx context.Context) *GetPaymentMethodByKeyParams
- func NewGetPaymentMethodByKeyParamsWithHTTPClient(client *http.Client) *GetPaymentMethodByKeyParams
- func NewGetPaymentMethodByKeyParamsWithTimeout(timeout time.Duration) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) SetAudit(audit *string)
- func (o *GetPaymentMethodByKeyParams) SetContext(ctx context.Context)
- func (o *GetPaymentMethodByKeyParams) SetExternalKey(externalKey string)
- func (o *GetPaymentMethodByKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentMethodByKeyParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetPaymentMethodByKeyParams) SetPluginProperty(pluginProperty []string)
- func (o *GetPaymentMethodByKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentMethodByKeyParams) SetWithPluginInfo(withPluginInfo *bool)
- func (o *GetPaymentMethodByKeyParams) WithAudit(audit *string) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) WithContext(ctx context.Context) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) WithExternalKey(externalKey string) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) WithHTTPClient(client *http.Client) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) WithIncludedDeleted(includedDeleted *bool) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) WithPluginProperty(pluginProperty []string) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) WithTimeout(timeout time.Duration) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentMethodByKeyParams
- func (o *GetPaymentMethodByKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentMethodByKeyReader
- type GetPaymentMethodCustomFieldsBadRequest
- type GetPaymentMethodCustomFieldsOK
- type GetPaymentMethodCustomFieldsParams
- func NewGetPaymentMethodCustomFieldsParams() *GetPaymentMethodCustomFieldsParams
- func NewGetPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *GetPaymentMethodCustomFieldsParams
- func NewGetPaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *GetPaymentMethodCustomFieldsParams
- func NewGetPaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *GetPaymentMethodCustomFieldsParams
- func (o *GetPaymentMethodCustomFieldsParams) SetAudit(audit *string)
- func (o *GetPaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetPaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
- func (o *GetPaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentMethodCustomFieldsParams) WithAudit(audit *string) *GetPaymentMethodCustomFieldsParams
- func (o *GetPaymentMethodCustomFieldsParams) WithContext(ctx context.Context) *GetPaymentMethodCustomFieldsParams
- func (o *GetPaymentMethodCustomFieldsParams) WithHTTPClient(client *http.Client) *GetPaymentMethodCustomFieldsParams
- func (o *GetPaymentMethodCustomFieldsParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *GetPaymentMethodCustomFieldsParams
- func (o *GetPaymentMethodCustomFieldsParams) WithTimeout(timeout time.Duration) *GetPaymentMethodCustomFieldsParams
- func (o *GetPaymentMethodCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentMethodCustomFieldsReader
- type GetPaymentMethodNotFound
- type GetPaymentMethodOK
- type GetPaymentMethodParams
- func NewGetPaymentMethodParams() *GetPaymentMethodParams
- func NewGetPaymentMethodParamsWithContext(ctx context.Context) *GetPaymentMethodParams
- func NewGetPaymentMethodParamsWithHTTPClient(client *http.Client) *GetPaymentMethodParams
- func NewGetPaymentMethodParamsWithTimeout(timeout time.Duration) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) SetAudit(audit *string)
- func (o *GetPaymentMethodParams) SetContext(ctx context.Context)
- func (o *GetPaymentMethodParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentMethodParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetPaymentMethodParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
- func (o *GetPaymentMethodParams) SetPluginProperty(pluginProperty []string)
- func (o *GetPaymentMethodParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentMethodParams) SetWithPluginInfo(withPluginInfo *bool)
- func (o *GetPaymentMethodParams) WithAudit(audit *string) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) WithContext(ctx context.Context) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) WithHTTPClient(client *http.Client) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) WithIncludedDeleted(includedDeleted *bool) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) WithPluginProperty(pluginProperty []string) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) WithTimeout(timeout time.Duration) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentMethodParams
- func (o *GetPaymentMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentMethodReader
- type GetPaymentMethodsOK
- type GetPaymentMethodsParams
- func NewGetPaymentMethodsParams() *GetPaymentMethodsParams
- func NewGetPaymentMethodsParamsWithContext(ctx context.Context) *GetPaymentMethodsParams
- func NewGetPaymentMethodsParamsWithHTTPClient(client *http.Client) *GetPaymentMethodsParams
- func NewGetPaymentMethodsParamsWithTimeout(timeout time.Duration) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) SetAudit(audit *string)
- func (o *GetPaymentMethodsParams) SetContext(ctx context.Context)
- func (o *GetPaymentMethodsParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentMethodsParams) SetLimit(limit *int64)
- func (o *GetPaymentMethodsParams) SetOffset(offset *int64)
- func (o *GetPaymentMethodsParams) SetPluginName(pluginName *string)
- func (o *GetPaymentMethodsParams) SetPluginProperty(pluginProperty []string)
- func (o *GetPaymentMethodsParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentMethodsParams) SetWithPluginInfo(withPluginInfo *bool)
- func (o *GetPaymentMethodsParams) WithAudit(audit *string) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WithContext(ctx context.Context) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WithHTTPClient(client *http.Client) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WithLimit(limit *int64) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WithOffset(offset *int64) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WithPluginName(pluginName *string) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WithPluginProperty(pluginProperty []string) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WithTimeout(timeout time.Duration) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentMethodsParams
- func (o *GetPaymentMethodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentMethodsReader
- type IPaymentMethod
- type KillbillDefaults
- type ModifyPaymentMethodCustomFieldsBadRequest
- type ModifyPaymentMethodCustomFieldsNoContent
- type ModifyPaymentMethodCustomFieldsParams
- func NewModifyPaymentMethodCustomFieldsParams() *ModifyPaymentMethodCustomFieldsParams
- func NewModifyPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *ModifyPaymentMethodCustomFieldsParams
- func NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyPaymentMethodCustomFieldsParams
- func NewModifyPaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *ModifyPaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
- func (o *ModifyPaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *ModifyPaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
- func (o *ModifyPaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ModifyPaymentMethodCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) WithContext(ctx context.Context) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyPaymentMethodCustomFieldsParams
- func (o *ModifyPaymentMethodCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyPaymentMethodCustomFieldsReader
- type SearchPaymentMethodsOK
- type SearchPaymentMethodsParams
- func NewSearchPaymentMethodsParams() *SearchPaymentMethodsParams
- func NewSearchPaymentMethodsParamsWithContext(ctx context.Context) *SearchPaymentMethodsParams
- func NewSearchPaymentMethodsParamsWithHTTPClient(client *http.Client) *SearchPaymentMethodsParams
- func NewSearchPaymentMethodsParamsWithTimeout(timeout time.Duration) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) SetAudit(audit *string)
- func (o *SearchPaymentMethodsParams) SetContext(ctx context.Context)
- func (o *SearchPaymentMethodsParams) SetHTTPClient(client *http.Client)
- func (o *SearchPaymentMethodsParams) SetLimit(limit *int64)
- func (o *SearchPaymentMethodsParams) SetOffset(offset *int64)
- func (o *SearchPaymentMethodsParams) SetPluginName(pluginName *string)
- func (o *SearchPaymentMethodsParams) SetPluginProperty(pluginProperty []string)
- func (o *SearchPaymentMethodsParams) SetSearchKey(searchKey string)
- func (o *SearchPaymentMethodsParams) SetTimeout(timeout time.Duration)
- func (o *SearchPaymentMethodsParams) SetWithPluginInfo(withPluginInfo *bool)
- func (o *SearchPaymentMethodsParams) WithAudit(audit *string) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithContext(ctx context.Context) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithHTTPClient(client *http.Client) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithLimit(limit *int64) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithOffset(offset *int64) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithPluginName(pluginName *string) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithPluginProperty(pluginProperty []string) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithSearchKey(searchKey string) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithTimeout(timeout time.Duration) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WithWithPluginInfo(withPluginInfo *bool) *SearchPaymentMethodsParams
- func (o *SearchPaymentMethodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchPaymentMethodsReader
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
resource description
func (*Client) DeletePaymentMethod ¶
func (a *Client) DeletePaymentMethod(ctx context.Context, params *DeletePaymentMethodParams) (*DeletePaymentMethodNoContent, error)
DeletePaymentMethod deletes a payment method
resource description
func (*Client) DeletePaymentMethodCustomFields ¶
func (a *Client) DeletePaymentMethodCustomFields(ctx context.Context, params *DeletePaymentMethodCustomFieldsParams) (*DeletePaymentMethodCustomFieldsNoContent, error)
DeletePaymentMethodCustomFields removes custom fields from payment method
resource description
func (*Client) GetPaymentMethod ¶
func (a *Client) GetPaymentMethod(ctx context.Context, params *GetPaymentMethodParams) (*GetPaymentMethodOK, error)
GetPaymentMethod retrieves a payment method by id
resource description
func (*Client) GetPaymentMethodAuditLogsWithHistory ¶
func (a *Client) GetPaymentMethodAuditLogsWithHistory(ctx context.Context, params *GetPaymentMethodAuditLogsWithHistoryParams) (*GetPaymentMethodAuditLogsWithHistoryOK, error)
GetPaymentMethodAuditLogsWithHistory retrieves payment method audit logs with history by id
resource description
func (*Client) GetPaymentMethodByKey ¶
func (a *Client) GetPaymentMethodByKey(ctx context.Context, params *GetPaymentMethodByKeyParams) (*GetPaymentMethodByKeyOK, error)
GetPaymentMethodByKey retrieves a payment method by external key
resource description
func (*Client) GetPaymentMethodCustomFields ¶
func (a *Client) GetPaymentMethodCustomFields(ctx context.Context, params *GetPaymentMethodCustomFieldsParams) (*GetPaymentMethodCustomFieldsOK, error)
GetPaymentMethodCustomFields retrieves payment method custom fields
resource description
func (*Client) GetPaymentMethods ¶
func (a *Client) GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams) (*GetPaymentMethodsOK, error)
GetPaymentMethods lists payment methods
resource description
func (*Client) ModifyPaymentMethodCustomFields ¶
func (a *Client) ModifyPaymentMethodCustomFields(ctx context.Context, params *ModifyPaymentMethodCustomFieldsParams) (*ModifyPaymentMethodCustomFieldsNoContent, error)
ModifyPaymentMethodCustomFields modifies custom fields to payment method
resource description
func (*Client) SearchPaymentMethods ¶
func (a *Client) SearchPaymentMethods(ctx context.Context, params *SearchPaymentMethodsParams) (*SearchPaymentMethodsOK, error)
SearchPaymentMethods searches payment methods
resource description
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreatePaymentMethodCustomFieldsBadRequest ¶
type CreatePaymentMethodCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreatePaymentMethodCustomFieldsBadRequest handles this case with default header values.
Invalid payment method id supplied
func NewCreatePaymentMethodCustomFieldsBadRequest ¶
func NewCreatePaymentMethodCustomFieldsBadRequest() *CreatePaymentMethodCustomFieldsBadRequest
NewCreatePaymentMethodCustomFieldsBadRequest creates a CreatePaymentMethodCustomFieldsBadRequest with default headers values
func (*CreatePaymentMethodCustomFieldsBadRequest) Error ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) Error() string
type CreatePaymentMethodCustomFieldsCreated ¶
type CreatePaymentMethodCustomFieldsCreated struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
CreatePaymentMethodCustomFieldsCreated handles this case with default header values.
Custom field created successfully
func NewCreatePaymentMethodCustomFieldsCreated ¶
func NewCreatePaymentMethodCustomFieldsCreated() *CreatePaymentMethodCustomFieldsCreated
NewCreatePaymentMethodCustomFieldsCreated creates a CreatePaymentMethodCustomFieldsCreated with default headers values
func (*CreatePaymentMethodCustomFieldsCreated) Error ¶
func (o *CreatePaymentMethodCustomFieldsCreated) Error() string
func (*CreatePaymentMethodCustomFieldsCreated) GetPayload ¶
func (o *CreatePaymentMethodCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
type CreatePaymentMethodCustomFieldsParams ¶
type CreatePaymentMethodCustomFieldsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body []*kbmodel.CustomField /*PaymentMethodID*/ 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 values initialized.
func NewCreatePaymentMethodCustomFieldsParamsWithContext ¶
func NewCreatePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *CreatePaymentMethodCustomFieldsParams
NewCreatePaymentMethodCustomFieldsParamsWithContext creates a new CreatePaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient ¶
func NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *CreatePaymentMethodCustomFieldsParams
NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient creates a new CreatePaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePaymentMethodCustomFieldsParamsWithTimeout ¶
func NewCreatePaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *CreatePaymentMethodCustomFieldsParams
NewCreatePaymentMethodCustomFieldsParamsWithTimeout creates a new CreatePaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePaymentMethodCustomFieldsParams) SetBody ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetContext ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetHTTPClient ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetPaymentMethodID ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetTimeout ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillComment ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillReason ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) WithBody ¶
func (o *CreatePaymentMethodCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreatePaymentMethodCustomFieldsParams
WithBody adds the body to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) WithContext ¶
func (o *CreatePaymentMethodCustomFieldsParams) WithContext(ctx context.Context) *CreatePaymentMethodCustomFieldsParams
WithContext adds the context to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) WithHTTPClient ¶
func (o *CreatePaymentMethodCustomFieldsParams) WithHTTPClient(client *http.Client) *CreatePaymentMethodCustomFieldsParams
WithHTTPClient adds the HTTPClient to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) WithPaymentMethodID ¶
func (o *CreatePaymentMethodCustomFieldsParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *CreatePaymentMethodCustomFieldsParams
WithPaymentMethodID adds the paymentMethodID to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) WithTimeout ¶
func (o *CreatePaymentMethodCustomFieldsParams) WithTimeout(timeout time.Duration) *CreatePaymentMethodCustomFieldsParams
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 ¶
func (o *CreatePaymentMethodCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreatePaymentMethodCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) WriteToRequest ¶
func (o *CreatePaymentMethodCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePaymentMethodCustomFieldsReader ¶
type CreatePaymentMethodCustomFieldsReader struct {
// contains filtered or unexported fields
}
CreatePaymentMethodCustomFieldsReader is a Reader for the CreatePaymentMethodCustomFields structure.
func (*CreatePaymentMethodCustomFieldsReader) ReadResponse ¶
func (o *CreatePaymentMethodCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePaymentMethodBadRequest ¶
type DeletePaymentMethodBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeletePaymentMethodBadRequest handles this case with default header values.
Invalid paymentMethodId supplied
func NewDeletePaymentMethodBadRequest ¶
func NewDeletePaymentMethodBadRequest() *DeletePaymentMethodBadRequest
NewDeletePaymentMethodBadRequest creates a DeletePaymentMethodBadRequest with default headers values
func (*DeletePaymentMethodBadRequest) Error ¶
func (o *DeletePaymentMethodBadRequest) Error() string
type DeletePaymentMethodCustomFieldsBadRequest ¶
type DeletePaymentMethodCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeletePaymentMethodCustomFieldsBadRequest handles this case with default header values.
Invalid payment method id supplied
func NewDeletePaymentMethodCustomFieldsBadRequest ¶
func NewDeletePaymentMethodCustomFieldsBadRequest() *DeletePaymentMethodCustomFieldsBadRequest
NewDeletePaymentMethodCustomFieldsBadRequest creates a DeletePaymentMethodCustomFieldsBadRequest with default headers values
func (*DeletePaymentMethodCustomFieldsBadRequest) Error ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) Error() string
type DeletePaymentMethodCustomFieldsNoContent ¶
type DeletePaymentMethodCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeletePaymentMethodCustomFieldsNoContent handles this case with default header values.
Successful operation
func NewDeletePaymentMethodCustomFieldsNoContent ¶
func NewDeletePaymentMethodCustomFieldsNoContent() *DeletePaymentMethodCustomFieldsNoContent
NewDeletePaymentMethodCustomFieldsNoContent creates a DeletePaymentMethodCustomFieldsNoContent with default headers values
func (*DeletePaymentMethodCustomFieldsNoContent) Error ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) Error() string
type DeletePaymentMethodCustomFieldsParams ¶
type DeletePaymentMethodCustomFieldsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*CustomField*/ CustomField []strfmt.UUID /*PaymentMethodID*/ 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 values initialized.
func NewDeletePaymentMethodCustomFieldsParamsWithContext ¶
func NewDeletePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *DeletePaymentMethodCustomFieldsParams
NewDeletePaymentMethodCustomFieldsParamsWithContext creates a new DeletePaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient ¶
func NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodCustomFieldsParams
NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient creates a new DeletePaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePaymentMethodCustomFieldsParamsWithTimeout ¶
func NewDeletePaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodCustomFieldsParams
NewDeletePaymentMethodCustomFieldsParamsWithTimeout creates a new DeletePaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePaymentMethodCustomFieldsParams) SetContext ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetCustomField ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
SetCustomField adds the customField to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetHTTPClient ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetPaymentMethodID ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetTimeout ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillComment ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillReason ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) WithContext ¶
func (o *DeletePaymentMethodCustomFieldsParams) WithContext(ctx context.Context) *DeletePaymentMethodCustomFieldsParams
WithContext adds the context to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) WithCustomField ¶
func (o *DeletePaymentMethodCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeletePaymentMethodCustomFieldsParams
WithCustomField adds the customField to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) WithHTTPClient ¶
func (o *DeletePaymentMethodCustomFieldsParams) WithHTTPClient(client *http.Client) *DeletePaymentMethodCustomFieldsParams
WithHTTPClient adds the HTTPClient to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) WithPaymentMethodID ¶
func (o *DeletePaymentMethodCustomFieldsParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *DeletePaymentMethodCustomFieldsParams
WithPaymentMethodID adds the paymentMethodID to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) WithTimeout ¶
func (o *DeletePaymentMethodCustomFieldsParams) WithTimeout(timeout time.Duration) *DeletePaymentMethodCustomFieldsParams
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 ¶
func (o *DeletePaymentMethodCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeletePaymentMethodCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) WriteToRequest ¶
func (o *DeletePaymentMethodCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePaymentMethodCustomFieldsReader ¶
type DeletePaymentMethodCustomFieldsReader struct {
// contains filtered or unexported fields
}
DeletePaymentMethodCustomFieldsReader is a Reader for the DeletePaymentMethodCustomFields structure.
func (*DeletePaymentMethodCustomFieldsReader) ReadResponse ¶
func (o *DeletePaymentMethodCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePaymentMethodNoContent ¶
type DeletePaymentMethodNoContent struct {
HttpResponse runtime.ClientResponse
}
DeletePaymentMethodNoContent handles this case with default header values.
Successful operation
func NewDeletePaymentMethodNoContent ¶
func NewDeletePaymentMethodNoContent() *DeletePaymentMethodNoContent
NewDeletePaymentMethodNoContent creates a DeletePaymentMethodNoContent with default headers values
func (*DeletePaymentMethodNoContent) Error ¶
func (o *DeletePaymentMethodNoContent) Error() string
type DeletePaymentMethodNotFound ¶
type DeletePaymentMethodNotFound struct {
HttpResponse runtime.ClientResponse
}
DeletePaymentMethodNotFound handles this case with default header values.
Account or payment method not found
func NewDeletePaymentMethodNotFound ¶
func NewDeletePaymentMethodNotFound() *DeletePaymentMethodNotFound
NewDeletePaymentMethodNotFound creates a DeletePaymentMethodNotFound with default headers values
func (*DeletePaymentMethodNotFound) Error ¶
func (o *DeletePaymentMethodNotFound) Error() string
type DeletePaymentMethodParams ¶
type DeletePaymentMethodParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*DeleteDefaultPmWithAutoPayOff*/ DeleteDefaultPmWithAutoPayOff *bool /*ForceDefaultPmDeletion*/ ForceDefaultPmDeletion *bool /*PaymentMethodID*/ PaymentMethodID strfmt.UUID /*PluginProperty*/ PluginProperty []string 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 values initialized.
func NewDeletePaymentMethodParamsWithContext ¶
func NewDeletePaymentMethodParamsWithContext(ctx context.Context) *DeletePaymentMethodParams
NewDeletePaymentMethodParamsWithContext creates a new DeletePaymentMethodParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePaymentMethodParamsWithHTTPClient ¶
func NewDeletePaymentMethodParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodParams
NewDeletePaymentMethodParamsWithHTTPClient creates a new DeletePaymentMethodParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePaymentMethodParamsWithTimeout ¶
func NewDeletePaymentMethodParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodParams
NewDeletePaymentMethodParamsWithTimeout creates a new DeletePaymentMethodParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePaymentMethodParams) SetContext ¶
func (o *DeletePaymentMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the delete payment method params
func (*DeletePaymentMethodParams) SetDeleteDefaultPmWithAutoPayOff ¶
func (o *DeletePaymentMethodParams) SetDeleteDefaultPmWithAutoPayOff(deleteDefaultPmWithAutoPayOff *bool)
SetDeleteDefaultPmWithAutoPayOff adds the deleteDefaultPmWithAutoPayOff to the delete payment method params
func (*DeletePaymentMethodParams) SetForceDefaultPmDeletion ¶
func (o *DeletePaymentMethodParams) SetForceDefaultPmDeletion(forceDefaultPmDeletion *bool)
SetForceDefaultPmDeletion adds the forceDefaultPmDeletion to the delete payment method params
func (*DeletePaymentMethodParams) SetHTTPClient ¶
func (o *DeletePaymentMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete payment method params
func (*DeletePaymentMethodParams) SetPaymentMethodID ¶
func (o *DeletePaymentMethodParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the delete payment method params
func (*DeletePaymentMethodParams) SetPluginProperty ¶
func (o *DeletePaymentMethodParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the delete payment method params
func (*DeletePaymentMethodParams) SetTimeout ¶
func (o *DeletePaymentMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete payment method params
func (*DeletePaymentMethodParams) SetXKillbillComment ¶
func (o *DeletePaymentMethodParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete payment method params
func (*DeletePaymentMethodParams) SetXKillbillCreatedBy ¶
func (o *DeletePaymentMethodParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment method params
func (*DeletePaymentMethodParams) SetXKillbillReason ¶
func (o *DeletePaymentMethodParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete payment method params
func (*DeletePaymentMethodParams) WithContext ¶
func (o *DeletePaymentMethodParams) WithContext(ctx context.Context) *DeletePaymentMethodParams
WithContext adds the context to the delete payment method params
func (*DeletePaymentMethodParams) WithDeleteDefaultPmWithAutoPayOff ¶
func (o *DeletePaymentMethodParams) WithDeleteDefaultPmWithAutoPayOff(deleteDefaultPmWithAutoPayOff *bool) *DeletePaymentMethodParams
WithDeleteDefaultPmWithAutoPayOff adds the deleteDefaultPmWithAutoPayOff to the delete payment method params
func (*DeletePaymentMethodParams) WithForceDefaultPmDeletion ¶
func (o *DeletePaymentMethodParams) WithForceDefaultPmDeletion(forceDefaultPmDeletion *bool) *DeletePaymentMethodParams
WithForceDefaultPmDeletion adds the forceDefaultPmDeletion to the delete payment method params
func (*DeletePaymentMethodParams) WithHTTPClient ¶
func (o *DeletePaymentMethodParams) WithHTTPClient(client *http.Client) *DeletePaymentMethodParams
WithHTTPClient adds the HTTPClient to the delete payment method params
func (*DeletePaymentMethodParams) WithPaymentMethodID ¶
func (o *DeletePaymentMethodParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *DeletePaymentMethodParams
WithPaymentMethodID adds the paymentMethodID to the delete payment method params
func (*DeletePaymentMethodParams) WithPluginProperty ¶
func (o *DeletePaymentMethodParams) WithPluginProperty(pluginProperty []string) *DeletePaymentMethodParams
WithPluginProperty adds the pluginProperty to the delete payment method params
func (*DeletePaymentMethodParams) WithTimeout ¶
func (o *DeletePaymentMethodParams) WithTimeout(timeout time.Duration) *DeletePaymentMethodParams
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 ¶
func (o *DeletePaymentMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePaymentMethodReader ¶
type DeletePaymentMethodReader struct {
// contains filtered or unexported fields
}
DeletePaymentMethodReader is a Reader for the DeletePaymentMethod structure.
func (*DeletePaymentMethodReader) ReadResponse ¶
func (o *DeletePaymentMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentMethodAuditLogsWithHistoryNotFound ¶
type GetPaymentMethodAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetPaymentMethodAuditLogsWithHistoryNotFound handles this case with default header values.
Account not found
func NewGetPaymentMethodAuditLogsWithHistoryNotFound ¶
func NewGetPaymentMethodAuditLogsWithHistoryNotFound() *GetPaymentMethodAuditLogsWithHistoryNotFound
NewGetPaymentMethodAuditLogsWithHistoryNotFound creates a GetPaymentMethodAuditLogsWithHistoryNotFound with default headers values
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) Error ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) Error() string
type GetPaymentMethodAuditLogsWithHistoryOK ¶
type GetPaymentMethodAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetPaymentMethodAuditLogsWithHistoryOK handles this case with default header values.
successful operation
func NewGetPaymentMethodAuditLogsWithHistoryOK ¶
func NewGetPaymentMethodAuditLogsWithHistoryOK() *GetPaymentMethodAuditLogsWithHistoryOK
NewGetPaymentMethodAuditLogsWithHistoryOK creates a GetPaymentMethodAuditLogsWithHistoryOK with default headers values
func (*GetPaymentMethodAuditLogsWithHistoryOK) Error ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) Error() string
func (*GetPaymentMethodAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
type GetPaymentMethodAuditLogsWithHistoryParams ¶
type GetPaymentMethodAuditLogsWithHistoryParams struct { /*PaymentMethodID*/ 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 values initialized.
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext ¶
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentMethodAuditLogsWithHistoryParams
NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext creates a new GetPaymentMethodAuditLogsWithHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetPaymentMethodAuditLogsWithHistoryParams
NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient creates a new GetPaymentMethodAuditLogsWithHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetPaymentMethodAuditLogsWithHistoryParams
NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout creates a new GetPaymentMethodAuditLogsWithHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetContext ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetPaymentMethodID ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) WithContext ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetPaymentMethodAuditLogsWithHistoryParams
WithContext adds the context to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetPaymentMethodAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) WithPaymentMethodID ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *GetPaymentMethodAuditLogsWithHistoryParams
WithPaymentMethodID adds the paymentMethodID to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetPaymentMethodAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentMethodAuditLogsWithHistoryReader ¶
type GetPaymentMethodAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetPaymentMethodAuditLogsWithHistoryReader is a Reader for the GetPaymentMethodAuditLogsWithHistory structure.
func (*GetPaymentMethodAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetPaymentMethodAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentMethodBadRequest ¶
type GetPaymentMethodBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetPaymentMethodBadRequest handles this case with default header values.
Invalid paymentMethodId supplied
func NewGetPaymentMethodBadRequest ¶
func NewGetPaymentMethodBadRequest() *GetPaymentMethodBadRequest
NewGetPaymentMethodBadRequest creates a GetPaymentMethodBadRequest with default headers values
func (*GetPaymentMethodBadRequest) Error ¶
func (o *GetPaymentMethodBadRequest) Error() string
type GetPaymentMethodByKeyNotFound ¶
type GetPaymentMethodByKeyNotFound struct {
HttpResponse runtime.ClientResponse
}
GetPaymentMethodByKeyNotFound handles this case with default header values.
Account or payment method not found
func NewGetPaymentMethodByKeyNotFound ¶
func NewGetPaymentMethodByKeyNotFound() *GetPaymentMethodByKeyNotFound
NewGetPaymentMethodByKeyNotFound creates a GetPaymentMethodByKeyNotFound with default headers values
func (*GetPaymentMethodByKeyNotFound) Error ¶
func (o *GetPaymentMethodByKeyNotFound) Error() string
type GetPaymentMethodByKeyOK ¶
type GetPaymentMethodByKeyOK struct { Payload *kbmodel.PaymentMethod HttpResponse runtime.ClientResponse }
GetPaymentMethodByKeyOK handles this case with default header values.
successful operation
func NewGetPaymentMethodByKeyOK ¶
func NewGetPaymentMethodByKeyOK() *GetPaymentMethodByKeyOK
NewGetPaymentMethodByKeyOK creates a GetPaymentMethodByKeyOK with default headers values
func (*GetPaymentMethodByKeyOK) Error ¶
func (o *GetPaymentMethodByKeyOK) Error() string
func (*GetPaymentMethodByKeyOK) GetPayload ¶
func (o *GetPaymentMethodByKeyOK) GetPayload() *kbmodel.PaymentMethod
type GetPaymentMethodByKeyParams ¶
type GetPaymentMethodByKeyParams struct { /*Audit*/ 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 values initialized.
func NewGetPaymentMethodByKeyParamsWithContext ¶
func NewGetPaymentMethodByKeyParamsWithContext(ctx context.Context) *GetPaymentMethodByKeyParams
NewGetPaymentMethodByKeyParamsWithContext creates a new GetPaymentMethodByKeyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentMethodByKeyParamsWithHTTPClient ¶
func NewGetPaymentMethodByKeyParamsWithHTTPClient(client *http.Client) *GetPaymentMethodByKeyParams
NewGetPaymentMethodByKeyParamsWithHTTPClient creates a new GetPaymentMethodByKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentMethodByKeyParamsWithTimeout ¶
func NewGetPaymentMethodByKeyParamsWithTimeout(timeout time.Duration) *GetPaymentMethodByKeyParams
NewGetPaymentMethodByKeyParamsWithTimeout creates a new GetPaymentMethodByKeyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentMethodByKeyParams) SetAudit ¶
func (o *GetPaymentMethodByKeyParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetContext ¶
func (o *GetPaymentMethodByKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetExternalKey ¶
func (o *GetPaymentMethodByKeyParams) SetExternalKey(externalKey string)
SetExternalKey adds the externalKey to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetHTTPClient ¶
func (o *GetPaymentMethodByKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetIncludedDeleted ¶
func (o *GetPaymentMethodByKeyParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetPluginProperty ¶
func (o *GetPaymentMethodByKeyParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetTimeout ¶
func (o *GetPaymentMethodByKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetWithPluginInfo ¶
func (o *GetPaymentMethodByKeyParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payment method by key params
func (*GetPaymentMethodByKeyParams) WithAudit ¶
func (o *GetPaymentMethodByKeyParams) WithAudit(audit *string) *GetPaymentMethodByKeyParams
WithAudit adds the audit to the get payment method by key params
func (*GetPaymentMethodByKeyParams) WithContext ¶
func (o *GetPaymentMethodByKeyParams) WithContext(ctx context.Context) *GetPaymentMethodByKeyParams
WithContext adds the context to the get payment method by key params
func (*GetPaymentMethodByKeyParams) WithExternalKey ¶
func (o *GetPaymentMethodByKeyParams) WithExternalKey(externalKey string) *GetPaymentMethodByKeyParams
WithExternalKey adds the externalKey to the get payment method by key params
func (*GetPaymentMethodByKeyParams) WithHTTPClient ¶
func (o *GetPaymentMethodByKeyParams) WithHTTPClient(client *http.Client) *GetPaymentMethodByKeyParams
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 ¶
func (o *GetPaymentMethodByKeyParams) WithTimeout(timeout time.Duration) *GetPaymentMethodByKeyParams
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 ¶
func (o *GetPaymentMethodByKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentMethodByKeyReader ¶
type GetPaymentMethodByKeyReader struct {
// contains filtered or unexported fields
}
GetPaymentMethodByKeyReader is a Reader for the GetPaymentMethodByKey structure.
func (*GetPaymentMethodByKeyReader) ReadResponse ¶
func (o *GetPaymentMethodByKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentMethodCustomFieldsBadRequest ¶
type GetPaymentMethodCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetPaymentMethodCustomFieldsBadRequest handles this case with default header values.
Invalid payment method id supplied
func NewGetPaymentMethodCustomFieldsBadRequest ¶
func NewGetPaymentMethodCustomFieldsBadRequest() *GetPaymentMethodCustomFieldsBadRequest
NewGetPaymentMethodCustomFieldsBadRequest creates a GetPaymentMethodCustomFieldsBadRequest with default headers values
func (*GetPaymentMethodCustomFieldsBadRequest) Error ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) Error() string
type GetPaymentMethodCustomFieldsOK ¶
type GetPaymentMethodCustomFieldsOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
GetPaymentMethodCustomFieldsOK handles this case with default header values.
successful operation
func NewGetPaymentMethodCustomFieldsOK ¶
func NewGetPaymentMethodCustomFieldsOK() *GetPaymentMethodCustomFieldsOK
NewGetPaymentMethodCustomFieldsOK creates a GetPaymentMethodCustomFieldsOK with default headers values
func (*GetPaymentMethodCustomFieldsOK) Error ¶
func (o *GetPaymentMethodCustomFieldsOK) Error() string
func (*GetPaymentMethodCustomFieldsOK) GetPayload ¶
func (o *GetPaymentMethodCustomFieldsOK) GetPayload() []*kbmodel.CustomField
type GetPaymentMethodCustomFieldsParams ¶
type GetPaymentMethodCustomFieldsParams struct { /*Audit*/ Audit *string /*PaymentMethodID*/ 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 values initialized.
func NewGetPaymentMethodCustomFieldsParamsWithContext ¶
func NewGetPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *GetPaymentMethodCustomFieldsParams
NewGetPaymentMethodCustomFieldsParamsWithContext creates a new GetPaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentMethodCustomFieldsParamsWithHTTPClient ¶
func NewGetPaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *GetPaymentMethodCustomFieldsParams
NewGetPaymentMethodCustomFieldsParamsWithHTTPClient creates a new GetPaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentMethodCustomFieldsParamsWithTimeout ¶
func NewGetPaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *GetPaymentMethodCustomFieldsParams
NewGetPaymentMethodCustomFieldsParamsWithTimeout creates a new GetPaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentMethodCustomFieldsParams) SetAudit ¶
func (o *GetPaymentMethodCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) SetContext ¶
func (o *GetPaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) SetHTTPClient ¶
func (o *GetPaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) SetPaymentMethodID ¶
func (o *GetPaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) SetTimeout ¶
func (o *GetPaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) WithAudit ¶
func (o *GetPaymentMethodCustomFieldsParams) WithAudit(audit *string) *GetPaymentMethodCustomFieldsParams
WithAudit adds the audit to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) WithContext ¶
func (o *GetPaymentMethodCustomFieldsParams) WithContext(ctx context.Context) *GetPaymentMethodCustomFieldsParams
WithContext adds the context to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) WithHTTPClient ¶
func (o *GetPaymentMethodCustomFieldsParams) WithHTTPClient(client *http.Client) *GetPaymentMethodCustomFieldsParams
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 ¶
func (o *GetPaymentMethodCustomFieldsParams) WithTimeout(timeout time.Duration) *GetPaymentMethodCustomFieldsParams
WithTimeout adds the timeout to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) WriteToRequest ¶
func (o *GetPaymentMethodCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentMethodCustomFieldsReader ¶
type GetPaymentMethodCustomFieldsReader struct {
// contains filtered or unexported fields
}
GetPaymentMethodCustomFieldsReader is a Reader for the GetPaymentMethodCustomFields structure.
func (*GetPaymentMethodCustomFieldsReader) ReadResponse ¶
func (o *GetPaymentMethodCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentMethodNotFound ¶
type GetPaymentMethodNotFound struct {
HttpResponse runtime.ClientResponse
}
GetPaymentMethodNotFound handles this case with default header values.
Account or payment method not found
func NewGetPaymentMethodNotFound ¶
func NewGetPaymentMethodNotFound() *GetPaymentMethodNotFound
NewGetPaymentMethodNotFound creates a GetPaymentMethodNotFound with default headers values
func (*GetPaymentMethodNotFound) Error ¶
func (o *GetPaymentMethodNotFound) Error() string
type GetPaymentMethodOK ¶
type GetPaymentMethodOK struct { Payload *kbmodel.PaymentMethod HttpResponse runtime.ClientResponse }
GetPaymentMethodOK handles this case with default header values.
successful operation
func NewGetPaymentMethodOK ¶
func NewGetPaymentMethodOK() *GetPaymentMethodOK
NewGetPaymentMethodOK creates a GetPaymentMethodOK with default headers values
func (*GetPaymentMethodOK) Error ¶
func (o *GetPaymentMethodOK) Error() string
func (*GetPaymentMethodOK) GetPayload ¶
func (o *GetPaymentMethodOK) GetPayload() *kbmodel.PaymentMethod
type GetPaymentMethodParams ¶
type GetPaymentMethodParams struct { /*Audit*/ Audit *string /*IncludedDeleted*/ IncludedDeleted *bool /*PaymentMethodID*/ 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 values initialized.
func NewGetPaymentMethodParamsWithContext ¶
func NewGetPaymentMethodParamsWithContext(ctx context.Context) *GetPaymentMethodParams
NewGetPaymentMethodParamsWithContext creates a new GetPaymentMethodParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentMethodParamsWithHTTPClient ¶
func NewGetPaymentMethodParamsWithHTTPClient(client *http.Client) *GetPaymentMethodParams
NewGetPaymentMethodParamsWithHTTPClient creates a new GetPaymentMethodParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentMethodParamsWithTimeout ¶
func NewGetPaymentMethodParamsWithTimeout(timeout time.Duration) *GetPaymentMethodParams
NewGetPaymentMethodParamsWithTimeout creates a new GetPaymentMethodParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentMethodParams) SetAudit ¶
func (o *GetPaymentMethodParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment method params
func (*GetPaymentMethodParams) SetContext ¶
func (o *GetPaymentMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment method params
func (*GetPaymentMethodParams) SetHTTPClient ¶
func (o *GetPaymentMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment method params
func (*GetPaymentMethodParams) SetIncludedDeleted ¶
func (o *GetPaymentMethodParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get payment method params
func (*GetPaymentMethodParams) SetPaymentMethodID ¶
func (o *GetPaymentMethodParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the get payment method params
func (*GetPaymentMethodParams) SetPluginProperty ¶
func (o *GetPaymentMethodParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get payment method params
func (*GetPaymentMethodParams) SetTimeout ¶
func (o *GetPaymentMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment method params
func (*GetPaymentMethodParams) SetWithPluginInfo ¶
func (o *GetPaymentMethodParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payment method params
func (*GetPaymentMethodParams) WithAudit ¶
func (o *GetPaymentMethodParams) WithAudit(audit *string) *GetPaymentMethodParams
WithAudit adds the audit to the get payment method params
func (*GetPaymentMethodParams) WithContext ¶
func (o *GetPaymentMethodParams) WithContext(ctx context.Context) *GetPaymentMethodParams
WithContext adds the context to the get payment method params
func (*GetPaymentMethodParams) WithHTTPClient ¶
func (o *GetPaymentMethodParams) WithHTTPClient(client *http.Client) *GetPaymentMethodParams
WithHTTPClient adds the HTTPClient to the get payment method params
func (*GetPaymentMethodParams) WithIncludedDeleted ¶
func (o *GetPaymentMethodParams) WithIncludedDeleted(includedDeleted *bool) *GetPaymentMethodParams
WithIncludedDeleted adds the includedDeleted to the get payment method params
func (*GetPaymentMethodParams) WithPaymentMethodID ¶
func (o *GetPaymentMethodParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *GetPaymentMethodParams
WithPaymentMethodID adds the paymentMethodID to the get payment method params
func (*GetPaymentMethodParams) WithPluginProperty ¶
func (o *GetPaymentMethodParams) WithPluginProperty(pluginProperty []string) *GetPaymentMethodParams
WithPluginProperty adds the pluginProperty to the get payment method params
func (*GetPaymentMethodParams) WithTimeout ¶
func (o *GetPaymentMethodParams) WithTimeout(timeout time.Duration) *GetPaymentMethodParams
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 ¶
func (o *GetPaymentMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentMethodReader ¶
type GetPaymentMethodReader struct {
// contains filtered or unexported fields
}
GetPaymentMethodReader is a Reader for the GetPaymentMethod structure.
func (*GetPaymentMethodReader) ReadResponse ¶
func (o *GetPaymentMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentMethodsOK ¶
type GetPaymentMethodsOK struct { Payload []*kbmodel.PaymentMethod HttpResponse runtime.ClientResponse }
GetPaymentMethodsOK handles this case with default header values.
successful operation
func NewGetPaymentMethodsOK ¶
func NewGetPaymentMethodsOK() *GetPaymentMethodsOK
NewGetPaymentMethodsOK creates a GetPaymentMethodsOK with default headers values
func (*GetPaymentMethodsOK) Error ¶
func (o *GetPaymentMethodsOK) Error() string
func (*GetPaymentMethodsOK) GetPayload ¶
func (o *GetPaymentMethodsOK) GetPayload() []*kbmodel.PaymentMethod
type GetPaymentMethodsParams ¶
type GetPaymentMethodsParams struct { /*Audit*/ Audit *string /*Limit*/ Limit *int64 /*Offset*/ 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 values initialized.
func NewGetPaymentMethodsParamsWithContext ¶
func NewGetPaymentMethodsParamsWithContext(ctx context.Context) *GetPaymentMethodsParams
NewGetPaymentMethodsParamsWithContext creates a new GetPaymentMethodsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPaymentMethodsParamsWithHTTPClient ¶
func NewGetPaymentMethodsParamsWithHTTPClient(client *http.Client) *GetPaymentMethodsParams
NewGetPaymentMethodsParamsWithHTTPClient creates a new GetPaymentMethodsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPaymentMethodsParamsWithTimeout ¶
func NewGetPaymentMethodsParamsWithTimeout(timeout time.Duration) *GetPaymentMethodsParams
NewGetPaymentMethodsParamsWithTimeout creates a new GetPaymentMethodsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPaymentMethodsParams) SetAudit ¶
func (o *GetPaymentMethodsParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment methods params
func (*GetPaymentMethodsParams) SetContext ¶
func (o *GetPaymentMethodsParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment methods params
func (*GetPaymentMethodsParams) SetHTTPClient ¶
func (o *GetPaymentMethodsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment methods params
func (*GetPaymentMethodsParams) SetLimit ¶
func (o *GetPaymentMethodsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get payment methods params
func (*GetPaymentMethodsParams) SetOffset ¶
func (o *GetPaymentMethodsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get payment methods params
func (*GetPaymentMethodsParams) SetPluginName ¶
func (o *GetPaymentMethodsParams) SetPluginName(pluginName *string)
SetPluginName adds the pluginName to the get payment methods params
func (*GetPaymentMethodsParams) SetPluginProperty ¶
func (o *GetPaymentMethodsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get payment methods params
func (*GetPaymentMethodsParams) SetTimeout ¶
func (o *GetPaymentMethodsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment methods params
func (*GetPaymentMethodsParams) SetWithPluginInfo ¶
func (o *GetPaymentMethodsParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payment methods params
func (*GetPaymentMethodsParams) WithAudit ¶
func (o *GetPaymentMethodsParams) WithAudit(audit *string) *GetPaymentMethodsParams
WithAudit adds the audit to the get payment methods params
func (*GetPaymentMethodsParams) WithContext ¶
func (o *GetPaymentMethodsParams) WithContext(ctx context.Context) *GetPaymentMethodsParams
WithContext adds the context to the get payment methods params
func (*GetPaymentMethodsParams) WithHTTPClient ¶
func (o *GetPaymentMethodsParams) WithHTTPClient(client *http.Client) *GetPaymentMethodsParams
WithHTTPClient adds the HTTPClient to the get payment methods params
func (*GetPaymentMethodsParams) WithLimit ¶
func (o *GetPaymentMethodsParams) WithLimit(limit *int64) *GetPaymentMethodsParams
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 ¶
func (o *GetPaymentMethodsParams) WithTimeout(timeout time.Duration) *GetPaymentMethodsParams
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 ¶
func (o *GetPaymentMethodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentMethodsReader ¶
type GetPaymentMethodsReader struct {
// contains filtered or unexported fields
}
GetPaymentMethodsReader is a Reader for the GetPaymentMethods structure.
func (*GetPaymentMethodsReader) ReadResponse ¶
func (o *GetPaymentMethodsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IPaymentMethod ¶
type IPaymentMethod interface { /* CreatePaymentMethodCustomFields adds custom fields to payment method resource description */ CreatePaymentMethodCustomFields(ctx context.Context, params *CreatePaymentMethodCustomFieldsParams) (*CreatePaymentMethodCustomFieldsCreated, error) /* DeletePaymentMethod deletes a payment method resource description */ DeletePaymentMethod(ctx context.Context, params *DeletePaymentMethodParams) (*DeletePaymentMethodNoContent, error) /* DeletePaymentMethodCustomFields removes custom fields from payment method resource description */ DeletePaymentMethodCustomFields(ctx context.Context, params *DeletePaymentMethodCustomFieldsParams) (*DeletePaymentMethodCustomFieldsNoContent, error) /* GetPaymentMethod retrieves a payment method by id resource description */ GetPaymentMethod(ctx context.Context, params *GetPaymentMethodParams) (*GetPaymentMethodOK, error) /* GetPaymentMethodAuditLogsWithHistory retrieves payment method audit logs with history by id resource description */ GetPaymentMethodAuditLogsWithHistory(ctx context.Context, params *GetPaymentMethodAuditLogsWithHistoryParams) (*GetPaymentMethodAuditLogsWithHistoryOK, error) /* GetPaymentMethodByKey retrieves a payment method by external key resource description */ GetPaymentMethodByKey(ctx context.Context, params *GetPaymentMethodByKeyParams) (*GetPaymentMethodByKeyOK, error) /* GetPaymentMethodCustomFields retrieves payment method custom fields resource description */ GetPaymentMethodCustomFields(ctx context.Context, params *GetPaymentMethodCustomFieldsParams) (*GetPaymentMethodCustomFieldsOK, error) /* GetPaymentMethods lists payment methods resource description */ GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams) (*GetPaymentMethodsOK, error) /* ModifyPaymentMethodCustomFields modifies custom fields to payment method resource description */ ModifyPaymentMethodCustomFields(ctx context.Context, params *ModifyPaymentMethodCustomFieldsParams) (*ModifyPaymentMethodCustomFieldsNoContent, error) /* SearchPaymentMethods searches payment methods resource description */ SearchPaymentMethods(ctx context.Context, params *SearchPaymentMethodsParams) (*SearchPaymentMethodsOK, error) }
IPaymentMethod - interface for PaymentMethod client.
type KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default 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 handles this case with default header values.
Invalid payment method id supplied
func NewModifyPaymentMethodCustomFieldsBadRequest ¶
func NewModifyPaymentMethodCustomFieldsBadRequest() *ModifyPaymentMethodCustomFieldsBadRequest
NewModifyPaymentMethodCustomFieldsBadRequest creates a ModifyPaymentMethodCustomFieldsBadRequest with default headers values
func (*ModifyPaymentMethodCustomFieldsBadRequest) Error ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) Error() string
type ModifyPaymentMethodCustomFieldsNoContent ¶
type ModifyPaymentMethodCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
ModifyPaymentMethodCustomFieldsNoContent handles this case with default header values.
Successful operation
func NewModifyPaymentMethodCustomFieldsNoContent ¶
func NewModifyPaymentMethodCustomFieldsNoContent() *ModifyPaymentMethodCustomFieldsNoContent
NewModifyPaymentMethodCustomFieldsNoContent creates a ModifyPaymentMethodCustomFieldsNoContent with default headers values
func (*ModifyPaymentMethodCustomFieldsNoContent) Error ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) Error() string
type ModifyPaymentMethodCustomFieldsParams ¶
type ModifyPaymentMethodCustomFieldsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body []*kbmodel.CustomField /*PaymentMethodID*/ 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 values initialized.
func NewModifyPaymentMethodCustomFieldsParamsWithContext ¶
func NewModifyPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *ModifyPaymentMethodCustomFieldsParams
NewModifyPaymentMethodCustomFieldsParamsWithContext creates a new ModifyPaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a context for a request
func NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient ¶
func NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyPaymentMethodCustomFieldsParams
NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient creates a new ModifyPaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyPaymentMethodCustomFieldsParamsWithTimeout ¶
func NewModifyPaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyPaymentMethodCustomFieldsParams
NewModifyPaymentMethodCustomFieldsParamsWithTimeout creates a new ModifyPaymentMethodCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyPaymentMethodCustomFieldsParams) SetBody ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetContext ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetHTTPClient ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetPaymentMethodID ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetTimeout ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillComment ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillReason ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) WithBody ¶
func (o *ModifyPaymentMethodCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyPaymentMethodCustomFieldsParams
WithBody adds the body to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) WithContext ¶
func (o *ModifyPaymentMethodCustomFieldsParams) WithContext(ctx context.Context) *ModifyPaymentMethodCustomFieldsParams
WithContext adds the context to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) WithHTTPClient ¶
func (o *ModifyPaymentMethodCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyPaymentMethodCustomFieldsParams
WithHTTPClient adds the HTTPClient to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) WithPaymentMethodID ¶
func (o *ModifyPaymentMethodCustomFieldsParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *ModifyPaymentMethodCustomFieldsParams
WithPaymentMethodID adds the paymentMethodID to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) WithTimeout ¶
func (o *ModifyPaymentMethodCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyPaymentMethodCustomFieldsParams
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 ¶
func (o *ModifyPaymentMethodCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyPaymentMethodCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) WriteToRequest ¶
func (o *ModifyPaymentMethodCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyPaymentMethodCustomFieldsReader ¶
type ModifyPaymentMethodCustomFieldsReader struct {
// contains filtered or unexported fields
}
ModifyPaymentMethodCustomFieldsReader is a Reader for the ModifyPaymentMethodCustomFields structure.
func (*ModifyPaymentMethodCustomFieldsReader) ReadResponse ¶
func (o *ModifyPaymentMethodCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchPaymentMethodsOK ¶
type SearchPaymentMethodsOK struct { Payload []*kbmodel.PaymentMethod HttpResponse runtime.ClientResponse }
SearchPaymentMethodsOK handles this case with default header values.
successful operation
func NewSearchPaymentMethodsOK ¶
func NewSearchPaymentMethodsOK() *SearchPaymentMethodsOK
NewSearchPaymentMethodsOK creates a SearchPaymentMethodsOK with default headers values
func (*SearchPaymentMethodsOK) Error ¶
func (o *SearchPaymentMethodsOK) Error() string
func (*SearchPaymentMethodsOK) GetPayload ¶
func (o *SearchPaymentMethodsOK) GetPayload() []*kbmodel.PaymentMethod
type SearchPaymentMethodsParams ¶
type SearchPaymentMethodsParams struct { /*Audit*/ Audit *string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 /*PluginName*/ PluginName *string /*PluginProperty*/ PluginProperty []string /*SearchKey*/ SearchKey string /*WithPluginInfo*/ WithPluginInfo *bool 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 values initialized.
func NewSearchPaymentMethodsParamsWithContext ¶
func NewSearchPaymentMethodsParamsWithContext(ctx context.Context) *SearchPaymentMethodsParams
NewSearchPaymentMethodsParamsWithContext creates a new SearchPaymentMethodsParams object with the default values initialized, and the ability to set a context for a request
func NewSearchPaymentMethodsParamsWithHTTPClient ¶
func NewSearchPaymentMethodsParamsWithHTTPClient(client *http.Client) *SearchPaymentMethodsParams
NewSearchPaymentMethodsParamsWithHTTPClient creates a new SearchPaymentMethodsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchPaymentMethodsParamsWithTimeout ¶
func NewSearchPaymentMethodsParamsWithTimeout(timeout time.Duration) *SearchPaymentMethodsParams
NewSearchPaymentMethodsParamsWithTimeout creates a new SearchPaymentMethodsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchPaymentMethodsParams) SetAudit ¶
func (o *SearchPaymentMethodsParams) SetAudit(audit *string)
SetAudit adds the audit to the search payment methods params
func (*SearchPaymentMethodsParams) SetContext ¶
func (o *SearchPaymentMethodsParams) SetContext(ctx context.Context)
SetContext adds the context to the search payment methods params
func (*SearchPaymentMethodsParams) SetHTTPClient ¶
func (o *SearchPaymentMethodsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search payment methods params
func (*SearchPaymentMethodsParams) SetLimit ¶
func (o *SearchPaymentMethodsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search payment methods params
func (*SearchPaymentMethodsParams) SetOffset ¶
func (o *SearchPaymentMethodsParams) SetOffset(offset *int64)
SetOffset adds the offset to the search payment methods params
func (*SearchPaymentMethodsParams) SetPluginName ¶
func (o *SearchPaymentMethodsParams) SetPluginName(pluginName *string)
SetPluginName adds the pluginName to the search payment methods params
func (*SearchPaymentMethodsParams) SetPluginProperty ¶
func (o *SearchPaymentMethodsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the search payment methods params
func (*SearchPaymentMethodsParams) SetSearchKey ¶
func (o *SearchPaymentMethodsParams) SetSearchKey(searchKey string)
SetSearchKey adds the searchKey to the search payment methods params
func (*SearchPaymentMethodsParams) SetTimeout ¶
func (o *SearchPaymentMethodsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search payment methods params
func (*SearchPaymentMethodsParams) SetWithPluginInfo ¶
func (o *SearchPaymentMethodsParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the search payment methods params
func (*SearchPaymentMethodsParams) WithAudit ¶
func (o *SearchPaymentMethodsParams) WithAudit(audit *string) *SearchPaymentMethodsParams
WithAudit adds the audit to the search payment methods params
func (*SearchPaymentMethodsParams) WithContext ¶
func (o *SearchPaymentMethodsParams) WithContext(ctx context.Context) *SearchPaymentMethodsParams
WithContext adds the context to the search payment methods params
func (*SearchPaymentMethodsParams) WithHTTPClient ¶
func (o *SearchPaymentMethodsParams) WithHTTPClient(client *http.Client) *SearchPaymentMethodsParams
WithHTTPClient adds the HTTPClient to the search payment methods params
func (*SearchPaymentMethodsParams) WithLimit ¶
func (o *SearchPaymentMethodsParams) WithLimit(limit *int64) *SearchPaymentMethodsParams
WithLimit adds the limit to the search payment methods params
func (*SearchPaymentMethodsParams) WithOffset ¶
func (o *SearchPaymentMethodsParams) WithOffset(offset *int64) *SearchPaymentMethodsParams
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 ¶
func (o *SearchPaymentMethodsParams) WithTimeout(timeout time.Duration) *SearchPaymentMethodsParams
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 ¶
func (o *SearchPaymentMethodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_payment_method_custom_fields_parameters.go
- create_payment_method_custom_fields_responses.go
- delete_payment_method_custom_fields_parameters.go
- delete_payment_method_custom_fields_responses.go
- delete_payment_method_parameters.go
- delete_payment_method_responses.go
- get_payment_method_audit_logs_with_history_parameters.go
- get_payment_method_audit_logs_with_history_responses.go
- get_payment_method_by_key_parameters.go
- get_payment_method_by_key_responses.go
- get_payment_method_custom_fields_parameters.go
- get_payment_method_custom_fields_responses.go
- get_payment_method_parameters.go
- get_payment_method_responses.go
- get_payment_methods_parameters.go
- get_payment_methods_responses.go
- modify_payment_method_custom_fields_parameters.go
- modify_payment_method_custom_fields_responses.go
- payment_method_client.go
- search_payment_methods_parameters.go
- search_payment_methods_responses.go