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 ClientOption
- type ClientService
- type CreatePaymentMethodCustomFieldsBadRequest
- func (o *CreatePaymentMethodCustomFieldsBadRequest) Code() int
- func (o *CreatePaymentMethodCustomFieldsBadRequest) Error() string
- func (o *CreatePaymentMethodCustomFieldsBadRequest) IsClientError() bool
- func (o *CreatePaymentMethodCustomFieldsBadRequest) IsCode(code int) bool
- func (o *CreatePaymentMethodCustomFieldsBadRequest) IsRedirect() bool
- func (o *CreatePaymentMethodCustomFieldsBadRequest) IsServerError() bool
- func (o *CreatePaymentMethodCustomFieldsBadRequest) IsSuccess() bool
- func (o *CreatePaymentMethodCustomFieldsBadRequest) String() string
- type CreatePaymentMethodCustomFieldsCreated
- func (o *CreatePaymentMethodCustomFieldsCreated) Code() int
- func (o *CreatePaymentMethodCustomFieldsCreated) Error() string
- func (o *CreatePaymentMethodCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
- func (o *CreatePaymentMethodCustomFieldsCreated) IsClientError() bool
- func (o *CreatePaymentMethodCustomFieldsCreated) IsCode(code int) bool
- func (o *CreatePaymentMethodCustomFieldsCreated) IsRedirect() bool
- func (o *CreatePaymentMethodCustomFieldsCreated) IsServerError() bool
- func (o *CreatePaymentMethodCustomFieldsCreated) IsSuccess() bool
- func (o *CreatePaymentMethodCustomFieldsCreated) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeletePaymentMethodBadRequest) Code() int
- func (o *DeletePaymentMethodBadRequest) Error() string
- func (o *DeletePaymentMethodBadRequest) IsClientError() bool
- func (o *DeletePaymentMethodBadRequest) IsCode(code int) bool
- func (o *DeletePaymentMethodBadRequest) IsRedirect() bool
- func (o *DeletePaymentMethodBadRequest) IsServerError() bool
- func (o *DeletePaymentMethodBadRequest) IsSuccess() bool
- func (o *DeletePaymentMethodBadRequest) String() string
- type DeletePaymentMethodCustomFieldsBadRequest
- func (o *DeletePaymentMethodCustomFieldsBadRequest) Code() int
- func (o *DeletePaymentMethodCustomFieldsBadRequest) Error() string
- func (o *DeletePaymentMethodCustomFieldsBadRequest) IsClientError() bool
- func (o *DeletePaymentMethodCustomFieldsBadRequest) IsCode(code int) bool
- func (o *DeletePaymentMethodCustomFieldsBadRequest) IsRedirect() bool
- func (o *DeletePaymentMethodCustomFieldsBadRequest) IsServerError() bool
- func (o *DeletePaymentMethodCustomFieldsBadRequest) IsSuccess() bool
- func (o *DeletePaymentMethodCustomFieldsBadRequest) String() string
- type DeletePaymentMethodCustomFieldsNoContent
- func (o *DeletePaymentMethodCustomFieldsNoContent) Code() int
- func (o *DeletePaymentMethodCustomFieldsNoContent) Error() string
- func (o *DeletePaymentMethodCustomFieldsNoContent) IsClientError() bool
- func (o *DeletePaymentMethodCustomFieldsNoContent) IsCode(code int) bool
- func (o *DeletePaymentMethodCustomFieldsNoContent) IsRedirect() bool
- func (o *DeletePaymentMethodCustomFieldsNoContent) IsServerError() bool
- func (o *DeletePaymentMethodCustomFieldsNoContent) IsSuccess() bool
- func (o *DeletePaymentMethodCustomFieldsNoContent) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeletePaymentMethodNoContent) Code() int
- func (o *DeletePaymentMethodNoContent) Error() string
- func (o *DeletePaymentMethodNoContent) IsClientError() bool
- func (o *DeletePaymentMethodNoContent) IsCode(code int) bool
- func (o *DeletePaymentMethodNoContent) IsRedirect() bool
- func (o *DeletePaymentMethodNoContent) IsServerError() bool
- func (o *DeletePaymentMethodNoContent) IsSuccess() bool
- func (o *DeletePaymentMethodNoContent) String() string
- type DeletePaymentMethodNotFound
- func (o *DeletePaymentMethodNotFound) Code() int
- func (o *DeletePaymentMethodNotFound) Error() string
- func (o *DeletePaymentMethodNotFound) IsClientError() bool
- func (o *DeletePaymentMethodNotFound) IsCode(code int) bool
- func (o *DeletePaymentMethodNotFound) IsRedirect() bool
- func (o *DeletePaymentMethodNotFound) IsServerError() bool
- func (o *DeletePaymentMethodNotFound) IsSuccess() bool
- func (o *DeletePaymentMethodNotFound) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) Code() int
- func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) Error() string
- func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) String() string
- type GetPaymentMethodAuditLogsWithHistoryOK
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) Code() int
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) Error() string
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetPaymentMethodAuditLogsWithHistoryOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetPaymentMethodBadRequest) Code() int
- func (o *GetPaymentMethodBadRequest) Error() string
- func (o *GetPaymentMethodBadRequest) IsClientError() bool
- func (o *GetPaymentMethodBadRequest) IsCode(code int) bool
- func (o *GetPaymentMethodBadRequest) IsRedirect() bool
- func (o *GetPaymentMethodBadRequest) IsServerError() bool
- func (o *GetPaymentMethodBadRequest) IsSuccess() bool
- func (o *GetPaymentMethodBadRequest) String() string
- type GetPaymentMethodByKeyNotFound
- func (o *GetPaymentMethodByKeyNotFound) Code() int
- func (o *GetPaymentMethodByKeyNotFound) Error() string
- func (o *GetPaymentMethodByKeyNotFound) IsClientError() bool
- func (o *GetPaymentMethodByKeyNotFound) IsCode(code int) bool
- func (o *GetPaymentMethodByKeyNotFound) IsRedirect() bool
- func (o *GetPaymentMethodByKeyNotFound) IsServerError() bool
- func (o *GetPaymentMethodByKeyNotFound) IsSuccess() bool
- func (o *GetPaymentMethodByKeyNotFound) String() string
- type GetPaymentMethodByKeyOK
- func (o *GetPaymentMethodByKeyOK) Code() int
- func (o *GetPaymentMethodByKeyOK) Error() string
- func (o *GetPaymentMethodByKeyOK) GetPayload() *kbmodel.PaymentMethod
- func (o *GetPaymentMethodByKeyOK) IsClientError() bool
- func (o *GetPaymentMethodByKeyOK) IsCode(code int) bool
- func (o *GetPaymentMethodByKeyOK) IsRedirect() bool
- func (o *GetPaymentMethodByKeyOK) IsServerError() bool
- func (o *GetPaymentMethodByKeyOK) IsSuccess() bool
- func (o *GetPaymentMethodByKeyOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetPaymentMethodCustomFieldsBadRequest) Code() int
- func (o *GetPaymentMethodCustomFieldsBadRequest) Error() string
- func (o *GetPaymentMethodCustomFieldsBadRequest) IsClientError() bool
- func (o *GetPaymentMethodCustomFieldsBadRequest) IsCode(code int) bool
- func (o *GetPaymentMethodCustomFieldsBadRequest) IsRedirect() bool
- func (o *GetPaymentMethodCustomFieldsBadRequest) IsServerError() bool
- func (o *GetPaymentMethodCustomFieldsBadRequest) IsSuccess() bool
- func (o *GetPaymentMethodCustomFieldsBadRequest) String() string
- type GetPaymentMethodCustomFieldsOK
- func (o *GetPaymentMethodCustomFieldsOK) Code() int
- func (o *GetPaymentMethodCustomFieldsOK) Error() string
- func (o *GetPaymentMethodCustomFieldsOK) GetPayload() []*kbmodel.CustomField
- func (o *GetPaymentMethodCustomFieldsOK) IsClientError() bool
- func (o *GetPaymentMethodCustomFieldsOK) IsCode(code int) bool
- func (o *GetPaymentMethodCustomFieldsOK) IsRedirect() bool
- func (o *GetPaymentMethodCustomFieldsOK) IsServerError() bool
- func (o *GetPaymentMethodCustomFieldsOK) IsSuccess() bool
- func (o *GetPaymentMethodCustomFieldsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetPaymentMethodNotFound) Code() int
- func (o *GetPaymentMethodNotFound) Error() string
- func (o *GetPaymentMethodNotFound) IsClientError() bool
- func (o *GetPaymentMethodNotFound) IsCode(code int) bool
- func (o *GetPaymentMethodNotFound) IsRedirect() bool
- func (o *GetPaymentMethodNotFound) IsServerError() bool
- func (o *GetPaymentMethodNotFound) IsSuccess() bool
- func (o *GetPaymentMethodNotFound) String() string
- type GetPaymentMethodOK
- func (o *GetPaymentMethodOK) Code() int
- func (o *GetPaymentMethodOK) Error() string
- func (o *GetPaymentMethodOK) GetPayload() *kbmodel.PaymentMethod
- func (o *GetPaymentMethodOK) IsClientError() bool
- func (o *GetPaymentMethodOK) IsCode(code int) bool
- func (o *GetPaymentMethodOK) IsRedirect() bool
- func (o *GetPaymentMethodOK) IsServerError() bool
- func (o *GetPaymentMethodOK) IsSuccess() bool
- func (o *GetPaymentMethodOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetPaymentMethodsOK) Code() int
- func (o *GetPaymentMethodsOK) Error() string
- func (o *GetPaymentMethodsOK) GetPayload() []*kbmodel.PaymentMethod
- func (o *GetPaymentMethodsOK) IsClientError() bool
- func (o *GetPaymentMethodsOK) IsCode(code int) bool
- func (o *GetPaymentMethodsOK) IsRedirect() bool
- func (o *GetPaymentMethodsOK) IsServerError() bool
- func (o *GetPaymentMethodsOK) IsSuccess() bool
- func (o *GetPaymentMethodsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 KillbillDefaults
- type ModifyPaymentMethodCustomFieldsBadRequest
- func (o *ModifyPaymentMethodCustomFieldsBadRequest) Code() int
- func (o *ModifyPaymentMethodCustomFieldsBadRequest) Error() string
- func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsClientError() bool
- func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsCode(code int) bool
- func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsRedirect() bool
- func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsServerError() bool
- func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsSuccess() bool
- func (o *ModifyPaymentMethodCustomFieldsBadRequest) String() string
- type ModifyPaymentMethodCustomFieldsNoContent
- func (o *ModifyPaymentMethodCustomFieldsNoContent) Code() int
- func (o *ModifyPaymentMethodCustomFieldsNoContent) Error() string
- func (o *ModifyPaymentMethodCustomFieldsNoContent) IsClientError() bool
- func (o *ModifyPaymentMethodCustomFieldsNoContent) IsCode(code int) bool
- func (o *ModifyPaymentMethodCustomFieldsNoContent) IsRedirect() bool
- func (o *ModifyPaymentMethodCustomFieldsNoContent) IsServerError() bool
- func (o *ModifyPaymentMethodCustomFieldsNoContent) IsSuccess() bool
- func (o *ModifyPaymentMethodCustomFieldsNoContent) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *SearchPaymentMethodsOK) Code() int
- func (o *SearchPaymentMethodsOK) Error() string
- func (o *SearchPaymentMethodsOK) GetPayload() []*kbmodel.PaymentMethod
- func (o *SearchPaymentMethodsOK) IsClientError() bool
- func (o *SearchPaymentMethodsOK) IsCode(code int) bool
- func (o *SearchPaymentMethodsOK) IsRedirect() bool
- func (o *SearchPaymentMethodsOK) IsServerError() bool
- func (o *SearchPaymentMethodsOK) IsSuccess() bool
- func (o *SearchPaymentMethodsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
func (*Client) DeletePaymentMethod ¶
func (a *Client) DeletePaymentMethod(ctx context.Context, params *DeletePaymentMethodParams) (*DeletePaymentMethodNoContent, error)
DeletePaymentMethod deletes a payment method
func (*Client) DeletePaymentMethodCustomFields ¶
func (a *Client) DeletePaymentMethodCustomFields(ctx context.Context, params *DeletePaymentMethodCustomFieldsParams) (*DeletePaymentMethodCustomFieldsNoContent, error)
DeletePaymentMethodCustomFields removes custom fields from payment method
func (*Client) GetPaymentMethod ¶
func (a *Client) GetPaymentMethod(ctx context.Context, params *GetPaymentMethodParams) (*GetPaymentMethodOK, error)
GetPaymentMethod retrieves a payment method by id
func (*Client) GetPaymentMethodAuditLogsWithHistory ¶
func (a *Client) GetPaymentMethodAuditLogsWithHistory(ctx context.Context, params *GetPaymentMethodAuditLogsWithHistoryParams) (*GetPaymentMethodAuditLogsWithHistoryOK, error)
GetPaymentMethodAuditLogsWithHistory retrieves payment method audit logs with history by id
func (*Client) GetPaymentMethodByKey ¶
func (a *Client) GetPaymentMethodByKey(ctx context.Context, params *GetPaymentMethodByKeyParams) (*GetPaymentMethodByKeyOK, error)
GetPaymentMethodByKey retrieves a payment method by external key
func (*Client) GetPaymentMethodCustomFields ¶
func (a *Client) GetPaymentMethodCustomFields(ctx context.Context, params *GetPaymentMethodCustomFieldsParams) (*GetPaymentMethodCustomFieldsOK, error)
GetPaymentMethodCustomFields retrieves payment method custom fields
func (*Client) GetPaymentMethods ¶
func (a *Client) GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams) (*GetPaymentMethodsOK, error)
GetPaymentMethods lists payment methods
func (*Client) ModifyPaymentMethodCustomFields ¶
func (a *Client) ModifyPaymentMethodCustomFields(ctx context.Context, params *ModifyPaymentMethodCustomFieldsParams) (*ModifyPaymentMethodCustomFieldsNoContent, error)
ModifyPaymentMethodCustomFields modifies custom fields to payment method
func (*Client) SearchPaymentMethods ¶
func (a *Client) SearchPaymentMethods(ctx context.Context, params *SearchPaymentMethodsParams) (*SearchPaymentMethodsOK, error)
SearchPaymentMethods searches payment methods
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreatePaymentMethodCustomFields(ctx context.Context, params *CreatePaymentMethodCustomFieldsParams) (*CreatePaymentMethodCustomFieldsCreated, error) DeletePaymentMethod(ctx context.Context, params *DeletePaymentMethodParams) (*DeletePaymentMethodNoContent, error) DeletePaymentMethodCustomFields(ctx context.Context, params *DeletePaymentMethodCustomFieldsParams) (*DeletePaymentMethodCustomFieldsNoContent, error) GetPaymentMethod(ctx context.Context, params *GetPaymentMethodParams) (*GetPaymentMethodOK, error) GetPaymentMethodAuditLogsWithHistory(ctx context.Context, params *GetPaymentMethodAuditLogsWithHistoryParams) (*GetPaymentMethodAuditLogsWithHistoryOK, error) GetPaymentMethodByKey(ctx context.Context, params *GetPaymentMethodByKeyParams) (*GetPaymentMethodByKeyOK, error) GetPaymentMethodCustomFields(ctx context.Context, params *GetPaymentMethodCustomFieldsParams) (*GetPaymentMethodCustomFieldsOK, error) GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams) (*GetPaymentMethodsOK, error) ModifyPaymentMethodCustomFields(ctx context.Context, params *ModifyPaymentMethodCustomFieldsParams) (*ModifyPaymentMethodCustomFieldsNoContent, error) SearchPaymentMethods(ctx context.Context, params *SearchPaymentMethodsParams) (*SearchPaymentMethodsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
type CreatePaymentMethodCustomFieldsBadRequest ¶
type CreatePaymentMethodCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreatePaymentMethodCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid payment method id supplied
func NewCreatePaymentMethodCustomFieldsBadRequest ¶
func NewCreatePaymentMethodCustomFieldsBadRequest() *CreatePaymentMethodCustomFieldsBadRequest
NewCreatePaymentMethodCustomFieldsBadRequest creates a CreatePaymentMethodCustomFieldsBadRequest with default headers values
func (*CreatePaymentMethodCustomFieldsBadRequest) Code ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) Code() int
Code gets the status code for the create payment method custom fields bad request response
func (*CreatePaymentMethodCustomFieldsBadRequest) Error ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) Error() string
func (*CreatePaymentMethodCustomFieldsBadRequest) IsClientError ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this create payment method custom fields bad request response has a 4xx status code
func (*CreatePaymentMethodCustomFieldsBadRequest) IsCode ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this create payment method custom fields bad request response a status code equal to that given
func (*CreatePaymentMethodCustomFieldsBadRequest) IsRedirect ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this create payment method custom fields bad request response has a 3xx status code
func (*CreatePaymentMethodCustomFieldsBadRequest) IsServerError ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this create payment method custom fields bad request response has a 5xx status code
func (*CreatePaymentMethodCustomFieldsBadRequest) IsSuccess ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this create payment method custom fields bad request response has a 2xx status code
func (*CreatePaymentMethodCustomFieldsBadRequest) String ¶
func (o *CreatePaymentMethodCustomFieldsBadRequest) String() string
type CreatePaymentMethodCustomFieldsCreated ¶
type CreatePaymentMethodCustomFieldsCreated struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
CreatePaymentMethodCustomFieldsCreated describes a response with status code 201, with default header values.
Custom field created successfully
func NewCreatePaymentMethodCustomFieldsCreated ¶
func NewCreatePaymentMethodCustomFieldsCreated() *CreatePaymentMethodCustomFieldsCreated
NewCreatePaymentMethodCustomFieldsCreated creates a CreatePaymentMethodCustomFieldsCreated with default headers values
func (*CreatePaymentMethodCustomFieldsCreated) Code ¶
func (o *CreatePaymentMethodCustomFieldsCreated) Code() int
Code gets the status code for the create payment method custom fields created response
func (*CreatePaymentMethodCustomFieldsCreated) Error ¶
func (o *CreatePaymentMethodCustomFieldsCreated) Error() string
func (*CreatePaymentMethodCustomFieldsCreated) GetPayload ¶
func (o *CreatePaymentMethodCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
func (*CreatePaymentMethodCustomFieldsCreated) IsClientError ¶
func (o *CreatePaymentMethodCustomFieldsCreated) IsClientError() bool
IsClientError returns true when this create payment method custom fields created response has a 4xx status code
func (*CreatePaymentMethodCustomFieldsCreated) IsCode ¶
func (o *CreatePaymentMethodCustomFieldsCreated) IsCode(code int) bool
IsCode returns true when this create payment method custom fields created response a status code equal to that given
func (*CreatePaymentMethodCustomFieldsCreated) IsRedirect ¶
func (o *CreatePaymentMethodCustomFieldsCreated) IsRedirect() bool
IsRedirect returns true when this create payment method custom fields created response has a 3xx status code
func (*CreatePaymentMethodCustomFieldsCreated) IsServerError ¶
func (o *CreatePaymentMethodCustomFieldsCreated) IsServerError() bool
IsServerError returns true when this create payment method custom fields created response has a 5xx status code
func (*CreatePaymentMethodCustomFieldsCreated) IsSuccess ¶
func (o *CreatePaymentMethodCustomFieldsCreated) IsSuccess() bool
IsSuccess returns true when this create payment method custom fields created response has a 2xx status code
func (*CreatePaymentMethodCustomFieldsCreated) String ¶
func (o *CreatePaymentMethodCustomFieldsCreated) String() string
type CreatePaymentMethodCustomFieldsParams ¶
type CreatePaymentMethodCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // PaymentMethodID. // // Format: uuid PaymentMethodID strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
CreatePaymentMethodCustomFieldsParams contains all the parameters to send to the API endpoint
for the create payment method custom fields operation. Typically these are written to a http.Request.
func NewCreatePaymentMethodCustomFieldsParams ¶
func NewCreatePaymentMethodCustomFieldsParams() *CreatePaymentMethodCustomFieldsParams
NewCreatePaymentMethodCustomFieldsParams creates a new CreatePaymentMethodCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreatePaymentMethodCustomFieldsParamsWithContext ¶
func NewCreatePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *CreatePaymentMethodCustomFieldsParams
NewCreatePaymentMethodCustomFieldsParamsWithContext creates a new CreatePaymentMethodCustomFieldsParams object with the ability to set a context for a request.
func NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient ¶
func NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *CreatePaymentMethodCustomFieldsParams
NewCreatePaymentMethodCustomFieldsParamsWithHTTPClient creates a new CreatePaymentMethodCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePaymentMethodCustomFieldsParamsWithTimeout ¶
func NewCreatePaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *CreatePaymentMethodCustomFieldsParams
NewCreatePaymentMethodCustomFieldsParamsWithTimeout creates a new CreatePaymentMethodCustomFieldsParams object with the ability to set a timeout on a request.
func (*CreatePaymentMethodCustomFieldsParams) SetBody ¶
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) SetDefaults ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the create payment method custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePaymentMethodCustomFieldsParams) SetHTTPClient ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetPaymentMethodID ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetTimeout ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillComment ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) SetXKillbillReason ¶
func (o *CreatePaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create payment method custom fields params
func (*CreatePaymentMethodCustomFieldsParams) WithBody ¶
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) WithDefaults ¶
func (o *CreatePaymentMethodCustomFieldsParams) WithDefaults() *CreatePaymentMethodCustomFieldsParams
WithDefaults hydrates default values in the create payment method custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePaymentMethodCustomFieldsParams) WithHTTPClient ¶
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 describes a response with status code 400, with default header values.
Invalid paymentMethodId supplied
func NewDeletePaymentMethodBadRequest ¶
func NewDeletePaymentMethodBadRequest() *DeletePaymentMethodBadRequest
NewDeletePaymentMethodBadRequest creates a DeletePaymentMethodBadRequest with default headers values
func (*DeletePaymentMethodBadRequest) Code ¶
func (o *DeletePaymentMethodBadRequest) Code() int
Code gets the status code for the delete payment method bad request response
func (*DeletePaymentMethodBadRequest) Error ¶
func (o *DeletePaymentMethodBadRequest) Error() string
func (*DeletePaymentMethodBadRequest) IsClientError ¶
func (o *DeletePaymentMethodBadRequest) IsClientError() bool
IsClientError returns true when this delete payment method bad request response has a 4xx status code
func (*DeletePaymentMethodBadRequest) IsCode ¶
func (o *DeletePaymentMethodBadRequest) IsCode(code int) bool
IsCode returns true when this delete payment method bad request response a status code equal to that given
func (*DeletePaymentMethodBadRequest) IsRedirect ¶
func (o *DeletePaymentMethodBadRequest) IsRedirect() bool
IsRedirect returns true when this delete payment method bad request response has a 3xx status code
func (*DeletePaymentMethodBadRequest) IsServerError ¶
func (o *DeletePaymentMethodBadRequest) IsServerError() bool
IsServerError returns true when this delete payment method bad request response has a 5xx status code
func (*DeletePaymentMethodBadRequest) IsSuccess ¶
func (o *DeletePaymentMethodBadRequest) IsSuccess() bool
IsSuccess returns true when this delete payment method bad request response has a 2xx status code
func (*DeletePaymentMethodBadRequest) String ¶
func (o *DeletePaymentMethodBadRequest) String() string
type DeletePaymentMethodCustomFieldsBadRequest ¶
type DeletePaymentMethodCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeletePaymentMethodCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid payment method id supplied
func NewDeletePaymentMethodCustomFieldsBadRequest ¶
func NewDeletePaymentMethodCustomFieldsBadRequest() *DeletePaymentMethodCustomFieldsBadRequest
NewDeletePaymentMethodCustomFieldsBadRequest creates a DeletePaymentMethodCustomFieldsBadRequest with default headers values
func (*DeletePaymentMethodCustomFieldsBadRequest) Code ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) Code() int
Code gets the status code for the delete payment method custom fields bad request response
func (*DeletePaymentMethodCustomFieldsBadRequest) Error ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) Error() string
func (*DeletePaymentMethodCustomFieldsBadRequest) IsClientError ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this delete payment method custom fields bad request response has a 4xx status code
func (*DeletePaymentMethodCustomFieldsBadRequest) IsCode ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this delete payment method custom fields bad request response a status code equal to that given
func (*DeletePaymentMethodCustomFieldsBadRequest) IsRedirect ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete payment method custom fields bad request response has a 3xx status code
func (*DeletePaymentMethodCustomFieldsBadRequest) IsServerError ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this delete payment method custom fields bad request response has a 5xx status code
func (*DeletePaymentMethodCustomFieldsBadRequest) IsSuccess ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete payment method custom fields bad request response has a 2xx status code
func (*DeletePaymentMethodCustomFieldsBadRequest) String ¶
func (o *DeletePaymentMethodCustomFieldsBadRequest) String() string
type DeletePaymentMethodCustomFieldsNoContent ¶
type DeletePaymentMethodCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeletePaymentMethodCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeletePaymentMethodCustomFieldsNoContent ¶
func NewDeletePaymentMethodCustomFieldsNoContent() *DeletePaymentMethodCustomFieldsNoContent
NewDeletePaymentMethodCustomFieldsNoContent creates a DeletePaymentMethodCustomFieldsNoContent with default headers values
func (*DeletePaymentMethodCustomFieldsNoContent) Code ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) Code() int
Code gets the status code for the delete payment method custom fields no content response
func (*DeletePaymentMethodCustomFieldsNoContent) Error ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) Error() string
func (*DeletePaymentMethodCustomFieldsNoContent) IsClientError ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this delete payment method custom fields no content response has a 4xx status code
func (*DeletePaymentMethodCustomFieldsNoContent) IsCode ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this delete payment method custom fields no content response a status code equal to that given
func (*DeletePaymentMethodCustomFieldsNoContent) IsRedirect ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this delete payment method custom fields no content response has a 3xx status code
func (*DeletePaymentMethodCustomFieldsNoContent) IsServerError ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this delete payment method custom fields no content response has a 5xx status code
func (*DeletePaymentMethodCustomFieldsNoContent) IsSuccess ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this delete payment method custom fields no content response has a 2xx status code
func (*DeletePaymentMethodCustomFieldsNoContent) String ¶
func (o *DeletePaymentMethodCustomFieldsNoContent) String() string
type DeletePaymentMethodCustomFieldsParams ¶
type DeletePaymentMethodCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // CustomField. CustomField []strfmt.UUID // PaymentMethodID. // // Format: uuid PaymentMethodID strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
DeletePaymentMethodCustomFieldsParams contains all the parameters to send to the API endpoint
for the delete payment method custom fields operation. Typically these are written to a http.Request.
func NewDeletePaymentMethodCustomFieldsParams ¶
func NewDeletePaymentMethodCustomFieldsParams() *DeletePaymentMethodCustomFieldsParams
NewDeletePaymentMethodCustomFieldsParams creates a new DeletePaymentMethodCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeletePaymentMethodCustomFieldsParamsWithContext ¶
func NewDeletePaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *DeletePaymentMethodCustomFieldsParams
NewDeletePaymentMethodCustomFieldsParamsWithContext creates a new DeletePaymentMethodCustomFieldsParams object with the ability to set a context for a request.
func NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient ¶
func NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodCustomFieldsParams
NewDeletePaymentMethodCustomFieldsParamsWithHTTPClient creates a new DeletePaymentMethodCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePaymentMethodCustomFieldsParamsWithTimeout ¶
func NewDeletePaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodCustomFieldsParams
NewDeletePaymentMethodCustomFieldsParamsWithTimeout creates a new DeletePaymentMethodCustomFieldsParams object with the ability to set a timeout on a request.
func (*DeletePaymentMethodCustomFieldsParams) SetContext ¶
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) SetDefaults ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the delete payment method custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePaymentMethodCustomFieldsParams) SetHTTPClient ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetPaymentMethodID ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetTimeout ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillComment ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) SetXKillbillReason ¶
func (o *DeletePaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete payment method custom fields params
func (*DeletePaymentMethodCustomFieldsParams) WithContext ¶
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) WithDefaults ¶
func (o *DeletePaymentMethodCustomFieldsParams) WithDefaults() *DeletePaymentMethodCustomFieldsParams
WithDefaults hydrates default values in the delete payment method custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePaymentMethodCustomFieldsParams) WithHTTPClient ¶
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 describes a response with status code 204, with default header values.
Successful operation
func NewDeletePaymentMethodNoContent ¶
func NewDeletePaymentMethodNoContent() *DeletePaymentMethodNoContent
NewDeletePaymentMethodNoContent creates a DeletePaymentMethodNoContent with default headers values
func (*DeletePaymentMethodNoContent) Code ¶
func (o *DeletePaymentMethodNoContent) Code() int
Code gets the status code for the delete payment method no content response
func (*DeletePaymentMethodNoContent) Error ¶
func (o *DeletePaymentMethodNoContent) Error() string
func (*DeletePaymentMethodNoContent) IsClientError ¶
func (o *DeletePaymentMethodNoContent) IsClientError() bool
IsClientError returns true when this delete payment method no content response has a 4xx status code
func (*DeletePaymentMethodNoContent) IsCode ¶
func (o *DeletePaymentMethodNoContent) IsCode(code int) bool
IsCode returns true when this delete payment method no content response a status code equal to that given
func (*DeletePaymentMethodNoContent) IsRedirect ¶
func (o *DeletePaymentMethodNoContent) IsRedirect() bool
IsRedirect returns true when this delete payment method no content response has a 3xx status code
func (*DeletePaymentMethodNoContent) IsServerError ¶
func (o *DeletePaymentMethodNoContent) IsServerError() bool
IsServerError returns true when this delete payment method no content response has a 5xx status code
func (*DeletePaymentMethodNoContent) IsSuccess ¶
func (o *DeletePaymentMethodNoContent) IsSuccess() bool
IsSuccess returns true when this delete payment method no content response has a 2xx status code
func (*DeletePaymentMethodNoContent) String ¶
func (o *DeletePaymentMethodNoContent) String() string
type DeletePaymentMethodNotFound ¶
type DeletePaymentMethodNotFound struct {
HttpResponse runtime.ClientResponse
}
DeletePaymentMethodNotFound describes a response with status code 404, with default header values.
Account or payment method not found
func NewDeletePaymentMethodNotFound ¶
func NewDeletePaymentMethodNotFound() *DeletePaymentMethodNotFound
NewDeletePaymentMethodNotFound creates a DeletePaymentMethodNotFound with default headers values
func (*DeletePaymentMethodNotFound) Code ¶
func (o *DeletePaymentMethodNotFound) Code() int
Code gets the status code for the delete payment method not found response
func (*DeletePaymentMethodNotFound) Error ¶
func (o *DeletePaymentMethodNotFound) Error() string
func (*DeletePaymentMethodNotFound) IsClientError ¶
func (o *DeletePaymentMethodNotFound) IsClientError() bool
IsClientError returns true when this delete payment method not found response has a 4xx status code
func (*DeletePaymentMethodNotFound) IsCode ¶
func (o *DeletePaymentMethodNotFound) IsCode(code int) bool
IsCode returns true when this delete payment method not found response a status code equal to that given
func (*DeletePaymentMethodNotFound) IsRedirect ¶
func (o *DeletePaymentMethodNotFound) IsRedirect() bool
IsRedirect returns true when this delete payment method not found response has a 3xx status code
func (*DeletePaymentMethodNotFound) IsServerError ¶
func (o *DeletePaymentMethodNotFound) IsServerError() bool
IsServerError returns true when this delete payment method not found response has a 5xx status code
func (*DeletePaymentMethodNotFound) IsSuccess ¶
func (o *DeletePaymentMethodNotFound) IsSuccess() bool
IsSuccess returns true when this delete payment method not found response has a 2xx status code
func (*DeletePaymentMethodNotFound) String ¶
func (o *DeletePaymentMethodNotFound) String() string
type DeletePaymentMethodParams ¶
type DeletePaymentMethodParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // DeleteDefaultPmWithAutoPayOff. DeleteDefaultPmWithAutoPayOff *bool // ForceDefaultPmDeletion. ForceDefaultPmDeletion *bool // PaymentMethodID. // // Format: uuid PaymentMethodID strfmt.UUID // PluginProperty. PluginProperty []string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
DeletePaymentMethodParams contains all the parameters to send to the API endpoint
for the delete payment method operation. Typically these are written to a http.Request.
func NewDeletePaymentMethodParams ¶
func NewDeletePaymentMethodParams() *DeletePaymentMethodParams
NewDeletePaymentMethodParams creates a new DeletePaymentMethodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeletePaymentMethodParamsWithContext ¶
func NewDeletePaymentMethodParamsWithContext(ctx context.Context) *DeletePaymentMethodParams
NewDeletePaymentMethodParamsWithContext creates a new DeletePaymentMethodParams object with the ability to set a context for a request.
func NewDeletePaymentMethodParamsWithHTTPClient ¶
func NewDeletePaymentMethodParamsWithHTTPClient(client *http.Client) *DeletePaymentMethodParams
NewDeletePaymentMethodParamsWithHTTPClient creates a new DeletePaymentMethodParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePaymentMethodParamsWithTimeout ¶
func NewDeletePaymentMethodParamsWithTimeout(timeout time.Duration) *DeletePaymentMethodParams
NewDeletePaymentMethodParamsWithTimeout creates a new DeletePaymentMethodParams object with the ability to set a timeout on a request.
func (*DeletePaymentMethodParams) SetContext ¶
func (o *DeletePaymentMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the delete payment method params
func (*DeletePaymentMethodParams) SetDefaults ¶
func (o *DeletePaymentMethodParams) SetDefaults()
SetDefaults hydrates default values in the delete payment method params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePaymentMethodParams) SetDeleteDefaultPmWithAutoPayOff ¶
func (o *DeletePaymentMethodParams) SetDeleteDefaultPmWithAutoPayOff(deleteDefaultPmWithAutoPayOff *bool)
SetDeleteDefaultPmWithAutoPayOff adds the deleteDefaultPmWithAutoPayOff to the delete payment method params
func (*DeletePaymentMethodParams) SetForceDefaultPmDeletion ¶
func (o *DeletePaymentMethodParams) SetForceDefaultPmDeletion(forceDefaultPmDeletion *bool)
SetForceDefaultPmDeletion adds the forceDefaultPmDeletion to the delete payment method params
func (*DeletePaymentMethodParams) SetHTTPClient ¶
func (o *DeletePaymentMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete payment method params
func (*DeletePaymentMethodParams) SetPaymentMethodID ¶
func (o *DeletePaymentMethodParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the delete payment method params
func (*DeletePaymentMethodParams) SetPluginProperty ¶
func (o *DeletePaymentMethodParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the delete payment method params
func (*DeletePaymentMethodParams) SetTimeout ¶
func (o *DeletePaymentMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete payment method params
func (*DeletePaymentMethodParams) SetXKillbillComment ¶
func (o *DeletePaymentMethodParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete payment method params
func (*DeletePaymentMethodParams) SetXKillbillCreatedBy ¶
func (o *DeletePaymentMethodParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete payment method params
func (*DeletePaymentMethodParams) SetXKillbillReason ¶
func (o *DeletePaymentMethodParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete payment method params
func (*DeletePaymentMethodParams) WithContext ¶
func (o *DeletePaymentMethodParams) WithContext(ctx context.Context) *DeletePaymentMethodParams
WithContext adds the context to the delete payment method params
func (*DeletePaymentMethodParams) WithDefaults ¶
func (o *DeletePaymentMethodParams) WithDefaults() *DeletePaymentMethodParams
WithDefaults hydrates default values in the delete payment method params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePaymentMethodParams) WithDeleteDefaultPmWithAutoPayOff ¶
func (o *DeletePaymentMethodParams) WithDeleteDefaultPmWithAutoPayOff(deleteDefaultPmWithAutoPayOff *bool) *DeletePaymentMethodParams
WithDeleteDefaultPmWithAutoPayOff adds the deleteDefaultPmWithAutoPayOff to the delete payment method params
func (*DeletePaymentMethodParams) WithForceDefaultPmDeletion ¶
func (o *DeletePaymentMethodParams) WithForceDefaultPmDeletion(forceDefaultPmDeletion *bool) *DeletePaymentMethodParams
WithForceDefaultPmDeletion adds the forceDefaultPmDeletion to the delete payment method params
func (*DeletePaymentMethodParams) WithHTTPClient ¶
func (o *DeletePaymentMethodParams) WithHTTPClient(client *http.Client) *DeletePaymentMethodParams
WithHTTPClient adds the HTTPClient to the delete payment method params
func (*DeletePaymentMethodParams) WithPaymentMethodID ¶
func (o *DeletePaymentMethodParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *DeletePaymentMethodParams
WithPaymentMethodID adds the paymentMethodID to the delete payment method params
func (*DeletePaymentMethodParams) WithPluginProperty ¶
func (o *DeletePaymentMethodParams) WithPluginProperty(pluginProperty []string) *DeletePaymentMethodParams
WithPluginProperty adds the pluginProperty to the delete payment method params
func (*DeletePaymentMethodParams) WithTimeout ¶
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 describes a response with status code 404, with default header values.
Account not found
func NewGetPaymentMethodAuditLogsWithHistoryNotFound ¶
func NewGetPaymentMethodAuditLogsWithHistoryNotFound() *GetPaymentMethodAuditLogsWithHistoryNotFound
NewGetPaymentMethodAuditLogsWithHistoryNotFound creates a GetPaymentMethodAuditLogsWithHistoryNotFound with default headers values
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) Code ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get payment method audit logs with history not found response
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) Error ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) Error() string
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get payment method audit logs with history not found response has a 4xx status code
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get payment method audit logs with history not found response a status code equal to that given
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get payment method audit logs with history not found response has a 3xx status code
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get payment method audit logs with history not found response has a 5xx status code
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get payment method audit logs with history not found response has a 2xx status code
func (*GetPaymentMethodAuditLogsWithHistoryNotFound) String ¶
func (o *GetPaymentMethodAuditLogsWithHistoryNotFound) String() string
type GetPaymentMethodAuditLogsWithHistoryOK ¶
type GetPaymentMethodAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetPaymentMethodAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetPaymentMethodAuditLogsWithHistoryOK ¶
func NewGetPaymentMethodAuditLogsWithHistoryOK() *GetPaymentMethodAuditLogsWithHistoryOK
NewGetPaymentMethodAuditLogsWithHistoryOK creates a GetPaymentMethodAuditLogsWithHistoryOK with default headers values
func (*GetPaymentMethodAuditLogsWithHistoryOK) Code ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get payment method audit logs with history o k response
func (*GetPaymentMethodAuditLogsWithHistoryOK) Error ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) Error() string
func (*GetPaymentMethodAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetPaymentMethodAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get payment method audit logs with history o k response has a 4xx status code
func (*GetPaymentMethodAuditLogsWithHistoryOK) IsCode ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get payment method audit logs with history o k response a status code equal to that given
func (*GetPaymentMethodAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get payment method audit logs with history o k response has a 3xx status code
func (*GetPaymentMethodAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get payment method audit logs with history o k response has a 5xx status code
func (*GetPaymentMethodAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get payment method audit logs with history o k response has a 2xx status code
func (*GetPaymentMethodAuditLogsWithHistoryOK) String ¶
func (o *GetPaymentMethodAuditLogsWithHistoryOK) String() string
type GetPaymentMethodAuditLogsWithHistoryParams ¶
type GetPaymentMethodAuditLogsWithHistoryParams struct { // PaymentMethodID. // // Format: uuid PaymentMethodID strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetPaymentMethodAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get payment method audit logs with history operation. Typically these are written to a http.Request.
func NewGetPaymentMethodAuditLogsWithHistoryParams ¶
func NewGetPaymentMethodAuditLogsWithHistoryParams() *GetPaymentMethodAuditLogsWithHistoryParams
NewGetPaymentMethodAuditLogsWithHistoryParams creates a new GetPaymentMethodAuditLogsWithHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext ¶
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetPaymentMethodAuditLogsWithHistoryParams
NewGetPaymentMethodAuditLogsWithHistoryParamsWithContext creates a new GetPaymentMethodAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetPaymentMethodAuditLogsWithHistoryParams
NewGetPaymentMethodAuditLogsWithHistoryParamsWithHTTPClient creates a new GetPaymentMethodAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetPaymentMethodAuditLogsWithHistoryParams
NewGetPaymentMethodAuditLogsWithHistoryParamsWithTimeout creates a new GetPaymentMethodAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetContext ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetDefaults ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get payment method audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetPaymentMethodID ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the get payment method audit logs with history params
func (*GetPaymentMethodAuditLogsWithHistoryParams) SetTimeout ¶
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) WithDefaults ¶
func (o *GetPaymentMethodAuditLogsWithHistoryParams) WithDefaults() *GetPaymentMethodAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get payment method audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodAuditLogsWithHistoryParams) WithHTTPClient ¶
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 describes a response with status code 400, with default header values.
Invalid paymentMethodId supplied
func NewGetPaymentMethodBadRequest ¶
func NewGetPaymentMethodBadRequest() *GetPaymentMethodBadRequest
NewGetPaymentMethodBadRequest creates a GetPaymentMethodBadRequest with default headers values
func (*GetPaymentMethodBadRequest) Code ¶
func (o *GetPaymentMethodBadRequest) Code() int
Code gets the status code for the get payment method bad request response
func (*GetPaymentMethodBadRequest) Error ¶
func (o *GetPaymentMethodBadRequest) Error() string
func (*GetPaymentMethodBadRequest) IsClientError ¶
func (o *GetPaymentMethodBadRequest) IsClientError() bool
IsClientError returns true when this get payment method bad request response has a 4xx status code
func (*GetPaymentMethodBadRequest) IsCode ¶
func (o *GetPaymentMethodBadRequest) IsCode(code int) bool
IsCode returns true when this get payment method bad request response a status code equal to that given
func (*GetPaymentMethodBadRequest) IsRedirect ¶
func (o *GetPaymentMethodBadRequest) IsRedirect() bool
IsRedirect returns true when this get payment method bad request response has a 3xx status code
func (*GetPaymentMethodBadRequest) IsServerError ¶
func (o *GetPaymentMethodBadRequest) IsServerError() bool
IsServerError returns true when this get payment method bad request response has a 5xx status code
func (*GetPaymentMethodBadRequest) IsSuccess ¶
func (o *GetPaymentMethodBadRequest) IsSuccess() bool
IsSuccess returns true when this get payment method bad request response has a 2xx status code
func (*GetPaymentMethodBadRequest) String ¶
func (o *GetPaymentMethodBadRequest) String() string
type GetPaymentMethodByKeyNotFound ¶
type GetPaymentMethodByKeyNotFound struct {
HttpResponse runtime.ClientResponse
}
GetPaymentMethodByKeyNotFound describes a response with status code 404, with default header values.
Account or payment method not found
func NewGetPaymentMethodByKeyNotFound ¶
func NewGetPaymentMethodByKeyNotFound() *GetPaymentMethodByKeyNotFound
NewGetPaymentMethodByKeyNotFound creates a GetPaymentMethodByKeyNotFound with default headers values
func (*GetPaymentMethodByKeyNotFound) Code ¶
func (o *GetPaymentMethodByKeyNotFound) Code() int
Code gets the status code for the get payment method by key not found response
func (*GetPaymentMethodByKeyNotFound) Error ¶
func (o *GetPaymentMethodByKeyNotFound) Error() string
func (*GetPaymentMethodByKeyNotFound) IsClientError ¶
func (o *GetPaymentMethodByKeyNotFound) IsClientError() bool
IsClientError returns true when this get payment method by key not found response has a 4xx status code
func (*GetPaymentMethodByKeyNotFound) IsCode ¶
func (o *GetPaymentMethodByKeyNotFound) IsCode(code int) bool
IsCode returns true when this get payment method by key not found response a status code equal to that given
func (*GetPaymentMethodByKeyNotFound) IsRedirect ¶
func (o *GetPaymentMethodByKeyNotFound) IsRedirect() bool
IsRedirect returns true when this get payment method by key not found response has a 3xx status code
func (*GetPaymentMethodByKeyNotFound) IsServerError ¶
func (o *GetPaymentMethodByKeyNotFound) IsServerError() bool
IsServerError returns true when this get payment method by key not found response has a 5xx status code
func (*GetPaymentMethodByKeyNotFound) IsSuccess ¶
func (o *GetPaymentMethodByKeyNotFound) IsSuccess() bool
IsSuccess returns true when this get payment method by key not found response has a 2xx status code
func (*GetPaymentMethodByKeyNotFound) String ¶
func (o *GetPaymentMethodByKeyNotFound) String() string
type GetPaymentMethodByKeyOK ¶
type GetPaymentMethodByKeyOK struct { Payload *kbmodel.PaymentMethod HttpResponse runtime.ClientResponse }
GetPaymentMethodByKeyOK describes a response with status code 200, with default header values.
successful operation
func NewGetPaymentMethodByKeyOK ¶
func NewGetPaymentMethodByKeyOK() *GetPaymentMethodByKeyOK
NewGetPaymentMethodByKeyOK creates a GetPaymentMethodByKeyOK with default headers values
func (*GetPaymentMethodByKeyOK) Code ¶
func (o *GetPaymentMethodByKeyOK) Code() int
Code gets the status code for the get payment method by key o k response
func (*GetPaymentMethodByKeyOK) Error ¶
func (o *GetPaymentMethodByKeyOK) Error() string
func (*GetPaymentMethodByKeyOK) GetPayload ¶
func (o *GetPaymentMethodByKeyOK) GetPayload() *kbmodel.PaymentMethod
func (*GetPaymentMethodByKeyOK) IsClientError ¶
func (o *GetPaymentMethodByKeyOK) IsClientError() bool
IsClientError returns true when this get payment method by key o k response has a 4xx status code
func (*GetPaymentMethodByKeyOK) IsCode ¶
func (o *GetPaymentMethodByKeyOK) IsCode(code int) bool
IsCode returns true when this get payment method by key o k response a status code equal to that given
func (*GetPaymentMethodByKeyOK) IsRedirect ¶
func (o *GetPaymentMethodByKeyOK) IsRedirect() bool
IsRedirect returns true when this get payment method by key o k response has a 3xx status code
func (*GetPaymentMethodByKeyOK) IsServerError ¶
func (o *GetPaymentMethodByKeyOK) IsServerError() bool
IsServerError returns true when this get payment method by key o k response has a 5xx status code
func (*GetPaymentMethodByKeyOK) IsSuccess ¶
func (o *GetPaymentMethodByKeyOK) IsSuccess() bool
IsSuccess returns true when this get payment method by key o k response has a 2xx status code
func (*GetPaymentMethodByKeyOK) String ¶
func (o *GetPaymentMethodByKeyOK) String() string
type GetPaymentMethodByKeyParams ¶
type GetPaymentMethodByKeyParams struct { // Audit. // // Default: "NONE" Audit *string // ExternalKey. ExternalKey string // IncludedDeleted. IncludedDeleted *bool // PluginProperty. PluginProperty []string // WithPluginInfo. WithPluginInfo *bool WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetPaymentMethodByKeyParams contains all the parameters to send to the API endpoint
for the get payment method by key operation. Typically these are written to a http.Request.
func NewGetPaymentMethodByKeyParams ¶
func NewGetPaymentMethodByKeyParams() *GetPaymentMethodByKeyParams
NewGetPaymentMethodByKeyParams creates a new GetPaymentMethodByKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPaymentMethodByKeyParamsWithContext ¶
func NewGetPaymentMethodByKeyParamsWithContext(ctx context.Context) *GetPaymentMethodByKeyParams
NewGetPaymentMethodByKeyParamsWithContext creates a new GetPaymentMethodByKeyParams object with the ability to set a context for a request.
func NewGetPaymentMethodByKeyParamsWithHTTPClient ¶
func NewGetPaymentMethodByKeyParamsWithHTTPClient(client *http.Client) *GetPaymentMethodByKeyParams
NewGetPaymentMethodByKeyParamsWithHTTPClient creates a new GetPaymentMethodByKeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetPaymentMethodByKeyParamsWithTimeout ¶
func NewGetPaymentMethodByKeyParamsWithTimeout(timeout time.Duration) *GetPaymentMethodByKeyParams
NewGetPaymentMethodByKeyParamsWithTimeout creates a new GetPaymentMethodByKeyParams object with the ability to set a timeout on a request.
func (*GetPaymentMethodByKeyParams) SetAudit ¶
func (o *GetPaymentMethodByKeyParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetContext ¶
func (o *GetPaymentMethodByKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetDefaults ¶
func (o *GetPaymentMethodByKeyParams) SetDefaults()
SetDefaults hydrates default values in the get payment method by key params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodByKeyParams) SetExternalKey ¶
func (o *GetPaymentMethodByKeyParams) SetExternalKey(externalKey string)
SetExternalKey adds the externalKey to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetHTTPClient ¶
func (o *GetPaymentMethodByKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetIncludedDeleted ¶
func (o *GetPaymentMethodByKeyParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetPluginProperty ¶
func (o *GetPaymentMethodByKeyParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetTimeout ¶
func (o *GetPaymentMethodByKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment method by key params
func (*GetPaymentMethodByKeyParams) SetWithPluginInfo ¶
func (o *GetPaymentMethodByKeyParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payment method by key params
func (*GetPaymentMethodByKeyParams) WithAudit ¶
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) WithDefaults ¶
func (o *GetPaymentMethodByKeyParams) WithDefaults() *GetPaymentMethodByKeyParams
WithDefaults hydrates default values in the get payment method by key params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodByKeyParams) WithExternalKey ¶
func (o *GetPaymentMethodByKeyParams) WithExternalKey(externalKey string) *GetPaymentMethodByKeyParams
WithExternalKey adds the externalKey to the get payment method by key params
func (*GetPaymentMethodByKeyParams) WithHTTPClient ¶
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 describes a response with status code 400, with default header values.
Invalid payment method id supplied
func NewGetPaymentMethodCustomFieldsBadRequest ¶
func NewGetPaymentMethodCustomFieldsBadRequest() *GetPaymentMethodCustomFieldsBadRequest
NewGetPaymentMethodCustomFieldsBadRequest creates a GetPaymentMethodCustomFieldsBadRequest with default headers values
func (*GetPaymentMethodCustomFieldsBadRequest) Code ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) Code() int
Code gets the status code for the get payment method custom fields bad request response
func (*GetPaymentMethodCustomFieldsBadRequest) Error ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) Error() string
func (*GetPaymentMethodCustomFieldsBadRequest) IsClientError ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this get payment method custom fields bad request response has a 4xx status code
func (*GetPaymentMethodCustomFieldsBadRequest) IsCode ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this get payment method custom fields bad request response a status code equal to that given
func (*GetPaymentMethodCustomFieldsBadRequest) IsRedirect ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this get payment method custom fields bad request response has a 3xx status code
func (*GetPaymentMethodCustomFieldsBadRequest) IsServerError ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this get payment method custom fields bad request response has a 5xx status code
func (*GetPaymentMethodCustomFieldsBadRequest) IsSuccess ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this get payment method custom fields bad request response has a 2xx status code
func (*GetPaymentMethodCustomFieldsBadRequest) String ¶
func (o *GetPaymentMethodCustomFieldsBadRequest) String() string
type GetPaymentMethodCustomFieldsOK ¶
type GetPaymentMethodCustomFieldsOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
GetPaymentMethodCustomFieldsOK describes a response with status code 200, with default header values.
successful operation
func NewGetPaymentMethodCustomFieldsOK ¶
func NewGetPaymentMethodCustomFieldsOK() *GetPaymentMethodCustomFieldsOK
NewGetPaymentMethodCustomFieldsOK creates a GetPaymentMethodCustomFieldsOK with default headers values
func (*GetPaymentMethodCustomFieldsOK) Code ¶
func (o *GetPaymentMethodCustomFieldsOK) Code() int
Code gets the status code for the get payment method custom fields o k response
func (*GetPaymentMethodCustomFieldsOK) Error ¶
func (o *GetPaymentMethodCustomFieldsOK) Error() string
func (*GetPaymentMethodCustomFieldsOK) GetPayload ¶
func (o *GetPaymentMethodCustomFieldsOK) GetPayload() []*kbmodel.CustomField
func (*GetPaymentMethodCustomFieldsOK) IsClientError ¶
func (o *GetPaymentMethodCustomFieldsOK) IsClientError() bool
IsClientError returns true when this get payment method custom fields o k response has a 4xx status code
func (*GetPaymentMethodCustomFieldsOK) IsCode ¶
func (o *GetPaymentMethodCustomFieldsOK) IsCode(code int) bool
IsCode returns true when this get payment method custom fields o k response a status code equal to that given
func (*GetPaymentMethodCustomFieldsOK) IsRedirect ¶
func (o *GetPaymentMethodCustomFieldsOK) IsRedirect() bool
IsRedirect returns true when this get payment method custom fields o k response has a 3xx status code
func (*GetPaymentMethodCustomFieldsOK) IsServerError ¶
func (o *GetPaymentMethodCustomFieldsOK) IsServerError() bool
IsServerError returns true when this get payment method custom fields o k response has a 5xx status code
func (*GetPaymentMethodCustomFieldsOK) IsSuccess ¶
func (o *GetPaymentMethodCustomFieldsOK) IsSuccess() bool
IsSuccess returns true when this get payment method custom fields o k response has a 2xx status code
func (*GetPaymentMethodCustomFieldsOK) String ¶
func (o *GetPaymentMethodCustomFieldsOK) String() string
type GetPaymentMethodCustomFieldsParams ¶
type GetPaymentMethodCustomFieldsParams struct { // Audit. // // Default: "NONE" Audit *string // PaymentMethodID. // // Format: uuid PaymentMethodID strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetPaymentMethodCustomFieldsParams contains all the parameters to send to the API endpoint
for the get payment method custom fields operation. Typically these are written to a http.Request.
func NewGetPaymentMethodCustomFieldsParams ¶
func NewGetPaymentMethodCustomFieldsParams() *GetPaymentMethodCustomFieldsParams
NewGetPaymentMethodCustomFieldsParams creates a new GetPaymentMethodCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPaymentMethodCustomFieldsParamsWithContext ¶
func NewGetPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *GetPaymentMethodCustomFieldsParams
NewGetPaymentMethodCustomFieldsParamsWithContext creates a new GetPaymentMethodCustomFieldsParams object with the ability to set a context for a request.
func NewGetPaymentMethodCustomFieldsParamsWithHTTPClient ¶
func NewGetPaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *GetPaymentMethodCustomFieldsParams
NewGetPaymentMethodCustomFieldsParamsWithHTTPClient creates a new GetPaymentMethodCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewGetPaymentMethodCustomFieldsParamsWithTimeout ¶
func NewGetPaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *GetPaymentMethodCustomFieldsParams
NewGetPaymentMethodCustomFieldsParamsWithTimeout creates a new GetPaymentMethodCustomFieldsParams object with the ability to set a timeout on a request.
func (*GetPaymentMethodCustomFieldsParams) SetAudit ¶
func (o *GetPaymentMethodCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) SetContext ¶
func (o *GetPaymentMethodCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) SetDefaults ¶
func (o *GetPaymentMethodCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the get payment method custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodCustomFieldsParams) SetHTTPClient ¶
func (o *GetPaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) SetPaymentMethodID ¶
func (o *GetPaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) SetTimeout ¶
func (o *GetPaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment method custom fields params
func (*GetPaymentMethodCustomFieldsParams) WithAudit ¶
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) WithDefaults ¶
func (o *GetPaymentMethodCustomFieldsParams) WithDefaults() *GetPaymentMethodCustomFieldsParams
WithDefaults hydrates default values in the get payment method custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodCustomFieldsParams) WithHTTPClient ¶
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 describes a response with status code 404, with default header values.
Account or payment method not found
func NewGetPaymentMethodNotFound ¶
func NewGetPaymentMethodNotFound() *GetPaymentMethodNotFound
NewGetPaymentMethodNotFound creates a GetPaymentMethodNotFound with default headers values
func (*GetPaymentMethodNotFound) Code ¶
func (o *GetPaymentMethodNotFound) Code() int
Code gets the status code for the get payment method not found response
func (*GetPaymentMethodNotFound) Error ¶
func (o *GetPaymentMethodNotFound) Error() string
func (*GetPaymentMethodNotFound) IsClientError ¶
func (o *GetPaymentMethodNotFound) IsClientError() bool
IsClientError returns true when this get payment method not found response has a 4xx status code
func (*GetPaymentMethodNotFound) IsCode ¶
func (o *GetPaymentMethodNotFound) IsCode(code int) bool
IsCode returns true when this get payment method not found response a status code equal to that given
func (*GetPaymentMethodNotFound) IsRedirect ¶
func (o *GetPaymentMethodNotFound) IsRedirect() bool
IsRedirect returns true when this get payment method not found response has a 3xx status code
func (*GetPaymentMethodNotFound) IsServerError ¶
func (o *GetPaymentMethodNotFound) IsServerError() bool
IsServerError returns true when this get payment method not found response has a 5xx status code
func (*GetPaymentMethodNotFound) IsSuccess ¶
func (o *GetPaymentMethodNotFound) IsSuccess() bool
IsSuccess returns true when this get payment method not found response has a 2xx status code
func (*GetPaymentMethodNotFound) String ¶
func (o *GetPaymentMethodNotFound) String() string
type GetPaymentMethodOK ¶
type GetPaymentMethodOK struct { Payload *kbmodel.PaymentMethod HttpResponse runtime.ClientResponse }
GetPaymentMethodOK describes a response with status code 200, with default header values.
successful operation
func NewGetPaymentMethodOK ¶
func NewGetPaymentMethodOK() *GetPaymentMethodOK
NewGetPaymentMethodOK creates a GetPaymentMethodOK with default headers values
func (*GetPaymentMethodOK) Code ¶
func (o *GetPaymentMethodOK) Code() int
Code gets the status code for the get payment method o k response
func (*GetPaymentMethodOK) Error ¶
func (o *GetPaymentMethodOK) Error() string
func (*GetPaymentMethodOK) GetPayload ¶
func (o *GetPaymentMethodOK) GetPayload() *kbmodel.PaymentMethod
func (*GetPaymentMethodOK) IsClientError ¶
func (o *GetPaymentMethodOK) IsClientError() bool
IsClientError returns true when this get payment method o k response has a 4xx status code
func (*GetPaymentMethodOK) IsCode ¶
func (o *GetPaymentMethodOK) IsCode(code int) bool
IsCode returns true when this get payment method o k response a status code equal to that given
func (*GetPaymentMethodOK) IsRedirect ¶
func (o *GetPaymentMethodOK) IsRedirect() bool
IsRedirect returns true when this get payment method o k response has a 3xx status code
func (*GetPaymentMethodOK) IsServerError ¶
func (o *GetPaymentMethodOK) IsServerError() bool
IsServerError returns true when this get payment method o k response has a 5xx status code
func (*GetPaymentMethodOK) IsSuccess ¶
func (o *GetPaymentMethodOK) IsSuccess() bool
IsSuccess returns true when this get payment method o k response has a 2xx status code
func (*GetPaymentMethodOK) String ¶
func (o *GetPaymentMethodOK) String() string
type GetPaymentMethodParams ¶
type GetPaymentMethodParams struct { // Audit. // // Default: "NONE" Audit *string // IncludedDeleted. IncludedDeleted *bool // PaymentMethodID. // // Format: uuid PaymentMethodID strfmt.UUID // PluginProperty. PluginProperty []string // WithPluginInfo. WithPluginInfo *bool WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetPaymentMethodParams contains all the parameters to send to the API endpoint
for the get payment method operation. Typically these are written to a http.Request.
func NewGetPaymentMethodParams ¶
func NewGetPaymentMethodParams() *GetPaymentMethodParams
NewGetPaymentMethodParams creates a new GetPaymentMethodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPaymentMethodParamsWithContext ¶
func NewGetPaymentMethodParamsWithContext(ctx context.Context) *GetPaymentMethodParams
NewGetPaymentMethodParamsWithContext creates a new GetPaymentMethodParams object with the ability to set a context for a request.
func NewGetPaymentMethodParamsWithHTTPClient ¶
func NewGetPaymentMethodParamsWithHTTPClient(client *http.Client) *GetPaymentMethodParams
NewGetPaymentMethodParamsWithHTTPClient creates a new GetPaymentMethodParams object with the ability to set a custom HTTPClient for a request.
func NewGetPaymentMethodParamsWithTimeout ¶
func NewGetPaymentMethodParamsWithTimeout(timeout time.Duration) *GetPaymentMethodParams
NewGetPaymentMethodParamsWithTimeout creates a new GetPaymentMethodParams object with the ability to set a timeout on a request.
func (*GetPaymentMethodParams) SetAudit ¶
func (o *GetPaymentMethodParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment method params
func (*GetPaymentMethodParams) SetContext ¶
func (o *GetPaymentMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment method params
func (*GetPaymentMethodParams) SetDefaults ¶
func (o *GetPaymentMethodParams) SetDefaults()
SetDefaults hydrates default values in the get payment method params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodParams) SetHTTPClient ¶
func (o *GetPaymentMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment method params
func (*GetPaymentMethodParams) SetIncludedDeleted ¶
func (o *GetPaymentMethodParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get payment method params
func (*GetPaymentMethodParams) SetPaymentMethodID ¶
func (o *GetPaymentMethodParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the get payment method params
func (*GetPaymentMethodParams) SetPluginProperty ¶
func (o *GetPaymentMethodParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get payment method params
func (*GetPaymentMethodParams) SetTimeout ¶
func (o *GetPaymentMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment method params
func (*GetPaymentMethodParams) SetWithPluginInfo ¶
func (o *GetPaymentMethodParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payment method params
func (*GetPaymentMethodParams) WithAudit ¶
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) WithDefaults ¶
func (o *GetPaymentMethodParams) WithDefaults() *GetPaymentMethodParams
WithDefaults hydrates default values in the get payment method params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodParams) WithHTTPClient ¶
func (o *GetPaymentMethodParams) WithHTTPClient(client *http.Client) *GetPaymentMethodParams
WithHTTPClient adds the HTTPClient to the get payment method params
func (*GetPaymentMethodParams) WithIncludedDeleted ¶
func (o *GetPaymentMethodParams) WithIncludedDeleted(includedDeleted *bool) *GetPaymentMethodParams
WithIncludedDeleted adds the includedDeleted to the get payment method params
func (*GetPaymentMethodParams) WithPaymentMethodID ¶
func (o *GetPaymentMethodParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *GetPaymentMethodParams
WithPaymentMethodID adds the paymentMethodID to the get payment method params
func (*GetPaymentMethodParams) WithPluginProperty ¶
func (o *GetPaymentMethodParams) WithPluginProperty(pluginProperty []string) *GetPaymentMethodParams
WithPluginProperty adds the pluginProperty to the get payment method params
func (*GetPaymentMethodParams) WithTimeout ¶
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 describes a response with status code 200, with default header values.
successful operation
func NewGetPaymentMethodsOK ¶
func NewGetPaymentMethodsOK() *GetPaymentMethodsOK
NewGetPaymentMethodsOK creates a GetPaymentMethodsOK with default headers values
func (*GetPaymentMethodsOK) Code ¶
func (o *GetPaymentMethodsOK) Code() int
Code gets the status code for the get payment methods o k response
func (*GetPaymentMethodsOK) Error ¶
func (o *GetPaymentMethodsOK) Error() string
func (*GetPaymentMethodsOK) GetPayload ¶
func (o *GetPaymentMethodsOK) GetPayload() []*kbmodel.PaymentMethod
func (*GetPaymentMethodsOK) IsClientError ¶
func (o *GetPaymentMethodsOK) IsClientError() bool
IsClientError returns true when this get payment methods o k response has a 4xx status code
func (*GetPaymentMethodsOK) IsCode ¶
func (o *GetPaymentMethodsOK) IsCode(code int) bool
IsCode returns true when this get payment methods o k response a status code equal to that given
func (*GetPaymentMethodsOK) IsRedirect ¶
func (o *GetPaymentMethodsOK) IsRedirect() bool
IsRedirect returns true when this get payment methods o k response has a 3xx status code
func (*GetPaymentMethodsOK) IsServerError ¶
func (o *GetPaymentMethodsOK) IsServerError() bool
IsServerError returns true when this get payment methods o k response has a 5xx status code
func (*GetPaymentMethodsOK) IsSuccess ¶
func (o *GetPaymentMethodsOK) IsSuccess() bool
IsSuccess returns true when this get payment methods o k response has a 2xx status code
func (*GetPaymentMethodsOK) String ¶
func (o *GetPaymentMethodsOK) String() string
type GetPaymentMethodsParams ¶
type GetPaymentMethodsParams struct { // Audit. // // Default: "NONE" Audit *string // Limit. // // Format: int64 // Default: 100 Limit *int64 // Offset. // // Format: int64 Offset *int64 // PluginName. PluginName *string // PluginProperty. PluginProperty []string // WithPluginInfo. WithPluginInfo *bool WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetPaymentMethodsParams contains all the parameters to send to the API endpoint
for the get payment methods operation. Typically these are written to a http.Request.
func NewGetPaymentMethodsParams ¶
func NewGetPaymentMethodsParams() *GetPaymentMethodsParams
NewGetPaymentMethodsParams creates a new GetPaymentMethodsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPaymentMethodsParamsWithContext ¶
func NewGetPaymentMethodsParamsWithContext(ctx context.Context) *GetPaymentMethodsParams
NewGetPaymentMethodsParamsWithContext creates a new GetPaymentMethodsParams object with the ability to set a context for a request.
func NewGetPaymentMethodsParamsWithHTTPClient ¶
func NewGetPaymentMethodsParamsWithHTTPClient(client *http.Client) *GetPaymentMethodsParams
NewGetPaymentMethodsParamsWithHTTPClient creates a new GetPaymentMethodsParams object with the ability to set a custom HTTPClient for a request.
func NewGetPaymentMethodsParamsWithTimeout ¶
func NewGetPaymentMethodsParamsWithTimeout(timeout time.Duration) *GetPaymentMethodsParams
NewGetPaymentMethodsParamsWithTimeout creates a new GetPaymentMethodsParams object with the ability to set a timeout on a request.
func (*GetPaymentMethodsParams) SetAudit ¶
func (o *GetPaymentMethodsParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment methods params
func (*GetPaymentMethodsParams) SetContext ¶
func (o *GetPaymentMethodsParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment methods params
func (*GetPaymentMethodsParams) SetDefaults ¶
func (o *GetPaymentMethodsParams) SetDefaults()
SetDefaults hydrates default values in the get payment methods params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodsParams) SetHTTPClient ¶
func (o *GetPaymentMethodsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment methods params
func (*GetPaymentMethodsParams) SetLimit ¶
func (o *GetPaymentMethodsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get payment methods params
func (*GetPaymentMethodsParams) SetOffset ¶
func (o *GetPaymentMethodsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get payment methods params
func (*GetPaymentMethodsParams) SetPluginName ¶
func (o *GetPaymentMethodsParams) SetPluginName(pluginName *string)
SetPluginName adds the pluginName to the get payment methods params
func (*GetPaymentMethodsParams) SetPluginProperty ¶
func (o *GetPaymentMethodsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get payment methods params
func (*GetPaymentMethodsParams) SetTimeout ¶
func (o *GetPaymentMethodsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment methods params
func (*GetPaymentMethodsParams) SetWithPluginInfo ¶
func (o *GetPaymentMethodsParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payment methods params
func (*GetPaymentMethodsParams) WithAudit ¶
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) WithDefaults ¶
func (o *GetPaymentMethodsParams) WithDefaults() *GetPaymentMethodsParams
WithDefaults hydrates default values in the get payment methods params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentMethodsParams) WithHTTPClient ¶
func (o *GetPaymentMethodsParams) WithHTTPClient(client *http.Client) *GetPaymentMethodsParams
WithHTTPClient adds the HTTPClient to the get payment methods params
func (*GetPaymentMethodsParams) WithLimit ¶
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 KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default WithWithProfilingInfo. If not set explicitly in params, this will be used. KillbillWithProfilingInfo() *string // Default WithStackTrace. If not set explicitly in params, this will be used. KillbillWithStackTrace() *bool }
killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.
type ModifyPaymentMethodCustomFieldsBadRequest ¶
type ModifyPaymentMethodCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
ModifyPaymentMethodCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid payment method id supplied
func NewModifyPaymentMethodCustomFieldsBadRequest ¶
func NewModifyPaymentMethodCustomFieldsBadRequest() *ModifyPaymentMethodCustomFieldsBadRequest
NewModifyPaymentMethodCustomFieldsBadRequest creates a ModifyPaymentMethodCustomFieldsBadRequest with default headers values
func (*ModifyPaymentMethodCustomFieldsBadRequest) Code ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) Code() int
Code gets the status code for the modify payment method custom fields bad request response
func (*ModifyPaymentMethodCustomFieldsBadRequest) Error ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) Error() string
func (*ModifyPaymentMethodCustomFieldsBadRequest) IsClientError ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this modify payment method custom fields bad request response has a 4xx status code
func (*ModifyPaymentMethodCustomFieldsBadRequest) IsCode ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this modify payment method custom fields bad request response a status code equal to that given
func (*ModifyPaymentMethodCustomFieldsBadRequest) IsRedirect ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this modify payment method custom fields bad request response has a 3xx status code
func (*ModifyPaymentMethodCustomFieldsBadRequest) IsServerError ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this modify payment method custom fields bad request response has a 5xx status code
func (*ModifyPaymentMethodCustomFieldsBadRequest) IsSuccess ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this modify payment method custom fields bad request response has a 2xx status code
func (*ModifyPaymentMethodCustomFieldsBadRequest) String ¶
func (o *ModifyPaymentMethodCustomFieldsBadRequest) String() string
type ModifyPaymentMethodCustomFieldsNoContent ¶
type ModifyPaymentMethodCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
ModifyPaymentMethodCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewModifyPaymentMethodCustomFieldsNoContent ¶
func NewModifyPaymentMethodCustomFieldsNoContent() *ModifyPaymentMethodCustomFieldsNoContent
NewModifyPaymentMethodCustomFieldsNoContent creates a ModifyPaymentMethodCustomFieldsNoContent with default headers values
func (*ModifyPaymentMethodCustomFieldsNoContent) Code ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) Code() int
Code gets the status code for the modify payment method custom fields no content response
func (*ModifyPaymentMethodCustomFieldsNoContent) Error ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) Error() string
func (*ModifyPaymentMethodCustomFieldsNoContent) IsClientError ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this modify payment method custom fields no content response has a 4xx status code
func (*ModifyPaymentMethodCustomFieldsNoContent) IsCode ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this modify payment method custom fields no content response a status code equal to that given
func (*ModifyPaymentMethodCustomFieldsNoContent) IsRedirect ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this modify payment method custom fields no content response has a 3xx status code
func (*ModifyPaymentMethodCustomFieldsNoContent) IsServerError ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this modify payment method custom fields no content response has a 5xx status code
func (*ModifyPaymentMethodCustomFieldsNoContent) IsSuccess ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this modify payment method custom fields no content response has a 2xx status code
func (*ModifyPaymentMethodCustomFieldsNoContent) String ¶
func (o *ModifyPaymentMethodCustomFieldsNoContent) String() string
type ModifyPaymentMethodCustomFieldsParams ¶
type ModifyPaymentMethodCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // PaymentMethodID. // // Format: uuid PaymentMethodID strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
ModifyPaymentMethodCustomFieldsParams contains all the parameters to send to the API endpoint
for the modify payment method custom fields operation. Typically these are written to a http.Request.
func NewModifyPaymentMethodCustomFieldsParams ¶
func NewModifyPaymentMethodCustomFieldsParams() *ModifyPaymentMethodCustomFieldsParams
NewModifyPaymentMethodCustomFieldsParams creates a new ModifyPaymentMethodCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewModifyPaymentMethodCustomFieldsParamsWithContext ¶
func NewModifyPaymentMethodCustomFieldsParamsWithContext(ctx context.Context) *ModifyPaymentMethodCustomFieldsParams
NewModifyPaymentMethodCustomFieldsParamsWithContext creates a new ModifyPaymentMethodCustomFieldsParams object with the ability to set a context for a request.
func NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient ¶
func NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyPaymentMethodCustomFieldsParams
NewModifyPaymentMethodCustomFieldsParamsWithHTTPClient creates a new ModifyPaymentMethodCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewModifyPaymentMethodCustomFieldsParamsWithTimeout ¶
func NewModifyPaymentMethodCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyPaymentMethodCustomFieldsParams
NewModifyPaymentMethodCustomFieldsParamsWithTimeout creates a new ModifyPaymentMethodCustomFieldsParams object with the ability to set a timeout on a request.
func (*ModifyPaymentMethodCustomFieldsParams) SetBody ¶
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) SetDefaults ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the modify payment method custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyPaymentMethodCustomFieldsParams) SetHTTPClient ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetPaymentMethodID ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetTimeout ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillComment ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) SetXKillbillReason ¶
func (o *ModifyPaymentMethodCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the modify payment method custom fields params
func (*ModifyPaymentMethodCustomFieldsParams) WithBody ¶
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) WithDefaults ¶
func (o *ModifyPaymentMethodCustomFieldsParams) WithDefaults() *ModifyPaymentMethodCustomFieldsParams
WithDefaults hydrates default values in the modify payment method custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyPaymentMethodCustomFieldsParams) WithHTTPClient ¶
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 describes a response with status code 200, with default header values.
successful operation
func NewSearchPaymentMethodsOK ¶
func NewSearchPaymentMethodsOK() *SearchPaymentMethodsOK
NewSearchPaymentMethodsOK creates a SearchPaymentMethodsOK with default headers values
func (*SearchPaymentMethodsOK) Code ¶
func (o *SearchPaymentMethodsOK) Code() int
Code gets the status code for the search payment methods o k response
func (*SearchPaymentMethodsOK) Error ¶
func (o *SearchPaymentMethodsOK) Error() string
func (*SearchPaymentMethodsOK) GetPayload ¶
func (o *SearchPaymentMethodsOK) GetPayload() []*kbmodel.PaymentMethod
func (*SearchPaymentMethodsOK) IsClientError ¶
func (o *SearchPaymentMethodsOK) IsClientError() bool
IsClientError returns true when this search payment methods o k response has a 4xx status code
func (*SearchPaymentMethodsOK) IsCode ¶
func (o *SearchPaymentMethodsOK) IsCode(code int) bool
IsCode returns true when this search payment methods o k response a status code equal to that given
func (*SearchPaymentMethodsOK) IsRedirect ¶
func (o *SearchPaymentMethodsOK) IsRedirect() bool
IsRedirect returns true when this search payment methods o k response has a 3xx status code
func (*SearchPaymentMethodsOK) IsServerError ¶
func (o *SearchPaymentMethodsOK) IsServerError() bool
IsServerError returns true when this search payment methods o k response has a 5xx status code
func (*SearchPaymentMethodsOK) IsSuccess ¶
func (o *SearchPaymentMethodsOK) IsSuccess() bool
IsSuccess returns true when this search payment methods o k response has a 2xx status code
func (*SearchPaymentMethodsOK) String ¶
func (o *SearchPaymentMethodsOK) String() string
type SearchPaymentMethodsParams ¶
type SearchPaymentMethodsParams struct { // Audit. // // Default: "NONE" Audit *string // Limit. // // Format: int64 // Default: 100 Limit *int64 // Offset. // // Format: int64 Offset *int64 // PluginName. PluginName *string // PluginProperty. PluginProperty []string // SearchKey. SearchKey string // WithPluginInfo. WithPluginInfo *bool WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
SearchPaymentMethodsParams contains all the parameters to send to the API endpoint
for the search payment methods operation. Typically these are written to a http.Request.
func NewSearchPaymentMethodsParams ¶
func NewSearchPaymentMethodsParams() *SearchPaymentMethodsParams
NewSearchPaymentMethodsParams creates a new SearchPaymentMethodsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchPaymentMethodsParamsWithContext ¶
func NewSearchPaymentMethodsParamsWithContext(ctx context.Context) *SearchPaymentMethodsParams
NewSearchPaymentMethodsParamsWithContext creates a new SearchPaymentMethodsParams object with the ability to set a context for a request.
func NewSearchPaymentMethodsParamsWithHTTPClient ¶
func NewSearchPaymentMethodsParamsWithHTTPClient(client *http.Client) *SearchPaymentMethodsParams
NewSearchPaymentMethodsParamsWithHTTPClient creates a new SearchPaymentMethodsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchPaymentMethodsParamsWithTimeout ¶
func NewSearchPaymentMethodsParamsWithTimeout(timeout time.Duration) *SearchPaymentMethodsParams
NewSearchPaymentMethodsParamsWithTimeout creates a new SearchPaymentMethodsParams object with the ability to set a timeout on a request.
func (*SearchPaymentMethodsParams) SetAudit ¶
func (o *SearchPaymentMethodsParams) SetAudit(audit *string)
SetAudit adds the audit to the search payment methods params
func (*SearchPaymentMethodsParams) SetContext ¶
func (o *SearchPaymentMethodsParams) SetContext(ctx context.Context)
SetContext adds the context to the search payment methods params
func (*SearchPaymentMethodsParams) SetDefaults ¶
func (o *SearchPaymentMethodsParams) SetDefaults()
SetDefaults hydrates default values in the search payment methods params (not the query body).
All values with no default are reset to their zero value.
func (*SearchPaymentMethodsParams) SetHTTPClient ¶
func (o *SearchPaymentMethodsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search payment methods params
func (*SearchPaymentMethodsParams) SetLimit ¶
func (o *SearchPaymentMethodsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search payment methods params
func (*SearchPaymentMethodsParams) SetOffset ¶
func (o *SearchPaymentMethodsParams) SetOffset(offset *int64)
SetOffset adds the offset to the search payment methods params
func (*SearchPaymentMethodsParams) SetPluginName ¶
func (o *SearchPaymentMethodsParams) SetPluginName(pluginName *string)
SetPluginName adds the pluginName to the search payment methods params
func (*SearchPaymentMethodsParams) SetPluginProperty ¶
func (o *SearchPaymentMethodsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the search payment methods params
func (*SearchPaymentMethodsParams) SetSearchKey ¶
func (o *SearchPaymentMethodsParams) SetSearchKey(searchKey string)
SetSearchKey adds the searchKey to the search payment methods params
func (*SearchPaymentMethodsParams) SetTimeout ¶
func (o *SearchPaymentMethodsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search payment methods params
func (*SearchPaymentMethodsParams) SetWithPluginInfo ¶
func (o *SearchPaymentMethodsParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the search payment methods params
func (*SearchPaymentMethodsParams) WithAudit ¶
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) WithDefaults ¶
func (o *SearchPaymentMethodsParams) WithDefaults() *SearchPaymentMethodsParams
WithDefaults hydrates default values in the search payment methods params (not the query body).
All values with no default are reset to their zero value.
func (*SearchPaymentMethodsParams) WithHTTPClient ¶
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