Documentation ¶
Index ¶
- type Client
- func (a *Client) CompleteInvoicePaymentTransaction(ctx context.Context, params *CompleteInvoicePaymentTransactionParams) (*CompleteInvoicePaymentTransactionNoContent, error)
- func (a *Client) CreateChargeback(ctx context.Context, params *CreateChargebackParams) (*CreateChargebackCreated, error)
- func (a *Client) CreateChargebackReversal(ctx context.Context, params *CreateChargebackReversalParams) (*CreateChargebackReversalCreated, error)
- func (a *Client) CreateInvoicePaymentCustomFields(ctx context.Context, params *CreateInvoicePaymentCustomFieldsParams) (*CreateInvoicePaymentCustomFieldsCreated, error)
- func (a *Client) CreateInvoicePaymentTags(ctx context.Context, params *CreateInvoicePaymentTagsParams) (*CreateInvoicePaymentTagsCreated, error)
- func (a *Client) CreateRefundWithAdjustments(ctx context.Context, params *CreateRefundWithAdjustmentsParams) (*CreateRefundWithAdjustmentsCreated, error)
- func (a *Client) DeleteInvoicePaymentCustomFields(ctx context.Context, params *DeleteInvoicePaymentCustomFieldsParams) (*DeleteInvoicePaymentCustomFieldsNoContent, error)
- func (a *Client) DeleteInvoicePaymentTags(ctx context.Context, params *DeleteInvoicePaymentTagsParams) (*DeleteInvoicePaymentTagsNoContent, error)
- func (a *Client) GetInvoicePayment(ctx context.Context, params *GetInvoicePaymentParams) (*GetInvoicePaymentOK, error)
- func (a *Client) GetInvoicePaymentAuditLogsWithHistory(ctx context.Context, params *GetInvoicePaymentAuditLogsWithHistoryParams) (*GetInvoicePaymentAuditLogsWithHistoryOK, error)
- func (a *Client) GetInvoicePaymentCustomFields(ctx context.Context, params *GetInvoicePaymentCustomFieldsParams) (*GetInvoicePaymentCustomFieldsOK, error)
- func (a *Client) GetInvoicePaymentTags(ctx context.Context, params *GetInvoicePaymentTagsParams) (*GetInvoicePaymentTagsOK, error)
- func (a *Client) ModifyInvoicePaymentCustomFields(ctx context.Context, params *ModifyInvoicePaymentCustomFieldsParams) (*ModifyInvoicePaymentCustomFieldsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CompleteInvoicePaymentTransactionBadGateway
- func (o *CompleteInvoicePaymentTransactionBadGateway) Code() int
- func (o *CompleteInvoicePaymentTransactionBadGateway) Error() string
- func (o *CompleteInvoicePaymentTransactionBadGateway) IsClientError() bool
- func (o *CompleteInvoicePaymentTransactionBadGateway) IsCode(code int) bool
- func (o *CompleteInvoicePaymentTransactionBadGateway) IsRedirect() bool
- func (o *CompleteInvoicePaymentTransactionBadGateway) IsServerError() bool
- func (o *CompleteInvoicePaymentTransactionBadGateway) IsSuccess() bool
- func (o *CompleteInvoicePaymentTransactionBadGateway) String() string
- type CompleteInvoicePaymentTransactionBadRequest
- func (o *CompleteInvoicePaymentTransactionBadRequest) Code() int
- func (o *CompleteInvoicePaymentTransactionBadRequest) Error() string
- func (o *CompleteInvoicePaymentTransactionBadRequest) IsClientError() bool
- func (o *CompleteInvoicePaymentTransactionBadRequest) IsCode(code int) bool
- func (o *CompleteInvoicePaymentTransactionBadRequest) IsRedirect() bool
- func (o *CompleteInvoicePaymentTransactionBadRequest) IsServerError() bool
- func (o *CompleteInvoicePaymentTransactionBadRequest) IsSuccess() bool
- func (o *CompleteInvoicePaymentTransactionBadRequest) String() string
- type CompleteInvoicePaymentTransactionGatewayTimeout
- func (o *CompleteInvoicePaymentTransactionGatewayTimeout) Code() int
- func (o *CompleteInvoicePaymentTransactionGatewayTimeout) Error() string
- func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsClientError() bool
- func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsCode(code int) bool
- func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsRedirect() bool
- func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsServerError() bool
- func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsSuccess() bool
- func (o *CompleteInvoicePaymentTransactionGatewayTimeout) String() string
- type CompleteInvoicePaymentTransactionNoContent
- func (o *CompleteInvoicePaymentTransactionNoContent) Code() int
- func (o *CompleteInvoicePaymentTransactionNoContent) Error() string
- func (o *CompleteInvoicePaymentTransactionNoContent) IsClientError() bool
- func (o *CompleteInvoicePaymentTransactionNoContent) IsCode(code int) bool
- func (o *CompleteInvoicePaymentTransactionNoContent) IsRedirect() bool
- func (o *CompleteInvoicePaymentTransactionNoContent) IsServerError() bool
- func (o *CompleteInvoicePaymentTransactionNoContent) IsSuccess() bool
- func (o *CompleteInvoicePaymentTransactionNoContent) String() string
- type CompleteInvoicePaymentTransactionNotFound
- func (o *CompleteInvoicePaymentTransactionNotFound) Code() int
- func (o *CompleteInvoicePaymentTransactionNotFound) Error() string
- func (o *CompleteInvoicePaymentTransactionNotFound) IsClientError() bool
- func (o *CompleteInvoicePaymentTransactionNotFound) IsCode(code int) bool
- func (o *CompleteInvoicePaymentTransactionNotFound) IsRedirect() bool
- func (o *CompleteInvoicePaymentTransactionNotFound) IsServerError() bool
- func (o *CompleteInvoicePaymentTransactionNotFound) IsSuccess() bool
- func (o *CompleteInvoicePaymentTransactionNotFound) String() string
- type CompleteInvoicePaymentTransactionParams
- func NewCompleteInvoicePaymentTransactionParams() *CompleteInvoicePaymentTransactionParams
- func NewCompleteInvoicePaymentTransactionParamsWithContext(ctx context.Context) *CompleteInvoicePaymentTransactionParams
- func NewCompleteInvoicePaymentTransactionParamsWithHTTPClient(client *http.Client) *CompleteInvoicePaymentTransactionParams
- func NewCompleteInvoicePaymentTransactionParamsWithTimeout(timeout time.Duration) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) SetBody(body *kbmodel.PaymentTransaction)
- func (o *CompleteInvoicePaymentTransactionParams) SetContext(ctx context.Context)
- func (o *CompleteInvoicePaymentTransactionParams) SetControlPluginName(controlPluginName []string)
- func (o *CompleteInvoicePaymentTransactionParams) SetDefaults()
- func (o *CompleteInvoicePaymentTransactionParams) SetHTTPClient(client *http.Client)
- func (o *CompleteInvoicePaymentTransactionParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *CompleteInvoicePaymentTransactionParams) SetPluginProperty(pluginProperty []string)
- func (o *CompleteInvoicePaymentTransactionParams) SetTimeout(timeout time.Duration)
- func (o *CompleteInvoicePaymentTransactionParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CompleteInvoicePaymentTransactionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CompleteInvoicePaymentTransactionParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CompleteInvoicePaymentTransactionParams) WithBody(body *kbmodel.PaymentTransaction) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithContext(ctx context.Context) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithControlPluginName(controlPluginName []string) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithDefaults() *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithHTTPClient(client *http.Client) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithPaymentID(paymentID strfmt.UUID) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithPluginProperty(pluginProperty []string) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithTimeout(timeout time.Duration) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithXKillbillComment(xKillbillComment *string) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WithXKillbillReason(xKillbillReason *string) *CompleteInvoicePaymentTransactionParams
- func (o *CompleteInvoicePaymentTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompleteInvoicePaymentTransactionPaymentRequired
- func (o *CompleteInvoicePaymentTransactionPaymentRequired) Code() int
- func (o *CompleteInvoicePaymentTransactionPaymentRequired) Error() string
- func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsClientError() bool
- func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsCode(code int) bool
- func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsRedirect() bool
- func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsServerError() bool
- func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsSuccess() bool
- func (o *CompleteInvoicePaymentTransactionPaymentRequired) String() string
- type CompleteInvoicePaymentTransactionReader
- type CompleteInvoicePaymentTransactionServiceUnavailable
- func (o *CompleteInvoicePaymentTransactionServiceUnavailable) Code() int
- func (o *CompleteInvoicePaymentTransactionServiceUnavailable) Error() string
- func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsClientError() bool
- func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsCode(code int) bool
- func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsRedirect() bool
- func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsServerError() bool
- func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsSuccess() bool
- func (o *CompleteInvoicePaymentTransactionServiceUnavailable) String() string
- type CompleteInvoicePaymentTransactionUnprocessableEntity
- func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) Code() int
- func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) Error() string
- func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsClientError() bool
- func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsCode(code int) bool
- func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsRedirect() bool
- func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsServerError() bool
- func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsSuccess() bool
- func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) String() string
- type CreateChargebackBadRequest
- func (o *CreateChargebackBadRequest) Code() int
- func (o *CreateChargebackBadRequest) Error() string
- func (o *CreateChargebackBadRequest) IsClientError() bool
- func (o *CreateChargebackBadRequest) IsCode(code int) bool
- func (o *CreateChargebackBadRequest) IsRedirect() bool
- func (o *CreateChargebackBadRequest) IsServerError() bool
- func (o *CreateChargebackBadRequest) IsSuccess() bool
- func (o *CreateChargebackBadRequest) String() string
- type CreateChargebackCreated
- func (o *CreateChargebackCreated) Code() int
- func (o *CreateChargebackCreated) Error() string
- func (o *CreateChargebackCreated) GetPayload() *kbmodel.InvoicePayment
- func (o *CreateChargebackCreated) IsClientError() bool
- func (o *CreateChargebackCreated) IsCode(code int) bool
- func (o *CreateChargebackCreated) IsRedirect() bool
- func (o *CreateChargebackCreated) IsServerError() bool
- func (o *CreateChargebackCreated) IsSuccess() bool
- func (o *CreateChargebackCreated) String() string
- type CreateChargebackNotFound
- func (o *CreateChargebackNotFound) Code() int
- func (o *CreateChargebackNotFound) Error() string
- func (o *CreateChargebackNotFound) IsClientError() bool
- func (o *CreateChargebackNotFound) IsCode(code int) bool
- func (o *CreateChargebackNotFound) IsRedirect() bool
- func (o *CreateChargebackNotFound) IsServerError() bool
- func (o *CreateChargebackNotFound) IsSuccess() bool
- func (o *CreateChargebackNotFound) String() string
- type CreateChargebackParams
- func NewCreateChargebackParams() *CreateChargebackParams
- func NewCreateChargebackParamsWithContext(ctx context.Context) *CreateChargebackParams
- func NewCreateChargebackParamsWithHTTPClient(client *http.Client) *CreateChargebackParams
- func NewCreateChargebackParamsWithTimeout(timeout time.Duration) *CreateChargebackParams
- func (o *CreateChargebackParams) SetBody(body *kbmodel.InvoicePaymentTransaction)
- func (o *CreateChargebackParams) SetContext(ctx context.Context)
- func (o *CreateChargebackParams) SetDefaults()
- func (o *CreateChargebackParams) SetHTTPClient(client *http.Client)
- func (o *CreateChargebackParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *CreateChargebackParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateChargebackParams) SetTimeout(timeout time.Duration)
- func (o *CreateChargebackParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateChargebackParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateChargebackParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateChargebackParams) WithBody(body *kbmodel.InvoicePaymentTransaction) *CreateChargebackParams
- func (o *CreateChargebackParams) WithContext(ctx context.Context) *CreateChargebackParams
- func (o *CreateChargebackParams) WithDefaults() *CreateChargebackParams
- func (o *CreateChargebackParams) WithHTTPClient(client *http.Client) *CreateChargebackParams
- func (o *CreateChargebackParams) WithPaymentID(paymentID strfmt.UUID) *CreateChargebackParams
- func (o *CreateChargebackParams) WithPluginProperty(pluginProperty []string) *CreateChargebackParams
- func (o *CreateChargebackParams) WithTimeout(timeout time.Duration) *CreateChargebackParams
- func (o *CreateChargebackParams) WithXKillbillComment(xKillbillComment *string) *CreateChargebackParams
- func (o *CreateChargebackParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateChargebackParams
- func (o *CreateChargebackParams) WithXKillbillReason(xKillbillReason *string) *CreateChargebackParams
- func (o *CreateChargebackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateChargebackReader
- type CreateChargebackReversalBadRequest
- func (o *CreateChargebackReversalBadRequest) Code() int
- func (o *CreateChargebackReversalBadRequest) Error() string
- func (o *CreateChargebackReversalBadRequest) IsClientError() bool
- func (o *CreateChargebackReversalBadRequest) IsCode(code int) bool
- func (o *CreateChargebackReversalBadRequest) IsRedirect() bool
- func (o *CreateChargebackReversalBadRequest) IsServerError() bool
- func (o *CreateChargebackReversalBadRequest) IsSuccess() bool
- func (o *CreateChargebackReversalBadRequest) String() string
- type CreateChargebackReversalCreated
- func (o *CreateChargebackReversalCreated) Code() int
- func (o *CreateChargebackReversalCreated) Error() string
- func (o *CreateChargebackReversalCreated) GetPayload() *kbmodel.InvoicePayment
- func (o *CreateChargebackReversalCreated) IsClientError() bool
- func (o *CreateChargebackReversalCreated) IsCode(code int) bool
- func (o *CreateChargebackReversalCreated) IsRedirect() bool
- func (o *CreateChargebackReversalCreated) IsServerError() bool
- func (o *CreateChargebackReversalCreated) IsSuccess() bool
- func (o *CreateChargebackReversalCreated) String() string
- type CreateChargebackReversalNotFound
- func (o *CreateChargebackReversalNotFound) Code() int
- func (o *CreateChargebackReversalNotFound) Error() string
- func (o *CreateChargebackReversalNotFound) IsClientError() bool
- func (o *CreateChargebackReversalNotFound) IsCode(code int) bool
- func (o *CreateChargebackReversalNotFound) IsRedirect() bool
- func (o *CreateChargebackReversalNotFound) IsServerError() bool
- func (o *CreateChargebackReversalNotFound) IsSuccess() bool
- func (o *CreateChargebackReversalNotFound) String() string
- type CreateChargebackReversalParams
- func NewCreateChargebackReversalParams() *CreateChargebackReversalParams
- func NewCreateChargebackReversalParamsWithContext(ctx context.Context) *CreateChargebackReversalParams
- func NewCreateChargebackReversalParamsWithHTTPClient(client *http.Client) *CreateChargebackReversalParams
- func NewCreateChargebackReversalParamsWithTimeout(timeout time.Duration) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) SetBody(body *kbmodel.InvoicePaymentTransaction)
- func (o *CreateChargebackReversalParams) SetContext(ctx context.Context)
- func (o *CreateChargebackReversalParams) SetDefaults()
- func (o *CreateChargebackReversalParams) SetHTTPClient(client *http.Client)
- func (o *CreateChargebackReversalParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *CreateChargebackReversalParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateChargebackReversalParams) SetTimeout(timeout time.Duration)
- func (o *CreateChargebackReversalParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateChargebackReversalParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateChargebackReversalParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateChargebackReversalParams) WithBody(body *kbmodel.InvoicePaymentTransaction) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithContext(ctx context.Context) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithDefaults() *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithHTTPClient(client *http.Client) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithPaymentID(paymentID strfmt.UUID) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithPluginProperty(pluginProperty []string) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithTimeout(timeout time.Duration) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithXKillbillComment(xKillbillComment *string) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WithXKillbillReason(xKillbillReason *string) *CreateChargebackReversalParams
- func (o *CreateChargebackReversalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateChargebackReversalReader
- type CreateInvoicePaymentCustomFieldsBadRequest
- func (o *CreateInvoicePaymentCustomFieldsBadRequest) Code() int
- func (o *CreateInvoicePaymentCustomFieldsBadRequest) Error() string
- func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsClientError() bool
- func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsCode(code int) bool
- func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsRedirect() bool
- func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsServerError() bool
- func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsSuccess() bool
- func (o *CreateInvoicePaymentCustomFieldsBadRequest) String() string
- type CreateInvoicePaymentCustomFieldsCreated
- func (o *CreateInvoicePaymentCustomFieldsCreated) Code() int
- func (o *CreateInvoicePaymentCustomFieldsCreated) Error() string
- func (o *CreateInvoicePaymentCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
- func (o *CreateInvoicePaymentCustomFieldsCreated) IsClientError() bool
- func (o *CreateInvoicePaymentCustomFieldsCreated) IsCode(code int) bool
- func (o *CreateInvoicePaymentCustomFieldsCreated) IsRedirect() bool
- func (o *CreateInvoicePaymentCustomFieldsCreated) IsServerError() bool
- func (o *CreateInvoicePaymentCustomFieldsCreated) IsSuccess() bool
- func (o *CreateInvoicePaymentCustomFieldsCreated) String() string
- type CreateInvoicePaymentCustomFieldsParams
- func NewCreateInvoicePaymentCustomFieldsParams() *CreateInvoicePaymentCustomFieldsParams
- func NewCreateInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoicePaymentCustomFieldsParams
- func NewCreateInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoicePaymentCustomFieldsParams
- func NewCreateInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *CreateInvoicePaymentCustomFieldsParams) SetContext(ctx context.Context)
- func (o *CreateInvoicePaymentCustomFieldsParams) SetDefaults()
- func (o *CreateInvoicePaymentCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoicePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *CreateInvoicePaymentCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoicePaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInvoicePaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInvoicePaymentCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WithContext(ctx context.Context) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WithDefaults() *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WithPaymentID(paymentID strfmt.UUID) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoicePaymentCustomFieldsParams
- func (o *CreateInvoicePaymentCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoicePaymentCustomFieldsReader
- type CreateInvoicePaymentTagsBadRequest
- func (o *CreateInvoicePaymentTagsBadRequest) Code() int
- func (o *CreateInvoicePaymentTagsBadRequest) Error() string
- func (o *CreateInvoicePaymentTagsBadRequest) IsClientError() bool
- func (o *CreateInvoicePaymentTagsBadRequest) IsCode(code int) bool
- func (o *CreateInvoicePaymentTagsBadRequest) IsRedirect() bool
- func (o *CreateInvoicePaymentTagsBadRequest) IsServerError() bool
- func (o *CreateInvoicePaymentTagsBadRequest) IsSuccess() bool
- func (o *CreateInvoicePaymentTagsBadRequest) String() string
- type CreateInvoicePaymentTagsCreated
- func (o *CreateInvoicePaymentTagsCreated) Code() int
- func (o *CreateInvoicePaymentTagsCreated) Error() string
- func (o *CreateInvoicePaymentTagsCreated) GetPayload() []*kbmodel.Tag
- func (o *CreateInvoicePaymentTagsCreated) IsClientError() bool
- func (o *CreateInvoicePaymentTagsCreated) IsCode(code int) bool
- func (o *CreateInvoicePaymentTagsCreated) IsRedirect() bool
- func (o *CreateInvoicePaymentTagsCreated) IsServerError() bool
- func (o *CreateInvoicePaymentTagsCreated) IsSuccess() bool
- func (o *CreateInvoicePaymentTagsCreated) String() string
- type CreateInvoicePaymentTagsParams
- func NewCreateInvoicePaymentTagsParams() *CreateInvoicePaymentTagsParams
- func NewCreateInvoicePaymentTagsParamsWithContext(ctx context.Context) *CreateInvoicePaymentTagsParams
- func NewCreateInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *CreateInvoicePaymentTagsParams
- func NewCreateInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) SetBody(body []strfmt.UUID)
- func (o *CreateInvoicePaymentTagsParams) SetContext(ctx context.Context)
- func (o *CreateInvoicePaymentTagsParams) SetDefaults()
- func (o *CreateInvoicePaymentTagsParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoicePaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *CreateInvoicePaymentTagsParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoicePaymentTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInvoicePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInvoicePaymentTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInvoicePaymentTagsParams) WithBody(body []strfmt.UUID) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WithContext(ctx context.Context) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WithDefaults() *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WithHTTPClient(client *http.Client) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WithTimeout(timeout time.Duration) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoicePaymentTagsParams
- func (o *CreateInvoicePaymentTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoicePaymentTagsReader
- type CreateRefundWithAdjustmentsBadRequest
- func (o *CreateRefundWithAdjustmentsBadRequest) Code() int
- func (o *CreateRefundWithAdjustmentsBadRequest) Error() string
- func (o *CreateRefundWithAdjustmentsBadRequest) IsClientError() bool
- func (o *CreateRefundWithAdjustmentsBadRequest) IsCode(code int) bool
- func (o *CreateRefundWithAdjustmentsBadRequest) IsRedirect() bool
- func (o *CreateRefundWithAdjustmentsBadRequest) IsServerError() bool
- func (o *CreateRefundWithAdjustmentsBadRequest) IsSuccess() bool
- func (o *CreateRefundWithAdjustmentsBadRequest) String() string
- type CreateRefundWithAdjustmentsCreated
- func (o *CreateRefundWithAdjustmentsCreated) Code() int
- func (o *CreateRefundWithAdjustmentsCreated) Error() string
- func (o *CreateRefundWithAdjustmentsCreated) GetPayload() *kbmodel.InvoicePayment
- func (o *CreateRefundWithAdjustmentsCreated) IsClientError() bool
- func (o *CreateRefundWithAdjustmentsCreated) IsCode(code int) bool
- func (o *CreateRefundWithAdjustmentsCreated) IsRedirect() bool
- func (o *CreateRefundWithAdjustmentsCreated) IsServerError() bool
- func (o *CreateRefundWithAdjustmentsCreated) IsSuccess() bool
- func (o *CreateRefundWithAdjustmentsCreated) String() string
- type CreateRefundWithAdjustmentsNotFound
- func (o *CreateRefundWithAdjustmentsNotFound) Code() int
- func (o *CreateRefundWithAdjustmentsNotFound) Error() string
- func (o *CreateRefundWithAdjustmentsNotFound) IsClientError() bool
- func (o *CreateRefundWithAdjustmentsNotFound) IsCode(code int) bool
- func (o *CreateRefundWithAdjustmentsNotFound) IsRedirect() bool
- func (o *CreateRefundWithAdjustmentsNotFound) IsServerError() bool
- func (o *CreateRefundWithAdjustmentsNotFound) IsSuccess() bool
- func (o *CreateRefundWithAdjustmentsNotFound) String() string
- type CreateRefundWithAdjustmentsParams
- func NewCreateRefundWithAdjustmentsParams() *CreateRefundWithAdjustmentsParams
- func NewCreateRefundWithAdjustmentsParamsWithContext(ctx context.Context) *CreateRefundWithAdjustmentsParams
- func NewCreateRefundWithAdjustmentsParamsWithHTTPClient(client *http.Client) *CreateRefundWithAdjustmentsParams
- func NewCreateRefundWithAdjustmentsParamsWithTimeout(timeout time.Duration) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) SetBody(body *kbmodel.InvoicePaymentTransaction)
- func (o *CreateRefundWithAdjustmentsParams) SetContext(ctx context.Context)
- func (o *CreateRefundWithAdjustmentsParams) SetDefaults()
- func (o *CreateRefundWithAdjustmentsParams) SetExternalPayment(externalPayment *bool)
- func (o *CreateRefundWithAdjustmentsParams) SetHTTPClient(client *http.Client)
- func (o *CreateRefundWithAdjustmentsParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *CreateRefundWithAdjustmentsParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)
- func (o *CreateRefundWithAdjustmentsParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateRefundWithAdjustmentsParams) SetTimeout(timeout time.Duration)
- func (o *CreateRefundWithAdjustmentsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateRefundWithAdjustmentsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateRefundWithAdjustmentsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateRefundWithAdjustmentsParams) WithBody(body *kbmodel.InvoicePaymentTransaction) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithContext(ctx context.Context) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithDefaults() *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithExternalPayment(externalPayment *bool) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithHTTPClient(client *http.Client) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithPaymentID(paymentID strfmt.UUID) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithPluginProperty(pluginProperty []string) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithTimeout(timeout time.Duration) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithXKillbillComment(xKillbillComment *string) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WithXKillbillReason(xKillbillReason *string) *CreateRefundWithAdjustmentsParams
- func (o *CreateRefundWithAdjustmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRefundWithAdjustmentsReader
- type DeleteInvoicePaymentCustomFieldsBadRequest
- func (o *DeleteInvoicePaymentCustomFieldsBadRequest) Code() int
- func (o *DeleteInvoicePaymentCustomFieldsBadRequest) Error() string
- func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsClientError() bool
- func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsCode(code int) bool
- func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsRedirect() bool
- func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsServerError() bool
- func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsSuccess() bool
- func (o *DeleteInvoicePaymentCustomFieldsBadRequest) String() string
- type DeleteInvoicePaymentCustomFieldsNoContent
- func (o *DeleteInvoicePaymentCustomFieldsNoContent) Code() int
- func (o *DeleteInvoicePaymentCustomFieldsNoContent) Error() string
- func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsClientError() bool
- func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsCode(code int) bool
- func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsRedirect() bool
- func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsServerError() bool
- func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsSuccess() bool
- func (o *DeleteInvoicePaymentCustomFieldsNoContent) String() string
- type DeleteInvoicePaymentCustomFieldsParams
- func NewDeleteInvoicePaymentCustomFieldsParams() *DeleteInvoicePaymentCustomFieldsParams
- func NewDeleteInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoicePaymentCustomFieldsParams
- func NewDeleteInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoicePaymentCustomFieldsParams
- func NewDeleteInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetContext(ctx context.Context)
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetDefaults()
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteInvoicePaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithContext(ctx context.Context) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithDefaults() *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithPaymentID(paymentID strfmt.UUID) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoicePaymentCustomFieldsParams
- func (o *DeleteInvoicePaymentCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoicePaymentCustomFieldsReader
- type DeleteInvoicePaymentTagsBadRequest
- func (o *DeleteInvoicePaymentTagsBadRequest) Code() int
- func (o *DeleteInvoicePaymentTagsBadRequest) Error() string
- func (o *DeleteInvoicePaymentTagsBadRequest) IsClientError() bool
- func (o *DeleteInvoicePaymentTagsBadRequest) IsCode(code int) bool
- func (o *DeleteInvoicePaymentTagsBadRequest) IsRedirect() bool
- func (o *DeleteInvoicePaymentTagsBadRequest) IsServerError() bool
- func (o *DeleteInvoicePaymentTagsBadRequest) IsSuccess() bool
- func (o *DeleteInvoicePaymentTagsBadRequest) String() string
- type DeleteInvoicePaymentTagsNoContent
- func (o *DeleteInvoicePaymentTagsNoContent) Code() int
- func (o *DeleteInvoicePaymentTagsNoContent) Error() string
- func (o *DeleteInvoicePaymentTagsNoContent) IsClientError() bool
- func (o *DeleteInvoicePaymentTagsNoContent) IsCode(code int) bool
- func (o *DeleteInvoicePaymentTagsNoContent) IsRedirect() bool
- func (o *DeleteInvoicePaymentTagsNoContent) IsServerError() bool
- func (o *DeleteInvoicePaymentTagsNoContent) IsSuccess() bool
- func (o *DeleteInvoicePaymentTagsNoContent) String() string
- type DeleteInvoicePaymentTagsParams
- func NewDeleteInvoicePaymentTagsParams() *DeleteInvoicePaymentTagsParams
- func NewDeleteInvoicePaymentTagsParamsWithContext(ctx context.Context) *DeleteInvoicePaymentTagsParams
- func NewDeleteInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoicePaymentTagsParams
- func NewDeleteInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) SetContext(ctx context.Context)
- func (o *DeleteInvoicePaymentTagsParams) SetDefaults()
- func (o *DeleteInvoicePaymentTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoicePaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *DeleteInvoicePaymentTagsParams) SetTagDef(tagDef []strfmt.UUID)
- func (o *DeleteInvoicePaymentTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoicePaymentTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteInvoicePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteInvoicePaymentTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteInvoicePaymentTagsParams) WithContext(ctx context.Context) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WithDefaults() *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WithHTTPClient(client *http.Client) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WithTimeout(timeout time.Duration) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoicePaymentTagsParams
- func (o *DeleteInvoicePaymentTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoicePaymentTagsReader
- type GetInvoicePaymentAuditLogsWithHistoryNotFound
- func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) Code() int
- func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) Error() string
- func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) String() string
- type GetInvoicePaymentAuditLogsWithHistoryOK
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) Code() int
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) Error() string
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetInvoicePaymentAuditLogsWithHistoryOK) String() string
- type GetInvoicePaymentAuditLogsWithHistoryParams
- func NewGetInvoicePaymentAuditLogsWithHistoryParams() *GetInvoicePaymentAuditLogsWithHistoryParams
- func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoicePaymentAuditLogsWithHistoryParams
- func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentAuditLogsWithHistoryParams
- func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentAuditLogsWithHistoryParams
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetDefaults()
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetInvoicePaymentID(invoicePaymentID strfmt.UUID)
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetInvoicePaymentAuditLogsWithHistoryParams
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithDefaults() *GetInvoicePaymentAuditLogsWithHistoryParams
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentAuditLogsWithHistoryParams
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithInvoicePaymentID(invoicePaymentID strfmt.UUID) *GetInvoicePaymentAuditLogsWithHistoryParams
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetInvoicePaymentAuditLogsWithHistoryParams
- func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoicePaymentAuditLogsWithHistoryReader
- type GetInvoicePaymentBadRequest
- func (o *GetInvoicePaymentBadRequest) Code() int
- func (o *GetInvoicePaymentBadRequest) Error() string
- func (o *GetInvoicePaymentBadRequest) IsClientError() bool
- func (o *GetInvoicePaymentBadRequest) IsCode(code int) bool
- func (o *GetInvoicePaymentBadRequest) IsRedirect() bool
- func (o *GetInvoicePaymentBadRequest) IsServerError() bool
- func (o *GetInvoicePaymentBadRequest) IsSuccess() bool
- func (o *GetInvoicePaymentBadRequest) String() string
- type GetInvoicePaymentCustomFieldsBadRequest
- func (o *GetInvoicePaymentCustomFieldsBadRequest) Code() int
- func (o *GetInvoicePaymentCustomFieldsBadRequest) Error() string
- func (o *GetInvoicePaymentCustomFieldsBadRequest) IsClientError() bool
- func (o *GetInvoicePaymentCustomFieldsBadRequest) IsCode(code int) bool
- func (o *GetInvoicePaymentCustomFieldsBadRequest) IsRedirect() bool
- func (o *GetInvoicePaymentCustomFieldsBadRequest) IsServerError() bool
- func (o *GetInvoicePaymentCustomFieldsBadRequest) IsSuccess() bool
- func (o *GetInvoicePaymentCustomFieldsBadRequest) String() string
- type GetInvoicePaymentCustomFieldsOK
- func (o *GetInvoicePaymentCustomFieldsOK) Code() int
- func (o *GetInvoicePaymentCustomFieldsOK) Error() string
- func (o *GetInvoicePaymentCustomFieldsOK) GetPayload() []*kbmodel.CustomField
- func (o *GetInvoicePaymentCustomFieldsOK) IsClientError() bool
- func (o *GetInvoicePaymentCustomFieldsOK) IsCode(code int) bool
- func (o *GetInvoicePaymentCustomFieldsOK) IsRedirect() bool
- func (o *GetInvoicePaymentCustomFieldsOK) IsServerError() bool
- func (o *GetInvoicePaymentCustomFieldsOK) IsSuccess() bool
- func (o *GetInvoicePaymentCustomFieldsOK) String() string
- type GetInvoicePaymentCustomFieldsParams
- func NewGetInvoicePaymentCustomFieldsParams() *GetInvoicePaymentCustomFieldsParams
- func NewGetInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *GetInvoicePaymentCustomFieldsParams
- func NewGetInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentCustomFieldsParams
- func NewGetInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentCustomFieldsParams
- func (o *GetInvoicePaymentCustomFieldsParams) SetAudit(audit *string)
- func (o *GetInvoicePaymentCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetInvoicePaymentCustomFieldsParams) SetDefaults()
- func (o *GetInvoicePaymentCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoicePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *GetInvoicePaymentCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoicePaymentCustomFieldsParams) WithAudit(audit *string) *GetInvoicePaymentCustomFieldsParams
- func (o *GetInvoicePaymentCustomFieldsParams) WithContext(ctx context.Context) *GetInvoicePaymentCustomFieldsParams
- func (o *GetInvoicePaymentCustomFieldsParams) WithDefaults() *GetInvoicePaymentCustomFieldsParams
- func (o *GetInvoicePaymentCustomFieldsParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentCustomFieldsParams
- func (o *GetInvoicePaymentCustomFieldsParams) WithPaymentID(paymentID strfmt.UUID) *GetInvoicePaymentCustomFieldsParams
- func (o *GetInvoicePaymentCustomFieldsParams) WithTimeout(timeout time.Duration) *GetInvoicePaymentCustomFieldsParams
- func (o *GetInvoicePaymentCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoicePaymentCustomFieldsReader
- type GetInvoicePaymentNotFound
- func (o *GetInvoicePaymentNotFound) Code() int
- func (o *GetInvoicePaymentNotFound) Error() string
- func (o *GetInvoicePaymentNotFound) IsClientError() bool
- func (o *GetInvoicePaymentNotFound) IsCode(code int) bool
- func (o *GetInvoicePaymentNotFound) IsRedirect() bool
- func (o *GetInvoicePaymentNotFound) IsServerError() bool
- func (o *GetInvoicePaymentNotFound) IsSuccess() bool
- func (o *GetInvoicePaymentNotFound) String() string
- type GetInvoicePaymentOK
- func (o *GetInvoicePaymentOK) Code() int
- func (o *GetInvoicePaymentOK) Error() string
- func (o *GetInvoicePaymentOK) GetPayload() *kbmodel.InvoicePayment
- func (o *GetInvoicePaymentOK) IsClientError() bool
- func (o *GetInvoicePaymentOK) IsCode(code int) bool
- func (o *GetInvoicePaymentOK) IsRedirect() bool
- func (o *GetInvoicePaymentOK) IsServerError() bool
- func (o *GetInvoicePaymentOK) IsSuccess() bool
- func (o *GetInvoicePaymentOK) String() string
- type GetInvoicePaymentParams
- func NewGetInvoicePaymentParams() *GetInvoicePaymentParams
- func NewGetInvoicePaymentParamsWithContext(ctx context.Context) *GetInvoicePaymentParams
- func NewGetInvoicePaymentParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentParams
- func NewGetInvoicePaymentParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) SetAudit(audit *string)
- func (o *GetInvoicePaymentParams) SetContext(ctx context.Context)
- func (o *GetInvoicePaymentParams) SetDefaults()
- func (o *GetInvoicePaymentParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoicePaymentParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *GetInvoicePaymentParams) SetPluginProperty(pluginProperty []string)
- func (o *GetInvoicePaymentParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoicePaymentParams) SetWithAttempts(withAttempts *bool)
- func (o *GetInvoicePaymentParams) SetWithPluginInfo(withPluginInfo *bool)
- func (o *GetInvoicePaymentParams) WithAudit(audit *string) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WithContext(ctx context.Context) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WithDefaults() *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WithPaymentID(paymentID strfmt.UUID) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WithPluginProperty(pluginProperty []string) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WithTimeout(timeout time.Duration) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WithWithAttempts(withAttempts *bool) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WithWithPluginInfo(withPluginInfo *bool) *GetInvoicePaymentParams
- func (o *GetInvoicePaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoicePaymentReader
- type GetInvoicePaymentTagsBadRequest
- func (o *GetInvoicePaymentTagsBadRequest) Code() int
- func (o *GetInvoicePaymentTagsBadRequest) Error() string
- func (o *GetInvoicePaymentTagsBadRequest) IsClientError() bool
- func (o *GetInvoicePaymentTagsBadRequest) IsCode(code int) bool
- func (o *GetInvoicePaymentTagsBadRequest) IsRedirect() bool
- func (o *GetInvoicePaymentTagsBadRequest) IsServerError() bool
- func (o *GetInvoicePaymentTagsBadRequest) IsSuccess() bool
- func (o *GetInvoicePaymentTagsBadRequest) String() string
- type GetInvoicePaymentTagsNotFound
- func (o *GetInvoicePaymentTagsNotFound) Code() int
- func (o *GetInvoicePaymentTagsNotFound) Error() string
- func (o *GetInvoicePaymentTagsNotFound) IsClientError() bool
- func (o *GetInvoicePaymentTagsNotFound) IsCode(code int) bool
- func (o *GetInvoicePaymentTagsNotFound) IsRedirect() bool
- func (o *GetInvoicePaymentTagsNotFound) IsServerError() bool
- func (o *GetInvoicePaymentTagsNotFound) IsSuccess() bool
- func (o *GetInvoicePaymentTagsNotFound) String() string
- type GetInvoicePaymentTagsOK
- func (o *GetInvoicePaymentTagsOK) Code() int
- func (o *GetInvoicePaymentTagsOK) Error() string
- func (o *GetInvoicePaymentTagsOK) GetPayload() []*kbmodel.Tag
- func (o *GetInvoicePaymentTagsOK) IsClientError() bool
- func (o *GetInvoicePaymentTagsOK) IsCode(code int) bool
- func (o *GetInvoicePaymentTagsOK) IsRedirect() bool
- func (o *GetInvoicePaymentTagsOK) IsServerError() bool
- func (o *GetInvoicePaymentTagsOK) IsSuccess() bool
- func (o *GetInvoicePaymentTagsOK) String() string
- type GetInvoicePaymentTagsParams
- func NewGetInvoicePaymentTagsParams() *GetInvoicePaymentTagsParams
- func NewGetInvoicePaymentTagsParamsWithContext(ctx context.Context) *GetInvoicePaymentTagsParams
- func NewGetInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentTagsParams
- func NewGetInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) SetAudit(audit *string)
- func (o *GetInvoicePaymentTagsParams) SetContext(ctx context.Context)
- func (o *GetInvoicePaymentTagsParams) SetDefaults()
- func (o *GetInvoicePaymentTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoicePaymentTagsParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetInvoicePaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *GetInvoicePaymentTagsParams) SetPluginProperty(pluginProperty []string)
- func (o *GetInvoicePaymentTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoicePaymentTagsParams) WithAudit(audit *string) *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) WithContext(ctx context.Context) *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) WithDefaults() *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) WithPluginProperty(pluginProperty []string) *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) WithTimeout(timeout time.Duration) *GetInvoicePaymentTagsParams
- func (o *GetInvoicePaymentTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoicePaymentTagsReader
- type KillbillDefaults
- type ModifyInvoicePaymentCustomFieldsBadRequest
- func (o *ModifyInvoicePaymentCustomFieldsBadRequest) Code() int
- func (o *ModifyInvoicePaymentCustomFieldsBadRequest) Error() string
- func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsClientError() bool
- func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsCode(code int) bool
- func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsRedirect() bool
- func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsServerError() bool
- func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsSuccess() bool
- func (o *ModifyInvoicePaymentCustomFieldsBadRequest) String() string
- type ModifyInvoicePaymentCustomFieldsNoContent
- func (o *ModifyInvoicePaymentCustomFieldsNoContent) Code() int
- func (o *ModifyInvoicePaymentCustomFieldsNoContent) Error() string
- func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsClientError() bool
- func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsCode(code int) bool
- func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsRedirect() bool
- func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsServerError() bool
- func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsSuccess() bool
- func (o *ModifyInvoicePaymentCustomFieldsNoContent) String() string
- type ModifyInvoicePaymentCustomFieldsParams
- func NewModifyInvoicePaymentCustomFieldsParams() *ModifyInvoicePaymentCustomFieldsParams
- func NewModifyInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoicePaymentCustomFieldsParams
- func NewModifyInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoicePaymentCustomFieldsParams
- func NewModifyInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetContext(ctx context.Context)
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetDefaults()
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ModifyInvoicePaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithContext(ctx context.Context) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithDefaults() *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithPaymentID(paymentID strfmt.UUID) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyInvoicePaymentCustomFieldsParams
- func (o *ModifyInvoicePaymentCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyInvoicePaymentCustomFieldsReader
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 invoice payment API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new invoice payment API client.
func (*Client) CompleteInvoicePaymentTransaction ¶
func (a *Client) CompleteInvoicePaymentTransaction(ctx context.Context, params *CompleteInvoicePaymentTransactionParams) (*CompleteInvoicePaymentTransactionNoContent, error)
CompleteInvoicePaymentTransaction completes an existing transaction
func (*Client) CreateChargeback ¶
func (a *Client) CreateChargeback(ctx context.Context, params *CreateChargebackParams) (*CreateChargebackCreated, error)
CreateChargeback records a chargeback
func (*Client) CreateChargebackReversal ¶
func (a *Client) CreateChargebackReversal(ctx context.Context, params *CreateChargebackReversalParams) (*CreateChargebackReversalCreated, error)
CreateChargebackReversal records a chargeback reversal
func (*Client) CreateInvoicePaymentCustomFields ¶
func (a *Client) CreateInvoicePaymentCustomFields(ctx context.Context, params *CreateInvoicePaymentCustomFieldsParams) (*CreateInvoicePaymentCustomFieldsCreated, error)
CreateInvoicePaymentCustomFields adds custom fields to payment
func (*Client) CreateInvoicePaymentTags ¶
func (a *Client) CreateInvoicePaymentTags(ctx context.Context, params *CreateInvoicePaymentTagsParams) (*CreateInvoicePaymentTagsCreated, error)
CreateInvoicePaymentTags adds tags to payment
func (*Client) CreateRefundWithAdjustments ¶
func (a *Client) CreateRefundWithAdjustments(ctx context.Context, params *CreateRefundWithAdjustmentsParams) (*CreateRefundWithAdjustmentsCreated, error)
CreateRefundWithAdjustments refunds a payment and adjust the invoice if needed
func (*Client) DeleteInvoicePaymentCustomFields ¶
func (a *Client) DeleteInvoicePaymentCustomFields(ctx context.Context, params *DeleteInvoicePaymentCustomFieldsParams) (*DeleteInvoicePaymentCustomFieldsNoContent, error)
DeleteInvoicePaymentCustomFields removes custom fields from payment
func (*Client) DeleteInvoicePaymentTags ¶
func (a *Client) DeleteInvoicePaymentTags(ctx context.Context, params *DeleteInvoicePaymentTagsParams) (*DeleteInvoicePaymentTagsNoContent, error)
DeleteInvoicePaymentTags removes tags from payment
func (*Client) GetInvoicePayment ¶
func (a *Client) GetInvoicePayment(ctx context.Context, params *GetInvoicePaymentParams) (*GetInvoicePaymentOK, error)
GetInvoicePayment retrieves a payment by id
func (*Client) GetInvoicePaymentAuditLogsWithHistory ¶
func (a *Client) GetInvoicePaymentAuditLogsWithHistory(ctx context.Context, params *GetInvoicePaymentAuditLogsWithHistoryParams) (*GetInvoicePaymentAuditLogsWithHistoryOK, error)
GetInvoicePaymentAuditLogsWithHistory retrieves invoice payment audit logs with history by id
func (*Client) GetInvoicePaymentCustomFields ¶
func (a *Client) GetInvoicePaymentCustomFields(ctx context.Context, params *GetInvoicePaymentCustomFieldsParams) (*GetInvoicePaymentCustomFieldsOK, error)
GetInvoicePaymentCustomFields retrieves payment custom fields
func (*Client) GetInvoicePaymentTags ¶
func (a *Client) GetInvoicePaymentTags(ctx context.Context, params *GetInvoicePaymentTagsParams) (*GetInvoicePaymentTagsOK, error)
GetInvoicePaymentTags retrieves payment tags
func (*Client) ModifyInvoicePaymentCustomFields ¶
func (a *Client) ModifyInvoicePaymentCustomFields(ctx context.Context, params *ModifyInvoicePaymentCustomFieldsParams) (*ModifyInvoicePaymentCustomFieldsNoContent, error)
ModifyInvoicePaymentCustomFields modifies custom fields to payment
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 { CompleteInvoicePaymentTransaction(ctx context.Context, params *CompleteInvoicePaymentTransactionParams) (*CompleteInvoicePaymentTransactionNoContent, error) CreateChargeback(ctx context.Context, params *CreateChargebackParams) (*CreateChargebackCreated, error) CreateChargebackReversal(ctx context.Context, params *CreateChargebackReversalParams) (*CreateChargebackReversalCreated, error) CreateInvoicePaymentCustomFields(ctx context.Context, params *CreateInvoicePaymentCustomFieldsParams) (*CreateInvoicePaymentCustomFieldsCreated, error) CreateInvoicePaymentTags(ctx context.Context, params *CreateInvoicePaymentTagsParams) (*CreateInvoicePaymentTagsCreated, error) CreateRefundWithAdjustments(ctx context.Context, params *CreateRefundWithAdjustmentsParams) (*CreateRefundWithAdjustmentsCreated, error) DeleteInvoicePaymentCustomFields(ctx context.Context, params *DeleteInvoicePaymentCustomFieldsParams) (*DeleteInvoicePaymentCustomFieldsNoContent, error) DeleteInvoicePaymentTags(ctx context.Context, params *DeleteInvoicePaymentTagsParams) (*DeleteInvoicePaymentTagsNoContent, error) GetInvoicePayment(ctx context.Context, params *GetInvoicePaymentParams) (*GetInvoicePaymentOK, error) GetInvoicePaymentAuditLogsWithHistory(ctx context.Context, params *GetInvoicePaymentAuditLogsWithHistoryParams) (*GetInvoicePaymentAuditLogsWithHistoryOK, error) GetInvoicePaymentCustomFields(ctx context.Context, params *GetInvoicePaymentCustomFieldsParams) (*GetInvoicePaymentCustomFieldsOK, error) GetInvoicePaymentTags(ctx context.Context, params *GetInvoicePaymentTagsParams) (*GetInvoicePaymentTagsOK, error) ModifyInvoicePaymentCustomFields(ctx context.Context, params *ModifyInvoicePaymentCustomFieldsParams) (*ModifyInvoicePaymentCustomFieldsNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
type CompleteInvoicePaymentTransactionBadGateway ¶
type CompleteInvoicePaymentTransactionBadGateway struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionBadGateway describes a response with status code 502, with default header values.
Failed to submit payment transaction
func NewCompleteInvoicePaymentTransactionBadGateway ¶
func NewCompleteInvoicePaymentTransactionBadGateway() *CompleteInvoicePaymentTransactionBadGateway
NewCompleteInvoicePaymentTransactionBadGateway creates a CompleteInvoicePaymentTransactionBadGateway with default headers values
func (*CompleteInvoicePaymentTransactionBadGateway) Code ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) Code() int
Code gets the status code for the complete invoice payment transaction bad gateway response
func (*CompleteInvoicePaymentTransactionBadGateway) Error ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) Error() string
func (*CompleteInvoicePaymentTransactionBadGateway) IsClientError ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) IsClientError() bool
IsClientError returns true when this complete invoice payment transaction bad gateway response has a 4xx status code
func (*CompleteInvoicePaymentTransactionBadGateway) IsCode ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) IsCode(code int) bool
IsCode returns true when this complete invoice payment transaction bad gateway response a status code equal to that given
func (*CompleteInvoicePaymentTransactionBadGateway) IsRedirect ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) IsRedirect() bool
IsRedirect returns true when this complete invoice payment transaction bad gateway response has a 3xx status code
func (*CompleteInvoicePaymentTransactionBadGateway) IsServerError ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) IsServerError() bool
IsServerError returns true when this complete invoice payment transaction bad gateway response has a 5xx status code
func (*CompleteInvoicePaymentTransactionBadGateway) IsSuccess ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) IsSuccess() bool
IsSuccess returns true when this complete invoice payment transaction bad gateway response has a 2xx status code
func (*CompleteInvoicePaymentTransactionBadGateway) String ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) String() string
type CompleteInvoicePaymentTransactionBadRequest ¶
type CompleteInvoicePaymentTransactionBadRequest struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionBadRequest describes a response with status code 400, with default header values.
Invalid paymentId supplied
func NewCompleteInvoicePaymentTransactionBadRequest ¶
func NewCompleteInvoicePaymentTransactionBadRequest() *CompleteInvoicePaymentTransactionBadRequest
NewCompleteInvoicePaymentTransactionBadRequest creates a CompleteInvoicePaymentTransactionBadRequest with default headers values
func (*CompleteInvoicePaymentTransactionBadRequest) Code ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) Code() int
Code gets the status code for the complete invoice payment transaction bad request response
func (*CompleteInvoicePaymentTransactionBadRequest) Error ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) Error() string
func (*CompleteInvoicePaymentTransactionBadRequest) IsClientError ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) IsClientError() bool
IsClientError returns true when this complete invoice payment transaction bad request response has a 4xx status code
func (*CompleteInvoicePaymentTransactionBadRequest) IsCode ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) IsCode(code int) bool
IsCode returns true when this complete invoice payment transaction bad request response a status code equal to that given
func (*CompleteInvoicePaymentTransactionBadRequest) IsRedirect ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) IsRedirect() bool
IsRedirect returns true when this complete invoice payment transaction bad request response has a 3xx status code
func (*CompleteInvoicePaymentTransactionBadRequest) IsServerError ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) IsServerError() bool
IsServerError returns true when this complete invoice payment transaction bad request response has a 5xx status code
func (*CompleteInvoicePaymentTransactionBadRequest) IsSuccess ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) IsSuccess() bool
IsSuccess returns true when this complete invoice payment transaction bad request response has a 2xx status code
func (*CompleteInvoicePaymentTransactionBadRequest) String ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) String() string
type CompleteInvoicePaymentTransactionGatewayTimeout ¶
type CompleteInvoicePaymentTransactionGatewayTimeout struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionGatewayTimeout describes a response with status code 504, with default header values.
Payment operation timeout
func NewCompleteInvoicePaymentTransactionGatewayTimeout ¶
func NewCompleteInvoicePaymentTransactionGatewayTimeout() *CompleteInvoicePaymentTransactionGatewayTimeout
NewCompleteInvoicePaymentTransactionGatewayTimeout creates a CompleteInvoicePaymentTransactionGatewayTimeout with default headers values
func (*CompleteInvoicePaymentTransactionGatewayTimeout) Code ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) Code() int
Code gets the status code for the complete invoice payment transaction gateway timeout response
func (*CompleteInvoicePaymentTransactionGatewayTimeout) Error ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) Error() string
func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsClientError ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsClientError() bool
IsClientError returns true when this complete invoice payment transaction gateway timeout response has a 4xx status code
func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsCode ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsCode(code int) bool
IsCode returns true when this complete invoice payment transaction gateway timeout response a status code equal to that given
func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsRedirect ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this complete invoice payment transaction gateway timeout response has a 3xx status code
func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsServerError ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsServerError() bool
IsServerError returns true when this complete invoice payment transaction gateway timeout response has a 5xx status code
func (*CompleteInvoicePaymentTransactionGatewayTimeout) IsSuccess ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this complete invoice payment transaction gateway timeout response has a 2xx status code
func (*CompleteInvoicePaymentTransactionGatewayTimeout) String ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) String() string
type CompleteInvoicePaymentTransactionNoContent ¶
type CompleteInvoicePaymentTransactionNoContent struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionNoContent describes a response with status code 204, with default header values.
Successful operation
func NewCompleteInvoicePaymentTransactionNoContent ¶
func NewCompleteInvoicePaymentTransactionNoContent() *CompleteInvoicePaymentTransactionNoContent
NewCompleteInvoicePaymentTransactionNoContent creates a CompleteInvoicePaymentTransactionNoContent with default headers values
func (*CompleteInvoicePaymentTransactionNoContent) Code ¶
func (o *CompleteInvoicePaymentTransactionNoContent) Code() int
Code gets the status code for the complete invoice payment transaction no content response
func (*CompleteInvoicePaymentTransactionNoContent) Error ¶
func (o *CompleteInvoicePaymentTransactionNoContent) Error() string
func (*CompleteInvoicePaymentTransactionNoContent) IsClientError ¶
func (o *CompleteInvoicePaymentTransactionNoContent) IsClientError() bool
IsClientError returns true when this complete invoice payment transaction no content response has a 4xx status code
func (*CompleteInvoicePaymentTransactionNoContent) IsCode ¶
func (o *CompleteInvoicePaymentTransactionNoContent) IsCode(code int) bool
IsCode returns true when this complete invoice payment transaction no content response a status code equal to that given
func (*CompleteInvoicePaymentTransactionNoContent) IsRedirect ¶
func (o *CompleteInvoicePaymentTransactionNoContent) IsRedirect() bool
IsRedirect returns true when this complete invoice payment transaction no content response has a 3xx status code
func (*CompleteInvoicePaymentTransactionNoContent) IsServerError ¶
func (o *CompleteInvoicePaymentTransactionNoContent) IsServerError() bool
IsServerError returns true when this complete invoice payment transaction no content response has a 5xx status code
func (*CompleteInvoicePaymentTransactionNoContent) IsSuccess ¶
func (o *CompleteInvoicePaymentTransactionNoContent) IsSuccess() bool
IsSuccess returns true when this complete invoice payment transaction no content response has a 2xx status code
func (*CompleteInvoicePaymentTransactionNoContent) String ¶
func (o *CompleteInvoicePaymentTransactionNoContent) String() string
type CompleteInvoicePaymentTransactionNotFound ¶
type CompleteInvoicePaymentTransactionNotFound struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionNotFound describes a response with status code 404, with default header values.
Account or payment not found
func NewCompleteInvoicePaymentTransactionNotFound ¶
func NewCompleteInvoicePaymentTransactionNotFound() *CompleteInvoicePaymentTransactionNotFound
NewCompleteInvoicePaymentTransactionNotFound creates a CompleteInvoicePaymentTransactionNotFound with default headers values
func (*CompleteInvoicePaymentTransactionNotFound) Code ¶
func (o *CompleteInvoicePaymentTransactionNotFound) Code() int
Code gets the status code for the complete invoice payment transaction not found response
func (*CompleteInvoicePaymentTransactionNotFound) Error ¶
func (o *CompleteInvoicePaymentTransactionNotFound) Error() string
func (*CompleteInvoicePaymentTransactionNotFound) IsClientError ¶
func (o *CompleteInvoicePaymentTransactionNotFound) IsClientError() bool
IsClientError returns true when this complete invoice payment transaction not found response has a 4xx status code
func (*CompleteInvoicePaymentTransactionNotFound) IsCode ¶
func (o *CompleteInvoicePaymentTransactionNotFound) IsCode(code int) bool
IsCode returns true when this complete invoice payment transaction not found response a status code equal to that given
func (*CompleteInvoicePaymentTransactionNotFound) IsRedirect ¶
func (o *CompleteInvoicePaymentTransactionNotFound) IsRedirect() bool
IsRedirect returns true when this complete invoice payment transaction not found response has a 3xx status code
func (*CompleteInvoicePaymentTransactionNotFound) IsServerError ¶
func (o *CompleteInvoicePaymentTransactionNotFound) IsServerError() bool
IsServerError returns true when this complete invoice payment transaction not found response has a 5xx status code
func (*CompleteInvoicePaymentTransactionNotFound) IsSuccess ¶
func (o *CompleteInvoicePaymentTransactionNotFound) IsSuccess() bool
IsSuccess returns true when this complete invoice payment transaction not found response has a 2xx status code
func (*CompleteInvoicePaymentTransactionNotFound) String ¶
func (o *CompleteInvoicePaymentTransactionNotFound) String() string
type CompleteInvoicePaymentTransactionParams ¶
type CompleteInvoicePaymentTransactionParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.PaymentTransaction // ControlPluginName. ControlPluginName []string // PaymentID. // // Format: uuid PaymentID strfmt.UUID // PluginProperty. PluginProperty []string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
CompleteInvoicePaymentTransactionParams contains all the parameters to send to the API endpoint
for the complete invoice payment transaction operation. Typically these are written to a http.Request.
func NewCompleteInvoicePaymentTransactionParams ¶
func NewCompleteInvoicePaymentTransactionParams() *CompleteInvoicePaymentTransactionParams
NewCompleteInvoicePaymentTransactionParams creates a new CompleteInvoicePaymentTransactionParams 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 NewCompleteInvoicePaymentTransactionParamsWithContext ¶
func NewCompleteInvoicePaymentTransactionParamsWithContext(ctx context.Context) *CompleteInvoicePaymentTransactionParams
NewCompleteInvoicePaymentTransactionParamsWithContext creates a new CompleteInvoicePaymentTransactionParams object with the ability to set a context for a request.
func NewCompleteInvoicePaymentTransactionParamsWithHTTPClient ¶
func NewCompleteInvoicePaymentTransactionParamsWithHTTPClient(client *http.Client) *CompleteInvoicePaymentTransactionParams
NewCompleteInvoicePaymentTransactionParamsWithHTTPClient creates a new CompleteInvoicePaymentTransactionParams object with the ability to set a custom HTTPClient for a request.
func NewCompleteInvoicePaymentTransactionParamsWithTimeout ¶
func NewCompleteInvoicePaymentTransactionParamsWithTimeout(timeout time.Duration) *CompleteInvoicePaymentTransactionParams
NewCompleteInvoicePaymentTransactionParamsWithTimeout creates a new CompleteInvoicePaymentTransactionParams object with the ability to set a timeout on a request.
func (*CompleteInvoicePaymentTransactionParams) SetBody ¶
func (o *CompleteInvoicePaymentTransactionParams) SetBody(body *kbmodel.PaymentTransaction)
SetBody adds the body to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetContext ¶
func (o *CompleteInvoicePaymentTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetControlPluginName ¶
func (o *CompleteInvoicePaymentTransactionParams) SetControlPluginName(controlPluginName []string)
SetControlPluginName adds the controlPluginName to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetDefaults ¶
func (o *CompleteInvoicePaymentTransactionParams) SetDefaults()
SetDefaults hydrates default values in the complete invoice payment transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CompleteInvoicePaymentTransactionParams) SetHTTPClient ¶
func (o *CompleteInvoicePaymentTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetPaymentID ¶
func (o *CompleteInvoicePaymentTransactionParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetPluginProperty ¶
func (o *CompleteInvoicePaymentTransactionParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetTimeout ¶
func (o *CompleteInvoicePaymentTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetXKillbillComment ¶
func (o *CompleteInvoicePaymentTransactionParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetXKillbillCreatedBy ¶
func (o *CompleteInvoicePaymentTransactionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) SetXKillbillReason ¶
func (o *CompleteInvoicePaymentTransactionParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithBody ¶
func (o *CompleteInvoicePaymentTransactionParams) WithBody(body *kbmodel.PaymentTransaction) *CompleteInvoicePaymentTransactionParams
WithBody adds the body to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithContext ¶
func (o *CompleteInvoicePaymentTransactionParams) WithContext(ctx context.Context) *CompleteInvoicePaymentTransactionParams
WithContext adds the context to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithControlPluginName ¶
func (o *CompleteInvoicePaymentTransactionParams) WithControlPluginName(controlPluginName []string) *CompleteInvoicePaymentTransactionParams
WithControlPluginName adds the controlPluginName to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithDefaults ¶
func (o *CompleteInvoicePaymentTransactionParams) WithDefaults() *CompleteInvoicePaymentTransactionParams
WithDefaults hydrates default values in the complete invoice payment transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CompleteInvoicePaymentTransactionParams) WithHTTPClient ¶
func (o *CompleteInvoicePaymentTransactionParams) WithHTTPClient(client *http.Client) *CompleteInvoicePaymentTransactionParams
WithHTTPClient adds the HTTPClient to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithPaymentID ¶
func (o *CompleteInvoicePaymentTransactionParams) WithPaymentID(paymentID strfmt.UUID) *CompleteInvoicePaymentTransactionParams
WithPaymentID adds the paymentID to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithPluginProperty ¶
func (o *CompleteInvoicePaymentTransactionParams) WithPluginProperty(pluginProperty []string) *CompleteInvoicePaymentTransactionParams
WithPluginProperty adds the pluginProperty to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithTimeout ¶
func (o *CompleteInvoicePaymentTransactionParams) WithTimeout(timeout time.Duration) *CompleteInvoicePaymentTransactionParams
WithTimeout adds the timeout to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithXKillbillComment ¶
func (o *CompleteInvoicePaymentTransactionParams) WithXKillbillComment(xKillbillComment *string) *CompleteInvoicePaymentTransactionParams
WithXKillbillComment adds the xKillbillComment to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithXKillbillCreatedBy ¶
func (o *CompleteInvoicePaymentTransactionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CompleteInvoicePaymentTransactionParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WithXKillbillReason ¶
func (o *CompleteInvoicePaymentTransactionParams) WithXKillbillReason(xKillbillReason *string) *CompleteInvoicePaymentTransactionParams
WithXKillbillReason adds the xKillbillReason to the complete invoice payment transaction params
func (*CompleteInvoicePaymentTransactionParams) WriteToRequest ¶
func (o *CompleteInvoicePaymentTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompleteInvoicePaymentTransactionPaymentRequired ¶
type CompleteInvoicePaymentTransactionPaymentRequired struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionPaymentRequired describes a response with status code 402, with default header values.
Transaction declined by gateway
func NewCompleteInvoicePaymentTransactionPaymentRequired ¶
func NewCompleteInvoicePaymentTransactionPaymentRequired() *CompleteInvoicePaymentTransactionPaymentRequired
NewCompleteInvoicePaymentTransactionPaymentRequired creates a CompleteInvoicePaymentTransactionPaymentRequired with default headers values
func (*CompleteInvoicePaymentTransactionPaymentRequired) Code ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) Code() int
Code gets the status code for the complete invoice payment transaction payment required response
func (*CompleteInvoicePaymentTransactionPaymentRequired) Error ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) Error() string
func (*CompleteInvoicePaymentTransactionPaymentRequired) IsClientError ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsClientError() bool
IsClientError returns true when this complete invoice payment transaction payment required response has a 4xx status code
func (*CompleteInvoicePaymentTransactionPaymentRequired) IsCode ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsCode(code int) bool
IsCode returns true when this complete invoice payment transaction payment required response a status code equal to that given
func (*CompleteInvoicePaymentTransactionPaymentRequired) IsRedirect ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsRedirect() bool
IsRedirect returns true when this complete invoice payment transaction payment required response has a 3xx status code
func (*CompleteInvoicePaymentTransactionPaymentRequired) IsServerError ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsServerError() bool
IsServerError returns true when this complete invoice payment transaction payment required response has a 5xx status code
func (*CompleteInvoicePaymentTransactionPaymentRequired) IsSuccess ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) IsSuccess() bool
IsSuccess returns true when this complete invoice payment transaction payment required response has a 2xx status code
func (*CompleteInvoicePaymentTransactionPaymentRequired) String ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) String() string
type CompleteInvoicePaymentTransactionReader ¶
type CompleteInvoicePaymentTransactionReader struct {
// contains filtered or unexported fields
}
CompleteInvoicePaymentTransactionReader is a Reader for the CompleteInvoicePaymentTransaction structure.
func (*CompleteInvoicePaymentTransactionReader) ReadResponse ¶
func (o *CompleteInvoicePaymentTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CompleteInvoicePaymentTransactionServiceUnavailable ¶
type CompleteInvoicePaymentTransactionServiceUnavailable struct {
}CompleteInvoicePaymentTransactionServiceUnavailable describes a response with status code 503, with default header values.
Payment in unknown status, failed to receive gateway response
func NewCompleteInvoicePaymentTransactionServiceUnavailable ¶
func NewCompleteInvoicePaymentTransactionServiceUnavailable() *CompleteInvoicePaymentTransactionServiceUnavailable
NewCompleteInvoicePaymentTransactionServiceUnavailable creates a CompleteInvoicePaymentTransactionServiceUnavailable with default headers values
func (*CompleteInvoicePaymentTransactionServiceUnavailable) Code ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) Code() int
Code gets the status code for the complete invoice payment transaction service unavailable response
func (*CompleteInvoicePaymentTransactionServiceUnavailable) Error ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) Error() string
func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsClientError ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsClientError() bool
IsClientError returns true when this complete invoice payment transaction service unavailable response has a 4xx status code
func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsCode ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsCode(code int) bool
IsCode returns true when this complete invoice payment transaction service unavailable response a status code equal to that given
func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsRedirect ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this complete invoice payment transaction service unavailable response has a 3xx status code
func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsServerError ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsServerError() bool
IsServerError returns true when this complete invoice payment transaction service unavailable response has a 5xx status code
func (*CompleteInvoicePaymentTransactionServiceUnavailable) IsSuccess ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this complete invoice payment transaction service unavailable response has a 2xx status code
func (*CompleteInvoicePaymentTransactionServiceUnavailable) String ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) String() string
type CompleteInvoicePaymentTransactionUnprocessableEntity ¶
type CompleteInvoicePaymentTransactionUnprocessableEntity struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionUnprocessableEntity describes a response with status code 422, with default header values.
Payment is aborted by a control plugin
func NewCompleteInvoicePaymentTransactionUnprocessableEntity ¶
func NewCompleteInvoicePaymentTransactionUnprocessableEntity() *CompleteInvoicePaymentTransactionUnprocessableEntity
NewCompleteInvoicePaymentTransactionUnprocessableEntity creates a CompleteInvoicePaymentTransactionUnprocessableEntity with default headers values
func (*CompleteInvoicePaymentTransactionUnprocessableEntity) Code ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) Code() int
Code gets the status code for the complete invoice payment transaction unprocessable entity response
func (*CompleteInvoicePaymentTransactionUnprocessableEntity) Error ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) Error() string
func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsClientError ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsClientError() bool
IsClientError returns true when this complete invoice payment transaction unprocessable entity response has a 4xx status code
func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsCode ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this complete invoice payment transaction unprocessable entity response a status code equal to that given
func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsRedirect ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this complete invoice payment transaction unprocessable entity response has a 3xx status code
func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsServerError ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsServerError() bool
IsServerError returns true when this complete invoice payment transaction unprocessable entity response has a 5xx status code
func (*CompleteInvoicePaymentTransactionUnprocessableEntity) IsSuccess ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this complete invoice payment transaction unprocessable entity response has a 2xx status code
func (*CompleteInvoicePaymentTransactionUnprocessableEntity) String ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) String() string
type CreateChargebackBadRequest ¶
type CreateChargebackBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateChargebackBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewCreateChargebackBadRequest ¶
func NewCreateChargebackBadRequest() *CreateChargebackBadRequest
NewCreateChargebackBadRequest creates a CreateChargebackBadRequest with default headers values
func (*CreateChargebackBadRequest) Code ¶
func (o *CreateChargebackBadRequest) Code() int
Code gets the status code for the create chargeback bad request response
func (*CreateChargebackBadRequest) Error ¶
func (o *CreateChargebackBadRequest) Error() string
func (*CreateChargebackBadRequest) IsClientError ¶
func (o *CreateChargebackBadRequest) IsClientError() bool
IsClientError returns true when this create chargeback bad request response has a 4xx status code
func (*CreateChargebackBadRequest) IsCode ¶
func (o *CreateChargebackBadRequest) IsCode(code int) bool
IsCode returns true when this create chargeback bad request response a status code equal to that given
func (*CreateChargebackBadRequest) IsRedirect ¶
func (o *CreateChargebackBadRequest) IsRedirect() bool
IsRedirect returns true when this create chargeback bad request response has a 3xx status code
func (*CreateChargebackBadRequest) IsServerError ¶
func (o *CreateChargebackBadRequest) IsServerError() bool
IsServerError returns true when this create chargeback bad request response has a 5xx status code
func (*CreateChargebackBadRequest) IsSuccess ¶
func (o *CreateChargebackBadRequest) IsSuccess() bool
IsSuccess returns true when this create chargeback bad request response has a 2xx status code
func (*CreateChargebackBadRequest) String ¶
func (o *CreateChargebackBadRequest) String() string
type CreateChargebackCreated ¶
type CreateChargebackCreated struct { Payload *kbmodel.InvoicePayment HttpResponse runtime.ClientResponse }
CreateChargebackCreated describes a response with status code 201, with default header values.
Created chargeback successfully
func NewCreateChargebackCreated ¶
func NewCreateChargebackCreated() *CreateChargebackCreated
NewCreateChargebackCreated creates a CreateChargebackCreated with default headers values
func (*CreateChargebackCreated) Code ¶
func (o *CreateChargebackCreated) Code() int
Code gets the status code for the create chargeback created response
func (*CreateChargebackCreated) Error ¶
func (o *CreateChargebackCreated) Error() string
func (*CreateChargebackCreated) GetPayload ¶
func (o *CreateChargebackCreated) GetPayload() *kbmodel.InvoicePayment
func (*CreateChargebackCreated) IsClientError ¶
func (o *CreateChargebackCreated) IsClientError() bool
IsClientError returns true when this create chargeback created response has a 4xx status code
func (*CreateChargebackCreated) IsCode ¶
func (o *CreateChargebackCreated) IsCode(code int) bool
IsCode returns true when this create chargeback created response a status code equal to that given
func (*CreateChargebackCreated) IsRedirect ¶
func (o *CreateChargebackCreated) IsRedirect() bool
IsRedirect returns true when this create chargeback created response has a 3xx status code
func (*CreateChargebackCreated) IsServerError ¶
func (o *CreateChargebackCreated) IsServerError() bool
IsServerError returns true when this create chargeback created response has a 5xx status code
func (*CreateChargebackCreated) IsSuccess ¶
func (o *CreateChargebackCreated) IsSuccess() bool
IsSuccess returns true when this create chargeback created response has a 2xx status code
func (*CreateChargebackCreated) String ¶
func (o *CreateChargebackCreated) String() string
type CreateChargebackNotFound ¶
type CreateChargebackNotFound struct {
HttpResponse runtime.ClientResponse
}
CreateChargebackNotFound describes a response with status code 404, with default header values.
Account or payment not found
func NewCreateChargebackNotFound ¶
func NewCreateChargebackNotFound() *CreateChargebackNotFound
NewCreateChargebackNotFound creates a CreateChargebackNotFound with default headers values
func (*CreateChargebackNotFound) Code ¶
func (o *CreateChargebackNotFound) Code() int
Code gets the status code for the create chargeback not found response
func (*CreateChargebackNotFound) Error ¶
func (o *CreateChargebackNotFound) Error() string
func (*CreateChargebackNotFound) IsClientError ¶
func (o *CreateChargebackNotFound) IsClientError() bool
IsClientError returns true when this create chargeback not found response has a 4xx status code
func (*CreateChargebackNotFound) IsCode ¶
func (o *CreateChargebackNotFound) IsCode(code int) bool
IsCode returns true when this create chargeback not found response a status code equal to that given
func (*CreateChargebackNotFound) IsRedirect ¶
func (o *CreateChargebackNotFound) IsRedirect() bool
IsRedirect returns true when this create chargeback not found response has a 3xx status code
func (*CreateChargebackNotFound) IsServerError ¶
func (o *CreateChargebackNotFound) IsServerError() bool
IsServerError returns true when this create chargeback not found response has a 5xx status code
func (*CreateChargebackNotFound) IsSuccess ¶
func (o *CreateChargebackNotFound) IsSuccess() bool
IsSuccess returns true when this create chargeback not found response has a 2xx status code
func (*CreateChargebackNotFound) String ¶
func (o *CreateChargebackNotFound) String() string
type CreateChargebackParams ¶
type CreateChargebackParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.InvoicePaymentTransaction // PaymentID. // // Format: uuid PaymentID strfmt.UUID // PluginProperty. PluginProperty []string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
CreateChargebackParams contains all the parameters to send to the API endpoint
for the create chargeback operation. Typically these are written to a http.Request.
func NewCreateChargebackParams ¶
func NewCreateChargebackParams() *CreateChargebackParams
NewCreateChargebackParams creates a new CreateChargebackParams 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 NewCreateChargebackParamsWithContext ¶
func NewCreateChargebackParamsWithContext(ctx context.Context) *CreateChargebackParams
NewCreateChargebackParamsWithContext creates a new CreateChargebackParams object with the ability to set a context for a request.
func NewCreateChargebackParamsWithHTTPClient ¶
func NewCreateChargebackParamsWithHTTPClient(client *http.Client) *CreateChargebackParams
NewCreateChargebackParamsWithHTTPClient creates a new CreateChargebackParams object with the ability to set a custom HTTPClient for a request.
func NewCreateChargebackParamsWithTimeout ¶
func NewCreateChargebackParamsWithTimeout(timeout time.Duration) *CreateChargebackParams
NewCreateChargebackParamsWithTimeout creates a new CreateChargebackParams object with the ability to set a timeout on a request.
func (*CreateChargebackParams) SetBody ¶
func (o *CreateChargebackParams) SetBody(body *kbmodel.InvoicePaymentTransaction)
SetBody adds the body to the create chargeback params
func (*CreateChargebackParams) SetContext ¶
func (o *CreateChargebackParams) SetContext(ctx context.Context)
SetContext adds the context to the create chargeback params
func (*CreateChargebackParams) SetDefaults ¶
func (o *CreateChargebackParams) SetDefaults()
SetDefaults hydrates default values in the create chargeback params (not the query body).
All values with no default are reset to their zero value.
func (*CreateChargebackParams) SetHTTPClient ¶
func (o *CreateChargebackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create chargeback params
func (*CreateChargebackParams) SetPaymentID ¶
func (o *CreateChargebackParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the create chargeback params
func (*CreateChargebackParams) SetPluginProperty ¶
func (o *CreateChargebackParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the create chargeback params
func (*CreateChargebackParams) SetTimeout ¶
func (o *CreateChargebackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create chargeback params
func (*CreateChargebackParams) SetXKillbillComment ¶
func (o *CreateChargebackParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create chargeback params
func (*CreateChargebackParams) SetXKillbillCreatedBy ¶
func (o *CreateChargebackParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create chargeback params
func (*CreateChargebackParams) SetXKillbillReason ¶
func (o *CreateChargebackParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create chargeback params
func (*CreateChargebackParams) WithBody ¶
func (o *CreateChargebackParams) WithBody(body *kbmodel.InvoicePaymentTransaction) *CreateChargebackParams
WithBody adds the body to the create chargeback params
func (*CreateChargebackParams) WithContext ¶
func (o *CreateChargebackParams) WithContext(ctx context.Context) *CreateChargebackParams
WithContext adds the context to the create chargeback params
func (*CreateChargebackParams) WithDefaults ¶
func (o *CreateChargebackParams) WithDefaults() *CreateChargebackParams
WithDefaults hydrates default values in the create chargeback params (not the query body).
All values with no default are reset to their zero value.
func (*CreateChargebackParams) WithHTTPClient ¶
func (o *CreateChargebackParams) WithHTTPClient(client *http.Client) *CreateChargebackParams
WithHTTPClient adds the HTTPClient to the create chargeback params
func (*CreateChargebackParams) WithPaymentID ¶
func (o *CreateChargebackParams) WithPaymentID(paymentID strfmt.UUID) *CreateChargebackParams
WithPaymentID adds the paymentID to the create chargeback params
func (*CreateChargebackParams) WithPluginProperty ¶
func (o *CreateChargebackParams) WithPluginProperty(pluginProperty []string) *CreateChargebackParams
WithPluginProperty adds the pluginProperty to the create chargeback params
func (*CreateChargebackParams) WithTimeout ¶
func (o *CreateChargebackParams) WithTimeout(timeout time.Duration) *CreateChargebackParams
WithTimeout adds the timeout to the create chargeback params
func (*CreateChargebackParams) WithXKillbillComment ¶
func (o *CreateChargebackParams) WithXKillbillComment(xKillbillComment *string) *CreateChargebackParams
WithXKillbillComment adds the xKillbillComment to the create chargeback params
func (*CreateChargebackParams) WithXKillbillCreatedBy ¶
func (o *CreateChargebackParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateChargebackParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create chargeback params
func (*CreateChargebackParams) WithXKillbillReason ¶
func (o *CreateChargebackParams) WithXKillbillReason(xKillbillReason *string) *CreateChargebackParams
WithXKillbillReason adds the xKillbillReason to the create chargeback params
func (*CreateChargebackParams) WriteToRequest ¶
func (o *CreateChargebackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateChargebackReader ¶
type CreateChargebackReader struct {
// contains filtered or unexported fields
}
CreateChargebackReader is a Reader for the CreateChargeback structure.
func (*CreateChargebackReader) ReadResponse ¶
func (o *CreateChargebackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateChargebackReversalBadRequest ¶
type CreateChargebackReversalBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateChargebackReversalBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewCreateChargebackReversalBadRequest ¶
func NewCreateChargebackReversalBadRequest() *CreateChargebackReversalBadRequest
NewCreateChargebackReversalBadRequest creates a CreateChargebackReversalBadRequest with default headers values
func (*CreateChargebackReversalBadRequest) Code ¶
func (o *CreateChargebackReversalBadRequest) Code() int
Code gets the status code for the create chargeback reversal bad request response
func (*CreateChargebackReversalBadRequest) Error ¶
func (o *CreateChargebackReversalBadRequest) Error() string
func (*CreateChargebackReversalBadRequest) IsClientError ¶
func (o *CreateChargebackReversalBadRequest) IsClientError() bool
IsClientError returns true when this create chargeback reversal bad request response has a 4xx status code
func (*CreateChargebackReversalBadRequest) IsCode ¶
func (o *CreateChargebackReversalBadRequest) IsCode(code int) bool
IsCode returns true when this create chargeback reversal bad request response a status code equal to that given
func (*CreateChargebackReversalBadRequest) IsRedirect ¶
func (o *CreateChargebackReversalBadRequest) IsRedirect() bool
IsRedirect returns true when this create chargeback reversal bad request response has a 3xx status code
func (*CreateChargebackReversalBadRequest) IsServerError ¶
func (o *CreateChargebackReversalBadRequest) IsServerError() bool
IsServerError returns true when this create chargeback reversal bad request response has a 5xx status code
func (*CreateChargebackReversalBadRequest) IsSuccess ¶
func (o *CreateChargebackReversalBadRequest) IsSuccess() bool
IsSuccess returns true when this create chargeback reversal bad request response has a 2xx status code
func (*CreateChargebackReversalBadRequest) String ¶
func (o *CreateChargebackReversalBadRequest) String() string
type CreateChargebackReversalCreated ¶
type CreateChargebackReversalCreated struct { Payload *kbmodel.InvoicePayment HttpResponse runtime.ClientResponse }
CreateChargebackReversalCreated describes a response with status code 201, with default header values.
Created chargeback reversal successfully
func NewCreateChargebackReversalCreated ¶
func NewCreateChargebackReversalCreated() *CreateChargebackReversalCreated
NewCreateChargebackReversalCreated creates a CreateChargebackReversalCreated with default headers values
func (*CreateChargebackReversalCreated) Code ¶
func (o *CreateChargebackReversalCreated) Code() int
Code gets the status code for the create chargeback reversal created response
func (*CreateChargebackReversalCreated) Error ¶
func (o *CreateChargebackReversalCreated) Error() string
func (*CreateChargebackReversalCreated) GetPayload ¶
func (o *CreateChargebackReversalCreated) GetPayload() *kbmodel.InvoicePayment
func (*CreateChargebackReversalCreated) IsClientError ¶
func (o *CreateChargebackReversalCreated) IsClientError() bool
IsClientError returns true when this create chargeback reversal created response has a 4xx status code
func (*CreateChargebackReversalCreated) IsCode ¶
func (o *CreateChargebackReversalCreated) IsCode(code int) bool
IsCode returns true when this create chargeback reversal created response a status code equal to that given
func (*CreateChargebackReversalCreated) IsRedirect ¶
func (o *CreateChargebackReversalCreated) IsRedirect() bool
IsRedirect returns true when this create chargeback reversal created response has a 3xx status code
func (*CreateChargebackReversalCreated) IsServerError ¶
func (o *CreateChargebackReversalCreated) IsServerError() bool
IsServerError returns true when this create chargeback reversal created response has a 5xx status code
func (*CreateChargebackReversalCreated) IsSuccess ¶
func (o *CreateChargebackReversalCreated) IsSuccess() bool
IsSuccess returns true when this create chargeback reversal created response has a 2xx status code
func (*CreateChargebackReversalCreated) String ¶
func (o *CreateChargebackReversalCreated) String() string
type CreateChargebackReversalNotFound ¶
type CreateChargebackReversalNotFound struct {
HttpResponse runtime.ClientResponse
}
CreateChargebackReversalNotFound describes a response with status code 404, with default header values.
Account or payment not found
func NewCreateChargebackReversalNotFound ¶
func NewCreateChargebackReversalNotFound() *CreateChargebackReversalNotFound
NewCreateChargebackReversalNotFound creates a CreateChargebackReversalNotFound with default headers values
func (*CreateChargebackReversalNotFound) Code ¶
func (o *CreateChargebackReversalNotFound) Code() int
Code gets the status code for the create chargeback reversal not found response
func (*CreateChargebackReversalNotFound) Error ¶
func (o *CreateChargebackReversalNotFound) Error() string
func (*CreateChargebackReversalNotFound) IsClientError ¶
func (o *CreateChargebackReversalNotFound) IsClientError() bool
IsClientError returns true when this create chargeback reversal not found response has a 4xx status code
func (*CreateChargebackReversalNotFound) IsCode ¶
func (o *CreateChargebackReversalNotFound) IsCode(code int) bool
IsCode returns true when this create chargeback reversal not found response a status code equal to that given
func (*CreateChargebackReversalNotFound) IsRedirect ¶
func (o *CreateChargebackReversalNotFound) IsRedirect() bool
IsRedirect returns true when this create chargeback reversal not found response has a 3xx status code
func (*CreateChargebackReversalNotFound) IsServerError ¶
func (o *CreateChargebackReversalNotFound) IsServerError() bool
IsServerError returns true when this create chargeback reversal not found response has a 5xx status code
func (*CreateChargebackReversalNotFound) IsSuccess ¶
func (o *CreateChargebackReversalNotFound) IsSuccess() bool
IsSuccess returns true when this create chargeback reversal not found response has a 2xx status code
func (*CreateChargebackReversalNotFound) String ¶
func (o *CreateChargebackReversalNotFound) String() string
type CreateChargebackReversalParams ¶
type CreateChargebackReversalParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.InvoicePaymentTransaction // PaymentID. // // Format: uuid PaymentID strfmt.UUID // PluginProperty. PluginProperty []string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
CreateChargebackReversalParams contains all the parameters to send to the API endpoint
for the create chargeback reversal operation. Typically these are written to a http.Request.
func NewCreateChargebackReversalParams ¶
func NewCreateChargebackReversalParams() *CreateChargebackReversalParams
NewCreateChargebackReversalParams creates a new CreateChargebackReversalParams 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 NewCreateChargebackReversalParamsWithContext ¶
func NewCreateChargebackReversalParamsWithContext(ctx context.Context) *CreateChargebackReversalParams
NewCreateChargebackReversalParamsWithContext creates a new CreateChargebackReversalParams object with the ability to set a context for a request.
func NewCreateChargebackReversalParamsWithHTTPClient ¶
func NewCreateChargebackReversalParamsWithHTTPClient(client *http.Client) *CreateChargebackReversalParams
NewCreateChargebackReversalParamsWithHTTPClient creates a new CreateChargebackReversalParams object with the ability to set a custom HTTPClient for a request.
func NewCreateChargebackReversalParamsWithTimeout ¶
func NewCreateChargebackReversalParamsWithTimeout(timeout time.Duration) *CreateChargebackReversalParams
NewCreateChargebackReversalParamsWithTimeout creates a new CreateChargebackReversalParams object with the ability to set a timeout on a request.
func (*CreateChargebackReversalParams) SetBody ¶
func (o *CreateChargebackReversalParams) SetBody(body *kbmodel.InvoicePaymentTransaction)
SetBody adds the body to the create chargeback reversal params
func (*CreateChargebackReversalParams) SetContext ¶
func (o *CreateChargebackReversalParams) SetContext(ctx context.Context)
SetContext adds the context to the create chargeback reversal params
func (*CreateChargebackReversalParams) SetDefaults ¶
func (o *CreateChargebackReversalParams) SetDefaults()
SetDefaults hydrates default values in the create chargeback reversal params (not the query body).
All values with no default are reset to their zero value.
func (*CreateChargebackReversalParams) SetHTTPClient ¶
func (o *CreateChargebackReversalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create chargeback reversal params
func (*CreateChargebackReversalParams) SetPaymentID ¶
func (o *CreateChargebackReversalParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the create chargeback reversal params
func (*CreateChargebackReversalParams) SetPluginProperty ¶
func (o *CreateChargebackReversalParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the create chargeback reversal params
func (*CreateChargebackReversalParams) SetTimeout ¶
func (o *CreateChargebackReversalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create chargeback reversal params
func (*CreateChargebackReversalParams) SetXKillbillComment ¶
func (o *CreateChargebackReversalParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create chargeback reversal params
func (*CreateChargebackReversalParams) SetXKillbillCreatedBy ¶
func (o *CreateChargebackReversalParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create chargeback reversal params
func (*CreateChargebackReversalParams) SetXKillbillReason ¶
func (o *CreateChargebackReversalParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithBody ¶
func (o *CreateChargebackReversalParams) WithBody(body *kbmodel.InvoicePaymentTransaction) *CreateChargebackReversalParams
WithBody adds the body to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithContext ¶
func (o *CreateChargebackReversalParams) WithContext(ctx context.Context) *CreateChargebackReversalParams
WithContext adds the context to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithDefaults ¶
func (o *CreateChargebackReversalParams) WithDefaults() *CreateChargebackReversalParams
WithDefaults hydrates default values in the create chargeback reversal params (not the query body).
All values with no default are reset to their zero value.
func (*CreateChargebackReversalParams) WithHTTPClient ¶
func (o *CreateChargebackReversalParams) WithHTTPClient(client *http.Client) *CreateChargebackReversalParams
WithHTTPClient adds the HTTPClient to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithPaymentID ¶
func (o *CreateChargebackReversalParams) WithPaymentID(paymentID strfmt.UUID) *CreateChargebackReversalParams
WithPaymentID adds the paymentID to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithPluginProperty ¶
func (o *CreateChargebackReversalParams) WithPluginProperty(pluginProperty []string) *CreateChargebackReversalParams
WithPluginProperty adds the pluginProperty to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithTimeout ¶
func (o *CreateChargebackReversalParams) WithTimeout(timeout time.Duration) *CreateChargebackReversalParams
WithTimeout adds the timeout to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithXKillbillComment ¶
func (o *CreateChargebackReversalParams) WithXKillbillComment(xKillbillComment *string) *CreateChargebackReversalParams
WithXKillbillComment adds the xKillbillComment to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithXKillbillCreatedBy ¶
func (o *CreateChargebackReversalParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateChargebackReversalParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create chargeback reversal params
func (*CreateChargebackReversalParams) WithXKillbillReason ¶
func (o *CreateChargebackReversalParams) WithXKillbillReason(xKillbillReason *string) *CreateChargebackReversalParams
WithXKillbillReason adds the xKillbillReason to the create chargeback reversal params
func (*CreateChargebackReversalParams) WriteToRequest ¶
func (o *CreateChargebackReversalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateChargebackReversalReader ¶
type CreateChargebackReversalReader struct {
// contains filtered or unexported fields
}
CreateChargebackReversalReader is a Reader for the CreateChargebackReversal structure.
func (*CreateChargebackReversalReader) ReadResponse ¶
func (o *CreateChargebackReversalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateInvoicePaymentCustomFieldsBadRequest ¶
type CreateInvoicePaymentCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateInvoicePaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewCreateInvoicePaymentCustomFieldsBadRequest ¶
func NewCreateInvoicePaymentCustomFieldsBadRequest() *CreateInvoicePaymentCustomFieldsBadRequest
NewCreateInvoicePaymentCustomFieldsBadRequest creates a CreateInvoicePaymentCustomFieldsBadRequest with default headers values
func (*CreateInvoicePaymentCustomFieldsBadRequest) Code ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) Code() int
Code gets the status code for the create invoice payment custom fields bad request response
func (*CreateInvoicePaymentCustomFieldsBadRequest) Error ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) Error() string
func (*CreateInvoicePaymentCustomFieldsBadRequest) IsClientError ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this create invoice payment custom fields bad request response has a 4xx status code
func (*CreateInvoicePaymentCustomFieldsBadRequest) IsCode ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this create invoice payment custom fields bad request response a status code equal to that given
func (*CreateInvoicePaymentCustomFieldsBadRequest) IsRedirect ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this create invoice payment custom fields bad request response has a 3xx status code
func (*CreateInvoicePaymentCustomFieldsBadRequest) IsServerError ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this create invoice payment custom fields bad request response has a 5xx status code
func (*CreateInvoicePaymentCustomFieldsBadRequest) IsSuccess ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this create invoice payment custom fields bad request response has a 2xx status code
func (*CreateInvoicePaymentCustomFieldsBadRequest) String ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) String() string
type CreateInvoicePaymentCustomFieldsCreated ¶
type CreateInvoicePaymentCustomFieldsCreated struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
CreateInvoicePaymentCustomFieldsCreated describes a response with status code 201, with default header values.
Custom field created successfully
func NewCreateInvoicePaymentCustomFieldsCreated ¶
func NewCreateInvoicePaymentCustomFieldsCreated() *CreateInvoicePaymentCustomFieldsCreated
NewCreateInvoicePaymentCustomFieldsCreated creates a CreateInvoicePaymentCustomFieldsCreated with default headers values
func (*CreateInvoicePaymentCustomFieldsCreated) Code ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) Code() int
Code gets the status code for the create invoice payment custom fields created response
func (*CreateInvoicePaymentCustomFieldsCreated) Error ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) Error() string
func (*CreateInvoicePaymentCustomFieldsCreated) GetPayload ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
func (*CreateInvoicePaymentCustomFieldsCreated) IsClientError ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) IsClientError() bool
IsClientError returns true when this create invoice payment custom fields created response has a 4xx status code
func (*CreateInvoicePaymentCustomFieldsCreated) IsCode ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) IsCode(code int) bool
IsCode returns true when this create invoice payment custom fields created response a status code equal to that given
func (*CreateInvoicePaymentCustomFieldsCreated) IsRedirect ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) IsRedirect() bool
IsRedirect returns true when this create invoice payment custom fields created response has a 3xx status code
func (*CreateInvoicePaymentCustomFieldsCreated) IsServerError ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) IsServerError() bool
IsServerError returns true when this create invoice payment custom fields created response has a 5xx status code
func (*CreateInvoicePaymentCustomFieldsCreated) IsSuccess ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) IsSuccess() bool
IsSuccess returns true when this create invoice payment custom fields created response has a 2xx status code
func (*CreateInvoicePaymentCustomFieldsCreated) String ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) String() string
type CreateInvoicePaymentCustomFieldsParams ¶
type CreateInvoicePaymentCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // PaymentID. // // Format: uuid PaymentID 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 }
CreateInvoicePaymentCustomFieldsParams contains all the parameters to send to the API endpoint
for the create invoice payment custom fields operation. Typically these are written to a http.Request.
func NewCreateInvoicePaymentCustomFieldsParams ¶
func NewCreateInvoicePaymentCustomFieldsParams() *CreateInvoicePaymentCustomFieldsParams
NewCreateInvoicePaymentCustomFieldsParams creates a new CreateInvoicePaymentCustomFieldsParams 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 NewCreateInvoicePaymentCustomFieldsParamsWithContext ¶
func NewCreateInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoicePaymentCustomFieldsParams
NewCreateInvoicePaymentCustomFieldsParamsWithContext creates a new CreateInvoicePaymentCustomFieldsParams object with the ability to set a context for a request.
func NewCreateInvoicePaymentCustomFieldsParamsWithHTTPClient ¶
func NewCreateInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoicePaymentCustomFieldsParams
NewCreateInvoicePaymentCustomFieldsParamsWithHTTPClient creates a new CreateInvoicePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInvoicePaymentCustomFieldsParamsWithTimeout ¶
func NewCreateInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoicePaymentCustomFieldsParams
NewCreateInvoicePaymentCustomFieldsParamsWithTimeout creates a new CreateInvoicePaymentCustomFieldsParams object with the ability to set a timeout on a request.
func (*CreateInvoicePaymentCustomFieldsParams) SetBody ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) SetContext ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) SetDefaults ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the create invoice payment custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoicePaymentCustomFieldsParams) SetHTTPClient ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) SetPaymentID ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) SetTimeout ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) SetXKillbillComment ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) SetXKillbillReason ¶
func (o *CreateInvoicePaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WithBody ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateInvoicePaymentCustomFieldsParams
WithBody adds the body to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WithContext ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithContext(ctx context.Context) *CreateInvoicePaymentCustomFieldsParams
WithContext adds the context to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WithDefaults ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithDefaults() *CreateInvoicePaymentCustomFieldsParams
WithDefaults hydrates default values in the create invoice payment custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoicePaymentCustomFieldsParams) WithHTTPClient ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateInvoicePaymentCustomFieldsParams
WithHTTPClient adds the HTTPClient to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WithPaymentID ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithPaymentID(paymentID strfmt.UUID) *CreateInvoicePaymentCustomFieldsParams
WithPaymentID adds the paymentID to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WithTimeout ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateInvoicePaymentCustomFieldsParams
WithTimeout adds the timeout to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WithXKillbillComment ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoicePaymentCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoicePaymentCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WithXKillbillReason ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoicePaymentCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the create invoice payment custom fields params
func (*CreateInvoicePaymentCustomFieldsParams) WriteToRequest ¶
func (o *CreateInvoicePaymentCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInvoicePaymentCustomFieldsReader ¶
type CreateInvoicePaymentCustomFieldsReader struct {
// contains filtered or unexported fields
}
CreateInvoicePaymentCustomFieldsReader is a Reader for the CreateInvoicePaymentCustomFields structure.
func (*CreateInvoicePaymentCustomFieldsReader) ReadResponse ¶
func (o *CreateInvoicePaymentCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateInvoicePaymentTagsBadRequest ¶
type CreateInvoicePaymentTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateInvoicePaymentTagsBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewCreateInvoicePaymentTagsBadRequest ¶
func NewCreateInvoicePaymentTagsBadRequest() *CreateInvoicePaymentTagsBadRequest
NewCreateInvoicePaymentTagsBadRequest creates a CreateInvoicePaymentTagsBadRequest with default headers values
func (*CreateInvoicePaymentTagsBadRequest) Code ¶
func (o *CreateInvoicePaymentTagsBadRequest) Code() int
Code gets the status code for the create invoice payment tags bad request response
func (*CreateInvoicePaymentTagsBadRequest) Error ¶
func (o *CreateInvoicePaymentTagsBadRequest) Error() string
func (*CreateInvoicePaymentTagsBadRequest) IsClientError ¶
func (o *CreateInvoicePaymentTagsBadRequest) IsClientError() bool
IsClientError returns true when this create invoice payment tags bad request response has a 4xx status code
func (*CreateInvoicePaymentTagsBadRequest) IsCode ¶
func (o *CreateInvoicePaymentTagsBadRequest) IsCode(code int) bool
IsCode returns true when this create invoice payment tags bad request response a status code equal to that given
func (*CreateInvoicePaymentTagsBadRequest) IsRedirect ¶
func (o *CreateInvoicePaymentTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this create invoice payment tags bad request response has a 3xx status code
func (*CreateInvoicePaymentTagsBadRequest) IsServerError ¶
func (o *CreateInvoicePaymentTagsBadRequest) IsServerError() bool
IsServerError returns true when this create invoice payment tags bad request response has a 5xx status code
func (*CreateInvoicePaymentTagsBadRequest) IsSuccess ¶
func (o *CreateInvoicePaymentTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this create invoice payment tags bad request response has a 2xx status code
func (*CreateInvoicePaymentTagsBadRequest) String ¶
func (o *CreateInvoicePaymentTagsBadRequest) String() string
type CreateInvoicePaymentTagsCreated ¶
type CreateInvoicePaymentTagsCreated struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
CreateInvoicePaymentTagsCreated describes a response with status code 201, with default header values.
Tag created successfully
func NewCreateInvoicePaymentTagsCreated ¶
func NewCreateInvoicePaymentTagsCreated() *CreateInvoicePaymentTagsCreated
NewCreateInvoicePaymentTagsCreated creates a CreateInvoicePaymentTagsCreated with default headers values
func (*CreateInvoicePaymentTagsCreated) Code ¶
func (o *CreateInvoicePaymentTagsCreated) Code() int
Code gets the status code for the create invoice payment tags created response
func (*CreateInvoicePaymentTagsCreated) Error ¶
func (o *CreateInvoicePaymentTagsCreated) Error() string
func (*CreateInvoicePaymentTagsCreated) GetPayload ¶
func (o *CreateInvoicePaymentTagsCreated) GetPayload() []*kbmodel.Tag
func (*CreateInvoicePaymentTagsCreated) IsClientError ¶
func (o *CreateInvoicePaymentTagsCreated) IsClientError() bool
IsClientError returns true when this create invoice payment tags created response has a 4xx status code
func (*CreateInvoicePaymentTagsCreated) IsCode ¶
func (o *CreateInvoicePaymentTagsCreated) IsCode(code int) bool
IsCode returns true when this create invoice payment tags created response a status code equal to that given
func (*CreateInvoicePaymentTagsCreated) IsRedirect ¶
func (o *CreateInvoicePaymentTagsCreated) IsRedirect() bool
IsRedirect returns true when this create invoice payment tags created response has a 3xx status code
func (*CreateInvoicePaymentTagsCreated) IsServerError ¶
func (o *CreateInvoicePaymentTagsCreated) IsServerError() bool
IsServerError returns true when this create invoice payment tags created response has a 5xx status code
func (*CreateInvoicePaymentTagsCreated) IsSuccess ¶
func (o *CreateInvoicePaymentTagsCreated) IsSuccess() bool
IsSuccess returns true when this create invoice payment tags created response has a 2xx status code
func (*CreateInvoicePaymentTagsCreated) String ¶
func (o *CreateInvoicePaymentTagsCreated) String() string
type CreateInvoicePaymentTagsParams ¶
type CreateInvoicePaymentTagsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []strfmt.UUID // PaymentID. // // Format: uuid PaymentID 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 }
CreateInvoicePaymentTagsParams contains all the parameters to send to the API endpoint
for the create invoice payment tags operation. Typically these are written to a http.Request.
func NewCreateInvoicePaymentTagsParams ¶
func NewCreateInvoicePaymentTagsParams() *CreateInvoicePaymentTagsParams
NewCreateInvoicePaymentTagsParams creates a new CreateInvoicePaymentTagsParams 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 NewCreateInvoicePaymentTagsParamsWithContext ¶
func NewCreateInvoicePaymentTagsParamsWithContext(ctx context.Context) *CreateInvoicePaymentTagsParams
NewCreateInvoicePaymentTagsParamsWithContext creates a new CreateInvoicePaymentTagsParams object with the ability to set a context for a request.
func NewCreateInvoicePaymentTagsParamsWithHTTPClient ¶
func NewCreateInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *CreateInvoicePaymentTagsParams
NewCreateInvoicePaymentTagsParamsWithHTTPClient creates a new CreateInvoicePaymentTagsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInvoicePaymentTagsParamsWithTimeout ¶
func NewCreateInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *CreateInvoicePaymentTagsParams
NewCreateInvoicePaymentTagsParamsWithTimeout creates a new CreateInvoicePaymentTagsParams object with the ability to set a timeout on a request.
func (*CreateInvoicePaymentTagsParams) SetBody ¶
func (o *CreateInvoicePaymentTagsParams) SetBody(body []strfmt.UUID)
SetBody adds the body to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) SetContext ¶
func (o *CreateInvoicePaymentTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) SetDefaults ¶
func (o *CreateInvoicePaymentTagsParams) SetDefaults()
SetDefaults hydrates default values in the create invoice payment tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoicePaymentTagsParams) SetHTTPClient ¶
func (o *CreateInvoicePaymentTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) SetPaymentID ¶
func (o *CreateInvoicePaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) SetTimeout ¶
func (o *CreateInvoicePaymentTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) SetXKillbillComment ¶
func (o *CreateInvoicePaymentTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) SetXKillbillCreatedBy ¶
func (o *CreateInvoicePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) SetXKillbillReason ¶
func (o *CreateInvoicePaymentTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WithBody ¶
func (o *CreateInvoicePaymentTagsParams) WithBody(body []strfmt.UUID) *CreateInvoicePaymentTagsParams
WithBody adds the body to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WithContext ¶
func (o *CreateInvoicePaymentTagsParams) WithContext(ctx context.Context) *CreateInvoicePaymentTagsParams
WithContext adds the context to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WithDefaults ¶
func (o *CreateInvoicePaymentTagsParams) WithDefaults() *CreateInvoicePaymentTagsParams
WithDefaults hydrates default values in the create invoice payment tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoicePaymentTagsParams) WithHTTPClient ¶
func (o *CreateInvoicePaymentTagsParams) WithHTTPClient(client *http.Client) *CreateInvoicePaymentTagsParams
WithHTTPClient adds the HTTPClient to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WithPaymentID ¶
func (o *CreateInvoicePaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *CreateInvoicePaymentTagsParams
WithPaymentID adds the paymentID to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WithTimeout ¶
func (o *CreateInvoicePaymentTagsParams) WithTimeout(timeout time.Duration) *CreateInvoicePaymentTagsParams
WithTimeout adds the timeout to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WithXKillbillComment ¶
func (o *CreateInvoicePaymentTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoicePaymentTagsParams
WithXKillbillComment adds the xKillbillComment to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WithXKillbillCreatedBy ¶
func (o *CreateInvoicePaymentTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoicePaymentTagsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WithXKillbillReason ¶
func (o *CreateInvoicePaymentTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoicePaymentTagsParams
WithXKillbillReason adds the xKillbillReason to the create invoice payment tags params
func (*CreateInvoicePaymentTagsParams) WriteToRequest ¶
func (o *CreateInvoicePaymentTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInvoicePaymentTagsReader ¶
type CreateInvoicePaymentTagsReader struct {
// contains filtered or unexported fields
}
CreateInvoicePaymentTagsReader is a Reader for the CreateInvoicePaymentTags structure.
func (*CreateInvoicePaymentTagsReader) ReadResponse ¶
func (o *CreateInvoicePaymentTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRefundWithAdjustmentsBadRequest ¶
type CreateRefundWithAdjustmentsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateRefundWithAdjustmentsBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewCreateRefundWithAdjustmentsBadRequest ¶
func NewCreateRefundWithAdjustmentsBadRequest() *CreateRefundWithAdjustmentsBadRequest
NewCreateRefundWithAdjustmentsBadRequest creates a CreateRefundWithAdjustmentsBadRequest with default headers values
func (*CreateRefundWithAdjustmentsBadRequest) Code ¶
func (o *CreateRefundWithAdjustmentsBadRequest) Code() int
Code gets the status code for the create refund with adjustments bad request response
func (*CreateRefundWithAdjustmentsBadRequest) Error ¶
func (o *CreateRefundWithAdjustmentsBadRequest) Error() string
func (*CreateRefundWithAdjustmentsBadRequest) IsClientError ¶
func (o *CreateRefundWithAdjustmentsBadRequest) IsClientError() bool
IsClientError returns true when this create refund with adjustments bad request response has a 4xx status code
func (*CreateRefundWithAdjustmentsBadRequest) IsCode ¶
func (o *CreateRefundWithAdjustmentsBadRequest) IsCode(code int) bool
IsCode returns true when this create refund with adjustments bad request response a status code equal to that given
func (*CreateRefundWithAdjustmentsBadRequest) IsRedirect ¶
func (o *CreateRefundWithAdjustmentsBadRequest) IsRedirect() bool
IsRedirect returns true when this create refund with adjustments bad request response has a 3xx status code
func (*CreateRefundWithAdjustmentsBadRequest) IsServerError ¶
func (o *CreateRefundWithAdjustmentsBadRequest) IsServerError() bool
IsServerError returns true when this create refund with adjustments bad request response has a 5xx status code
func (*CreateRefundWithAdjustmentsBadRequest) IsSuccess ¶
func (o *CreateRefundWithAdjustmentsBadRequest) IsSuccess() bool
IsSuccess returns true when this create refund with adjustments bad request response has a 2xx status code
func (*CreateRefundWithAdjustmentsBadRequest) String ¶
func (o *CreateRefundWithAdjustmentsBadRequest) String() string
type CreateRefundWithAdjustmentsCreated ¶
type CreateRefundWithAdjustmentsCreated struct { Payload *kbmodel.InvoicePayment HttpResponse runtime.ClientResponse }
CreateRefundWithAdjustmentsCreated describes a response with status code 201, with default header values.
Created refund successfully
func NewCreateRefundWithAdjustmentsCreated ¶
func NewCreateRefundWithAdjustmentsCreated() *CreateRefundWithAdjustmentsCreated
NewCreateRefundWithAdjustmentsCreated creates a CreateRefundWithAdjustmentsCreated with default headers values
func (*CreateRefundWithAdjustmentsCreated) Code ¶
func (o *CreateRefundWithAdjustmentsCreated) Code() int
Code gets the status code for the create refund with adjustments created response
func (*CreateRefundWithAdjustmentsCreated) Error ¶
func (o *CreateRefundWithAdjustmentsCreated) Error() string
func (*CreateRefundWithAdjustmentsCreated) GetPayload ¶
func (o *CreateRefundWithAdjustmentsCreated) GetPayload() *kbmodel.InvoicePayment
func (*CreateRefundWithAdjustmentsCreated) IsClientError ¶
func (o *CreateRefundWithAdjustmentsCreated) IsClientError() bool
IsClientError returns true when this create refund with adjustments created response has a 4xx status code
func (*CreateRefundWithAdjustmentsCreated) IsCode ¶
func (o *CreateRefundWithAdjustmentsCreated) IsCode(code int) bool
IsCode returns true when this create refund with adjustments created response a status code equal to that given
func (*CreateRefundWithAdjustmentsCreated) IsRedirect ¶
func (o *CreateRefundWithAdjustmentsCreated) IsRedirect() bool
IsRedirect returns true when this create refund with adjustments created response has a 3xx status code
func (*CreateRefundWithAdjustmentsCreated) IsServerError ¶
func (o *CreateRefundWithAdjustmentsCreated) IsServerError() bool
IsServerError returns true when this create refund with adjustments created response has a 5xx status code
func (*CreateRefundWithAdjustmentsCreated) IsSuccess ¶
func (o *CreateRefundWithAdjustmentsCreated) IsSuccess() bool
IsSuccess returns true when this create refund with adjustments created response has a 2xx status code
func (*CreateRefundWithAdjustmentsCreated) String ¶
func (o *CreateRefundWithAdjustmentsCreated) String() string
type CreateRefundWithAdjustmentsNotFound ¶
type CreateRefundWithAdjustmentsNotFound struct {
HttpResponse runtime.ClientResponse
}
CreateRefundWithAdjustmentsNotFound describes a response with status code 404, with default header values.
Account or payment not found
func NewCreateRefundWithAdjustmentsNotFound ¶
func NewCreateRefundWithAdjustmentsNotFound() *CreateRefundWithAdjustmentsNotFound
NewCreateRefundWithAdjustmentsNotFound creates a CreateRefundWithAdjustmentsNotFound with default headers values
func (*CreateRefundWithAdjustmentsNotFound) Code ¶
func (o *CreateRefundWithAdjustmentsNotFound) Code() int
Code gets the status code for the create refund with adjustments not found response
func (*CreateRefundWithAdjustmentsNotFound) Error ¶
func (o *CreateRefundWithAdjustmentsNotFound) Error() string
func (*CreateRefundWithAdjustmentsNotFound) IsClientError ¶
func (o *CreateRefundWithAdjustmentsNotFound) IsClientError() bool
IsClientError returns true when this create refund with adjustments not found response has a 4xx status code
func (*CreateRefundWithAdjustmentsNotFound) IsCode ¶
func (o *CreateRefundWithAdjustmentsNotFound) IsCode(code int) bool
IsCode returns true when this create refund with adjustments not found response a status code equal to that given
func (*CreateRefundWithAdjustmentsNotFound) IsRedirect ¶
func (o *CreateRefundWithAdjustmentsNotFound) IsRedirect() bool
IsRedirect returns true when this create refund with adjustments not found response has a 3xx status code
func (*CreateRefundWithAdjustmentsNotFound) IsServerError ¶
func (o *CreateRefundWithAdjustmentsNotFound) IsServerError() bool
IsServerError returns true when this create refund with adjustments not found response has a 5xx status code
func (*CreateRefundWithAdjustmentsNotFound) IsSuccess ¶
func (o *CreateRefundWithAdjustmentsNotFound) IsSuccess() bool
IsSuccess returns true when this create refund with adjustments not found response has a 2xx status code
func (*CreateRefundWithAdjustmentsNotFound) String ¶
func (o *CreateRefundWithAdjustmentsNotFound) String() string
type CreateRefundWithAdjustmentsParams ¶
type CreateRefundWithAdjustmentsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.InvoicePaymentTransaction // ExternalPayment. ExternalPayment *bool // PaymentID. // // Format: uuid PaymentID strfmt.UUID // PaymentMethodID. // // Format: uuid PaymentMethodID *strfmt.UUID // PluginProperty. PluginProperty []string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
CreateRefundWithAdjustmentsParams contains all the parameters to send to the API endpoint
for the create refund with adjustments operation. Typically these are written to a http.Request.
func NewCreateRefundWithAdjustmentsParams ¶
func NewCreateRefundWithAdjustmentsParams() *CreateRefundWithAdjustmentsParams
NewCreateRefundWithAdjustmentsParams creates a new CreateRefundWithAdjustmentsParams 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 NewCreateRefundWithAdjustmentsParamsWithContext ¶
func NewCreateRefundWithAdjustmentsParamsWithContext(ctx context.Context) *CreateRefundWithAdjustmentsParams
NewCreateRefundWithAdjustmentsParamsWithContext creates a new CreateRefundWithAdjustmentsParams object with the ability to set a context for a request.
func NewCreateRefundWithAdjustmentsParamsWithHTTPClient ¶
func NewCreateRefundWithAdjustmentsParamsWithHTTPClient(client *http.Client) *CreateRefundWithAdjustmentsParams
NewCreateRefundWithAdjustmentsParamsWithHTTPClient creates a new CreateRefundWithAdjustmentsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRefundWithAdjustmentsParamsWithTimeout ¶
func NewCreateRefundWithAdjustmentsParamsWithTimeout(timeout time.Duration) *CreateRefundWithAdjustmentsParams
NewCreateRefundWithAdjustmentsParamsWithTimeout creates a new CreateRefundWithAdjustmentsParams object with the ability to set a timeout on a request.
func (*CreateRefundWithAdjustmentsParams) SetBody ¶
func (o *CreateRefundWithAdjustmentsParams) SetBody(body *kbmodel.InvoicePaymentTransaction)
SetBody adds the body to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetContext ¶
func (o *CreateRefundWithAdjustmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetDefaults ¶
func (o *CreateRefundWithAdjustmentsParams) SetDefaults()
SetDefaults hydrates default values in the create refund with adjustments params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRefundWithAdjustmentsParams) SetExternalPayment ¶
func (o *CreateRefundWithAdjustmentsParams) SetExternalPayment(externalPayment *bool)
SetExternalPayment adds the externalPayment to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetHTTPClient ¶
func (o *CreateRefundWithAdjustmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetPaymentID ¶
func (o *CreateRefundWithAdjustmentsParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetPaymentMethodID ¶
func (o *CreateRefundWithAdjustmentsParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetPluginProperty ¶
func (o *CreateRefundWithAdjustmentsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetTimeout ¶
func (o *CreateRefundWithAdjustmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetXKillbillComment ¶
func (o *CreateRefundWithAdjustmentsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetXKillbillCreatedBy ¶
func (o *CreateRefundWithAdjustmentsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) SetXKillbillReason ¶
func (o *CreateRefundWithAdjustmentsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithBody ¶
func (o *CreateRefundWithAdjustmentsParams) WithBody(body *kbmodel.InvoicePaymentTransaction) *CreateRefundWithAdjustmentsParams
WithBody adds the body to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithContext ¶
func (o *CreateRefundWithAdjustmentsParams) WithContext(ctx context.Context) *CreateRefundWithAdjustmentsParams
WithContext adds the context to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithDefaults ¶
func (o *CreateRefundWithAdjustmentsParams) WithDefaults() *CreateRefundWithAdjustmentsParams
WithDefaults hydrates default values in the create refund with adjustments params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRefundWithAdjustmentsParams) WithExternalPayment ¶
func (o *CreateRefundWithAdjustmentsParams) WithExternalPayment(externalPayment *bool) *CreateRefundWithAdjustmentsParams
WithExternalPayment adds the externalPayment to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithHTTPClient ¶
func (o *CreateRefundWithAdjustmentsParams) WithHTTPClient(client *http.Client) *CreateRefundWithAdjustmentsParams
WithHTTPClient adds the HTTPClient to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithPaymentID ¶
func (o *CreateRefundWithAdjustmentsParams) WithPaymentID(paymentID strfmt.UUID) *CreateRefundWithAdjustmentsParams
WithPaymentID adds the paymentID to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithPaymentMethodID ¶
func (o *CreateRefundWithAdjustmentsParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *CreateRefundWithAdjustmentsParams
WithPaymentMethodID adds the paymentMethodID to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithPluginProperty ¶
func (o *CreateRefundWithAdjustmentsParams) WithPluginProperty(pluginProperty []string) *CreateRefundWithAdjustmentsParams
WithPluginProperty adds the pluginProperty to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithTimeout ¶
func (o *CreateRefundWithAdjustmentsParams) WithTimeout(timeout time.Duration) *CreateRefundWithAdjustmentsParams
WithTimeout adds the timeout to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithXKillbillComment ¶
func (o *CreateRefundWithAdjustmentsParams) WithXKillbillComment(xKillbillComment *string) *CreateRefundWithAdjustmentsParams
WithXKillbillComment adds the xKillbillComment to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithXKillbillCreatedBy ¶
func (o *CreateRefundWithAdjustmentsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateRefundWithAdjustmentsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WithXKillbillReason ¶
func (o *CreateRefundWithAdjustmentsParams) WithXKillbillReason(xKillbillReason *string) *CreateRefundWithAdjustmentsParams
WithXKillbillReason adds the xKillbillReason to the create refund with adjustments params
func (*CreateRefundWithAdjustmentsParams) WriteToRequest ¶
func (o *CreateRefundWithAdjustmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRefundWithAdjustmentsReader ¶
type CreateRefundWithAdjustmentsReader struct {
// contains filtered or unexported fields
}
CreateRefundWithAdjustmentsReader is a Reader for the CreateRefundWithAdjustments structure.
func (*CreateRefundWithAdjustmentsReader) ReadResponse ¶
func (o *CreateRefundWithAdjustmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInvoicePaymentCustomFieldsBadRequest ¶
type DeleteInvoicePaymentCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoicePaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewDeleteInvoicePaymentCustomFieldsBadRequest ¶
func NewDeleteInvoicePaymentCustomFieldsBadRequest() *DeleteInvoicePaymentCustomFieldsBadRequest
NewDeleteInvoicePaymentCustomFieldsBadRequest creates a DeleteInvoicePaymentCustomFieldsBadRequest with default headers values
func (*DeleteInvoicePaymentCustomFieldsBadRequest) Code ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) Code() int
Code gets the status code for the delete invoice payment custom fields bad request response
func (*DeleteInvoicePaymentCustomFieldsBadRequest) Error ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) Error() string
func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsClientError ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this delete invoice payment custom fields bad request response has a 4xx status code
func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsCode ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this delete invoice payment custom fields bad request response a status code equal to that given
func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsRedirect ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete invoice payment custom fields bad request response has a 3xx status code
func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsServerError ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this delete invoice payment custom fields bad request response has a 5xx status code
func (*DeleteInvoicePaymentCustomFieldsBadRequest) IsSuccess ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete invoice payment custom fields bad request response has a 2xx status code
func (*DeleteInvoicePaymentCustomFieldsBadRequest) String ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) String() string
type DeleteInvoicePaymentCustomFieldsNoContent ¶
type DeleteInvoicePaymentCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoicePaymentCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteInvoicePaymentCustomFieldsNoContent ¶
func NewDeleteInvoicePaymentCustomFieldsNoContent() *DeleteInvoicePaymentCustomFieldsNoContent
NewDeleteInvoicePaymentCustomFieldsNoContent creates a DeleteInvoicePaymentCustomFieldsNoContent with default headers values
func (*DeleteInvoicePaymentCustomFieldsNoContent) Code ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) Code() int
Code gets the status code for the delete invoice payment custom fields no content response
func (*DeleteInvoicePaymentCustomFieldsNoContent) Error ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) Error() string
func (*DeleteInvoicePaymentCustomFieldsNoContent) IsClientError ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this delete invoice payment custom fields no content response has a 4xx status code
func (*DeleteInvoicePaymentCustomFieldsNoContent) IsCode ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this delete invoice payment custom fields no content response a status code equal to that given
func (*DeleteInvoicePaymentCustomFieldsNoContent) IsRedirect ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this delete invoice payment custom fields no content response has a 3xx status code
func (*DeleteInvoicePaymentCustomFieldsNoContent) IsServerError ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this delete invoice payment custom fields no content response has a 5xx status code
func (*DeleteInvoicePaymentCustomFieldsNoContent) IsSuccess ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this delete invoice payment custom fields no content response has a 2xx status code
func (*DeleteInvoicePaymentCustomFieldsNoContent) String ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) String() string
type DeleteInvoicePaymentCustomFieldsParams ¶
type DeleteInvoicePaymentCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // CustomField. CustomField []strfmt.UUID // PaymentID. // // Format: uuid PaymentID 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 }
DeleteInvoicePaymentCustomFieldsParams contains all the parameters to send to the API endpoint
for the delete invoice payment custom fields operation. Typically these are written to a http.Request.
func NewDeleteInvoicePaymentCustomFieldsParams ¶
func NewDeleteInvoicePaymentCustomFieldsParams() *DeleteInvoicePaymentCustomFieldsParams
NewDeleteInvoicePaymentCustomFieldsParams creates a new DeleteInvoicePaymentCustomFieldsParams 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 NewDeleteInvoicePaymentCustomFieldsParamsWithContext ¶
func NewDeleteInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoicePaymentCustomFieldsParams
NewDeleteInvoicePaymentCustomFieldsParamsWithContext creates a new DeleteInvoicePaymentCustomFieldsParams object with the ability to set a context for a request.
func NewDeleteInvoicePaymentCustomFieldsParamsWithHTTPClient ¶
func NewDeleteInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoicePaymentCustomFieldsParams
NewDeleteInvoicePaymentCustomFieldsParamsWithHTTPClient creates a new DeleteInvoicePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteInvoicePaymentCustomFieldsParamsWithTimeout ¶
func NewDeleteInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoicePaymentCustomFieldsParams
NewDeleteInvoicePaymentCustomFieldsParamsWithTimeout creates a new DeleteInvoicePaymentCustomFieldsParams object with the ability to set a timeout on a request.
func (*DeleteInvoicePaymentCustomFieldsParams) SetContext ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) SetCustomField ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
SetCustomField adds the customField to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) SetDefaults ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the delete invoice payment custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoicePaymentCustomFieldsParams) SetHTTPClient ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) SetPaymentID ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) SetTimeout ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) SetXKillbillComment ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) SetXKillbillReason ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WithContext ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithContext(ctx context.Context) *DeleteInvoicePaymentCustomFieldsParams
WithContext adds the context to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WithCustomField ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteInvoicePaymentCustomFieldsParams
WithCustomField adds the customField to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WithDefaults ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithDefaults() *DeleteInvoicePaymentCustomFieldsParams
WithDefaults hydrates default values in the delete invoice payment custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoicePaymentCustomFieldsParams) WithHTTPClient ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteInvoicePaymentCustomFieldsParams
WithHTTPClient adds the HTTPClient to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WithPaymentID ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithPaymentID(paymentID strfmt.UUID) *DeleteInvoicePaymentCustomFieldsParams
WithPaymentID adds the paymentID to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WithTimeout ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteInvoicePaymentCustomFieldsParams
WithTimeout adds the timeout to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WithXKillbillComment ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoicePaymentCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoicePaymentCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WithXKillbillReason ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoicePaymentCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the delete invoice payment custom fields params
func (*DeleteInvoicePaymentCustomFieldsParams) WriteToRequest ¶
func (o *DeleteInvoicePaymentCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInvoicePaymentCustomFieldsReader ¶
type DeleteInvoicePaymentCustomFieldsReader struct {
// contains filtered or unexported fields
}
DeleteInvoicePaymentCustomFieldsReader is a Reader for the DeleteInvoicePaymentCustomFields structure.
func (*DeleteInvoicePaymentCustomFieldsReader) ReadResponse ¶
func (o *DeleteInvoicePaymentCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInvoicePaymentTagsBadRequest ¶
type DeleteInvoicePaymentTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoicePaymentTagsBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewDeleteInvoicePaymentTagsBadRequest ¶
func NewDeleteInvoicePaymentTagsBadRequest() *DeleteInvoicePaymentTagsBadRequest
NewDeleteInvoicePaymentTagsBadRequest creates a DeleteInvoicePaymentTagsBadRequest with default headers values
func (*DeleteInvoicePaymentTagsBadRequest) Code ¶
func (o *DeleteInvoicePaymentTagsBadRequest) Code() int
Code gets the status code for the delete invoice payment tags bad request response
func (*DeleteInvoicePaymentTagsBadRequest) Error ¶
func (o *DeleteInvoicePaymentTagsBadRequest) Error() string
func (*DeleteInvoicePaymentTagsBadRequest) IsClientError ¶
func (o *DeleteInvoicePaymentTagsBadRequest) IsClientError() bool
IsClientError returns true when this delete invoice payment tags bad request response has a 4xx status code
func (*DeleteInvoicePaymentTagsBadRequest) IsCode ¶
func (o *DeleteInvoicePaymentTagsBadRequest) IsCode(code int) bool
IsCode returns true when this delete invoice payment tags bad request response a status code equal to that given
func (*DeleteInvoicePaymentTagsBadRequest) IsRedirect ¶
func (o *DeleteInvoicePaymentTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete invoice payment tags bad request response has a 3xx status code
func (*DeleteInvoicePaymentTagsBadRequest) IsServerError ¶
func (o *DeleteInvoicePaymentTagsBadRequest) IsServerError() bool
IsServerError returns true when this delete invoice payment tags bad request response has a 5xx status code
func (*DeleteInvoicePaymentTagsBadRequest) IsSuccess ¶
func (o *DeleteInvoicePaymentTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete invoice payment tags bad request response has a 2xx status code
func (*DeleteInvoicePaymentTagsBadRequest) String ¶
func (o *DeleteInvoicePaymentTagsBadRequest) String() string
type DeleteInvoicePaymentTagsNoContent ¶
type DeleteInvoicePaymentTagsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoicePaymentTagsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteInvoicePaymentTagsNoContent ¶
func NewDeleteInvoicePaymentTagsNoContent() *DeleteInvoicePaymentTagsNoContent
NewDeleteInvoicePaymentTagsNoContent creates a DeleteInvoicePaymentTagsNoContent with default headers values
func (*DeleteInvoicePaymentTagsNoContent) Code ¶
func (o *DeleteInvoicePaymentTagsNoContent) Code() int
Code gets the status code for the delete invoice payment tags no content response
func (*DeleteInvoicePaymentTagsNoContent) Error ¶
func (o *DeleteInvoicePaymentTagsNoContent) Error() string
func (*DeleteInvoicePaymentTagsNoContent) IsClientError ¶
func (o *DeleteInvoicePaymentTagsNoContent) IsClientError() bool
IsClientError returns true when this delete invoice payment tags no content response has a 4xx status code
func (*DeleteInvoicePaymentTagsNoContent) IsCode ¶
func (o *DeleteInvoicePaymentTagsNoContent) IsCode(code int) bool
IsCode returns true when this delete invoice payment tags no content response a status code equal to that given
func (*DeleteInvoicePaymentTagsNoContent) IsRedirect ¶
func (o *DeleteInvoicePaymentTagsNoContent) IsRedirect() bool
IsRedirect returns true when this delete invoice payment tags no content response has a 3xx status code
func (*DeleteInvoicePaymentTagsNoContent) IsServerError ¶
func (o *DeleteInvoicePaymentTagsNoContent) IsServerError() bool
IsServerError returns true when this delete invoice payment tags no content response has a 5xx status code
func (*DeleteInvoicePaymentTagsNoContent) IsSuccess ¶
func (o *DeleteInvoicePaymentTagsNoContent) IsSuccess() bool
IsSuccess returns true when this delete invoice payment tags no content response has a 2xx status code
func (*DeleteInvoicePaymentTagsNoContent) String ¶
func (o *DeleteInvoicePaymentTagsNoContent) String() string
type DeleteInvoicePaymentTagsParams ¶
type DeleteInvoicePaymentTagsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // PaymentID. // // Format: uuid PaymentID strfmt.UUID // TagDef. TagDef []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 }
DeleteInvoicePaymentTagsParams contains all the parameters to send to the API endpoint
for the delete invoice payment tags operation. Typically these are written to a http.Request.
func NewDeleteInvoicePaymentTagsParams ¶
func NewDeleteInvoicePaymentTagsParams() *DeleteInvoicePaymentTagsParams
NewDeleteInvoicePaymentTagsParams creates a new DeleteInvoicePaymentTagsParams 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 NewDeleteInvoicePaymentTagsParamsWithContext ¶
func NewDeleteInvoicePaymentTagsParamsWithContext(ctx context.Context) *DeleteInvoicePaymentTagsParams
NewDeleteInvoicePaymentTagsParamsWithContext creates a new DeleteInvoicePaymentTagsParams object with the ability to set a context for a request.
func NewDeleteInvoicePaymentTagsParamsWithHTTPClient ¶
func NewDeleteInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoicePaymentTagsParams
NewDeleteInvoicePaymentTagsParamsWithHTTPClient creates a new DeleteInvoicePaymentTagsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteInvoicePaymentTagsParamsWithTimeout ¶
func NewDeleteInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoicePaymentTagsParams
NewDeleteInvoicePaymentTagsParamsWithTimeout creates a new DeleteInvoicePaymentTagsParams object with the ability to set a timeout on a request.
func (*DeleteInvoicePaymentTagsParams) SetContext ¶
func (o *DeleteInvoicePaymentTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) SetDefaults ¶
func (o *DeleteInvoicePaymentTagsParams) SetDefaults()
SetDefaults hydrates default values in the delete invoice payment tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoicePaymentTagsParams) SetHTTPClient ¶
func (o *DeleteInvoicePaymentTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) SetPaymentID ¶
func (o *DeleteInvoicePaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) SetTagDef ¶
func (o *DeleteInvoicePaymentTagsParams) SetTagDef(tagDef []strfmt.UUID)
SetTagDef adds the tagDef to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) SetTimeout ¶
func (o *DeleteInvoicePaymentTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) SetXKillbillComment ¶
func (o *DeleteInvoicePaymentTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) SetXKillbillCreatedBy ¶
func (o *DeleteInvoicePaymentTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) SetXKillbillReason ¶
func (o *DeleteInvoicePaymentTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WithContext ¶
func (o *DeleteInvoicePaymentTagsParams) WithContext(ctx context.Context) *DeleteInvoicePaymentTagsParams
WithContext adds the context to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WithDefaults ¶
func (o *DeleteInvoicePaymentTagsParams) WithDefaults() *DeleteInvoicePaymentTagsParams
WithDefaults hydrates default values in the delete invoice payment tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoicePaymentTagsParams) WithHTTPClient ¶
func (o *DeleteInvoicePaymentTagsParams) WithHTTPClient(client *http.Client) *DeleteInvoicePaymentTagsParams
WithHTTPClient adds the HTTPClient to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WithPaymentID ¶
func (o *DeleteInvoicePaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *DeleteInvoicePaymentTagsParams
WithPaymentID adds the paymentID to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WithTagDef ¶
func (o *DeleteInvoicePaymentTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteInvoicePaymentTagsParams
WithTagDef adds the tagDef to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WithTimeout ¶
func (o *DeleteInvoicePaymentTagsParams) WithTimeout(timeout time.Duration) *DeleteInvoicePaymentTagsParams
WithTimeout adds the timeout to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WithXKillbillComment ¶
func (o *DeleteInvoicePaymentTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoicePaymentTagsParams
WithXKillbillComment adds the xKillbillComment to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WithXKillbillCreatedBy ¶
func (o *DeleteInvoicePaymentTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoicePaymentTagsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WithXKillbillReason ¶
func (o *DeleteInvoicePaymentTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoicePaymentTagsParams
WithXKillbillReason adds the xKillbillReason to the delete invoice payment tags params
func (*DeleteInvoicePaymentTagsParams) WriteToRequest ¶
func (o *DeleteInvoicePaymentTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInvoicePaymentTagsReader ¶
type DeleteInvoicePaymentTagsReader struct {
// contains filtered or unexported fields
}
DeleteInvoicePaymentTagsReader is a Reader for the DeleteInvoicePaymentTags structure.
func (*DeleteInvoicePaymentTagsReader) ReadResponse ¶
func (o *DeleteInvoicePaymentTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoicePaymentAuditLogsWithHistoryNotFound ¶
type GetInvoicePaymentAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Invoice payment not found
func NewGetInvoicePaymentAuditLogsWithHistoryNotFound ¶
func NewGetInvoicePaymentAuditLogsWithHistoryNotFound() *GetInvoicePaymentAuditLogsWithHistoryNotFound
NewGetInvoicePaymentAuditLogsWithHistoryNotFound creates a GetInvoicePaymentAuditLogsWithHistoryNotFound with default headers values
func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) Code ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get invoice payment audit logs with history not found response
func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) Error ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) Error() string
func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get invoice payment audit logs with history not found response has a 4xx status code
func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get invoice payment audit logs with history not found response a status code equal to that given
func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get invoice payment audit logs with history not found response has a 3xx status code
func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get invoice payment audit logs with history not found response has a 5xx status code
func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get invoice payment audit logs with history not found response has a 2xx status code
func (*GetInvoicePaymentAuditLogsWithHistoryNotFound) String ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryNotFound) String() string
type GetInvoicePaymentAuditLogsWithHistoryOK ¶
type GetInvoicePaymentAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetInvoicePaymentAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoicePaymentAuditLogsWithHistoryOK ¶
func NewGetInvoicePaymentAuditLogsWithHistoryOK() *GetInvoicePaymentAuditLogsWithHistoryOK
NewGetInvoicePaymentAuditLogsWithHistoryOK creates a GetInvoicePaymentAuditLogsWithHistoryOK with default headers values
func (*GetInvoicePaymentAuditLogsWithHistoryOK) Code ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get invoice payment audit logs with history o k response
func (*GetInvoicePaymentAuditLogsWithHistoryOK) Error ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) Error() string
func (*GetInvoicePaymentAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get invoice payment audit logs with history o k response has a 4xx status code
func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsCode ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get invoice payment audit logs with history o k response a status code equal to that given
func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get invoice payment audit logs with history o k response has a 3xx status code
func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get invoice payment audit logs with history o k response has a 5xx status code
func (*GetInvoicePaymentAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get invoice payment audit logs with history o k response has a 2xx status code
func (*GetInvoicePaymentAuditLogsWithHistoryOK) String ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryOK) String() string
type GetInvoicePaymentAuditLogsWithHistoryParams ¶
type GetInvoicePaymentAuditLogsWithHistoryParams struct { // InvoicePaymentID. // // Format: uuid InvoicePaymentID 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 }
GetInvoicePaymentAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get invoice payment audit logs with history operation. Typically these are written to a http.Request.
func NewGetInvoicePaymentAuditLogsWithHistoryParams ¶
func NewGetInvoicePaymentAuditLogsWithHistoryParams() *GetInvoicePaymentAuditLogsWithHistoryParams
NewGetInvoicePaymentAuditLogsWithHistoryParams creates a new GetInvoicePaymentAuditLogsWithHistoryParams 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 NewGetInvoicePaymentAuditLogsWithHistoryParamsWithContext ¶
func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoicePaymentAuditLogsWithHistoryParams
NewGetInvoicePaymentAuditLogsWithHistoryParamsWithContext creates a new GetInvoicePaymentAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentAuditLogsWithHistoryParams
NewGetInvoicePaymentAuditLogsWithHistoryParamsWithHTTPClient creates a new GetInvoicePaymentAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetInvoicePaymentAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentAuditLogsWithHistoryParams
NewGetInvoicePaymentAuditLogsWithHistoryParamsWithTimeout creates a new GetInvoicePaymentAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetContext ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice payment audit logs with history params
func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetDefaults ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get invoice payment audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice payment audit logs with history params
func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetInvoicePaymentID ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetInvoicePaymentID(invoicePaymentID strfmt.UUID)
SetInvoicePaymentID adds the invoicePaymentId to the get invoice payment audit logs with history params
func (*GetInvoicePaymentAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice payment audit logs with history params
func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithContext ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetInvoicePaymentAuditLogsWithHistoryParams
WithContext adds the context to the get invoice payment audit logs with history params
func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithDefaults ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithDefaults() *GetInvoicePaymentAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get invoice payment audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get invoice payment audit logs with history params
func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithInvoicePaymentID ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithInvoicePaymentID(invoicePaymentID strfmt.UUID) *GetInvoicePaymentAuditLogsWithHistoryParams
WithInvoicePaymentID adds the invoicePaymentID to the get invoice payment audit logs with history params
func (*GetInvoicePaymentAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetInvoicePaymentAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get invoice payment audit logs with history params
func (*GetInvoicePaymentAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoicePaymentAuditLogsWithHistoryReader ¶
type GetInvoicePaymentAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetInvoicePaymentAuditLogsWithHistoryReader is a Reader for the GetInvoicePaymentAuditLogsWithHistory structure.
func (*GetInvoicePaymentAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetInvoicePaymentAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoicePaymentBadRequest ¶
type GetInvoicePaymentBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewGetInvoicePaymentBadRequest ¶
func NewGetInvoicePaymentBadRequest() *GetInvoicePaymentBadRequest
NewGetInvoicePaymentBadRequest creates a GetInvoicePaymentBadRequest with default headers values
func (*GetInvoicePaymentBadRequest) Code ¶
func (o *GetInvoicePaymentBadRequest) Code() int
Code gets the status code for the get invoice payment bad request response
func (*GetInvoicePaymentBadRequest) Error ¶
func (o *GetInvoicePaymentBadRequest) Error() string
func (*GetInvoicePaymentBadRequest) IsClientError ¶
func (o *GetInvoicePaymentBadRequest) IsClientError() bool
IsClientError returns true when this get invoice payment bad request response has a 4xx status code
func (*GetInvoicePaymentBadRequest) IsCode ¶
func (o *GetInvoicePaymentBadRequest) IsCode(code int) bool
IsCode returns true when this get invoice payment bad request response a status code equal to that given
func (*GetInvoicePaymentBadRequest) IsRedirect ¶
func (o *GetInvoicePaymentBadRequest) IsRedirect() bool
IsRedirect returns true when this get invoice payment bad request response has a 3xx status code
func (*GetInvoicePaymentBadRequest) IsServerError ¶
func (o *GetInvoicePaymentBadRequest) IsServerError() bool
IsServerError returns true when this get invoice payment bad request response has a 5xx status code
func (*GetInvoicePaymentBadRequest) IsSuccess ¶
func (o *GetInvoicePaymentBadRequest) IsSuccess() bool
IsSuccess returns true when this get invoice payment bad request response has a 2xx status code
func (*GetInvoicePaymentBadRequest) String ¶
func (o *GetInvoicePaymentBadRequest) String() string
type GetInvoicePaymentCustomFieldsBadRequest ¶
type GetInvoicePaymentCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewGetInvoicePaymentCustomFieldsBadRequest ¶
func NewGetInvoicePaymentCustomFieldsBadRequest() *GetInvoicePaymentCustomFieldsBadRequest
NewGetInvoicePaymentCustomFieldsBadRequest creates a GetInvoicePaymentCustomFieldsBadRequest with default headers values
func (*GetInvoicePaymentCustomFieldsBadRequest) Code ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) Code() int
Code gets the status code for the get invoice payment custom fields bad request response
func (*GetInvoicePaymentCustomFieldsBadRequest) Error ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) Error() string
func (*GetInvoicePaymentCustomFieldsBadRequest) IsClientError ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this get invoice payment custom fields bad request response has a 4xx status code
func (*GetInvoicePaymentCustomFieldsBadRequest) IsCode ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this get invoice payment custom fields bad request response a status code equal to that given
func (*GetInvoicePaymentCustomFieldsBadRequest) IsRedirect ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this get invoice payment custom fields bad request response has a 3xx status code
func (*GetInvoicePaymentCustomFieldsBadRequest) IsServerError ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this get invoice payment custom fields bad request response has a 5xx status code
func (*GetInvoicePaymentCustomFieldsBadRequest) IsSuccess ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this get invoice payment custom fields bad request response has a 2xx status code
func (*GetInvoicePaymentCustomFieldsBadRequest) String ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) String() string
type GetInvoicePaymentCustomFieldsOK ¶
type GetInvoicePaymentCustomFieldsOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
GetInvoicePaymentCustomFieldsOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoicePaymentCustomFieldsOK ¶
func NewGetInvoicePaymentCustomFieldsOK() *GetInvoicePaymentCustomFieldsOK
NewGetInvoicePaymentCustomFieldsOK creates a GetInvoicePaymentCustomFieldsOK with default headers values
func (*GetInvoicePaymentCustomFieldsOK) Code ¶
func (o *GetInvoicePaymentCustomFieldsOK) Code() int
Code gets the status code for the get invoice payment custom fields o k response
func (*GetInvoicePaymentCustomFieldsOK) Error ¶
func (o *GetInvoicePaymentCustomFieldsOK) Error() string
func (*GetInvoicePaymentCustomFieldsOK) GetPayload ¶
func (o *GetInvoicePaymentCustomFieldsOK) GetPayload() []*kbmodel.CustomField
func (*GetInvoicePaymentCustomFieldsOK) IsClientError ¶
func (o *GetInvoicePaymentCustomFieldsOK) IsClientError() bool
IsClientError returns true when this get invoice payment custom fields o k response has a 4xx status code
func (*GetInvoicePaymentCustomFieldsOK) IsCode ¶
func (o *GetInvoicePaymentCustomFieldsOK) IsCode(code int) bool
IsCode returns true when this get invoice payment custom fields o k response a status code equal to that given
func (*GetInvoicePaymentCustomFieldsOK) IsRedirect ¶
func (o *GetInvoicePaymentCustomFieldsOK) IsRedirect() bool
IsRedirect returns true when this get invoice payment custom fields o k response has a 3xx status code
func (*GetInvoicePaymentCustomFieldsOK) IsServerError ¶
func (o *GetInvoicePaymentCustomFieldsOK) IsServerError() bool
IsServerError returns true when this get invoice payment custom fields o k response has a 5xx status code
func (*GetInvoicePaymentCustomFieldsOK) IsSuccess ¶
func (o *GetInvoicePaymentCustomFieldsOK) IsSuccess() bool
IsSuccess returns true when this get invoice payment custom fields o k response has a 2xx status code
func (*GetInvoicePaymentCustomFieldsOK) String ¶
func (o *GetInvoicePaymentCustomFieldsOK) String() string
type GetInvoicePaymentCustomFieldsParams ¶
type GetInvoicePaymentCustomFieldsParams struct { // Audit. // // Default: "NONE" Audit *string // PaymentID. // // Format: uuid PaymentID 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 }
GetInvoicePaymentCustomFieldsParams contains all the parameters to send to the API endpoint
for the get invoice payment custom fields operation. Typically these are written to a http.Request.
func NewGetInvoicePaymentCustomFieldsParams ¶
func NewGetInvoicePaymentCustomFieldsParams() *GetInvoicePaymentCustomFieldsParams
NewGetInvoicePaymentCustomFieldsParams creates a new GetInvoicePaymentCustomFieldsParams 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 NewGetInvoicePaymentCustomFieldsParamsWithContext ¶
func NewGetInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *GetInvoicePaymentCustomFieldsParams
NewGetInvoicePaymentCustomFieldsParamsWithContext creates a new GetInvoicePaymentCustomFieldsParams object with the ability to set a context for a request.
func NewGetInvoicePaymentCustomFieldsParamsWithHTTPClient ¶
func NewGetInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentCustomFieldsParams
NewGetInvoicePaymentCustomFieldsParamsWithHTTPClient creates a new GetInvoicePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoicePaymentCustomFieldsParamsWithTimeout ¶
func NewGetInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentCustomFieldsParams
NewGetInvoicePaymentCustomFieldsParamsWithTimeout creates a new GetInvoicePaymentCustomFieldsParams object with the ability to set a timeout on a request.
func (*GetInvoicePaymentCustomFieldsParams) SetAudit ¶
func (o *GetInvoicePaymentCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) SetContext ¶
func (o *GetInvoicePaymentCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) SetDefaults ¶
func (o *GetInvoicePaymentCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the get invoice payment custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicePaymentCustomFieldsParams) SetHTTPClient ¶
func (o *GetInvoicePaymentCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) SetPaymentID ¶
func (o *GetInvoicePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) SetTimeout ¶
func (o *GetInvoicePaymentCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) WithAudit ¶
func (o *GetInvoicePaymentCustomFieldsParams) WithAudit(audit *string) *GetInvoicePaymentCustomFieldsParams
WithAudit adds the audit to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) WithContext ¶
func (o *GetInvoicePaymentCustomFieldsParams) WithContext(ctx context.Context) *GetInvoicePaymentCustomFieldsParams
WithContext adds the context to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) WithDefaults ¶
func (o *GetInvoicePaymentCustomFieldsParams) WithDefaults() *GetInvoicePaymentCustomFieldsParams
WithDefaults hydrates default values in the get invoice payment custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicePaymentCustomFieldsParams) WithHTTPClient ¶
func (o *GetInvoicePaymentCustomFieldsParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentCustomFieldsParams
WithHTTPClient adds the HTTPClient to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) WithPaymentID ¶
func (o *GetInvoicePaymentCustomFieldsParams) WithPaymentID(paymentID strfmt.UUID) *GetInvoicePaymentCustomFieldsParams
WithPaymentID adds the paymentID to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) WithTimeout ¶
func (o *GetInvoicePaymentCustomFieldsParams) WithTimeout(timeout time.Duration) *GetInvoicePaymentCustomFieldsParams
WithTimeout adds the timeout to the get invoice payment custom fields params
func (*GetInvoicePaymentCustomFieldsParams) WriteToRequest ¶
func (o *GetInvoicePaymentCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoicePaymentCustomFieldsReader ¶
type GetInvoicePaymentCustomFieldsReader struct {
// contains filtered or unexported fields
}
GetInvoicePaymentCustomFieldsReader is a Reader for the GetInvoicePaymentCustomFields structure.
func (*GetInvoicePaymentCustomFieldsReader) ReadResponse ¶
func (o *GetInvoicePaymentCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoicePaymentNotFound ¶
type GetInvoicePaymentNotFound struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentNotFound describes a response with status code 404, with default header values.
Payment not found
func NewGetInvoicePaymentNotFound ¶
func NewGetInvoicePaymentNotFound() *GetInvoicePaymentNotFound
NewGetInvoicePaymentNotFound creates a GetInvoicePaymentNotFound with default headers values
func (*GetInvoicePaymentNotFound) Code ¶
func (o *GetInvoicePaymentNotFound) Code() int
Code gets the status code for the get invoice payment not found response
func (*GetInvoicePaymentNotFound) Error ¶
func (o *GetInvoicePaymentNotFound) Error() string
func (*GetInvoicePaymentNotFound) IsClientError ¶
func (o *GetInvoicePaymentNotFound) IsClientError() bool
IsClientError returns true when this get invoice payment not found response has a 4xx status code
func (*GetInvoicePaymentNotFound) IsCode ¶
func (o *GetInvoicePaymentNotFound) IsCode(code int) bool
IsCode returns true when this get invoice payment not found response a status code equal to that given
func (*GetInvoicePaymentNotFound) IsRedirect ¶
func (o *GetInvoicePaymentNotFound) IsRedirect() bool
IsRedirect returns true when this get invoice payment not found response has a 3xx status code
func (*GetInvoicePaymentNotFound) IsServerError ¶
func (o *GetInvoicePaymentNotFound) IsServerError() bool
IsServerError returns true when this get invoice payment not found response has a 5xx status code
func (*GetInvoicePaymentNotFound) IsSuccess ¶
func (o *GetInvoicePaymentNotFound) IsSuccess() bool
IsSuccess returns true when this get invoice payment not found response has a 2xx status code
func (*GetInvoicePaymentNotFound) String ¶
func (o *GetInvoicePaymentNotFound) String() string
type GetInvoicePaymentOK ¶
type GetInvoicePaymentOK struct { Payload *kbmodel.InvoicePayment HttpResponse runtime.ClientResponse }
GetInvoicePaymentOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoicePaymentOK ¶
func NewGetInvoicePaymentOK() *GetInvoicePaymentOK
NewGetInvoicePaymentOK creates a GetInvoicePaymentOK with default headers values
func (*GetInvoicePaymentOK) Code ¶
func (o *GetInvoicePaymentOK) Code() int
Code gets the status code for the get invoice payment o k response
func (*GetInvoicePaymentOK) Error ¶
func (o *GetInvoicePaymentOK) Error() string
func (*GetInvoicePaymentOK) GetPayload ¶
func (o *GetInvoicePaymentOK) GetPayload() *kbmodel.InvoicePayment
func (*GetInvoicePaymentOK) IsClientError ¶
func (o *GetInvoicePaymentOK) IsClientError() bool
IsClientError returns true when this get invoice payment o k response has a 4xx status code
func (*GetInvoicePaymentOK) IsCode ¶
func (o *GetInvoicePaymentOK) IsCode(code int) bool
IsCode returns true when this get invoice payment o k response a status code equal to that given
func (*GetInvoicePaymentOK) IsRedirect ¶
func (o *GetInvoicePaymentOK) IsRedirect() bool
IsRedirect returns true when this get invoice payment o k response has a 3xx status code
func (*GetInvoicePaymentOK) IsServerError ¶
func (o *GetInvoicePaymentOK) IsServerError() bool
IsServerError returns true when this get invoice payment o k response has a 5xx status code
func (*GetInvoicePaymentOK) IsSuccess ¶
func (o *GetInvoicePaymentOK) IsSuccess() bool
IsSuccess returns true when this get invoice payment o k response has a 2xx status code
func (*GetInvoicePaymentOK) String ¶
func (o *GetInvoicePaymentOK) String() string
type GetInvoicePaymentParams ¶
type GetInvoicePaymentParams struct { // Audit. // // Default: "NONE" Audit *string // PaymentID. // // Format: uuid PaymentID strfmt.UUID // PluginProperty. PluginProperty []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 }
GetInvoicePaymentParams contains all the parameters to send to the API endpoint
for the get invoice payment operation. Typically these are written to a http.Request.
func NewGetInvoicePaymentParams ¶
func NewGetInvoicePaymentParams() *GetInvoicePaymentParams
NewGetInvoicePaymentParams creates a new GetInvoicePaymentParams 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 NewGetInvoicePaymentParamsWithContext ¶
func NewGetInvoicePaymentParamsWithContext(ctx context.Context) *GetInvoicePaymentParams
NewGetInvoicePaymentParamsWithContext creates a new GetInvoicePaymentParams object with the ability to set a context for a request.
func NewGetInvoicePaymentParamsWithHTTPClient ¶
func NewGetInvoicePaymentParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentParams
NewGetInvoicePaymentParamsWithHTTPClient creates a new GetInvoicePaymentParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoicePaymentParamsWithTimeout ¶
func NewGetInvoicePaymentParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentParams
NewGetInvoicePaymentParamsWithTimeout creates a new GetInvoicePaymentParams object with the ability to set a timeout on a request.
func (*GetInvoicePaymentParams) SetAudit ¶
func (o *GetInvoicePaymentParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice payment params
func (*GetInvoicePaymentParams) SetContext ¶
func (o *GetInvoicePaymentParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice payment params
func (*GetInvoicePaymentParams) SetDefaults ¶
func (o *GetInvoicePaymentParams) SetDefaults()
SetDefaults hydrates default values in the get invoice payment params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicePaymentParams) SetHTTPClient ¶
func (o *GetInvoicePaymentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice payment params
func (*GetInvoicePaymentParams) SetPaymentID ¶
func (o *GetInvoicePaymentParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the get invoice payment params
func (*GetInvoicePaymentParams) SetPluginProperty ¶
func (o *GetInvoicePaymentParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get invoice payment params
func (*GetInvoicePaymentParams) SetTimeout ¶
func (o *GetInvoicePaymentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice payment params
func (*GetInvoicePaymentParams) SetWithAttempts ¶
func (o *GetInvoicePaymentParams) SetWithAttempts(withAttempts *bool)
SetWithAttempts adds the withAttempts to the get invoice payment params
func (*GetInvoicePaymentParams) SetWithPluginInfo ¶
func (o *GetInvoicePaymentParams) SetWithPluginInfo(withPluginInfo *bool)
SetWithPluginInfo adds the withPluginInfo to the get invoice payment params
func (*GetInvoicePaymentParams) WithAudit ¶
func (o *GetInvoicePaymentParams) WithAudit(audit *string) *GetInvoicePaymentParams
WithAudit adds the audit to the get invoice payment params
func (*GetInvoicePaymentParams) WithContext ¶
func (o *GetInvoicePaymentParams) WithContext(ctx context.Context) *GetInvoicePaymentParams
WithContext adds the context to the get invoice payment params
func (*GetInvoicePaymentParams) WithDefaults ¶
func (o *GetInvoicePaymentParams) WithDefaults() *GetInvoicePaymentParams
WithDefaults hydrates default values in the get invoice payment params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicePaymentParams) WithHTTPClient ¶
func (o *GetInvoicePaymentParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentParams
WithHTTPClient adds the HTTPClient to the get invoice payment params
func (*GetInvoicePaymentParams) WithPaymentID ¶
func (o *GetInvoicePaymentParams) WithPaymentID(paymentID strfmt.UUID) *GetInvoicePaymentParams
WithPaymentID adds the paymentID to the get invoice payment params
func (*GetInvoicePaymentParams) WithPluginProperty ¶
func (o *GetInvoicePaymentParams) WithPluginProperty(pluginProperty []string) *GetInvoicePaymentParams
WithPluginProperty adds the pluginProperty to the get invoice payment params
func (*GetInvoicePaymentParams) WithTimeout ¶
func (o *GetInvoicePaymentParams) WithTimeout(timeout time.Duration) *GetInvoicePaymentParams
WithTimeout adds the timeout to the get invoice payment params
func (*GetInvoicePaymentParams) WithWithAttempts ¶
func (o *GetInvoicePaymentParams) WithWithAttempts(withAttempts *bool) *GetInvoicePaymentParams
WithWithAttempts adds the withAttempts to the get invoice payment params
func (*GetInvoicePaymentParams) WithWithPluginInfo ¶
func (o *GetInvoicePaymentParams) WithWithPluginInfo(withPluginInfo *bool) *GetInvoicePaymentParams
WithWithPluginInfo adds the withPluginInfo to the get invoice payment params
func (*GetInvoicePaymentParams) WriteToRequest ¶
func (o *GetInvoicePaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoicePaymentReader ¶
type GetInvoicePaymentReader struct {
// contains filtered or unexported fields
}
GetInvoicePaymentReader is a Reader for the GetInvoicePayment structure.
func (*GetInvoicePaymentReader) ReadResponse ¶
func (o *GetInvoicePaymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoicePaymentTagsBadRequest ¶
type GetInvoicePaymentTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentTagsBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewGetInvoicePaymentTagsBadRequest ¶
func NewGetInvoicePaymentTagsBadRequest() *GetInvoicePaymentTagsBadRequest
NewGetInvoicePaymentTagsBadRequest creates a GetInvoicePaymentTagsBadRequest with default headers values
func (*GetInvoicePaymentTagsBadRequest) Code ¶
func (o *GetInvoicePaymentTagsBadRequest) Code() int
Code gets the status code for the get invoice payment tags bad request response
func (*GetInvoicePaymentTagsBadRequest) Error ¶
func (o *GetInvoicePaymentTagsBadRequest) Error() string
func (*GetInvoicePaymentTagsBadRequest) IsClientError ¶
func (o *GetInvoicePaymentTagsBadRequest) IsClientError() bool
IsClientError returns true when this get invoice payment tags bad request response has a 4xx status code
func (*GetInvoicePaymentTagsBadRequest) IsCode ¶
func (o *GetInvoicePaymentTagsBadRequest) IsCode(code int) bool
IsCode returns true when this get invoice payment tags bad request response a status code equal to that given
func (*GetInvoicePaymentTagsBadRequest) IsRedirect ¶
func (o *GetInvoicePaymentTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this get invoice payment tags bad request response has a 3xx status code
func (*GetInvoicePaymentTagsBadRequest) IsServerError ¶
func (o *GetInvoicePaymentTagsBadRequest) IsServerError() bool
IsServerError returns true when this get invoice payment tags bad request response has a 5xx status code
func (*GetInvoicePaymentTagsBadRequest) IsSuccess ¶
func (o *GetInvoicePaymentTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this get invoice payment tags bad request response has a 2xx status code
func (*GetInvoicePaymentTagsBadRequest) String ¶
func (o *GetInvoicePaymentTagsBadRequest) String() string
type GetInvoicePaymentTagsNotFound ¶
type GetInvoicePaymentTagsNotFound struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentTagsNotFound describes a response with status code 404, with default header values.
Payment not found
func NewGetInvoicePaymentTagsNotFound ¶
func NewGetInvoicePaymentTagsNotFound() *GetInvoicePaymentTagsNotFound
NewGetInvoicePaymentTagsNotFound creates a GetInvoicePaymentTagsNotFound with default headers values
func (*GetInvoicePaymentTagsNotFound) Code ¶
func (o *GetInvoicePaymentTagsNotFound) Code() int
Code gets the status code for the get invoice payment tags not found response
func (*GetInvoicePaymentTagsNotFound) Error ¶
func (o *GetInvoicePaymentTagsNotFound) Error() string
func (*GetInvoicePaymentTagsNotFound) IsClientError ¶
func (o *GetInvoicePaymentTagsNotFound) IsClientError() bool
IsClientError returns true when this get invoice payment tags not found response has a 4xx status code
func (*GetInvoicePaymentTagsNotFound) IsCode ¶
func (o *GetInvoicePaymentTagsNotFound) IsCode(code int) bool
IsCode returns true when this get invoice payment tags not found response a status code equal to that given
func (*GetInvoicePaymentTagsNotFound) IsRedirect ¶
func (o *GetInvoicePaymentTagsNotFound) IsRedirect() bool
IsRedirect returns true when this get invoice payment tags not found response has a 3xx status code
func (*GetInvoicePaymentTagsNotFound) IsServerError ¶
func (o *GetInvoicePaymentTagsNotFound) IsServerError() bool
IsServerError returns true when this get invoice payment tags not found response has a 5xx status code
func (*GetInvoicePaymentTagsNotFound) IsSuccess ¶
func (o *GetInvoicePaymentTagsNotFound) IsSuccess() bool
IsSuccess returns true when this get invoice payment tags not found response has a 2xx status code
func (*GetInvoicePaymentTagsNotFound) String ¶
func (o *GetInvoicePaymentTagsNotFound) String() string
type GetInvoicePaymentTagsOK ¶
type GetInvoicePaymentTagsOK struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
GetInvoicePaymentTagsOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoicePaymentTagsOK ¶
func NewGetInvoicePaymentTagsOK() *GetInvoicePaymentTagsOK
NewGetInvoicePaymentTagsOK creates a GetInvoicePaymentTagsOK with default headers values
func (*GetInvoicePaymentTagsOK) Code ¶
func (o *GetInvoicePaymentTagsOK) Code() int
Code gets the status code for the get invoice payment tags o k response
func (*GetInvoicePaymentTagsOK) Error ¶
func (o *GetInvoicePaymentTagsOK) Error() string
func (*GetInvoicePaymentTagsOK) GetPayload ¶
func (o *GetInvoicePaymentTagsOK) GetPayload() []*kbmodel.Tag
func (*GetInvoicePaymentTagsOK) IsClientError ¶
func (o *GetInvoicePaymentTagsOK) IsClientError() bool
IsClientError returns true when this get invoice payment tags o k response has a 4xx status code
func (*GetInvoicePaymentTagsOK) IsCode ¶
func (o *GetInvoicePaymentTagsOK) IsCode(code int) bool
IsCode returns true when this get invoice payment tags o k response a status code equal to that given
func (*GetInvoicePaymentTagsOK) IsRedirect ¶
func (o *GetInvoicePaymentTagsOK) IsRedirect() bool
IsRedirect returns true when this get invoice payment tags o k response has a 3xx status code
func (*GetInvoicePaymentTagsOK) IsServerError ¶
func (o *GetInvoicePaymentTagsOK) IsServerError() bool
IsServerError returns true when this get invoice payment tags o k response has a 5xx status code
func (*GetInvoicePaymentTagsOK) IsSuccess ¶
func (o *GetInvoicePaymentTagsOK) IsSuccess() bool
IsSuccess returns true when this get invoice payment tags o k response has a 2xx status code
func (*GetInvoicePaymentTagsOK) String ¶
func (o *GetInvoicePaymentTagsOK) String() string
type GetInvoicePaymentTagsParams ¶
type GetInvoicePaymentTagsParams struct { // Audit. // // Default: "NONE" Audit *string // IncludedDeleted. IncludedDeleted *bool // PaymentID. // // Format: uuid PaymentID strfmt.UUID // PluginProperty. PluginProperty []string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetInvoicePaymentTagsParams contains all the parameters to send to the API endpoint
for the get invoice payment tags operation. Typically these are written to a http.Request.
func NewGetInvoicePaymentTagsParams ¶
func NewGetInvoicePaymentTagsParams() *GetInvoicePaymentTagsParams
NewGetInvoicePaymentTagsParams creates a new GetInvoicePaymentTagsParams 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 NewGetInvoicePaymentTagsParamsWithContext ¶
func NewGetInvoicePaymentTagsParamsWithContext(ctx context.Context) *GetInvoicePaymentTagsParams
NewGetInvoicePaymentTagsParamsWithContext creates a new GetInvoicePaymentTagsParams object with the ability to set a context for a request.
func NewGetInvoicePaymentTagsParamsWithHTTPClient ¶
func NewGetInvoicePaymentTagsParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentTagsParams
NewGetInvoicePaymentTagsParamsWithHTTPClient creates a new GetInvoicePaymentTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoicePaymentTagsParamsWithTimeout ¶
func NewGetInvoicePaymentTagsParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentTagsParams
NewGetInvoicePaymentTagsParamsWithTimeout creates a new GetInvoicePaymentTagsParams object with the ability to set a timeout on a request.
func (*GetInvoicePaymentTagsParams) SetAudit ¶
func (o *GetInvoicePaymentTagsParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) SetContext ¶
func (o *GetInvoicePaymentTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) SetDefaults ¶
func (o *GetInvoicePaymentTagsParams) SetDefaults()
SetDefaults hydrates default values in the get invoice payment tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicePaymentTagsParams) SetHTTPClient ¶
func (o *GetInvoicePaymentTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) SetIncludedDeleted ¶
func (o *GetInvoicePaymentTagsParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) SetPaymentID ¶
func (o *GetInvoicePaymentTagsParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) SetPluginProperty ¶
func (o *GetInvoicePaymentTagsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) SetTimeout ¶
func (o *GetInvoicePaymentTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) WithAudit ¶
func (o *GetInvoicePaymentTagsParams) WithAudit(audit *string) *GetInvoicePaymentTagsParams
WithAudit adds the audit to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) WithContext ¶
func (o *GetInvoicePaymentTagsParams) WithContext(ctx context.Context) *GetInvoicePaymentTagsParams
WithContext adds the context to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) WithDefaults ¶
func (o *GetInvoicePaymentTagsParams) WithDefaults() *GetInvoicePaymentTagsParams
WithDefaults hydrates default values in the get invoice payment tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoicePaymentTagsParams) WithHTTPClient ¶
func (o *GetInvoicePaymentTagsParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentTagsParams
WithHTTPClient adds the HTTPClient to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) WithIncludedDeleted ¶
func (o *GetInvoicePaymentTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetInvoicePaymentTagsParams
WithIncludedDeleted adds the includedDeleted to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) WithPaymentID ¶
func (o *GetInvoicePaymentTagsParams) WithPaymentID(paymentID strfmt.UUID) *GetInvoicePaymentTagsParams
WithPaymentID adds the paymentID to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) WithPluginProperty ¶
func (o *GetInvoicePaymentTagsParams) WithPluginProperty(pluginProperty []string) *GetInvoicePaymentTagsParams
WithPluginProperty adds the pluginProperty to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) WithTimeout ¶
func (o *GetInvoicePaymentTagsParams) WithTimeout(timeout time.Duration) *GetInvoicePaymentTagsParams
WithTimeout adds the timeout to the get invoice payment tags params
func (*GetInvoicePaymentTagsParams) WriteToRequest ¶
func (o *GetInvoicePaymentTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoicePaymentTagsReader ¶
type GetInvoicePaymentTagsReader struct {
// contains filtered or unexported fields
}
GetInvoicePaymentTagsReader is a Reader for the GetInvoicePaymentTags structure.
func (*GetInvoicePaymentTagsReader) ReadResponse ¶
func (o *GetInvoicePaymentTagsReader) 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 ModifyInvoicePaymentCustomFieldsBadRequest ¶
type ModifyInvoicePaymentCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
ModifyInvoicePaymentCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid payment id supplied
func NewModifyInvoicePaymentCustomFieldsBadRequest ¶
func NewModifyInvoicePaymentCustomFieldsBadRequest() *ModifyInvoicePaymentCustomFieldsBadRequest
NewModifyInvoicePaymentCustomFieldsBadRequest creates a ModifyInvoicePaymentCustomFieldsBadRequest with default headers values
func (*ModifyInvoicePaymentCustomFieldsBadRequest) Code ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) Code() int
Code gets the status code for the modify invoice payment custom fields bad request response
func (*ModifyInvoicePaymentCustomFieldsBadRequest) Error ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) Error() string
func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsClientError ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this modify invoice payment custom fields bad request response has a 4xx status code
func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsCode ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this modify invoice payment custom fields bad request response a status code equal to that given
func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsRedirect ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this modify invoice payment custom fields bad request response has a 3xx status code
func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsServerError ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this modify invoice payment custom fields bad request response has a 5xx status code
func (*ModifyInvoicePaymentCustomFieldsBadRequest) IsSuccess ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this modify invoice payment custom fields bad request response has a 2xx status code
func (*ModifyInvoicePaymentCustomFieldsBadRequest) String ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) String() string
type ModifyInvoicePaymentCustomFieldsNoContent ¶
type ModifyInvoicePaymentCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
ModifyInvoicePaymentCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewModifyInvoicePaymentCustomFieldsNoContent ¶
func NewModifyInvoicePaymentCustomFieldsNoContent() *ModifyInvoicePaymentCustomFieldsNoContent
NewModifyInvoicePaymentCustomFieldsNoContent creates a ModifyInvoicePaymentCustomFieldsNoContent with default headers values
func (*ModifyInvoicePaymentCustomFieldsNoContent) Code ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) Code() int
Code gets the status code for the modify invoice payment custom fields no content response
func (*ModifyInvoicePaymentCustomFieldsNoContent) Error ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) Error() string
func (*ModifyInvoicePaymentCustomFieldsNoContent) IsClientError ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this modify invoice payment custom fields no content response has a 4xx status code
func (*ModifyInvoicePaymentCustomFieldsNoContent) IsCode ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this modify invoice payment custom fields no content response a status code equal to that given
func (*ModifyInvoicePaymentCustomFieldsNoContent) IsRedirect ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this modify invoice payment custom fields no content response has a 3xx status code
func (*ModifyInvoicePaymentCustomFieldsNoContent) IsServerError ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this modify invoice payment custom fields no content response has a 5xx status code
func (*ModifyInvoicePaymentCustomFieldsNoContent) IsSuccess ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this modify invoice payment custom fields no content response has a 2xx status code
func (*ModifyInvoicePaymentCustomFieldsNoContent) String ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) String() string
type ModifyInvoicePaymentCustomFieldsParams ¶
type ModifyInvoicePaymentCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // PaymentID. // // Format: uuid PaymentID 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 }
ModifyInvoicePaymentCustomFieldsParams contains all the parameters to send to the API endpoint
for the modify invoice payment custom fields operation. Typically these are written to a http.Request.
func NewModifyInvoicePaymentCustomFieldsParams ¶
func NewModifyInvoicePaymentCustomFieldsParams() *ModifyInvoicePaymentCustomFieldsParams
NewModifyInvoicePaymentCustomFieldsParams creates a new ModifyInvoicePaymentCustomFieldsParams 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 NewModifyInvoicePaymentCustomFieldsParamsWithContext ¶
func NewModifyInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoicePaymentCustomFieldsParams
NewModifyInvoicePaymentCustomFieldsParamsWithContext creates a new ModifyInvoicePaymentCustomFieldsParams object with the ability to set a context for a request.
func NewModifyInvoicePaymentCustomFieldsParamsWithHTTPClient ¶
func NewModifyInvoicePaymentCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoicePaymentCustomFieldsParams
NewModifyInvoicePaymentCustomFieldsParamsWithHTTPClient creates a new ModifyInvoicePaymentCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewModifyInvoicePaymentCustomFieldsParamsWithTimeout ¶
func NewModifyInvoicePaymentCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoicePaymentCustomFieldsParams
NewModifyInvoicePaymentCustomFieldsParamsWithTimeout creates a new ModifyInvoicePaymentCustomFieldsParams object with the ability to set a timeout on a request.
func (*ModifyInvoicePaymentCustomFieldsParams) SetBody ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) SetContext ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) SetDefaults ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the modify invoice payment custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyInvoicePaymentCustomFieldsParams) SetHTTPClient ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) SetPaymentID ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetPaymentID(paymentID strfmt.UUID)
SetPaymentID adds the paymentId to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) SetTimeout ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) SetXKillbillComment ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) SetXKillbillReason ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WithBody ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyInvoicePaymentCustomFieldsParams
WithBody adds the body to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WithContext ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithContext(ctx context.Context) *ModifyInvoicePaymentCustomFieldsParams
WithContext adds the context to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WithDefaults ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithDefaults() *ModifyInvoicePaymentCustomFieldsParams
WithDefaults hydrates default values in the modify invoice payment custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyInvoicePaymentCustomFieldsParams) WithHTTPClient ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyInvoicePaymentCustomFieldsParams
WithHTTPClient adds the HTTPClient to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WithPaymentID ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithPaymentID(paymentID strfmt.UUID) *ModifyInvoicePaymentCustomFieldsParams
WithPaymentID adds the paymentID to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WithTimeout ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyInvoicePaymentCustomFieldsParams
WithTimeout adds the timeout to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WithXKillbillComment ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyInvoicePaymentCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyInvoicePaymentCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WithXKillbillReason ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyInvoicePaymentCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the modify invoice payment custom fields params
func (*ModifyInvoicePaymentCustomFieldsParams) WriteToRequest ¶
func (o *ModifyInvoicePaymentCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyInvoicePaymentCustomFieldsReader ¶
type ModifyInvoicePaymentCustomFieldsReader struct {
// contains filtered or unexported fields
}
ModifyInvoicePaymentCustomFieldsReader is a Reader for the ModifyInvoicePaymentCustomFields structure.
func (*ModifyInvoicePaymentCustomFieldsReader) ReadResponse ¶
func (o *ModifyInvoicePaymentCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- complete_invoice_payment_transaction_parameters.go
- complete_invoice_payment_transaction_responses.go
- create_chargeback_parameters.go
- create_chargeback_responses.go
- create_chargeback_reversal_parameters.go
- create_chargeback_reversal_responses.go
- create_invoice_payment_custom_fields_parameters.go
- create_invoice_payment_custom_fields_responses.go
- create_invoice_payment_tags_parameters.go
- create_invoice_payment_tags_responses.go
- create_refund_with_adjustments_parameters.go
- create_refund_with_adjustments_responses.go
- delete_invoice_payment_custom_fields_parameters.go
- delete_invoice_payment_custom_fields_responses.go
- delete_invoice_payment_tags_parameters.go
- delete_invoice_payment_tags_responses.go
- get_invoice_payment_audit_logs_with_history_parameters.go
- get_invoice_payment_audit_logs_with_history_responses.go
- get_invoice_payment_custom_fields_parameters.go
- get_invoice_payment_custom_fields_responses.go
- get_invoice_payment_parameters.go
- get_invoice_payment_responses.go
- get_invoice_payment_tags_parameters.go
- get_invoice_payment_tags_responses.go
- invoice_payment_client.go
- modify_invoice_payment_custom_fields_parameters.go
- modify_invoice_payment_custom_fields_responses.go