Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTransactionCustomFields(ctx context.Context, params *CreateTransactionCustomFieldsParams) (*CreateTransactionCustomFieldsCreated, error)
- func (a *Client) CreateTransactionTags(ctx context.Context, params *CreateTransactionTagsParams) (*CreateTransactionTagsCreated, error)
- func (a *Client) DeleteTransactionCustomFields(ctx context.Context, params *DeleteTransactionCustomFieldsParams) (*DeleteTransactionCustomFieldsNoContent, error)
- func (a *Client) DeleteTransactionTags(ctx context.Context, params *DeleteTransactionTagsParams) (*DeleteTransactionTagsNoContent, error)
- func (a *Client) GetPaymentByTransactionExternalKey(ctx context.Context, params *GetPaymentByTransactionExternalKeyParams) (*GetPaymentByTransactionExternalKeyOK, error)
- func (a *Client) GetPaymentByTransactionID(ctx context.Context, params *GetPaymentByTransactionIDParams) (*GetPaymentByTransactionIDOK, error)
- func (a *Client) GetTransactionAuditLogsWithHistory(ctx context.Context, params *GetTransactionAuditLogsWithHistoryParams) (*GetTransactionAuditLogsWithHistoryOK, error)
- func (a *Client) GetTransactionCustomFields(ctx context.Context, params *GetTransactionCustomFieldsParams) (*GetTransactionCustomFieldsOK, error)
- func (a *Client) GetTransactionTags(ctx context.Context, params *GetTransactionTagsParams) (*GetTransactionTagsOK, error)
- func (a *Client) ModifyTransactionCustomFields(ctx context.Context, params *ModifyTransactionCustomFieldsParams) (*ModifyTransactionCustomFieldsNoContent, error)
- func (a *Client) NotifyStateChanged(ctx context.Context, params *NotifyStateChangedParams) (*NotifyStateChangedCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateTransactionCustomFieldsBadRequest
- func (o *CreateTransactionCustomFieldsBadRequest) Code() int
- func (o *CreateTransactionCustomFieldsBadRequest) Error() string
- func (o *CreateTransactionCustomFieldsBadRequest) IsClientError() bool
- func (o *CreateTransactionCustomFieldsBadRequest) IsCode(code int) bool
- func (o *CreateTransactionCustomFieldsBadRequest) IsRedirect() bool
- func (o *CreateTransactionCustomFieldsBadRequest) IsServerError() bool
- func (o *CreateTransactionCustomFieldsBadRequest) IsSuccess() bool
- func (o *CreateTransactionCustomFieldsBadRequest) String() string
- type CreateTransactionCustomFieldsCreated
- func (o *CreateTransactionCustomFieldsCreated) Code() int
- func (o *CreateTransactionCustomFieldsCreated) Error() string
- func (o *CreateTransactionCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
- func (o *CreateTransactionCustomFieldsCreated) IsClientError() bool
- func (o *CreateTransactionCustomFieldsCreated) IsCode(code int) bool
- func (o *CreateTransactionCustomFieldsCreated) IsRedirect() bool
- func (o *CreateTransactionCustomFieldsCreated) IsServerError() bool
- func (o *CreateTransactionCustomFieldsCreated) IsSuccess() bool
- func (o *CreateTransactionCustomFieldsCreated) String() string
- type CreateTransactionCustomFieldsParams
- func NewCreateTransactionCustomFieldsParams() *CreateTransactionCustomFieldsParams
- func NewCreateTransactionCustomFieldsParamsWithContext(ctx context.Context) *CreateTransactionCustomFieldsParams
- func NewCreateTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateTransactionCustomFieldsParams
- func NewCreateTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *CreateTransactionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *CreateTransactionCustomFieldsParams) SetDefaults()
- func (o *CreateTransactionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *CreateTransactionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *CreateTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *CreateTransactionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateTransactionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateTransactionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WithContext(ctx context.Context) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WithDefaults() *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WithTransactionID(transactionID strfmt.UUID) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateTransactionCustomFieldsParams
- func (o *CreateTransactionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTransactionCustomFieldsReader
- type CreateTransactionTagsBadRequest
- func (o *CreateTransactionTagsBadRequest) Code() int
- func (o *CreateTransactionTagsBadRequest) Error() string
- func (o *CreateTransactionTagsBadRequest) IsClientError() bool
- func (o *CreateTransactionTagsBadRequest) IsCode(code int) bool
- func (o *CreateTransactionTagsBadRequest) IsRedirect() bool
- func (o *CreateTransactionTagsBadRequest) IsServerError() bool
- func (o *CreateTransactionTagsBadRequest) IsSuccess() bool
- func (o *CreateTransactionTagsBadRequest) String() string
- type CreateTransactionTagsCreated
- func (o *CreateTransactionTagsCreated) Code() int
- func (o *CreateTransactionTagsCreated) Error() string
- func (o *CreateTransactionTagsCreated) GetPayload() []*kbmodel.Tag
- func (o *CreateTransactionTagsCreated) IsClientError() bool
- func (o *CreateTransactionTagsCreated) IsCode(code int) bool
- func (o *CreateTransactionTagsCreated) IsRedirect() bool
- func (o *CreateTransactionTagsCreated) IsServerError() bool
- func (o *CreateTransactionTagsCreated) IsSuccess() bool
- func (o *CreateTransactionTagsCreated) String() string
- type CreateTransactionTagsParams
- func NewCreateTransactionTagsParams() *CreateTransactionTagsParams
- func NewCreateTransactionTagsParamsWithContext(ctx context.Context) *CreateTransactionTagsParams
- func NewCreateTransactionTagsParamsWithHTTPClient(client *http.Client) *CreateTransactionTagsParams
- func NewCreateTransactionTagsParamsWithTimeout(timeout time.Duration) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) SetBody(body []strfmt.UUID)
- func (o *CreateTransactionTagsParams) SetContext(ctx context.Context)
- func (o *CreateTransactionTagsParams) SetDefaults()
- func (o *CreateTransactionTagsParams) SetHTTPClient(client *http.Client)
- func (o *CreateTransactionTagsParams) SetTimeout(timeout time.Duration)
- func (o *CreateTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *CreateTransactionTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateTransactionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateTransactionTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateTransactionTagsParams) WithBody(body []strfmt.UUID) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WithContext(ctx context.Context) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WithDefaults() *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WithHTTPClient(client *http.Client) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WithTimeout(timeout time.Duration) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateTransactionTagsParams
- func (o *CreateTransactionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTransactionTagsReader
- type DeleteTransactionCustomFieldsBadRequest
- func (o *DeleteTransactionCustomFieldsBadRequest) Code() int
- func (o *DeleteTransactionCustomFieldsBadRequest) Error() string
- func (o *DeleteTransactionCustomFieldsBadRequest) IsClientError() bool
- func (o *DeleteTransactionCustomFieldsBadRequest) IsCode(code int) bool
- func (o *DeleteTransactionCustomFieldsBadRequest) IsRedirect() bool
- func (o *DeleteTransactionCustomFieldsBadRequest) IsServerError() bool
- func (o *DeleteTransactionCustomFieldsBadRequest) IsSuccess() bool
- func (o *DeleteTransactionCustomFieldsBadRequest) String() string
- type DeleteTransactionCustomFieldsNoContent
- func (o *DeleteTransactionCustomFieldsNoContent) Code() int
- func (o *DeleteTransactionCustomFieldsNoContent) Error() string
- func (o *DeleteTransactionCustomFieldsNoContent) IsClientError() bool
- func (o *DeleteTransactionCustomFieldsNoContent) IsCode(code int) bool
- func (o *DeleteTransactionCustomFieldsNoContent) IsRedirect() bool
- func (o *DeleteTransactionCustomFieldsNoContent) IsServerError() bool
- func (o *DeleteTransactionCustomFieldsNoContent) IsSuccess() bool
- func (o *DeleteTransactionCustomFieldsNoContent) String() string
- type DeleteTransactionCustomFieldsParams
- func NewDeleteTransactionCustomFieldsParams() *DeleteTransactionCustomFieldsParams
- func NewDeleteTransactionCustomFieldsParamsWithContext(ctx context.Context) *DeleteTransactionCustomFieldsParams
- func NewDeleteTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteTransactionCustomFieldsParams
- func NewDeleteTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *DeleteTransactionCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
- func (o *DeleteTransactionCustomFieldsParams) SetDefaults()
- func (o *DeleteTransactionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTransactionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *DeleteTransactionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteTransactionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteTransactionCustomFieldsParams) WithContext(ctx context.Context) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WithDefaults() *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WithTransactionID(transactionID strfmt.UUID) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteTransactionCustomFieldsParams
- func (o *DeleteTransactionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTransactionCustomFieldsReader
- type DeleteTransactionTagsBadRequest
- func (o *DeleteTransactionTagsBadRequest) Code() int
- func (o *DeleteTransactionTagsBadRequest) Error() string
- func (o *DeleteTransactionTagsBadRequest) IsClientError() bool
- func (o *DeleteTransactionTagsBadRequest) IsCode(code int) bool
- func (o *DeleteTransactionTagsBadRequest) IsRedirect() bool
- func (o *DeleteTransactionTagsBadRequest) IsServerError() bool
- func (o *DeleteTransactionTagsBadRequest) IsSuccess() bool
- func (o *DeleteTransactionTagsBadRequest) String() string
- type DeleteTransactionTagsNoContent
- func (o *DeleteTransactionTagsNoContent) Code() int
- func (o *DeleteTransactionTagsNoContent) Error() string
- func (o *DeleteTransactionTagsNoContent) IsClientError() bool
- func (o *DeleteTransactionTagsNoContent) IsCode(code int) bool
- func (o *DeleteTransactionTagsNoContent) IsRedirect() bool
- func (o *DeleteTransactionTagsNoContent) IsServerError() bool
- func (o *DeleteTransactionTagsNoContent) IsSuccess() bool
- func (o *DeleteTransactionTagsNoContent) String() string
- type DeleteTransactionTagsParams
- func NewDeleteTransactionTagsParams() *DeleteTransactionTagsParams
- func NewDeleteTransactionTagsParamsWithContext(ctx context.Context) *DeleteTransactionTagsParams
- func NewDeleteTransactionTagsParamsWithHTTPClient(client *http.Client) *DeleteTransactionTagsParams
- func NewDeleteTransactionTagsParamsWithTimeout(timeout time.Duration) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) SetContext(ctx context.Context)
- func (o *DeleteTransactionTagsParams) SetDefaults()
- func (o *DeleteTransactionTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTransactionTagsParams) SetTagDef(tagDef []strfmt.UUID)
- func (o *DeleteTransactionTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *DeleteTransactionTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteTransactionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteTransactionTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteTransactionTagsParams) WithContext(ctx context.Context) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WithDefaults() *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WithHTTPClient(client *http.Client) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WithTimeout(timeout time.Duration) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteTransactionTagsParams
- func (o *DeleteTransactionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTransactionTagsReader
- type GetPaymentByTransactionExternalKeyNotFound
- func (o *GetPaymentByTransactionExternalKeyNotFound) Code() int
- func (o *GetPaymentByTransactionExternalKeyNotFound) Error() string
- func (o *GetPaymentByTransactionExternalKeyNotFound) IsClientError() bool
- func (o *GetPaymentByTransactionExternalKeyNotFound) IsCode(code int) bool
- func (o *GetPaymentByTransactionExternalKeyNotFound) IsRedirect() bool
- func (o *GetPaymentByTransactionExternalKeyNotFound) IsServerError() bool
- func (o *GetPaymentByTransactionExternalKeyNotFound) IsSuccess() bool
- func (o *GetPaymentByTransactionExternalKeyNotFound) String() string
- type GetPaymentByTransactionExternalKeyOK
- func (o *GetPaymentByTransactionExternalKeyOK) Code() int
- func (o *GetPaymentByTransactionExternalKeyOK) Error() string
- func (o *GetPaymentByTransactionExternalKeyOK) GetPayload() *kbmodel.Payment
- func (o *GetPaymentByTransactionExternalKeyOK) IsClientError() bool
- func (o *GetPaymentByTransactionExternalKeyOK) IsCode(code int) bool
- func (o *GetPaymentByTransactionExternalKeyOK) IsRedirect() bool
- func (o *GetPaymentByTransactionExternalKeyOK) IsServerError() bool
- func (o *GetPaymentByTransactionExternalKeyOK) IsSuccess() bool
- func (o *GetPaymentByTransactionExternalKeyOK) String() string
- type GetPaymentByTransactionExternalKeyParams
- func NewGetPaymentByTransactionExternalKeyParams() *GetPaymentByTransactionExternalKeyParams
- func NewGetPaymentByTransactionExternalKeyParamsWithContext(ctx context.Context) *GetPaymentByTransactionExternalKeyParams
- func NewGetPaymentByTransactionExternalKeyParamsWithHTTPClient(client *http.Client) *GetPaymentByTransactionExternalKeyParams
- func NewGetPaymentByTransactionExternalKeyParamsWithTimeout(timeout time.Duration) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) SetAudit(audit *string)
- func (o *GetPaymentByTransactionExternalKeyParams) SetContext(ctx context.Context)
- func (o *GetPaymentByTransactionExternalKeyParams) SetDefaults()
- func (o *GetPaymentByTransactionExternalKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentByTransactionExternalKeyParams) SetPluginProperty(pluginProperty []string)
- func (o *GetPaymentByTransactionExternalKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentByTransactionExternalKeyParams) SetTransactionExternalKey(transactionExternalKey string)
- func (o *GetPaymentByTransactionExternalKeyParams) SetWithAttempts(withAttempts *bool)
- func (o *GetPaymentByTransactionExternalKeyParams) SetWithPluginInfo(withPluginInfo *bool)
- func (o *GetPaymentByTransactionExternalKeyParams) WithAudit(audit *string) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WithContext(ctx context.Context) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WithDefaults() *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WithHTTPClient(client *http.Client) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WithPluginProperty(pluginProperty []string) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WithTimeout(timeout time.Duration) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WithTransactionExternalKey(transactionExternalKey string) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WithWithAttempts(withAttempts *bool) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentByTransactionExternalKeyParams
- func (o *GetPaymentByTransactionExternalKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentByTransactionExternalKeyReader
- type GetPaymentByTransactionIDNotFound
- func (o *GetPaymentByTransactionIDNotFound) Code() int
- func (o *GetPaymentByTransactionIDNotFound) Error() string
- func (o *GetPaymentByTransactionIDNotFound) IsClientError() bool
- func (o *GetPaymentByTransactionIDNotFound) IsCode(code int) bool
- func (o *GetPaymentByTransactionIDNotFound) IsRedirect() bool
- func (o *GetPaymentByTransactionIDNotFound) IsServerError() bool
- func (o *GetPaymentByTransactionIDNotFound) IsSuccess() bool
- func (o *GetPaymentByTransactionIDNotFound) String() string
- type GetPaymentByTransactionIDOK
- func (o *GetPaymentByTransactionIDOK) Code() int
- func (o *GetPaymentByTransactionIDOK) Error() string
- func (o *GetPaymentByTransactionIDOK) GetPayload() *kbmodel.Payment
- func (o *GetPaymentByTransactionIDOK) IsClientError() bool
- func (o *GetPaymentByTransactionIDOK) IsCode(code int) bool
- func (o *GetPaymentByTransactionIDOK) IsRedirect() bool
- func (o *GetPaymentByTransactionIDOK) IsServerError() bool
- func (o *GetPaymentByTransactionIDOK) IsSuccess() bool
- func (o *GetPaymentByTransactionIDOK) String() string
- type GetPaymentByTransactionIDParams
- func NewGetPaymentByTransactionIDParams() *GetPaymentByTransactionIDParams
- func NewGetPaymentByTransactionIDParamsWithContext(ctx context.Context) *GetPaymentByTransactionIDParams
- func NewGetPaymentByTransactionIDParamsWithHTTPClient(client *http.Client) *GetPaymentByTransactionIDParams
- func NewGetPaymentByTransactionIDParamsWithTimeout(timeout time.Duration) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) SetAudit(audit *string)
- func (o *GetPaymentByTransactionIDParams) SetContext(ctx context.Context)
- func (o *GetPaymentByTransactionIDParams) SetDefaults()
- func (o *GetPaymentByTransactionIDParams) SetHTTPClient(client *http.Client)
- func (o *GetPaymentByTransactionIDParams) SetPluginProperty(pluginProperty []string)
- func (o *GetPaymentByTransactionIDParams) SetTimeout(timeout time.Duration)
- func (o *GetPaymentByTransactionIDParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *GetPaymentByTransactionIDParams) SetWithAttempts(withAttempts *bool)
- func (o *GetPaymentByTransactionIDParams) SetWithPluginInfo(withPluginInfo *bool)
- func (o *GetPaymentByTransactionIDParams) WithAudit(audit *string) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WithContext(ctx context.Context) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WithDefaults() *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WithHTTPClient(client *http.Client) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WithPluginProperty(pluginProperty []string) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WithTimeout(timeout time.Duration) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WithTransactionID(transactionID strfmt.UUID) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WithWithAttempts(withAttempts *bool) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentByTransactionIDParams
- func (o *GetPaymentByTransactionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPaymentByTransactionIDReader
- type GetTransactionAuditLogsWithHistoryNotFound
- func (o *GetTransactionAuditLogsWithHistoryNotFound) Code() int
- func (o *GetTransactionAuditLogsWithHistoryNotFound) Error() string
- func (o *GetTransactionAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetTransactionAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetTransactionAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetTransactionAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetTransactionAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetTransactionAuditLogsWithHistoryNotFound) String() string
- type GetTransactionAuditLogsWithHistoryOK
- func (o *GetTransactionAuditLogsWithHistoryOK) Code() int
- func (o *GetTransactionAuditLogsWithHistoryOK) Error() string
- func (o *GetTransactionAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetTransactionAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetTransactionAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetTransactionAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetTransactionAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetTransactionAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetTransactionAuditLogsWithHistoryOK) String() string
- type GetTransactionAuditLogsWithHistoryParams
- func NewGetTransactionAuditLogsWithHistoryParams() *GetTransactionAuditLogsWithHistoryParams
- func NewGetTransactionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTransactionAuditLogsWithHistoryParams
- func NewGetTransactionAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetTransactionAuditLogsWithHistoryParams
- func NewGetTransactionAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetTransactionAuditLogsWithHistoryParams
- func (o *GetTransactionAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetTransactionAuditLogsWithHistoryParams) SetDefaults()
- func (o *GetTransactionAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetTransactionAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetTransactionAuditLogsWithHistoryParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *GetTransactionAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetTransactionAuditLogsWithHistoryParams
- func (o *GetTransactionAuditLogsWithHistoryParams) WithDefaults() *GetTransactionAuditLogsWithHistoryParams
- func (o *GetTransactionAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetTransactionAuditLogsWithHistoryParams
- func (o *GetTransactionAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetTransactionAuditLogsWithHistoryParams
- func (o *GetTransactionAuditLogsWithHistoryParams) WithTransactionID(transactionID strfmt.UUID) *GetTransactionAuditLogsWithHistoryParams
- func (o *GetTransactionAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTransactionAuditLogsWithHistoryReader
- type GetTransactionCustomFieldsBadRequest
- func (o *GetTransactionCustomFieldsBadRequest) Code() int
- func (o *GetTransactionCustomFieldsBadRequest) Error() string
- func (o *GetTransactionCustomFieldsBadRequest) IsClientError() bool
- func (o *GetTransactionCustomFieldsBadRequest) IsCode(code int) bool
- func (o *GetTransactionCustomFieldsBadRequest) IsRedirect() bool
- func (o *GetTransactionCustomFieldsBadRequest) IsServerError() bool
- func (o *GetTransactionCustomFieldsBadRequest) IsSuccess() bool
- func (o *GetTransactionCustomFieldsBadRequest) String() string
- type GetTransactionCustomFieldsOK
- func (o *GetTransactionCustomFieldsOK) Code() int
- func (o *GetTransactionCustomFieldsOK) Error() string
- func (o *GetTransactionCustomFieldsOK) GetPayload() []*kbmodel.CustomField
- func (o *GetTransactionCustomFieldsOK) IsClientError() bool
- func (o *GetTransactionCustomFieldsOK) IsCode(code int) bool
- func (o *GetTransactionCustomFieldsOK) IsRedirect() bool
- func (o *GetTransactionCustomFieldsOK) IsServerError() bool
- func (o *GetTransactionCustomFieldsOK) IsSuccess() bool
- func (o *GetTransactionCustomFieldsOK) String() string
- type GetTransactionCustomFieldsParams
- func NewGetTransactionCustomFieldsParams() *GetTransactionCustomFieldsParams
- func NewGetTransactionCustomFieldsParamsWithContext(ctx context.Context) *GetTransactionCustomFieldsParams
- func NewGetTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *GetTransactionCustomFieldsParams
- func NewGetTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *GetTransactionCustomFieldsParams
- func (o *GetTransactionCustomFieldsParams) SetAudit(audit *string)
- func (o *GetTransactionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetTransactionCustomFieldsParams) SetDefaults()
- func (o *GetTransactionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetTransactionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *GetTransactionCustomFieldsParams) WithAudit(audit *string) *GetTransactionCustomFieldsParams
- func (o *GetTransactionCustomFieldsParams) WithContext(ctx context.Context) *GetTransactionCustomFieldsParams
- func (o *GetTransactionCustomFieldsParams) WithDefaults() *GetTransactionCustomFieldsParams
- func (o *GetTransactionCustomFieldsParams) WithHTTPClient(client *http.Client) *GetTransactionCustomFieldsParams
- func (o *GetTransactionCustomFieldsParams) WithTimeout(timeout time.Duration) *GetTransactionCustomFieldsParams
- func (o *GetTransactionCustomFieldsParams) WithTransactionID(transactionID strfmt.UUID) *GetTransactionCustomFieldsParams
- func (o *GetTransactionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTransactionCustomFieldsReader
- type GetTransactionTagsBadRequest
- func (o *GetTransactionTagsBadRequest) Code() int
- func (o *GetTransactionTagsBadRequest) Error() string
- func (o *GetTransactionTagsBadRequest) IsClientError() bool
- func (o *GetTransactionTagsBadRequest) IsCode(code int) bool
- func (o *GetTransactionTagsBadRequest) IsRedirect() bool
- func (o *GetTransactionTagsBadRequest) IsServerError() bool
- func (o *GetTransactionTagsBadRequest) IsSuccess() bool
- func (o *GetTransactionTagsBadRequest) String() string
- type GetTransactionTagsNotFound
- func (o *GetTransactionTagsNotFound) Code() int
- func (o *GetTransactionTagsNotFound) Error() string
- func (o *GetTransactionTagsNotFound) IsClientError() bool
- func (o *GetTransactionTagsNotFound) IsCode(code int) bool
- func (o *GetTransactionTagsNotFound) IsRedirect() bool
- func (o *GetTransactionTagsNotFound) IsServerError() bool
- func (o *GetTransactionTagsNotFound) IsSuccess() bool
- func (o *GetTransactionTagsNotFound) String() string
- type GetTransactionTagsOK
- func (o *GetTransactionTagsOK) Code() int
- func (o *GetTransactionTagsOK) Error() string
- func (o *GetTransactionTagsOK) GetPayload() []*kbmodel.Tag
- func (o *GetTransactionTagsOK) IsClientError() bool
- func (o *GetTransactionTagsOK) IsCode(code int) bool
- func (o *GetTransactionTagsOK) IsRedirect() bool
- func (o *GetTransactionTagsOK) IsServerError() bool
- func (o *GetTransactionTagsOK) IsSuccess() bool
- func (o *GetTransactionTagsOK) String() string
- type GetTransactionTagsParams
- func NewGetTransactionTagsParams() *GetTransactionTagsParams
- func NewGetTransactionTagsParamsWithContext(ctx context.Context) *GetTransactionTagsParams
- func NewGetTransactionTagsParamsWithHTTPClient(client *http.Client) *GetTransactionTagsParams
- func NewGetTransactionTagsParamsWithTimeout(timeout time.Duration) *GetTransactionTagsParams
- func (o *GetTransactionTagsParams) SetAudit(audit *string)
- func (o *GetTransactionTagsParams) SetContext(ctx context.Context)
- func (o *GetTransactionTagsParams) SetDefaults()
- func (o *GetTransactionTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetTransactionTagsParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetTransactionTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *GetTransactionTagsParams) WithAudit(audit *string) *GetTransactionTagsParams
- func (o *GetTransactionTagsParams) WithContext(ctx context.Context) *GetTransactionTagsParams
- func (o *GetTransactionTagsParams) WithDefaults() *GetTransactionTagsParams
- func (o *GetTransactionTagsParams) WithHTTPClient(client *http.Client) *GetTransactionTagsParams
- func (o *GetTransactionTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetTransactionTagsParams
- func (o *GetTransactionTagsParams) WithTimeout(timeout time.Duration) *GetTransactionTagsParams
- func (o *GetTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *GetTransactionTagsParams
- func (o *GetTransactionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTransactionTagsReader
- type KillbillDefaults
- type ModifyTransactionCustomFieldsBadRequest
- func (o *ModifyTransactionCustomFieldsBadRequest) Code() int
- func (o *ModifyTransactionCustomFieldsBadRequest) Error() string
- func (o *ModifyTransactionCustomFieldsBadRequest) IsClientError() bool
- func (o *ModifyTransactionCustomFieldsBadRequest) IsCode(code int) bool
- func (o *ModifyTransactionCustomFieldsBadRequest) IsRedirect() bool
- func (o *ModifyTransactionCustomFieldsBadRequest) IsServerError() bool
- func (o *ModifyTransactionCustomFieldsBadRequest) IsSuccess() bool
- func (o *ModifyTransactionCustomFieldsBadRequest) String() string
- type ModifyTransactionCustomFieldsNoContent
- func (o *ModifyTransactionCustomFieldsNoContent) Code() int
- func (o *ModifyTransactionCustomFieldsNoContent) Error() string
- func (o *ModifyTransactionCustomFieldsNoContent) IsClientError() bool
- func (o *ModifyTransactionCustomFieldsNoContent) IsCode(code int) bool
- func (o *ModifyTransactionCustomFieldsNoContent) IsRedirect() bool
- func (o *ModifyTransactionCustomFieldsNoContent) IsServerError() bool
- func (o *ModifyTransactionCustomFieldsNoContent) IsSuccess() bool
- func (o *ModifyTransactionCustomFieldsNoContent) String() string
- type ModifyTransactionCustomFieldsParams
- func NewModifyTransactionCustomFieldsParams() *ModifyTransactionCustomFieldsParams
- func NewModifyTransactionCustomFieldsParamsWithContext(ctx context.Context) *ModifyTransactionCustomFieldsParams
- func NewModifyTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyTransactionCustomFieldsParams
- func NewModifyTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *ModifyTransactionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *ModifyTransactionCustomFieldsParams) SetDefaults()
- func (o *ModifyTransactionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *ModifyTransactionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *ModifyTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *ModifyTransactionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ModifyTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ModifyTransactionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ModifyTransactionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WithContext(ctx context.Context) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WithDefaults() *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WithTransactionID(transactionID strfmt.UUID) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyTransactionCustomFieldsParams
- func (o *ModifyTransactionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyTransactionCustomFieldsReader
- type NotifyStateChangedBadRequest
- func (o *NotifyStateChangedBadRequest) Code() int
- func (o *NotifyStateChangedBadRequest) Error() string
- func (o *NotifyStateChangedBadRequest) IsClientError() bool
- func (o *NotifyStateChangedBadRequest) IsCode(code int) bool
- func (o *NotifyStateChangedBadRequest) IsRedirect() bool
- func (o *NotifyStateChangedBadRequest) IsServerError() bool
- func (o *NotifyStateChangedBadRequest) IsSuccess() bool
- func (o *NotifyStateChangedBadRequest) String() string
- type NotifyStateChangedCreated
- func (o *NotifyStateChangedCreated) Code() int
- func (o *NotifyStateChangedCreated) Error() string
- func (o *NotifyStateChangedCreated) GetPayload() *kbmodel.Payment
- func (o *NotifyStateChangedCreated) IsClientError() bool
- func (o *NotifyStateChangedCreated) IsCode(code int) bool
- func (o *NotifyStateChangedCreated) IsRedirect() bool
- func (o *NotifyStateChangedCreated) IsServerError() bool
- func (o *NotifyStateChangedCreated) IsSuccess() bool
- func (o *NotifyStateChangedCreated) String() string
- type NotifyStateChangedNotFound
- func (o *NotifyStateChangedNotFound) Code() int
- func (o *NotifyStateChangedNotFound) Error() string
- func (o *NotifyStateChangedNotFound) IsClientError() bool
- func (o *NotifyStateChangedNotFound) IsCode(code int) bool
- func (o *NotifyStateChangedNotFound) IsRedirect() bool
- func (o *NotifyStateChangedNotFound) IsServerError() bool
- func (o *NotifyStateChangedNotFound) IsSuccess() bool
- func (o *NotifyStateChangedNotFound) String() string
- type NotifyStateChangedParams
- func NewNotifyStateChangedParams() *NotifyStateChangedParams
- func NewNotifyStateChangedParamsWithContext(ctx context.Context) *NotifyStateChangedParams
- func NewNotifyStateChangedParamsWithHTTPClient(client *http.Client) *NotifyStateChangedParams
- func NewNotifyStateChangedParamsWithTimeout(timeout time.Duration) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) SetBody(body *kbmodel.PaymentTransaction)
- func (o *NotifyStateChangedParams) SetContext(ctx context.Context)
- func (o *NotifyStateChangedParams) SetControlPluginName(controlPluginName []string)
- func (o *NotifyStateChangedParams) SetDefaults()
- func (o *NotifyStateChangedParams) SetHTTPClient(client *http.Client)
- func (o *NotifyStateChangedParams) SetTimeout(timeout time.Duration)
- func (o *NotifyStateChangedParams) SetTransactionID(transactionID strfmt.UUID)
- func (o *NotifyStateChangedParams) SetXKillbillComment(xKillbillComment *string)
- func (o *NotifyStateChangedParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *NotifyStateChangedParams) SetXKillbillReason(xKillbillReason *string)
- func (o *NotifyStateChangedParams) WithBody(body *kbmodel.PaymentTransaction) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithContext(ctx context.Context) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithControlPluginName(controlPluginName []string) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithDefaults() *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithHTTPClient(client *http.Client) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithTimeout(timeout time.Duration) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithTransactionID(transactionID strfmt.UUID) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithXKillbillComment(xKillbillComment *string) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WithXKillbillReason(xKillbillReason *string) *NotifyStateChangedParams
- func (o *NotifyStateChangedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotifyStateChangedReader
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 transaction API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new payment transaction API client.
func (*Client) CreateTransactionCustomFields ¶
func (a *Client) CreateTransactionCustomFields(ctx context.Context, params *CreateTransactionCustomFieldsParams) (*CreateTransactionCustomFieldsCreated, error)
CreateTransactionCustomFields adds custom fields to payment transaction
func (*Client) CreateTransactionTags ¶
func (a *Client) CreateTransactionTags(ctx context.Context, params *CreateTransactionTagsParams) (*CreateTransactionTagsCreated, error)
CreateTransactionTags adds tags to payment transaction
func (*Client) DeleteTransactionCustomFields ¶
func (a *Client) DeleteTransactionCustomFields(ctx context.Context, params *DeleteTransactionCustomFieldsParams) (*DeleteTransactionCustomFieldsNoContent, error)
DeleteTransactionCustomFields removes custom fields from payment transaction
func (*Client) DeleteTransactionTags ¶
func (a *Client) DeleteTransactionTags(ctx context.Context, params *DeleteTransactionTagsParams) (*DeleteTransactionTagsNoContent, error)
DeleteTransactionTags removes tags from payment transaction
func (*Client) GetPaymentByTransactionExternalKey ¶
func (a *Client) GetPaymentByTransactionExternalKey(ctx context.Context, params *GetPaymentByTransactionExternalKeyParams) (*GetPaymentByTransactionExternalKeyOK, error)
GetPaymentByTransactionExternalKey retrieves a payment by transaction external key
func (*Client) GetPaymentByTransactionID ¶
func (a *Client) GetPaymentByTransactionID(ctx context.Context, params *GetPaymentByTransactionIDParams) (*GetPaymentByTransactionIDOK, error)
GetPaymentByTransactionID retrieves a payment by transaction id
func (*Client) GetTransactionAuditLogsWithHistory ¶
func (a *Client) GetTransactionAuditLogsWithHistory(ctx context.Context, params *GetTransactionAuditLogsWithHistoryParams) (*GetTransactionAuditLogsWithHistoryOK, error)
GetTransactionAuditLogsWithHistory retrieves payment transaction audit logs with history by id
func (*Client) GetTransactionCustomFields ¶
func (a *Client) GetTransactionCustomFields(ctx context.Context, params *GetTransactionCustomFieldsParams) (*GetTransactionCustomFieldsOK, error)
GetTransactionCustomFields retrieves payment transaction custom fields
func (*Client) GetTransactionTags ¶
func (a *Client) GetTransactionTags(ctx context.Context, params *GetTransactionTagsParams) (*GetTransactionTagsOK, error)
GetTransactionTags retrieves payment transaction tags
func (*Client) ModifyTransactionCustomFields ¶
func (a *Client) ModifyTransactionCustomFields(ctx context.Context, params *ModifyTransactionCustomFieldsParams) (*ModifyTransactionCustomFieldsNoContent, error)
ModifyTransactionCustomFields modifies custom fields to payment transaction
func (*Client) NotifyStateChanged ¶
func (a *Client) NotifyStateChanged(ctx context.Context, params *NotifyStateChangedParams) (*NotifyStateChangedCreated, error)
NotifyStateChanged marks a pending payment transaction as succeeded or failed
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 { CreateTransactionCustomFields(ctx context.Context, params *CreateTransactionCustomFieldsParams) (*CreateTransactionCustomFieldsCreated, error) CreateTransactionTags(ctx context.Context, params *CreateTransactionTagsParams) (*CreateTransactionTagsCreated, error) DeleteTransactionCustomFields(ctx context.Context, params *DeleteTransactionCustomFieldsParams) (*DeleteTransactionCustomFieldsNoContent, error) DeleteTransactionTags(ctx context.Context, params *DeleteTransactionTagsParams) (*DeleteTransactionTagsNoContent, error) GetPaymentByTransactionExternalKey(ctx context.Context, params *GetPaymentByTransactionExternalKeyParams) (*GetPaymentByTransactionExternalKeyOK, error) GetPaymentByTransactionID(ctx context.Context, params *GetPaymentByTransactionIDParams) (*GetPaymentByTransactionIDOK, error) GetTransactionAuditLogsWithHistory(ctx context.Context, params *GetTransactionAuditLogsWithHistoryParams) (*GetTransactionAuditLogsWithHistoryOK, error) GetTransactionCustomFields(ctx context.Context, params *GetTransactionCustomFieldsParams) (*GetTransactionCustomFieldsOK, error) GetTransactionTags(ctx context.Context, params *GetTransactionTagsParams) (*GetTransactionTagsOK, error) ModifyTransactionCustomFields(ctx context.Context, params *ModifyTransactionCustomFieldsParams) (*ModifyTransactionCustomFieldsNoContent, error) NotifyStateChanged(ctx context.Context, params *NotifyStateChangedParams) (*NotifyStateChangedCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
type CreateTransactionCustomFieldsBadRequest ¶
type CreateTransactionCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateTransactionCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid transaction id supplied
func NewCreateTransactionCustomFieldsBadRequest ¶
func NewCreateTransactionCustomFieldsBadRequest() *CreateTransactionCustomFieldsBadRequest
NewCreateTransactionCustomFieldsBadRequest creates a CreateTransactionCustomFieldsBadRequest with default headers values
func (*CreateTransactionCustomFieldsBadRequest) Code ¶
func (o *CreateTransactionCustomFieldsBadRequest) Code() int
Code gets the status code for the create transaction custom fields bad request response
func (*CreateTransactionCustomFieldsBadRequest) Error ¶
func (o *CreateTransactionCustomFieldsBadRequest) Error() string
func (*CreateTransactionCustomFieldsBadRequest) IsClientError ¶
func (o *CreateTransactionCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this create transaction custom fields bad request response has a 4xx status code
func (*CreateTransactionCustomFieldsBadRequest) IsCode ¶
func (o *CreateTransactionCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this create transaction custom fields bad request response a status code equal to that given
func (*CreateTransactionCustomFieldsBadRequest) IsRedirect ¶
func (o *CreateTransactionCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this create transaction custom fields bad request response has a 3xx status code
func (*CreateTransactionCustomFieldsBadRequest) IsServerError ¶
func (o *CreateTransactionCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this create transaction custom fields bad request response has a 5xx status code
func (*CreateTransactionCustomFieldsBadRequest) IsSuccess ¶
func (o *CreateTransactionCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this create transaction custom fields bad request response has a 2xx status code
func (*CreateTransactionCustomFieldsBadRequest) String ¶
func (o *CreateTransactionCustomFieldsBadRequest) String() string
type CreateTransactionCustomFieldsCreated ¶
type CreateTransactionCustomFieldsCreated struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
CreateTransactionCustomFieldsCreated describes a response with status code 201, with default header values.
Custom field created successfully
func NewCreateTransactionCustomFieldsCreated ¶
func NewCreateTransactionCustomFieldsCreated() *CreateTransactionCustomFieldsCreated
NewCreateTransactionCustomFieldsCreated creates a CreateTransactionCustomFieldsCreated with default headers values
func (*CreateTransactionCustomFieldsCreated) Code ¶
func (o *CreateTransactionCustomFieldsCreated) Code() int
Code gets the status code for the create transaction custom fields created response
func (*CreateTransactionCustomFieldsCreated) Error ¶
func (o *CreateTransactionCustomFieldsCreated) Error() string
func (*CreateTransactionCustomFieldsCreated) GetPayload ¶
func (o *CreateTransactionCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
func (*CreateTransactionCustomFieldsCreated) IsClientError ¶
func (o *CreateTransactionCustomFieldsCreated) IsClientError() bool
IsClientError returns true when this create transaction custom fields created response has a 4xx status code
func (*CreateTransactionCustomFieldsCreated) IsCode ¶
func (o *CreateTransactionCustomFieldsCreated) IsCode(code int) bool
IsCode returns true when this create transaction custom fields created response a status code equal to that given
func (*CreateTransactionCustomFieldsCreated) IsRedirect ¶
func (o *CreateTransactionCustomFieldsCreated) IsRedirect() bool
IsRedirect returns true when this create transaction custom fields created response has a 3xx status code
func (*CreateTransactionCustomFieldsCreated) IsServerError ¶
func (o *CreateTransactionCustomFieldsCreated) IsServerError() bool
IsServerError returns true when this create transaction custom fields created response has a 5xx status code
func (*CreateTransactionCustomFieldsCreated) IsSuccess ¶
func (o *CreateTransactionCustomFieldsCreated) IsSuccess() bool
IsSuccess returns true when this create transaction custom fields created response has a 2xx status code
func (*CreateTransactionCustomFieldsCreated) String ¶
func (o *CreateTransactionCustomFieldsCreated) String() string
type CreateTransactionCustomFieldsParams ¶
type CreateTransactionCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // TransactionID. // // Format: uuid TransactionID 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 }
CreateTransactionCustomFieldsParams contains all the parameters to send to the API endpoint
for the create transaction custom fields operation. Typically these are written to a http.Request.
func NewCreateTransactionCustomFieldsParams ¶
func NewCreateTransactionCustomFieldsParams() *CreateTransactionCustomFieldsParams
NewCreateTransactionCustomFieldsParams creates a new CreateTransactionCustomFieldsParams 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 NewCreateTransactionCustomFieldsParamsWithContext ¶
func NewCreateTransactionCustomFieldsParamsWithContext(ctx context.Context) *CreateTransactionCustomFieldsParams
NewCreateTransactionCustomFieldsParamsWithContext creates a new CreateTransactionCustomFieldsParams object with the ability to set a context for a request.
func NewCreateTransactionCustomFieldsParamsWithHTTPClient ¶
func NewCreateTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateTransactionCustomFieldsParams
NewCreateTransactionCustomFieldsParamsWithHTTPClient creates a new CreateTransactionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTransactionCustomFieldsParamsWithTimeout ¶
func NewCreateTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateTransactionCustomFieldsParams
NewCreateTransactionCustomFieldsParamsWithTimeout creates a new CreateTransactionCustomFieldsParams object with the ability to set a timeout on a request.
func (*CreateTransactionCustomFieldsParams) SetBody ¶
func (o *CreateTransactionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) SetContext ¶
func (o *CreateTransactionCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) SetDefaults ¶
func (o *CreateTransactionCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the create transaction custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTransactionCustomFieldsParams) SetHTTPClient ¶
func (o *CreateTransactionCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) SetTimeout ¶
func (o *CreateTransactionCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) SetTransactionID ¶
func (o *CreateTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) SetXKillbillComment ¶
func (o *CreateTransactionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *CreateTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) SetXKillbillReason ¶
func (o *CreateTransactionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WithBody ¶
func (o *CreateTransactionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateTransactionCustomFieldsParams
WithBody adds the body to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WithContext ¶
func (o *CreateTransactionCustomFieldsParams) WithContext(ctx context.Context) *CreateTransactionCustomFieldsParams
WithContext adds the context to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WithDefaults ¶
func (o *CreateTransactionCustomFieldsParams) WithDefaults() *CreateTransactionCustomFieldsParams
WithDefaults hydrates default values in the create transaction custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTransactionCustomFieldsParams) WithHTTPClient ¶
func (o *CreateTransactionCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateTransactionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WithTimeout ¶
func (o *CreateTransactionCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateTransactionCustomFieldsParams
WithTimeout adds the timeout to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WithTransactionID ¶
func (o *CreateTransactionCustomFieldsParams) WithTransactionID(transactionID strfmt.UUID) *CreateTransactionCustomFieldsParams
WithTransactionID adds the transactionID to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WithXKillbillComment ¶
func (o *CreateTransactionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateTransactionCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *CreateTransactionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateTransactionCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WithXKillbillReason ¶
func (o *CreateTransactionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateTransactionCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the create transaction custom fields params
func (*CreateTransactionCustomFieldsParams) WriteToRequest ¶
func (o *CreateTransactionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTransactionCustomFieldsReader ¶
type CreateTransactionCustomFieldsReader struct {
// contains filtered or unexported fields
}
CreateTransactionCustomFieldsReader is a Reader for the CreateTransactionCustomFields structure.
func (*CreateTransactionCustomFieldsReader) ReadResponse ¶
func (o *CreateTransactionCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTransactionTagsBadRequest ¶
type CreateTransactionTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateTransactionTagsBadRequest describes a response with status code 400, with default header values.
Invalid transaction id supplied
func NewCreateTransactionTagsBadRequest ¶
func NewCreateTransactionTagsBadRequest() *CreateTransactionTagsBadRequest
NewCreateTransactionTagsBadRequest creates a CreateTransactionTagsBadRequest with default headers values
func (*CreateTransactionTagsBadRequest) Code ¶
func (o *CreateTransactionTagsBadRequest) Code() int
Code gets the status code for the create transaction tags bad request response
func (*CreateTransactionTagsBadRequest) Error ¶
func (o *CreateTransactionTagsBadRequest) Error() string
func (*CreateTransactionTagsBadRequest) IsClientError ¶
func (o *CreateTransactionTagsBadRequest) IsClientError() bool
IsClientError returns true when this create transaction tags bad request response has a 4xx status code
func (*CreateTransactionTagsBadRequest) IsCode ¶
func (o *CreateTransactionTagsBadRequest) IsCode(code int) bool
IsCode returns true when this create transaction tags bad request response a status code equal to that given
func (*CreateTransactionTagsBadRequest) IsRedirect ¶
func (o *CreateTransactionTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this create transaction tags bad request response has a 3xx status code
func (*CreateTransactionTagsBadRequest) IsServerError ¶
func (o *CreateTransactionTagsBadRequest) IsServerError() bool
IsServerError returns true when this create transaction tags bad request response has a 5xx status code
func (*CreateTransactionTagsBadRequest) IsSuccess ¶
func (o *CreateTransactionTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this create transaction tags bad request response has a 2xx status code
func (*CreateTransactionTagsBadRequest) String ¶
func (o *CreateTransactionTagsBadRequest) String() string
type CreateTransactionTagsCreated ¶
type CreateTransactionTagsCreated struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
CreateTransactionTagsCreated describes a response with status code 201, with default header values.
Tag created successfully
func NewCreateTransactionTagsCreated ¶
func NewCreateTransactionTagsCreated() *CreateTransactionTagsCreated
NewCreateTransactionTagsCreated creates a CreateTransactionTagsCreated with default headers values
func (*CreateTransactionTagsCreated) Code ¶
func (o *CreateTransactionTagsCreated) Code() int
Code gets the status code for the create transaction tags created response
func (*CreateTransactionTagsCreated) Error ¶
func (o *CreateTransactionTagsCreated) Error() string
func (*CreateTransactionTagsCreated) GetPayload ¶
func (o *CreateTransactionTagsCreated) GetPayload() []*kbmodel.Tag
func (*CreateTransactionTagsCreated) IsClientError ¶
func (o *CreateTransactionTagsCreated) IsClientError() bool
IsClientError returns true when this create transaction tags created response has a 4xx status code
func (*CreateTransactionTagsCreated) IsCode ¶
func (o *CreateTransactionTagsCreated) IsCode(code int) bool
IsCode returns true when this create transaction tags created response a status code equal to that given
func (*CreateTransactionTagsCreated) IsRedirect ¶
func (o *CreateTransactionTagsCreated) IsRedirect() bool
IsRedirect returns true when this create transaction tags created response has a 3xx status code
func (*CreateTransactionTagsCreated) IsServerError ¶
func (o *CreateTransactionTagsCreated) IsServerError() bool
IsServerError returns true when this create transaction tags created response has a 5xx status code
func (*CreateTransactionTagsCreated) IsSuccess ¶
func (o *CreateTransactionTagsCreated) IsSuccess() bool
IsSuccess returns true when this create transaction tags created response has a 2xx status code
func (*CreateTransactionTagsCreated) String ¶
func (o *CreateTransactionTagsCreated) String() string
type CreateTransactionTagsParams ¶
type CreateTransactionTagsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []strfmt.UUID // TransactionID. // // Format: uuid TransactionID 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 }
CreateTransactionTagsParams contains all the parameters to send to the API endpoint
for the create transaction tags operation. Typically these are written to a http.Request.
func NewCreateTransactionTagsParams ¶
func NewCreateTransactionTagsParams() *CreateTransactionTagsParams
NewCreateTransactionTagsParams creates a new CreateTransactionTagsParams 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 NewCreateTransactionTagsParamsWithContext ¶
func NewCreateTransactionTagsParamsWithContext(ctx context.Context) *CreateTransactionTagsParams
NewCreateTransactionTagsParamsWithContext creates a new CreateTransactionTagsParams object with the ability to set a context for a request.
func NewCreateTransactionTagsParamsWithHTTPClient ¶
func NewCreateTransactionTagsParamsWithHTTPClient(client *http.Client) *CreateTransactionTagsParams
NewCreateTransactionTagsParamsWithHTTPClient creates a new CreateTransactionTagsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTransactionTagsParamsWithTimeout ¶
func NewCreateTransactionTagsParamsWithTimeout(timeout time.Duration) *CreateTransactionTagsParams
NewCreateTransactionTagsParamsWithTimeout creates a new CreateTransactionTagsParams object with the ability to set a timeout on a request.
func (*CreateTransactionTagsParams) SetBody ¶
func (o *CreateTransactionTagsParams) SetBody(body []strfmt.UUID)
SetBody adds the body to the create transaction tags params
func (*CreateTransactionTagsParams) SetContext ¶
func (o *CreateTransactionTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the create transaction tags params
func (*CreateTransactionTagsParams) SetDefaults ¶
func (o *CreateTransactionTagsParams) SetDefaults()
SetDefaults hydrates default values in the create transaction tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTransactionTagsParams) SetHTTPClient ¶
func (o *CreateTransactionTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create transaction tags params
func (*CreateTransactionTagsParams) SetTimeout ¶
func (o *CreateTransactionTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create transaction tags params
func (*CreateTransactionTagsParams) SetTransactionID ¶
func (o *CreateTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the create transaction tags params
func (*CreateTransactionTagsParams) SetXKillbillComment ¶
func (o *CreateTransactionTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create transaction tags params
func (*CreateTransactionTagsParams) SetXKillbillCreatedBy ¶
func (o *CreateTransactionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create transaction tags params
func (*CreateTransactionTagsParams) SetXKillbillReason ¶
func (o *CreateTransactionTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create transaction tags params
func (*CreateTransactionTagsParams) WithBody ¶
func (o *CreateTransactionTagsParams) WithBody(body []strfmt.UUID) *CreateTransactionTagsParams
WithBody adds the body to the create transaction tags params
func (*CreateTransactionTagsParams) WithContext ¶
func (o *CreateTransactionTagsParams) WithContext(ctx context.Context) *CreateTransactionTagsParams
WithContext adds the context to the create transaction tags params
func (*CreateTransactionTagsParams) WithDefaults ¶
func (o *CreateTransactionTagsParams) WithDefaults() *CreateTransactionTagsParams
WithDefaults hydrates default values in the create transaction tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTransactionTagsParams) WithHTTPClient ¶
func (o *CreateTransactionTagsParams) WithHTTPClient(client *http.Client) *CreateTransactionTagsParams
WithHTTPClient adds the HTTPClient to the create transaction tags params
func (*CreateTransactionTagsParams) WithTimeout ¶
func (o *CreateTransactionTagsParams) WithTimeout(timeout time.Duration) *CreateTransactionTagsParams
WithTimeout adds the timeout to the create transaction tags params
func (*CreateTransactionTagsParams) WithTransactionID ¶
func (o *CreateTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *CreateTransactionTagsParams
WithTransactionID adds the transactionID to the create transaction tags params
func (*CreateTransactionTagsParams) WithXKillbillComment ¶
func (o *CreateTransactionTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateTransactionTagsParams
WithXKillbillComment adds the xKillbillComment to the create transaction tags params
func (*CreateTransactionTagsParams) WithXKillbillCreatedBy ¶
func (o *CreateTransactionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateTransactionTagsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create transaction tags params
func (*CreateTransactionTagsParams) WithXKillbillReason ¶
func (o *CreateTransactionTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateTransactionTagsParams
WithXKillbillReason adds the xKillbillReason to the create transaction tags params
func (*CreateTransactionTagsParams) WriteToRequest ¶
func (o *CreateTransactionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTransactionTagsReader ¶
type CreateTransactionTagsReader struct {
// contains filtered or unexported fields
}
CreateTransactionTagsReader is a Reader for the CreateTransactionTags structure.
func (*CreateTransactionTagsReader) ReadResponse ¶
func (o *CreateTransactionTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTransactionCustomFieldsBadRequest ¶
type DeleteTransactionCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteTransactionCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid transaction id supplied
func NewDeleteTransactionCustomFieldsBadRequest ¶
func NewDeleteTransactionCustomFieldsBadRequest() *DeleteTransactionCustomFieldsBadRequest
NewDeleteTransactionCustomFieldsBadRequest creates a DeleteTransactionCustomFieldsBadRequest with default headers values
func (*DeleteTransactionCustomFieldsBadRequest) Code ¶
func (o *DeleteTransactionCustomFieldsBadRequest) Code() int
Code gets the status code for the delete transaction custom fields bad request response
func (*DeleteTransactionCustomFieldsBadRequest) Error ¶
func (o *DeleteTransactionCustomFieldsBadRequest) Error() string
func (*DeleteTransactionCustomFieldsBadRequest) IsClientError ¶
func (o *DeleteTransactionCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this delete transaction custom fields bad request response has a 4xx status code
func (*DeleteTransactionCustomFieldsBadRequest) IsCode ¶
func (o *DeleteTransactionCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this delete transaction custom fields bad request response a status code equal to that given
func (*DeleteTransactionCustomFieldsBadRequest) IsRedirect ¶
func (o *DeleteTransactionCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete transaction custom fields bad request response has a 3xx status code
func (*DeleteTransactionCustomFieldsBadRequest) IsServerError ¶
func (o *DeleteTransactionCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this delete transaction custom fields bad request response has a 5xx status code
func (*DeleteTransactionCustomFieldsBadRequest) IsSuccess ¶
func (o *DeleteTransactionCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete transaction custom fields bad request response has a 2xx status code
func (*DeleteTransactionCustomFieldsBadRequest) String ¶
func (o *DeleteTransactionCustomFieldsBadRequest) String() string
type DeleteTransactionCustomFieldsNoContent ¶
type DeleteTransactionCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteTransactionCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteTransactionCustomFieldsNoContent ¶
func NewDeleteTransactionCustomFieldsNoContent() *DeleteTransactionCustomFieldsNoContent
NewDeleteTransactionCustomFieldsNoContent creates a DeleteTransactionCustomFieldsNoContent with default headers values
func (*DeleteTransactionCustomFieldsNoContent) Code ¶
func (o *DeleteTransactionCustomFieldsNoContent) Code() int
Code gets the status code for the delete transaction custom fields no content response
func (*DeleteTransactionCustomFieldsNoContent) Error ¶
func (o *DeleteTransactionCustomFieldsNoContent) Error() string
func (*DeleteTransactionCustomFieldsNoContent) IsClientError ¶
func (o *DeleteTransactionCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this delete transaction custom fields no content response has a 4xx status code
func (*DeleteTransactionCustomFieldsNoContent) IsCode ¶
func (o *DeleteTransactionCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this delete transaction custom fields no content response a status code equal to that given
func (*DeleteTransactionCustomFieldsNoContent) IsRedirect ¶
func (o *DeleteTransactionCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this delete transaction custom fields no content response has a 3xx status code
func (*DeleteTransactionCustomFieldsNoContent) IsServerError ¶
func (o *DeleteTransactionCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this delete transaction custom fields no content response has a 5xx status code
func (*DeleteTransactionCustomFieldsNoContent) IsSuccess ¶
func (o *DeleteTransactionCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this delete transaction custom fields no content response has a 2xx status code
func (*DeleteTransactionCustomFieldsNoContent) String ¶
func (o *DeleteTransactionCustomFieldsNoContent) String() string
type DeleteTransactionCustomFieldsParams ¶
type DeleteTransactionCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // CustomField. CustomField []strfmt.UUID // TransactionID. // // Format: uuid TransactionID 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 }
DeleteTransactionCustomFieldsParams contains all the parameters to send to the API endpoint
for the delete transaction custom fields operation. Typically these are written to a http.Request.
func NewDeleteTransactionCustomFieldsParams ¶
func NewDeleteTransactionCustomFieldsParams() *DeleteTransactionCustomFieldsParams
NewDeleteTransactionCustomFieldsParams creates a new DeleteTransactionCustomFieldsParams 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 NewDeleteTransactionCustomFieldsParamsWithContext ¶
func NewDeleteTransactionCustomFieldsParamsWithContext(ctx context.Context) *DeleteTransactionCustomFieldsParams
NewDeleteTransactionCustomFieldsParamsWithContext creates a new DeleteTransactionCustomFieldsParams object with the ability to set a context for a request.
func NewDeleteTransactionCustomFieldsParamsWithHTTPClient ¶
func NewDeleteTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteTransactionCustomFieldsParams
NewDeleteTransactionCustomFieldsParamsWithHTTPClient creates a new DeleteTransactionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTransactionCustomFieldsParamsWithTimeout ¶
func NewDeleteTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteTransactionCustomFieldsParams
NewDeleteTransactionCustomFieldsParamsWithTimeout creates a new DeleteTransactionCustomFieldsParams object with the ability to set a timeout on a request.
func (*DeleteTransactionCustomFieldsParams) SetContext ¶
func (o *DeleteTransactionCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) SetCustomField ¶
func (o *DeleteTransactionCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
SetCustomField adds the customField to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) SetDefaults ¶
func (o *DeleteTransactionCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the delete transaction custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTransactionCustomFieldsParams) SetHTTPClient ¶
func (o *DeleteTransactionCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) SetTimeout ¶
func (o *DeleteTransactionCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) SetTransactionID ¶
func (o *DeleteTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) SetXKillbillComment ¶
func (o *DeleteTransactionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *DeleteTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) SetXKillbillReason ¶
func (o *DeleteTransactionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WithContext ¶
func (o *DeleteTransactionCustomFieldsParams) WithContext(ctx context.Context) *DeleteTransactionCustomFieldsParams
WithContext adds the context to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WithCustomField ¶
func (o *DeleteTransactionCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteTransactionCustomFieldsParams
WithCustomField adds the customField to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WithDefaults ¶
func (o *DeleteTransactionCustomFieldsParams) WithDefaults() *DeleteTransactionCustomFieldsParams
WithDefaults hydrates default values in the delete transaction custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTransactionCustomFieldsParams) WithHTTPClient ¶
func (o *DeleteTransactionCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteTransactionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WithTimeout ¶
func (o *DeleteTransactionCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteTransactionCustomFieldsParams
WithTimeout adds the timeout to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WithTransactionID ¶
func (o *DeleteTransactionCustomFieldsParams) WithTransactionID(transactionID strfmt.UUID) *DeleteTransactionCustomFieldsParams
WithTransactionID adds the transactionID to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WithXKillbillComment ¶
func (o *DeleteTransactionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteTransactionCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *DeleteTransactionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteTransactionCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WithXKillbillReason ¶
func (o *DeleteTransactionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteTransactionCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the delete transaction custom fields params
func (*DeleteTransactionCustomFieldsParams) WriteToRequest ¶
func (o *DeleteTransactionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTransactionCustomFieldsReader ¶
type DeleteTransactionCustomFieldsReader struct {
// contains filtered or unexported fields
}
DeleteTransactionCustomFieldsReader is a Reader for the DeleteTransactionCustomFields structure.
func (*DeleteTransactionCustomFieldsReader) ReadResponse ¶
func (o *DeleteTransactionCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTransactionTagsBadRequest ¶
type DeleteTransactionTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteTransactionTagsBadRequest describes a response with status code 400, with default header values.
Invalid transaction id supplied
func NewDeleteTransactionTagsBadRequest ¶
func NewDeleteTransactionTagsBadRequest() *DeleteTransactionTagsBadRequest
NewDeleteTransactionTagsBadRequest creates a DeleteTransactionTagsBadRequest with default headers values
func (*DeleteTransactionTagsBadRequest) Code ¶
func (o *DeleteTransactionTagsBadRequest) Code() int
Code gets the status code for the delete transaction tags bad request response
func (*DeleteTransactionTagsBadRequest) Error ¶
func (o *DeleteTransactionTagsBadRequest) Error() string
func (*DeleteTransactionTagsBadRequest) IsClientError ¶
func (o *DeleteTransactionTagsBadRequest) IsClientError() bool
IsClientError returns true when this delete transaction tags bad request response has a 4xx status code
func (*DeleteTransactionTagsBadRequest) IsCode ¶
func (o *DeleteTransactionTagsBadRequest) IsCode(code int) bool
IsCode returns true when this delete transaction tags bad request response a status code equal to that given
func (*DeleteTransactionTagsBadRequest) IsRedirect ¶
func (o *DeleteTransactionTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete transaction tags bad request response has a 3xx status code
func (*DeleteTransactionTagsBadRequest) IsServerError ¶
func (o *DeleteTransactionTagsBadRequest) IsServerError() bool
IsServerError returns true when this delete transaction tags bad request response has a 5xx status code
func (*DeleteTransactionTagsBadRequest) IsSuccess ¶
func (o *DeleteTransactionTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete transaction tags bad request response has a 2xx status code
func (*DeleteTransactionTagsBadRequest) String ¶
func (o *DeleteTransactionTagsBadRequest) String() string
type DeleteTransactionTagsNoContent ¶
type DeleteTransactionTagsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteTransactionTagsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteTransactionTagsNoContent ¶
func NewDeleteTransactionTagsNoContent() *DeleteTransactionTagsNoContent
NewDeleteTransactionTagsNoContent creates a DeleteTransactionTagsNoContent with default headers values
func (*DeleteTransactionTagsNoContent) Code ¶
func (o *DeleteTransactionTagsNoContent) Code() int
Code gets the status code for the delete transaction tags no content response
func (*DeleteTransactionTagsNoContent) Error ¶
func (o *DeleteTransactionTagsNoContent) Error() string
func (*DeleteTransactionTagsNoContent) IsClientError ¶
func (o *DeleteTransactionTagsNoContent) IsClientError() bool
IsClientError returns true when this delete transaction tags no content response has a 4xx status code
func (*DeleteTransactionTagsNoContent) IsCode ¶
func (o *DeleteTransactionTagsNoContent) IsCode(code int) bool
IsCode returns true when this delete transaction tags no content response a status code equal to that given
func (*DeleteTransactionTagsNoContent) IsRedirect ¶
func (o *DeleteTransactionTagsNoContent) IsRedirect() bool
IsRedirect returns true when this delete transaction tags no content response has a 3xx status code
func (*DeleteTransactionTagsNoContent) IsServerError ¶
func (o *DeleteTransactionTagsNoContent) IsServerError() bool
IsServerError returns true when this delete transaction tags no content response has a 5xx status code
func (*DeleteTransactionTagsNoContent) IsSuccess ¶
func (o *DeleteTransactionTagsNoContent) IsSuccess() bool
IsSuccess returns true when this delete transaction tags no content response has a 2xx status code
func (*DeleteTransactionTagsNoContent) String ¶
func (o *DeleteTransactionTagsNoContent) String() string
type DeleteTransactionTagsParams ¶
type DeleteTransactionTagsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // TagDef. TagDef []strfmt.UUID // TransactionID. // // Format: uuid TransactionID 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 }
DeleteTransactionTagsParams contains all the parameters to send to the API endpoint
for the delete transaction tags operation. Typically these are written to a http.Request.
func NewDeleteTransactionTagsParams ¶
func NewDeleteTransactionTagsParams() *DeleteTransactionTagsParams
NewDeleteTransactionTagsParams creates a new DeleteTransactionTagsParams 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 NewDeleteTransactionTagsParamsWithContext ¶
func NewDeleteTransactionTagsParamsWithContext(ctx context.Context) *DeleteTransactionTagsParams
NewDeleteTransactionTagsParamsWithContext creates a new DeleteTransactionTagsParams object with the ability to set a context for a request.
func NewDeleteTransactionTagsParamsWithHTTPClient ¶
func NewDeleteTransactionTagsParamsWithHTTPClient(client *http.Client) *DeleteTransactionTagsParams
NewDeleteTransactionTagsParamsWithHTTPClient creates a new DeleteTransactionTagsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTransactionTagsParamsWithTimeout ¶
func NewDeleteTransactionTagsParamsWithTimeout(timeout time.Duration) *DeleteTransactionTagsParams
NewDeleteTransactionTagsParamsWithTimeout creates a new DeleteTransactionTagsParams object with the ability to set a timeout on a request.
func (*DeleteTransactionTagsParams) SetContext ¶
func (o *DeleteTransactionTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete transaction tags params
func (*DeleteTransactionTagsParams) SetDefaults ¶
func (o *DeleteTransactionTagsParams) SetDefaults()
SetDefaults hydrates default values in the delete transaction tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTransactionTagsParams) SetHTTPClient ¶
func (o *DeleteTransactionTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete transaction tags params
func (*DeleteTransactionTagsParams) SetTagDef ¶
func (o *DeleteTransactionTagsParams) SetTagDef(tagDef []strfmt.UUID)
SetTagDef adds the tagDef to the delete transaction tags params
func (*DeleteTransactionTagsParams) SetTimeout ¶
func (o *DeleteTransactionTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete transaction tags params
func (*DeleteTransactionTagsParams) SetTransactionID ¶
func (o *DeleteTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the delete transaction tags params
func (*DeleteTransactionTagsParams) SetXKillbillComment ¶
func (o *DeleteTransactionTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete transaction tags params
func (*DeleteTransactionTagsParams) SetXKillbillCreatedBy ¶
func (o *DeleteTransactionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete transaction tags params
func (*DeleteTransactionTagsParams) SetXKillbillReason ¶
func (o *DeleteTransactionTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete transaction tags params
func (*DeleteTransactionTagsParams) WithContext ¶
func (o *DeleteTransactionTagsParams) WithContext(ctx context.Context) *DeleteTransactionTagsParams
WithContext adds the context to the delete transaction tags params
func (*DeleteTransactionTagsParams) WithDefaults ¶
func (o *DeleteTransactionTagsParams) WithDefaults() *DeleteTransactionTagsParams
WithDefaults hydrates default values in the delete transaction tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTransactionTagsParams) WithHTTPClient ¶
func (o *DeleteTransactionTagsParams) WithHTTPClient(client *http.Client) *DeleteTransactionTagsParams
WithHTTPClient adds the HTTPClient to the delete transaction tags params
func (*DeleteTransactionTagsParams) WithTagDef ¶
func (o *DeleteTransactionTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteTransactionTagsParams
WithTagDef adds the tagDef to the delete transaction tags params
func (*DeleteTransactionTagsParams) WithTimeout ¶
func (o *DeleteTransactionTagsParams) WithTimeout(timeout time.Duration) *DeleteTransactionTagsParams
WithTimeout adds the timeout to the delete transaction tags params
func (*DeleteTransactionTagsParams) WithTransactionID ¶
func (o *DeleteTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *DeleteTransactionTagsParams
WithTransactionID adds the transactionID to the delete transaction tags params
func (*DeleteTransactionTagsParams) WithXKillbillComment ¶
func (o *DeleteTransactionTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteTransactionTagsParams
WithXKillbillComment adds the xKillbillComment to the delete transaction tags params
func (*DeleteTransactionTagsParams) WithXKillbillCreatedBy ¶
func (o *DeleteTransactionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteTransactionTagsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete transaction tags params
func (*DeleteTransactionTagsParams) WithXKillbillReason ¶
func (o *DeleteTransactionTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteTransactionTagsParams
WithXKillbillReason adds the xKillbillReason to the delete transaction tags params
func (*DeleteTransactionTagsParams) WriteToRequest ¶
func (o *DeleteTransactionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTransactionTagsReader ¶
type DeleteTransactionTagsReader struct {
// contains filtered or unexported fields
}
DeleteTransactionTagsReader is a Reader for the DeleteTransactionTags structure.
func (*DeleteTransactionTagsReader) ReadResponse ¶
func (o *DeleteTransactionTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentByTransactionExternalKeyNotFound ¶
type GetPaymentByTransactionExternalKeyNotFound struct {
HttpResponse runtime.ClientResponse
}
GetPaymentByTransactionExternalKeyNotFound describes a response with status code 404, with default header values.
Payment not found
func NewGetPaymentByTransactionExternalKeyNotFound ¶
func NewGetPaymentByTransactionExternalKeyNotFound() *GetPaymentByTransactionExternalKeyNotFound
NewGetPaymentByTransactionExternalKeyNotFound creates a GetPaymentByTransactionExternalKeyNotFound with default headers values
func (*GetPaymentByTransactionExternalKeyNotFound) Code ¶
func (o *GetPaymentByTransactionExternalKeyNotFound) Code() int
Code gets the status code for the get payment by transaction external key not found response
func (*GetPaymentByTransactionExternalKeyNotFound) Error ¶
func (o *GetPaymentByTransactionExternalKeyNotFound) Error() string
func (*GetPaymentByTransactionExternalKeyNotFound) IsClientError ¶
func (o *GetPaymentByTransactionExternalKeyNotFound) IsClientError() bool
IsClientError returns true when this get payment by transaction external key not found response has a 4xx status code
func (*GetPaymentByTransactionExternalKeyNotFound) IsCode ¶
func (o *GetPaymentByTransactionExternalKeyNotFound) IsCode(code int) bool
IsCode returns true when this get payment by transaction external key not found response a status code equal to that given
func (*GetPaymentByTransactionExternalKeyNotFound) IsRedirect ¶
func (o *GetPaymentByTransactionExternalKeyNotFound) IsRedirect() bool
IsRedirect returns true when this get payment by transaction external key not found response has a 3xx status code
func (*GetPaymentByTransactionExternalKeyNotFound) IsServerError ¶
func (o *GetPaymentByTransactionExternalKeyNotFound) IsServerError() bool
IsServerError returns true when this get payment by transaction external key not found response has a 5xx status code
func (*GetPaymentByTransactionExternalKeyNotFound) IsSuccess ¶
func (o *GetPaymentByTransactionExternalKeyNotFound) IsSuccess() bool
IsSuccess returns true when this get payment by transaction external key not found response has a 2xx status code
func (*GetPaymentByTransactionExternalKeyNotFound) String ¶
func (o *GetPaymentByTransactionExternalKeyNotFound) String() string
type GetPaymentByTransactionExternalKeyOK ¶
type GetPaymentByTransactionExternalKeyOK struct { Payload *kbmodel.Payment HttpResponse runtime.ClientResponse }
GetPaymentByTransactionExternalKeyOK describes a response with status code 200, with default header values.
successful operation
func NewGetPaymentByTransactionExternalKeyOK ¶
func NewGetPaymentByTransactionExternalKeyOK() *GetPaymentByTransactionExternalKeyOK
NewGetPaymentByTransactionExternalKeyOK creates a GetPaymentByTransactionExternalKeyOK with default headers values
func (*GetPaymentByTransactionExternalKeyOK) Code ¶
func (o *GetPaymentByTransactionExternalKeyOK) Code() int
Code gets the status code for the get payment by transaction external key o k response
func (*GetPaymentByTransactionExternalKeyOK) Error ¶
func (o *GetPaymentByTransactionExternalKeyOK) Error() string
func (*GetPaymentByTransactionExternalKeyOK) GetPayload ¶
func (o *GetPaymentByTransactionExternalKeyOK) GetPayload() *kbmodel.Payment
func (*GetPaymentByTransactionExternalKeyOK) IsClientError ¶
func (o *GetPaymentByTransactionExternalKeyOK) IsClientError() bool
IsClientError returns true when this get payment by transaction external key o k response has a 4xx status code
func (*GetPaymentByTransactionExternalKeyOK) IsCode ¶
func (o *GetPaymentByTransactionExternalKeyOK) IsCode(code int) bool
IsCode returns true when this get payment by transaction external key o k response a status code equal to that given
func (*GetPaymentByTransactionExternalKeyOK) IsRedirect ¶
func (o *GetPaymentByTransactionExternalKeyOK) IsRedirect() bool
IsRedirect returns true when this get payment by transaction external key o k response has a 3xx status code
func (*GetPaymentByTransactionExternalKeyOK) IsServerError ¶
func (o *GetPaymentByTransactionExternalKeyOK) IsServerError() bool
IsServerError returns true when this get payment by transaction external key o k response has a 5xx status code
func (*GetPaymentByTransactionExternalKeyOK) IsSuccess ¶
func (o *GetPaymentByTransactionExternalKeyOK) IsSuccess() bool
IsSuccess returns true when this get payment by transaction external key o k response has a 2xx status code
func (*GetPaymentByTransactionExternalKeyOK) String ¶
func (o *GetPaymentByTransactionExternalKeyOK) String() string
type GetPaymentByTransactionExternalKeyParams ¶
type GetPaymentByTransactionExternalKeyParams struct { // Audit. // // Default: "NONE" Audit *string // PluginProperty. PluginProperty []string // TransactionExternalKey. TransactionExternalKey string // WithAttempts. WithAttempts *bool // 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 }
GetPaymentByTransactionExternalKeyParams contains all the parameters to send to the API endpoint
for the get payment by transaction external key operation. Typically these are written to a http.Request.
func NewGetPaymentByTransactionExternalKeyParams ¶
func NewGetPaymentByTransactionExternalKeyParams() *GetPaymentByTransactionExternalKeyParams
NewGetPaymentByTransactionExternalKeyParams creates a new GetPaymentByTransactionExternalKeyParams 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 NewGetPaymentByTransactionExternalKeyParamsWithContext ¶
func NewGetPaymentByTransactionExternalKeyParamsWithContext(ctx context.Context) *GetPaymentByTransactionExternalKeyParams
NewGetPaymentByTransactionExternalKeyParamsWithContext creates a new GetPaymentByTransactionExternalKeyParams object with the ability to set a context for a request.
func NewGetPaymentByTransactionExternalKeyParamsWithHTTPClient ¶
func NewGetPaymentByTransactionExternalKeyParamsWithHTTPClient(client *http.Client) *GetPaymentByTransactionExternalKeyParams
NewGetPaymentByTransactionExternalKeyParamsWithHTTPClient creates a new GetPaymentByTransactionExternalKeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetPaymentByTransactionExternalKeyParamsWithTimeout ¶
func NewGetPaymentByTransactionExternalKeyParamsWithTimeout(timeout time.Duration) *GetPaymentByTransactionExternalKeyParams
NewGetPaymentByTransactionExternalKeyParamsWithTimeout creates a new GetPaymentByTransactionExternalKeyParams object with the ability to set a timeout on a request.
func (*GetPaymentByTransactionExternalKeyParams) SetAudit ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) SetContext ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) SetDefaults ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetDefaults()
SetDefaults hydrates default values in the get payment by transaction external key params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentByTransactionExternalKeyParams) SetHTTPClient ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) SetPluginProperty ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) SetTimeout ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) SetTransactionExternalKey ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetTransactionExternalKey(transactionExternalKey string)
SetTransactionExternalKey adds the transactionExternalKey to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) SetWithAttempts ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetWithAttempts(withAttempts *bool)
SetWithAttempts adds the withAttempts to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) SetWithPluginInfo ¶
func (o *GetPaymentByTransactionExternalKeyParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WithAudit ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithAudit(audit *string) *GetPaymentByTransactionExternalKeyParams
WithAudit adds the audit to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WithContext ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithContext(ctx context.Context) *GetPaymentByTransactionExternalKeyParams
WithContext adds the context to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WithDefaults ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithDefaults() *GetPaymentByTransactionExternalKeyParams
WithDefaults hydrates default values in the get payment by transaction external key params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentByTransactionExternalKeyParams) WithHTTPClient ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithHTTPClient(client *http.Client) *GetPaymentByTransactionExternalKeyParams
WithHTTPClient adds the HTTPClient to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WithPluginProperty ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithPluginProperty(pluginProperty []string) *GetPaymentByTransactionExternalKeyParams
WithPluginProperty adds the pluginProperty to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WithTimeout ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithTimeout(timeout time.Duration) *GetPaymentByTransactionExternalKeyParams
WithTimeout adds the timeout to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WithTransactionExternalKey ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithTransactionExternalKey(transactionExternalKey string) *GetPaymentByTransactionExternalKeyParams
WithTransactionExternalKey adds the transactionExternalKey to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WithWithAttempts ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithWithAttempts(withAttempts *bool) *GetPaymentByTransactionExternalKeyParams
WithWithAttempts adds the withAttempts to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WithWithPluginInfo ¶
func (o *GetPaymentByTransactionExternalKeyParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentByTransactionExternalKeyParams
WithWithPluginInfo adds the withPluginInfo to the get payment by transaction external key params
func (*GetPaymentByTransactionExternalKeyParams) WriteToRequest ¶
func (o *GetPaymentByTransactionExternalKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentByTransactionExternalKeyReader ¶
type GetPaymentByTransactionExternalKeyReader struct {
// contains filtered or unexported fields
}
GetPaymentByTransactionExternalKeyReader is a Reader for the GetPaymentByTransactionExternalKey structure.
func (*GetPaymentByTransactionExternalKeyReader) ReadResponse ¶
func (o *GetPaymentByTransactionExternalKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPaymentByTransactionIDNotFound ¶
type GetPaymentByTransactionIDNotFound struct {
HttpResponse runtime.ClientResponse
}
GetPaymentByTransactionIDNotFound describes a response with status code 404, with default header values.
Payment not found
func NewGetPaymentByTransactionIDNotFound ¶
func NewGetPaymentByTransactionIDNotFound() *GetPaymentByTransactionIDNotFound
NewGetPaymentByTransactionIDNotFound creates a GetPaymentByTransactionIDNotFound with default headers values
func (*GetPaymentByTransactionIDNotFound) Code ¶
func (o *GetPaymentByTransactionIDNotFound) Code() int
Code gets the status code for the get payment by transaction Id not found response
func (*GetPaymentByTransactionIDNotFound) Error ¶
func (o *GetPaymentByTransactionIDNotFound) Error() string
func (*GetPaymentByTransactionIDNotFound) IsClientError ¶
func (o *GetPaymentByTransactionIDNotFound) IsClientError() bool
IsClientError returns true when this get payment by transaction Id not found response has a 4xx status code
func (*GetPaymentByTransactionIDNotFound) IsCode ¶
func (o *GetPaymentByTransactionIDNotFound) IsCode(code int) bool
IsCode returns true when this get payment by transaction Id not found response a status code equal to that given
func (*GetPaymentByTransactionIDNotFound) IsRedirect ¶
func (o *GetPaymentByTransactionIDNotFound) IsRedirect() bool
IsRedirect returns true when this get payment by transaction Id not found response has a 3xx status code
func (*GetPaymentByTransactionIDNotFound) IsServerError ¶
func (o *GetPaymentByTransactionIDNotFound) IsServerError() bool
IsServerError returns true when this get payment by transaction Id not found response has a 5xx status code
func (*GetPaymentByTransactionIDNotFound) IsSuccess ¶
func (o *GetPaymentByTransactionIDNotFound) IsSuccess() bool
IsSuccess returns true when this get payment by transaction Id not found response has a 2xx status code
func (*GetPaymentByTransactionIDNotFound) String ¶
func (o *GetPaymentByTransactionIDNotFound) String() string
type GetPaymentByTransactionIDOK ¶
type GetPaymentByTransactionIDOK struct { Payload *kbmodel.Payment HttpResponse runtime.ClientResponse }
GetPaymentByTransactionIDOK describes a response with status code 200, with default header values.
successful operation
func NewGetPaymentByTransactionIDOK ¶
func NewGetPaymentByTransactionIDOK() *GetPaymentByTransactionIDOK
NewGetPaymentByTransactionIDOK creates a GetPaymentByTransactionIDOK with default headers values
func (*GetPaymentByTransactionIDOK) Code ¶
func (o *GetPaymentByTransactionIDOK) Code() int
Code gets the status code for the get payment by transaction Id o k response
func (*GetPaymentByTransactionIDOK) Error ¶
func (o *GetPaymentByTransactionIDOK) Error() string
func (*GetPaymentByTransactionIDOK) GetPayload ¶
func (o *GetPaymentByTransactionIDOK) GetPayload() *kbmodel.Payment
func (*GetPaymentByTransactionIDOK) IsClientError ¶
func (o *GetPaymentByTransactionIDOK) IsClientError() bool
IsClientError returns true when this get payment by transaction Id o k response has a 4xx status code
func (*GetPaymentByTransactionIDOK) IsCode ¶
func (o *GetPaymentByTransactionIDOK) IsCode(code int) bool
IsCode returns true when this get payment by transaction Id o k response a status code equal to that given
func (*GetPaymentByTransactionIDOK) IsRedirect ¶
func (o *GetPaymentByTransactionIDOK) IsRedirect() bool
IsRedirect returns true when this get payment by transaction Id o k response has a 3xx status code
func (*GetPaymentByTransactionIDOK) IsServerError ¶
func (o *GetPaymentByTransactionIDOK) IsServerError() bool
IsServerError returns true when this get payment by transaction Id o k response has a 5xx status code
func (*GetPaymentByTransactionIDOK) IsSuccess ¶
func (o *GetPaymentByTransactionIDOK) IsSuccess() bool
IsSuccess returns true when this get payment by transaction Id o k response has a 2xx status code
func (*GetPaymentByTransactionIDOK) String ¶
func (o *GetPaymentByTransactionIDOK) String() string
type GetPaymentByTransactionIDParams ¶
type GetPaymentByTransactionIDParams struct { // Audit. // // Default: "NONE" Audit *string // PluginProperty. PluginProperty []string // TransactionID. // // Format: uuid TransactionID strfmt.UUID // WithAttempts. WithAttempts *bool // 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 }
GetPaymentByTransactionIDParams contains all the parameters to send to the API endpoint
for the get payment by transaction Id operation. Typically these are written to a http.Request.
func NewGetPaymentByTransactionIDParams ¶
func NewGetPaymentByTransactionIDParams() *GetPaymentByTransactionIDParams
NewGetPaymentByTransactionIDParams creates a new GetPaymentByTransactionIDParams 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 NewGetPaymentByTransactionIDParamsWithContext ¶
func NewGetPaymentByTransactionIDParamsWithContext(ctx context.Context) *GetPaymentByTransactionIDParams
NewGetPaymentByTransactionIDParamsWithContext creates a new GetPaymentByTransactionIDParams object with the ability to set a context for a request.
func NewGetPaymentByTransactionIDParamsWithHTTPClient ¶
func NewGetPaymentByTransactionIDParamsWithHTTPClient(client *http.Client) *GetPaymentByTransactionIDParams
NewGetPaymentByTransactionIDParamsWithHTTPClient creates a new GetPaymentByTransactionIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetPaymentByTransactionIDParamsWithTimeout ¶
func NewGetPaymentByTransactionIDParamsWithTimeout(timeout time.Duration) *GetPaymentByTransactionIDParams
NewGetPaymentByTransactionIDParamsWithTimeout creates a new GetPaymentByTransactionIDParams object with the ability to set a timeout on a request.
func (*GetPaymentByTransactionIDParams) SetAudit ¶
func (o *GetPaymentByTransactionIDParams) SetAudit(audit *string)
SetAudit adds the audit to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) SetContext ¶
func (o *GetPaymentByTransactionIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) SetDefaults ¶
func (o *GetPaymentByTransactionIDParams) SetDefaults()
SetDefaults hydrates default values in the get payment by transaction Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentByTransactionIDParams) SetHTTPClient ¶
func (o *GetPaymentByTransactionIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) SetPluginProperty ¶
func (o *GetPaymentByTransactionIDParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) SetTimeout ¶
func (o *GetPaymentByTransactionIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) SetTransactionID ¶
func (o *GetPaymentByTransactionIDParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) SetWithAttempts ¶
func (o *GetPaymentByTransactionIDParams) SetWithAttempts(withAttempts *bool)
SetWithAttempts adds the withAttempts to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) SetWithPluginInfo ¶
func (o *GetPaymentByTransactionIDParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WithAudit ¶
func (o *GetPaymentByTransactionIDParams) WithAudit(audit *string) *GetPaymentByTransactionIDParams
WithAudit adds the audit to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WithContext ¶
func (o *GetPaymentByTransactionIDParams) WithContext(ctx context.Context) *GetPaymentByTransactionIDParams
WithContext adds the context to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WithDefaults ¶
func (o *GetPaymentByTransactionIDParams) WithDefaults() *GetPaymentByTransactionIDParams
WithDefaults hydrates default values in the get payment by transaction Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetPaymentByTransactionIDParams) WithHTTPClient ¶
func (o *GetPaymentByTransactionIDParams) WithHTTPClient(client *http.Client) *GetPaymentByTransactionIDParams
WithHTTPClient adds the HTTPClient to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WithPluginProperty ¶
func (o *GetPaymentByTransactionIDParams) WithPluginProperty(pluginProperty []string) *GetPaymentByTransactionIDParams
WithPluginProperty adds the pluginProperty to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WithTimeout ¶
func (o *GetPaymentByTransactionIDParams) WithTimeout(timeout time.Duration) *GetPaymentByTransactionIDParams
WithTimeout adds the timeout to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WithTransactionID ¶
func (o *GetPaymentByTransactionIDParams) WithTransactionID(transactionID strfmt.UUID) *GetPaymentByTransactionIDParams
WithTransactionID adds the transactionID to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WithWithAttempts ¶
func (o *GetPaymentByTransactionIDParams) WithWithAttempts(withAttempts *bool) *GetPaymentByTransactionIDParams
WithWithAttempts adds the withAttempts to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WithWithPluginInfo ¶
func (o *GetPaymentByTransactionIDParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentByTransactionIDParams
WithWithPluginInfo adds the withPluginInfo to the get payment by transaction Id params
func (*GetPaymentByTransactionIDParams) WriteToRequest ¶
func (o *GetPaymentByTransactionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPaymentByTransactionIDReader ¶
type GetPaymentByTransactionIDReader struct {
// contains filtered or unexported fields
}
GetPaymentByTransactionIDReader is a Reader for the GetPaymentByTransactionID structure.
func (*GetPaymentByTransactionIDReader) ReadResponse ¶
func (o *GetPaymentByTransactionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTransactionAuditLogsWithHistoryNotFound ¶
type GetTransactionAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetTransactionAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Account not found
func NewGetTransactionAuditLogsWithHistoryNotFound ¶
func NewGetTransactionAuditLogsWithHistoryNotFound() *GetTransactionAuditLogsWithHistoryNotFound
NewGetTransactionAuditLogsWithHistoryNotFound creates a GetTransactionAuditLogsWithHistoryNotFound with default headers values
func (*GetTransactionAuditLogsWithHistoryNotFound) Code ¶
func (o *GetTransactionAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get transaction audit logs with history not found response
func (*GetTransactionAuditLogsWithHistoryNotFound) Error ¶
func (o *GetTransactionAuditLogsWithHistoryNotFound) Error() string
func (*GetTransactionAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetTransactionAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get transaction audit logs with history not found response has a 4xx status code
func (*GetTransactionAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetTransactionAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get transaction audit logs with history not found response a status code equal to that given
func (*GetTransactionAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetTransactionAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get transaction audit logs with history not found response has a 3xx status code
func (*GetTransactionAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetTransactionAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get transaction audit logs with history not found response has a 5xx status code
func (*GetTransactionAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetTransactionAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get transaction audit logs with history not found response has a 2xx status code
func (*GetTransactionAuditLogsWithHistoryNotFound) String ¶
func (o *GetTransactionAuditLogsWithHistoryNotFound) String() string
type GetTransactionAuditLogsWithHistoryOK ¶
type GetTransactionAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetTransactionAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetTransactionAuditLogsWithHistoryOK ¶
func NewGetTransactionAuditLogsWithHistoryOK() *GetTransactionAuditLogsWithHistoryOK
NewGetTransactionAuditLogsWithHistoryOK creates a GetTransactionAuditLogsWithHistoryOK with default headers values
func (*GetTransactionAuditLogsWithHistoryOK) Code ¶
func (o *GetTransactionAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get transaction audit logs with history o k response
func (*GetTransactionAuditLogsWithHistoryOK) Error ¶
func (o *GetTransactionAuditLogsWithHistoryOK) Error() string
func (*GetTransactionAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetTransactionAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetTransactionAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetTransactionAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get transaction audit logs with history o k response has a 4xx status code
func (*GetTransactionAuditLogsWithHistoryOK) IsCode ¶
func (o *GetTransactionAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get transaction audit logs with history o k response a status code equal to that given
func (*GetTransactionAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetTransactionAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get transaction audit logs with history o k response has a 3xx status code
func (*GetTransactionAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetTransactionAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get transaction audit logs with history o k response has a 5xx status code
func (*GetTransactionAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetTransactionAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get transaction audit logs with history o k response has a 2xx status code
func (*GetTransactionAuditLogsWithHistoryOK) String ¶
func (o *GetTransactionAuditLogsWithHistoryOK) String() string
type GetTransactionAuditLogsWithHistoryParams ¶
type GetTransactionAuditLogsWithHistoryParams struct { // TransactionID. // // Format: uuid TransactionID 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 }
GetTransactionAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get transaction audit logs with history operation. Typically these are written to a http.Request.
func NewGetTransactionAuditLogsWithHistoryParams ¶
func NewGetTransactionAuditLogsWithHistoryParams() *GetTransactionAuditLogsWithHistoryParams
NewGetTransactionAuditLogsWithHistoryParams creates a new GetTransactionAuditLogsWithHistoryParams 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 NewGetTransactionAuditLogsWithHistoryParamsWithContext ¶
func NewGetTransactionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTransactionAuditLogsWithHistoryParams
NewGetTransactionAuditLogsWithHistoryParamsWithContext creates a new GetTransactionAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetTransactionAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetTransactionAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetTransactionAuditLogsWithHistoryParams
NewGetTransactionAuditLogsWithHistoryParamsWithHTTPClient creates a new GetTransactionAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetTransactionAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetTransactionAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetTransactionAuditLogsWithHistoryParams
NewGetTransactionAuditLogsWithHistoryParamsWithTimeout creates a new GetTransactionAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetTransactionAuditLogsWithHistoryParams) SetContext ¶
func (o *GetTransactionAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get transaction audit logs with history params
func (*GetTransactionAuditLogsWithHistoryParams) SetDefaults ¶
func (o *GetTransactionAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get transaction audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetTransactionAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetTransactionAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get transaction audit logs with history params
func (*GetTransactionAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetTransactionAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get transaction audit logs with history params
func (*GetTransactionAuditLogsWithHistoryParams) SetTransactionID ¶
func (o *GetTransactionAuditLogsWithHistoryParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the get transaction audit logs with history params
func (*GetTransactionAuditLogsWithHistoryParams) WithContext ¶
func (o *GetTransactionAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetTransactionAuditLogsWithHistoryParams
WithContext adds the context to the get transaction audit logs with history params
func (*GetTransactionAuditLogsWithHistoryParams) WithDefaults ¶
func (o *GetTransactionAuditLogsWithHistoryParams) WithDefaults() *GetTransactionAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get transaction audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetTransactionAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetTransactionAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetTransactionAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get transaction audit logs with history params
func (*GetTransactionAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetTransactionAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetTransactionAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get transaction audit logs with history params
func (*GetTransactionAuditLogsWithHistoryParams) WithTransactionID ¶
func (o *GetTransactionAuditLogsWithHistoryParams) WithTransactionID(transactionID strfmt.UUID) *GetTransactionAuditLogsWithHistoryParams
WithTransactionID adds the transactionID to the get transaction audit logs with history params
func (*GetTransactionAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetTransactionAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTransactionAuditLogsWithHistoryReader ¶
type GetTransactionAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetTransactionAuditLogsWithHistoryReader is a Reader for the GetTransactionAuditLogsWithHistory structure.
func (*GetTransactionAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetTransactionAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTransactionCustomFieldsBadRequest ¶
type GetTransactionCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetTransactionCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid transaction id supplied
func NewGetTransactionCustomFieldsBadRequest ¶
func NewGetTransactionCustomFieldsBadRequest() *GetTransactionCustomFieldsBadRequest
NewGetTransactionCustomFieldsBadRequest creates a GetTransactionCustomFieldsBadRequest with default headers values
func (*GetTransactionCustomFieldsBadRequest) Code ¶
func (o *GetTransactionCustomFieldsBadRequest) Code() int
Code gets the status code for the get transaction custom fields bad request response
func (*GetTransactionCustomFieldsBadRequest) Error ¶
func (o *GetTransactionCustomFieldsBadRequest) Error() string
func (*GetTransactionCustomFieldsBadRequest) IsClientError ¶
func (o *GetTransactionCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this get transaction custom fields bad request response has a 4xx status code
func (*GetTransactionCustomFieldsBadRequest) IsCode ¶
func (o *GetTransactionCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this get transaction custom fields bad request response a status code equal to that given
func (*GetTransactionCustomFieldsBadRequest) IsRedirect ¶
func (o *GetTransactionCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this get transaction custom fields bad request response has a 3xx status code
func (*GetTransactionCustomFieldsBadRequest) IsServerError ¶
func (o *GetTransactionCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this get transaction custom fields bad request response has a 5xx status code
func (*GetTransactionCustomFieldsBadRequest) IsSuccess ¶
func (o *GetTransactionCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this get transaction custom fields bad request response has a 2xx status code
func (*GetTransactionCustomFieldsBadRequest) String ¶
func (o *GetTransactionCustomFieldsBadRequest) String() string
type GetTransactionCustomFieldsOK ¶
type GetTransactionCustomFieldsOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
GetTransactionCustomFieldsOK describes a response with status code 200, with default header values.
successful operation
func NewGetTransactionCustomFieldsOK ¶
func NewGetTransactionCustomFieldsOK() *GetTransactionCustomFieldsOK
NewGetTransactionCustomFieldsOK creates a GetTransactionCustomFieldsOK with default headers values
func (*GetTransactionCustomFieldsOK) Code ¶
func (o *GetTransactionCustomFieldsOK) Code() int
Code gets the status code for the get transaction custom fields o k response
func (*GetTransactionCustomFieldsOK) Error ¶
func (o *GetTransactionCustomFieldsOK) Error() string
func (*GetTransactionCustomFieldsOK) GetPayload ¶
func (o *GetTransactionCustomFieldsOK) GetPayload() []*kbmodel.CustomField
func (*GetTransactionCustomFieldsOK) IsClientError ¶
func (o *GetTransactionCustomFieldsOK) IsClientError() bool
IsClientError returns true when this get transaction custom fields o k response has a 4xx status code
func (*GetTransactionCustomFieldsOK) IsCode ¶
func (o *GetTransactionCustomFieldsOK) IsCode(code int) bool
IsCode returns true when this get transaction custom fields o k response a status code equal to that given
func (*GetTransactionCustomFieldsOK) IsRedirect ¶
func (o *GetTransactionCustomFieldsOK) IsRedirect() bool
IsRedirect returns true when this get transaction custom fields o k response has a 3xx status code
func (*GetTransactionCustomFieldsOK) IsServerError ¶
func (o *GetTransactionCustomFieldsOK) IsServerError() bool
IsServerError returns true when this get transaction custom fields o k response has a 5xx status code
func (*GetTransactionCustomFieldsOK) IsSuccess ¶
func (o *GetTransactionCustomFieldsOK) IsSuccess() bool
IsSuccess returns true when this get transaction custom fields o k response has a 2xx status code
func (*GetTransactionCustomFieldsOK) String ¶
func (o *GetTransactionCustomFieldsOK) String() string
type GetTransactionCustomFieldsParams ¶
type GetTransactionCustomFieldsParams struct { // Audit. // // Default: "NONE" Audit *string // TransactionID. // // Format: uuid TransactionID 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 }
GetTransactionCustomFieldsParams contains all the parameters to send to the API endpoint
for the get transaction custom fields operation. Typically these are written to a http.Request.
func NewGetTransactionCustomFieldsParams ¶
func NewGetTransactionCustomFieldsParams() *GetTransactionCustomFieldsParams
NewGetTransactionCustomFieldsParams creates a new GetTransactionCustomFieldsParams 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 NewGetTransactionCustomFieldsParamsWithContext ¶
func NewGetTransactionCustomFieldsParamsWithContext(ctx context.Context) *GetTransactionCustomFieldsParams
NewGetTransactionCustomFieldsParamsWithContext creates a new GetTransactionCustomFieldsParams object with the ability to set a context for a request.
func NewGetTransactionCustomFieldsParamsWithHTTPClient ¶
func NewGetTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *GetTransactionCustomFieldsParams
NewGetTransactionCustomFieldsParamsWithHTTPClient creates a new GetTransactionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewGetTransactionCustomFieldsParamsWithTimeout ¶
func NewGetTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *GetTransactionCustomFieldsParams
NewGetTransactionCustomFieldsParamsWithTimeout creates a new GetTransactionCustomFieldsParams object with the ability to set a timeout on a request.
func (*GetTransactionCustomFieldsParams) SetAudit ¶
func (o *GetTransactionCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) SetContext ¶
func (o *GetTransactionCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) SetDefaults ¶
func (o *GetTransactionCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the get transaction custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetTransactionCustomFieldsParams) SetHTTPClient ¶
func (o *GetTransactionCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) SetTimeout ¶
func (o *GetTransactionCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) SetTransactionID ¶
func (o *GetTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) WithAudit ¶
func (o *GetTransactionCustomFieldsParams) WithAudit(audit *string) *GetTransactionCustomFieldsParams
WithAudit adds the audit to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) WithContext ¶
func (o *GetTransactionCustomFieldsParams) WithContext(ctx context.Context) *GetTransactionCustomFieldsParams
WithContext adds the context to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) WithDefaults ¶
func (o *GetTransactionCustomFieldsParams) WithDefaults() *GetTransactionCustomFieldsParams
WithDefaults hydrates default values in the get transaction custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetTransactionCustomFieldsParams) WithHTTPClient ¶
func (o *GetTransactionCustomFieldsParams) WithHTTPClient(client *http.Client) *GetTransactionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) WithTimeout ¶
func (o *GetTransactionCustomFieldsParams) WithTimeout(timeout time.Duration) *GetTransactionCustomFieldsParams
WithTimeout adds the timeout to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) WithTransactionID ¶
func (o *GetTransactionCustomFieldsParams) WithTransactionID(transactionID strfmt.UUID) *GetTransactionCustomFieldsParams
WithTransactionID adds the transactionID to the get transaction custom fields params
func (*GetTransactionCustomFieldsParams) WriteToRequest ¶
func (o *GetTransactionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTransactionCustomFieldsReader ¶
type GetTransactionCustomFieldsReader struct {
// contains filtered or unexported fields
}
GetTransactionCustomFieldsReader is a Reader for the GetTransactionCustomFields structure.
func (*GetTransactionCustomFieldsReader) ReadResponse ¶
func (o *GetTransactionCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTransactionTagsBadRequest ¶
type GetTransactionTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetTransactionTagsBadRequest describes a response with status code 400, with default header values.
Invalid transaction id supplied
func NewGetTransactionTagsBadRequest ¶
func NewGetTransactionTagsBadRequest() *GetTransactionTagsBadRequest
NewGetTransactionTagsBadRequest creates a GetTransactionTagsBadRequest with default headers values
func (*GetTransactionTagsBadRequest) Code ¶
func (o *GetTransactionTagsBadRequest) Code() int
Code gets the status code for the get transaction tags bad request response
func (*GetTransactionTagsBadRequest) Error ¶
func (o *GetTransactionTagsBadRequest) Error() string
func (*GetTransactionTagsBadRequest) IsClientError ¶
func (o *GetTransactionTagsBadRequest) IsClientError() bool
IsClientError returns true when this get transaction tags bad request response has a 4xx status code
func (*GetTransactionTagsBadRequest) IsCode ¶
func (o *GetTransactionTagsBadRequest) IsCode(code int) bool
IsCode returns true when this get transaction tags bad request response a status code equal to that given
func (*GetTransactionTagsBadRequest) IsRedirect ¶
func (o *GetTransactionTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this get transaction tags bad request response has a 3xx status code
func (*GetTransactionTagsBadRequest) IsServerError ¶
func (o *GetTransactionTagsBadRequest) IsServerError() bool
IsServerError returns true when this get transaction tags bad request response has a 5xx status code
func (*GetTransactionTagsBadRequest) IsSuccess ¶
func (o *GetTransactionTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this get transaction tags bad request response has a 2xx status code
func (*GetTransactionTagsBadRequest) String ¶
func (o *GetTransactionTagsBadRequest) String() string
type GetTransactionTagsNotFound ¶
type GetTransactionTagsNotFound struct {
HttpResponse runtime.ClientResponse
}
GetTransactionTagsNotFound describes a response with status code 404, with default header values.
Invoice not found
func NewGetTransactionTagsNotFound ¶
func NewGetTransactionTagsNotFound() *GetTransactionTagsNotFound
NewGetTransactionTagsNotFound creates a GetTransactionTagsNotFound with default headers values
func (*GetTransactionTagsNotFound) Code ¶
func (o *GetTransactionTagsNotFound) Code() int
Code gets the status code for the get transaction tags not found response
func (*GetTransactionTagsNotFound) Error ¶
func (o *GetTransactionTagsNotFound) Error() string
func (*GetTransactionTagsNotFound) IsClientError ¶
func (o *GetTransactionTagsNotFound) IsClientError() bool
IsClientError returns true when this get transaction tags not found response has a 4xx status code
func (*GetTransactionTagsNotFound) IsCode ¶
func (o *GetTransactionTagsNotFound) IsCode(code int) bool
IsCode returns true when this get transaction tags not found response a status code equal to that given
func (*GetTransactionTagsNotFound) IsRedirect ¶
func (o *GetTransactionTagsNotFound) IsRedirect() bool
IsRedirect returns true when this get transaction tags not found response has a 3xx status code
func (*GetTransactionTagsNotFound) IsServerError ¶
func (o *GetTransactionTagsNotFound) IsServerError() bool
IsServerError returns true when this get transaction tags not found response has a 5xx status code
func (*GetTransactionTagsNotFound) IsSuccess ¶
func (o *GetTransactionTagsNotFound) IsSuccess() bool
IsSuccess returns true when this get transaction tags not found response has a 2xx status code
func (*GetTransactionTagsNotFound) String ¶
func (o *GetTransactionTagsNotFound) String() string
type GetTransactionTagsOK ¶
type GetTransactionTagsOK struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
GetTransactionTagsOK describes a response with status code 200, with default header values.
successful operation
func NewGetTransactionTagsOK ¶
func NewGetTransactionTagsOK() *GetTransactionTagsOK
NewGetTransactionTagsOK creates a GetTransactionTagsOK with default headers values
func (*GetTransactionTagsOK) Code ¶
func (o *GetTransactionTagsOK) Code() int
Code gets the status code for the get transaction tags o k response
func (*GetTransactionTagsOK) Error ¶
func (o *GetTransactionTagsOK) Error() string
func (*GetTransactionTagsOK) GetPayload ¶
func (o *GetTransactionTagsOK) GetPayload() []*kbmodel.Tag
func (*GetTransactionTagsOK) IsClientError ¶
func (o *GetTransactionTagsOK) IsClientError() bool
IsClientError returns true when this get transaction tags o k response has a 4xx status code
func (*GetTransactionTagsOK) IsCode ¶
func (o *GetTransactionTagsOK) IsCode(code int) bool
IsCode returns true when this get transaction tags o k response a status code equal to that given
func (*GetTransactionTagsOK) IsRedirect ¶
func (o *GetTransactionTagsOK) IsRedirect() bool
IsRedirect returns true when this get transaction tags o k response has a 3xx status code
func (*GetTransactionTagsOK) IsServerError ¶
func (o *GetTransactionTagsOK) IsServerError() bool
IsServerError returns true when this get transaction tags o k response has a 5xx status code
func (*GetTransactionTagsOK) IsSuccess ¶
func (o *GetTransactionTagsOK) IsSuccess() bool
IsSuccess returns true when this get transaction tags o k response has a 2xx status code
func (*GetTransactionTagsOK) String ¶
func (o *GetTransactionTagsOK) String() string
type GetTransactionTagsParams ¶
type GetTransactionTagsParams struct { // Audit. // // Default: "NONE" Audit *string // IncludedDeleted. IncludedDeleted *bool // TransactionID. // // Format: uuid TransactionID 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 }
GetTransactionTagsParams contains all the parameters to send to the API endpoint
for the get transaction tags operation. Typically these are written to a http.Request.
func NewGetTransactionTagsParams ¶
func NewGetTransactionTagsParams() *GetTransactionTagsParams
NewGetTransactionTagsParams creates a new GetTransactionTagsParams 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 NewGetTransactionTagsParamsWithContext ¶
func NewGetTransactionTagsParamsWithContext(ctx context.Context) *GetTransactionTagsParams
NewGetTransactionTagsParamsWithContext creates a new GetTransactionTagsParams object with the ability to set a context for a request.
func NewGetTransactionTagsParamsWithHTTPClient ¶
func NewGetTransactionTagsParamsWithHTTPClient(client *http.Client) *GetTransactionTagsParams
NewGetTransactionTagsParamsWithHTTPClient creates a new GetTransactionTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetTransactionTagsParamsWithTimeout ¶
func NewGetTransactionTagsParamsWithTimeout(timeout time.Duration) *GetTransactionTagsParams
NewGetTransactionTagsParamsWithTimeout creates a new GetTransactionTagsParams object with the ability to set a timeout on a request.
func (*GetTransactionTagsParams) SetAudit ¶
func (o *GetTransactionTagsParams) SetAudit(audit *string)
SetAudit adds the audit to the get transaction tags params
func (*GetTransactionTagsParams) SetContext ¶
func (o *GetTransactionTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get transaction tags params
func (*GetTransactionTagsParams) SetDefaults ¶
func (o *GetTransactionTagsParams) SetDefaults()
SetDefaults hydrates default values in the get transaction tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetTransactionTagsParams) SetHTTPClient ¶
func (o *GetTransactionTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get transaction tags params
func (*GetTransactionTagsParams) SetIncludedDeleted ¶
func (o *GetTransactionTagsParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get transaction tags params
func (*GetTransactionTagsParams) SetTimeout ¶
func (o *GetTransactionTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get transaction tags params
func (*GetTransactionTagsParams) SetTransactionID ¶
func (o *GetTransactionTagsParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the get transaction tags params
func (*GetTransactionTagsParams) WithAudit ¶
func (o *GetTransactionTagsParams) WithAudit(audit *string) *GetTransactionTagsParams
WithAudit adds the audit to the get transaction tags params
func (*GetTransactionTagsParams) WithContext ¶
func (o *GetTransactionTagsParams) WithContext(ctx context.Context) *GetTransactionTagsParams
WithContext adds the context to the get transaction tags params
func (*GetTransactionTagsParams) WithDefaults ¶
func (o *GetTransactionTagsParams) WithDefaults() *GetTransactionTagsParams
WithDefaults hydrates default values in the get transaction tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetTransactionTagsParams) WithHTTPClient ¶
func (o *GetTransactionTagsParams) WithHTTPClient(client *http.Client) *GetTransactionTagsParams
WithHTTPClient adds the HTTPClient to the get transaction tags params
func (*GetTransactionTagsParams) WithIncludedDeleted ¶
func (o *GetTransactionTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetTransactionTagsParams
WithIncludedDeleted adds the includedDeleted to the get transaction tags params
func (*GetTransactionTagsParams) WithTimeout ¶
func (o *GetTransactionTagsParams) WithTimeout(timeout time.Duration) *GetTransactionTagsParams
WithTimeout adds the timeout to the get transaction tags params
func (*GetTransactionTagsParams) WithTransactionID ¶
func (o *GetTransactionTagsParams) WithTransactionID(transactionID strfmt.UUID) *GetTransactionTagsParams
WithTransactionID adds the transactionID to the get transaction tags params
func (*GetTransactionTagsParams) WriteToRequest ¶
func (o *GetTransactionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTransactionTagsReader ¶
type GetTransactionTagsReader struct {
// contains filtered or unexported fields
}
GetTransactionTagsReader is a Reader for the GetTransactionTags structure.
func (*GetTransactionTagsReader) ReadResponse ¶
func (o *GetTransactionTagsReader) 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 ModifyTransactionCustomFieldsBadRequest ¶
type ModifyTransactionCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
ModifyTransactionCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid transaction id supplied
func NewModifyTransactionCustomFieldsBadRequest ¶
func NewModifyTransactionCustomFieldsBadRequest() *ModifyTransactionCustomFieldsBadRequest
NewModifyTransactionCustomFieldsBadRequest creates a ModifyTransactionCustomFieldsBadRequest with default headers values
func (*ModifyTransactionCustomFieldsBadRequest) Code ¶
func (o *ModifyTransactionCustomFieldsBadRequest) Code() int
Code gets the status code for the modify transaction custom fields bad request response
func (*ModifyTransactionCustomFieldsBadRequest) Error ¶
func (o *ModifyTransactionCustomFieldsBadRequest) Error() string
func (*ModifyTransactionCustomFieldsBadRequest) IsClientError ¶
func (o *ModifyTransactionCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this modify transaction custom fields bad request response has a 4xx status code
func (*ModifyTransactionCustomFieldsBadRequest) IsCode ¶
func (o *ModifyTransactionCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this modify transaction custom fields bad request response a status code equal to that given
func (*ModifyTransactionCustomFieldsBadRequest) IsRedirect ¶
func (o *ModifyTransactionCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this modify transaction custom fields bad request response has a 3xx status code
func (*ModifyTransactionCustomFieldsBadRequest) IsServerError ¶
func (o *ModifyTransactionCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this modify transaction custom fields bad request response has a 5xx status code
func (*ModifyTransactionCustomFieldsBadRequest) IsSuccess ¶
func (o *ModifyTransactionCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this modify transaction custom fields bad request response has a 2xx status code
func (*ModifyTransactionCustomFieldsBadRequest) String ¶
func (o *ModifyTransactionCustomFieldsBadRequest) String() string
type ModifyTransactionCustomFieldsNoContent ¶
type ModifyTransactionCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
ModifyTransactionCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewModifyTransactionCustomFieldsNoContent ¶
func NewModifyTransactionCustomFieldsNoContent() *ModifyTransactionCustomFieldsNoContent
NewModifyTransactionCustomFieldsNoContent creates a ModifyTransactionCustomFieldsNoContent with default headers values
func (*ModifyTransactionCustomFieldsNoContent) Code ¶
func (o *ModifyTransactionCustomFieldsNoContent) Code() int
Code gets the status code for the modify transaction custom fields no content response
func (*ModifyTransactionCustomFieldsNoContent) Error ¶
func (o *ModifyTransactionCustomFieldsNoContent) Error() string
func (*ModifyTransactionCustomFieldsNoContent) IsClientError ¶
func (o *ModifyTransactionCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this modify transaction custom fields no content response has a 4xx status code
func (*ModifyTransactionCustomFieldsNoContent) IsCode ¶
func (o *ModifyTransactionCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this modify transaction custom fields no content response a status code equal to that given
func (*ModifyTransactionCustomFieldsNoContent) IsRedirect ¶
func (o *ModifyTransactionCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this modify transaction custom fields no content response has a 3xx status code
func (*ModifyTransactionCustomFieldsNoContent) IsServerError ¶
func (o *ModifyTransactionCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this modify transaction custom fields no content response has a 5xx status code
func (*ModifyTransactionCustomFieldsNoContent) IsSuccess ¶
func (o *ModifyTransactionCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this modify transaction custom fields no content response has a 2xx status code
func (*ModifyTransactionCustomFieldsNoContent) String ¶
func (o *ModifyTransactionCustomFieldsNoContent) String() string
type ModifyTransactionCustomFieldsParams ¶
type ModifyTransactionCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // TransactionID. // // Format: uuid TransactionID 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 }
ModifyTransactionCustomFieldsParams contains all the parameters to send to the API endpoint
for the modify transaction custom fields operation. Typically these are written to a http.Request.
func NewModifyTransactionCustomFieldsParams ¶
func NewModifyTransactionCustomFieldsParams() *ModifyTransactionCustomFieldsParams
NewModifyTransactionCustomFieldsParams creates a new ModifyTransactionCustomFieldsParams 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 NewModifyTransactionCustomFieldsParamsWithContext ¶
func NewModifyTransactionCustomFieldsParamsWithContext(ctx context.Context) *ModifyTransactionCustomFieldsParams
NewModifyTransactionCustomFieldsParamsWithContext creates a new ModifyTransactionCustomFieldsParams object with the ability to set a context for a request.
func NewModifyTransactionCustomFieldsParamsWithHTTPClient ¶
func NewModifyTransactionCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyTransactionCustomFieldsParams
NewModifyTransactionCustomFieldsParamsWithHTTPClient creates a new ModifyTransactionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewModifyTransactionCustomFieldsParamsWithTimeout ¶
func NewModifyTransactionCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyTransactionCustomFieldsParams
NewModifyTransactionCustomFieldsParamsWithTimeout creates a new ModifyTransactionCustomFieldsParams object with the ability to set a timeout on a request.
func (*ModifyTransactionCustomFieldsParams) SetBody ¶
func (o *ModifyTransactionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) SetContext ¶
func (o *ModifyTransactionCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) SetDefaults ¶
func (o *ModifyTransactionCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the modify transaction custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyTransactionCustomFieldsParams) SetHTTPClient ¶
func (o *ModifyTransactionCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) SetTimeout ¶
func (o *ModifyTransactionCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) SetTransactionID ¶
func (o *ModifyTransactionCustomFieldsParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) SetXKillbillComment ¶
func (o *ModifyTransactionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *ModifyTransactionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) SetXKillbillReason ¶
func (o *ModifyTransactionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WithBody ¶
func (o *ModifyTransactionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyTransactionCustomFieldsParams
WithBody adds the body to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WithContext ¶
func (o *ModifyTransactionCustomFieldsParams) WithContext(ctx context.Context) *ModifyTransactionCustomFieldsParams
WithContext adds the context to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WithDefaults ¶
func (o *ModifyTransactionCustomFieldsParams) WithDefaults() *ModifyTransactionCustomFieldsParams
WithDefaults hydrates default values in the modify transaction custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyTransactionCustomFieldsParams) WithHTTPClient ¶
func (o *ModifyTransactionCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyTransactionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WithTimeout ¶
func (o *ModifyTransactionCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyTransactionCustomFieldsParams
WithTimeout adds the timeout to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WithTransactionID ¶
func (o *ModifyTransactionCustomFieldsParams) WithTransactionID(transactionID strfmt.UUID) *ModifyTransactionCustomFieldsParams
WithTransactionID adds the transactionID to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WithXKillbillComment ¶
func (o *ModifyTransactionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyTransactionCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *ModifyTransactionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyTransactionCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WithXKillbillReason ¶
func (o *ModifyTransactionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyTransactionCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the modify transaction custom fields params
func (*ModifyTransactionCustomFieldsParams) WriteToRequest ¶
func (o *ModifyTransactionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyTransactionCustomFieldsReader ¶
type ModifyTransactionCustomFieldsReader struct {
// contains filtered or unexported fields
}
ModifyTransactionCustomFieldsReader is a Reader for the ModifyTransactionCustomFields structure.
func (*ModifyTransactionCustomFieldsReader) ReadResponse ¶
func (o *ModifyTransactionCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NotifyStateChangedBadRequest ¶
type NotifyStateChangedBadRequest struct {
HttpResponse runtime.ClientResponse
}
NotifyStateChangedBadRequest describes a response with status code 400, with default header values.
Invalid paymentId supplied
func NewNotifyStateChangedBadRequest ¶
func NewNotifyStateChangedBadRequest() *NotifyStateChangedBadRequest
NewNotifyStateChangedBadRequest creates a NotifyStateChangedBadRequest with default headers values
func (*NotifyStateChangedBadRequest) Code ¶
func (o *NotifyStateChangedBadRequest) Code() int
Code gets the status code for the notify state changed bad request response
func (*NotifyStateChangedBadRequest) Error ¶
func (o *NotifyStateChangedBadRequest) Error() string
func (*NotifyStateChangedBadRequest) IsClientError ¶
func (o *NotifyStateChangedBadRequest) IsClientError() bool
IsClientError returns true when this notify state changed bad request response has a 4xx status code
func (*NotifyStateChangedBadRequest) IsCode ¶
func (o *NotifyStateChangedBadRequest) IsCode(code int) bool
IsCode returns true when this notify state changed bad request response a status code equal to that given
func (*NotifyStateChangedBadRequest) IsRedirect ¶
func (o *NotifyStateChangedBadRequest) IsRedirect() bool
IsRedirect returns true when this notify state changed bad request response has a 3xx status code
func (*NotifyStateChangedBadRequest) IsServerError ¶
func (o *NotifyStateChangedBadRequest) IsServerError() bool
IsServerError returns true when this notify state changed bad request response has a 5xx status code
func (*NotifyStateChangedBadRequest) IsSuccess ¶
func (o *NotifyStateChangedBadRequest) IsSuccess() bool
IsSuccess returns true when this notify state changed bad request response has a 2xx status code
func (*NotifyStateChangedBadRequest) String ¶
func (o *NotifyStateChangedBadRequest) String() string
type NotifyStateChangedCreated ¶
type NotifyStateChangedCreated struct { Payload *kbmodel.Payment HttpResponse runtime.ClientResponse }
NotifyStateChangedCreated describes a response with status code 201, with default header values.
Successfully notifiy state change
func NewNotifyStateChangedCreated ¶
func NewNotifyStateChangedCreated() *NotifyStateChangedCreated
NewNotifyStateChangedCreated creates a NotifyStateChangedCreated with default headers values
func (*NotifyStateChangedCreated) Code ¶
func (o *NotifyStateChangedCreated) Code() int
Code gets the status code for the notify state changed created response
func (*NotifyStateChangedCreated) Error ¶
func (o *NotifyStateChangedCreated) Error() string
func (*NotifyStateChangedCreated) GetPayload ¶
func (o *NotifyStateChangedCreated) GetPayload() *kbmodel.Payment
func (*NotifyStateChangedCreated) IsClientError ¶
func (o *NotifyStateChangedCreated) IsClientError() bool
IsClientError returns true when this notify state changed created response has a 4xx status code
func (*NotifyStateChangedCreated) IsCode ¶
func (o *NotifyStateChangedCreated) IsCode(code int) bool
IsCode returns true when this notify state changed created response a status code equal to that given
func (*NotifyStateChangedCreated) IsRedirect ¶
func (o *NotifyStateChangedCreated) IsRedirect() bool
IsRedirect returns true when this notify state changed created response has a 3xx status code
func (*NotifyStateChangedCreated) IsServerError ¶
func (o *NotifyStateChangedCreated) IsServerError() bool
IsServerError returns true when this notify state changed created response has a 5xx status code
func (*NotifyStateChangedCreated) IsSuccess ¶
func (o *NotifyStateChangedCreated) IsSuccess() bool
IsSuccess returns true when this notify state changed created response has a 2xx status code
func (*NotifyStateChangedCreated) String ¶
func (o *NotifyStateChangedCreated) String() string
type NotifyStateChangedNotFound ¶
type NotifyStateChangedNotFound struct {
HttpResponse runtime.ClientResponse
}
NotifyStateChangedNotFound describes a response with status code 404, with default header values.
Account or Payment not found
func NewNotifyStateChangedNotFound ¶
func NewNotifyStateChangedNotFound() *NotifyStateChangedNotFound
NewNotifyStateChangedNotFound creates a NotifyStateChangedNotFound with default headers values
func (*NotifyStateChangedNotFound) Code ¶
func (o *NotifyStateChangedNotFound) Code() int
Code gets the status code for the notify state changed not found response
func (*NotifyStateChangedNotFound) Error ¶
func (o *NotifyStateChangedNotFound) Error() string
func (*NotifyStateChangedNotFound) IsClientError ¶
func (o *NotifyStateChangedNotFound) IsClientError() bool
IsClientError returns true when this notify state changed not found response has a 4xx status code
func (*NotifyStateChangedNotFound) IsCode ¶
func (o *NotifyStateChangedNotFound) IsCode(code int) bool
IsCode returns true when this notify state changed not found response a status code equal to that given
func (*NotifyStateChangedNotFound) IsRedirect ¶
func (o *NotifyStateChangedNotFound) IsRedirect() bool
IsRedirect returns true when this notify state changed not found response has a 3xx status code
func (*NotifyStateChangedNotFound) IsServerError ¶
func (o *NotifyStateChangedNotFound) IsServerError() bool
IsServerError returns true when this notify state changed not found response has a 5xx status code
func (*NotifyStateChangedNotFound) IsSuccess ¶
func (o *NotifyStateChangedNotFound) IsSuccess() bool
IsSuccess returns true when this notify state changed not found response has a 2xx status code
func (*NotifyStateChangedNotFound) String ¶
func (o *NotifyStateChangedNotFound) String() string
type NotifyStateChangedParams ¶
type NotifyStateChangedParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.PaymentTransaction // ControlPluginName. ControlPluginName []string // TransactionID. // // Format: uuid TransactionID 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 }
NotifyStateChangedParams contains all the parameters to send to the API endpoint
for the notify state changed operation. Typically these are written to a http.Request.
func NewNotifyStateChangedParams ¶
func NewNotifyStateChangedParams() *NotifyStateChangedParams
NewNotifyStateChangedParams creates a new NotifyStateChangedParams 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 NewNotifyStateChangedParamsWithContext ¶
func NewNotifyStateChangedParamsWithContext(ctx context.Context) *NotifyStateChangedParams
NewNotifyStateChangedParamsWithContext creates a new NotifyStateChangedParams object with the ability to set a context for a request.
func NewNotifyStateChangedParamsWithHTTPClient ¶
func NewNotifyStateChangedParamsWithHTTPClient(client *http.Client) *NotifyStateChangedParams
NewNotifyStateChangedParamsWithHTTPClient creates a new NotifyStateChangedParams object with the ability to set a custom HTTPClient for a request.
func NewNotifyStateChangedParamsWithTimeout ¶
func NewNotifyStateChangedParamsWithTimeout(timeout time.Duration) *NotifyStateChangedParams
NewNotifyStateChangedParamsWithTimeout creates a new NotifyStateChangedParams object with the ability to set a timeout on a request.
func (*NotifyStateChangedParams) SetBody ¶
func (o *NotifyStateChangedParams) SetBody(body *kbmodel.PaymentTransaction)
SetBody adds the body to the notify state changed params
func (*NotifyStateChangedParams) SetContext ¶
func (o *NotifyStateChangedParams) SetContext(ctx context.Context)
SetContext adds the context to the notify state changed params
func (*NotifyStateChangedParams) SetControlPluginName ¶
func (o *NotifyStateChangedParams) SetControlPluginName(controlPluginName []string)
SetControlPluginName adds the controlPluginName to the notify state changed params
func (*NotifyStateChangedParams) SetDefaults ¶
func (o *NotifyStateChangedParams) SetDefaults()
SetDefaults hydrates default values in the notify state changed params (not the query body).
All values with no default are reset to their zero value.
func (*NotifyStateChangedParams) SetHTTPClient ¶
func (o *NotifyStateChangedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the notify state changed params
func (*NotifyStateChangedParams) SetTimeout ¶
func (o *NotifyStateChangedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the notify state changed params
func (*NotifyStateChangedParams) SetTransactionID ¶
func (o *NotifyStateChangedParams) SetTransactionID(transactionID strfmt.UUID)
SetTransactionID adds the transactionId to the notify state changed params
func (*NotifyStateChangedParams) SetXKillbillComment ¶
func (o *NotifyStateChangedParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the notify state changed params
func (*NotifyStateChangedParams) SetXKillbillCreatedBy ¶
func (o *NotifyStateChangedParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the notify state changed params
func (*NotifyStateChangedParams) SetXKillbillReason ¶
func (o *NotifyStateChangedParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the notify state changed params
func (*NotifyStateChangedParams) WithBody ¶
func (o *NotifyStateChangedParams) WithBody(body *kbmodel.PaymentTransaction) *NotifyStateChangedParams
WithBody adds the body to the notify state changed params
func (*NotifyStateChangedParams) WithContext ¶
func (o *NotifyStateChangedParams) WithContext(ctx context.Context) *NotifyStateChangedParams
WithContext adds the context to the notify state changed params
func (*NotifyStateChangedParams) WithControlPluginName ¶
func (o *NotifyStateChangedParams) WithControlPluginName(controlPluginName []string) *NotifyStateChangedParams
WithControlPluginName adds the controlPluginName to the notify state changed params
func (*NotifyStateChangedParams) WithDefaults ¶
func (o *NotifyStateChangedParams) WithDefaults() *NotifyStateChangedParams
WithDefaults hydrates default values in the notify state changed params (not the query body).
All values with no default are reset to their zero value.
func (*NotifyStateChangedParams) WithHTTPClient ¶
func (o *NotifyStateChangedParams) WithHTTPClient(client *http.Client) *NotifyStateChangedParams
WithHTTPClient adds the HTTPClient to the notify state changed params
func (*NotifyStateChangedParams) WithTimeout ¶
func (o *NotifyStateChangedParams) WithTimeout(timeout time.Duration) *NotifyStateChangedParams
WithTimeout adds the timeout to the notify state changed params
func (*NotifyStateChangedParams) WithTransactionID ¶
func (o *NotifyStateChangedParams) WithTransactionID(transactionID strfmt.UUID) *NotifyStateChangedParams
WithTransactionID adds the transactionID to the notify state changed params
func (*NotifyStateChangedParams) WithXKillbillComment ¶
func (o *NotifyStateChangedParams) WithXKillbillComment(xKillbillComment *string) *NotifyStateChangedParams
WithXKillbillComment adds the xKillbillComment to the notify state changed params
func (*NotifyStateChangedParams) WithXKillbillCreatedBy ¶
func (o *NotifyStateChangedParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *NotifyStateChangedParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the notify state changed params
func (*NotifyStateChangedParams) WithXKillbillReason ¶
func (o *NotifyStateChangedParams) WithXKillbillReason(xKillbillReason *string) *NotifyStateChangedParams
WithXKillbillReason adds the xKillbillReason to the notify state changed params
func (*NotifyStateChangedParams) WriteToRequest ¶
func (o *NotifyStateChangedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NotifyStateChangedReader ¶
type NotifyStateChangedReader struct {
// contains filtered or unexported fields
}
NotifyStateChangedReader is a Reader for the NotifyStateChanged structure.
func (*NotifyStateChangedReader) ReadResponse ¶
func (o *NotifyStateChangedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_transaction_custom_fields_parameters.go
- create_transaction_custom_fields_responses.go
- create_transaction_tags_parameters.go
- create_transaction_tags_responses.go
- delete_transaction_custom_fields_parameters.go
- delete_transaction_custom_fields_responses.go
- delete_transaction_tags_parameters.go
- delete_transaction_tags_responses.go
- get_payment_by_transaction_external_key_parameters.go
- get_payment_by_transaction_external_key_responses.go
- get_payment_by_transaction_id_parameters.go
- get_payment_by_transaction_id_responses.go
- get_transaction_audit_logs_with_history_parameters.go
- get_transaction_audit_logs_with_history_responses.go
- get_transaction_custom_fields_parameters.go
- get_transaction_custom_fields_responses.go
- get_transaction_tags_parameters.go
- get_transaction_tags_responses.go
- modify_transaction_custom_fields_parameters.go
- modify_transaction_custom_fields_responses.go
- notify_state_changed_parameters.go
- notify_state_changed_responses.go
- payment_transaction_client.go