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) 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 CompleteInvoicePaymentTransactionBadGateway
- type CompleteInvoicePaymentTransactionBadRequest
- type CompleteInvoicePaymentTransactionGatewayTimeout
- type CompleteInvoicePaymentTransactionNoContent
- type CompleteInvoicePaymentTransactionNotFound
- 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) 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) 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
- type CompleteInvoicePaymentTransactionReader
- type CompleteInvoicePaymentTransactionServiceUnavailable
- type CompleteInvoicePaymentTransactionUnprocessableEntity
- type CreateChargebackBadRequest
- type CreateChargebackCreated
- type CreateChargebackNotFound
- 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) 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) 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
- type CreateChargebackReversalCreated
- type CreateChargebackReversalNotFound
- 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) 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) 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
- type CreateInvoicePaymentCustomFieldsCreated
- 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) 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) 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
- type CreateInvoicePaymentTagsCreated
- 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) 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) 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
- type CreateRefundWithAdjustmentsCreated
- type CreateRefundWithAdjustmentsNotFound
- 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) 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) 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
- type DeleteInvoicePaymentCustomFieldsNoContent
- 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) 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) 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
- type DeleteInvoicePaymentTagsNoContent
- 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) 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) 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 GetInvoicePaymentBadRequest
- type GetInvoicePaymentCustomFieldsBadRequest
- type GetInvoicePaymentCustomFieldsOK
- 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) 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) 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
- type GetInvoicePaymentOK
- 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) 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) 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
- type GetInvoicePaymentTagsNotFound
- type GetInvoicePaymentTagsOK
- 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) 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) 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 IInvoicePayment
- type KillbillDefaults
- type ModifyInvoicePaymentCustomFieldsBadRequest
- type ModifyInvoicePaymentCustomFieldsNoContent
- 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) 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) 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) 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 CompleteInvoicePaymentTransactionBadGateway ¶
type CompleteInvoicePaymentTransactionBadGateway struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionBadGateway handles this case with default header values.
Failed to submit payment transaction
func NewCompleteInvoicePaymentTransactionBadGateway ¶
func NewCompleteInvoicePaymentTransactionBadGateway() *CompleteInvoicePaymentTransactionBadGateway
NewCompleteInvoicePaymentTransactionBadGateway creates a CompleteInvoicePaymentTransactionBadGateway with default headers values
func (*CompleteInvoicePaymentTransactionBadGateway) Error ¶
func (o *CompleteInvoicePaymentTransactionBadGateway) Error() string
type CompleteInvoicePaymentTransactionBadRequest ¶
type CompleteInvoicePaymentTransactionBadRequest struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionBadRequest handles this case with default header values.
Invalid paymentId supplied
func NewCompleteInvoicePaymentTransactionBadRequest ¶
func NewCompleteInvoicePaymentTransactionBadRequest() *CompleteInvoicePaymentTransactionBadRequest
NewCompleteInvoicePaymentTransactionBadRequest creates a CompleteInvoicePaymentTransactionBadRequest with default headers values
func (*CompleteInvoicePaymentTransactionBadRequest) Error ¶
func (o *CompleteInvoicePaymentTransactionBadRequest) Error() string
type CompleteInvoicePaymentTransactionGatewayTimeout ¶
type CompleteInvoicePaymentTransactionGatewayTimeout struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionGatewayTimeout handles this case with default header values.
Payment operation timeout
func NewCompleteInvoicePaymentTransactionGatewayTimeout ¶
func NewCompleteInvoicePaymentTransactionGatewayTimeout() *CompleteInvoicePaymentTransactionGatewayTimeout
NewCompleteInvoicePaymentTransactionGatewayTimeout creates a CompleteInvoicePaymentTransactionGatewayTimeout with default headers values
func (*CompleteInvoicePaymentTransactionGatewayTimeout) Error ¶
func (o *CompleteInvoicePaymentTransactionGatewayTimeout) Error() string
type CompleteInvoicePaymentTransactionNoContent ¶
type CompleteInvoicePaymentTransactionNoContent struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionNoContent handles this case with default header values.
Successful operation
func NewCompleteInvoicePaymentTransactionNoContent ¶
func NewCompleteInvoicePaymentTransactionNoContent() *CompleteInvoicePaymentTransactionNoContent
NewCompleteInvoicePaymentTransactionNoContent creates a CompleteInvoicePaymentTransactionNoContent with default headers values
func (*CompleteInvoicePaymentTransactionNoContent) Error ¶
func (o *CompleteInvoicePaymentTransactionNoContent) Error() string
type CompleteInvoicePaymentTransactionNotFound ¶
type CompleteInvoicePaymentTransactionNotFound struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionNotFound handles this case with default header values.
Account or payment not found
func NewCompleteInvoicePaymentTransactionNotFound ¶
func NewCompleteInvoicePaymentTransactionNotFound() *CompleteInvoicePaymentTransactionNotFound
NewCompleteInvoicePaymentTransactionNotFound creates a CompleteInvoicePaymentTransactionNotFound with default headers values
func (*CompleteInvoicePaymentTransactionNotFound) Error ¶
func (o *CompleteInvoicePaymentTransactionNotFound) Error() string
type CompleteInvoicePaymentTransactionParams ¶
type CompleteInvoicePaymentTransactionParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.PaymentTransaction /*ControlPluginName*/ ControlPluginName []string /*PaymentID*/ PaymentID strfmt.UUID /*PluginProperty*/ PluginProperty []string 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 values initialized.
func NewCompleteInvoicePaymentTransactionParamsWithContext ¶
func NewCompleteInvoicePaymentTransactionParamsWithContext(ctx context.Context) *CompleteInvoicePaymentTransactionParams
NewCompleteInvoicePaymentTransactionParamsWithContext creates a new CompleteInvoicePaymentTransactionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Transaction declined by gateway
func NewCompleteInvoicePaymentTransactionPaymentRequired ¶
func NewCompleteInvoicePaymentTransactionPaymentRequired() *CompleteInvoicePaymentTransactionPaymentRequired
NewCompleteInvoicePaymentTransactionPaymentRequired creates a CompleteInvoicePaymentTransactionPaymentRequired with default headers values
func (*CompleteInvoicePaymentTransactionPaymentRequired) Error ¶
func (o *CompleteInvoicePaymentTransactionPaymentRequired) Error() 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 handles this case 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) Error ¶
func (o *CompleteInvoicePaymentTransactionServiceUnavailable) Error() string
type CompleteInvoicePaymentTransactionUnprocessableEntity ¶
type CompleteInvoicePaymentTransactionUnprocessableEntity struct {
HttpResponse runtime.ClientResponse
}
CompleteInvoicePaymentTransactionUnprocessableEntity handles this case 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) Error ¶
func (o *CompleteInvoicePaymentTransactionUnprocessableEntity) Error() string
type CreateChargebackBadRequest ¶
type CreateChargebackBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateChargebackBadRequest handles this case with default header values.
Invalid payment id supplied
func NewCreateChargebackBadRequest ¶
func NewCreateChargebackBadRequest() *CreateChargebackBadRequest
NewCreateChargebackBadRequest creates a CreateChargebackBadRequest with default headers values
func (*CreateChargebackBadRequest) Error ¶
func (o *CreateChargebackBadRequest) Error() string
type CreateChargebackCreated ¶
type CreateChargebackCreated struct { Payload *kbmodel.InvoicePayment HttpResponse runtime.ClientResponse }
CreateChargebackCreated handles this case with default header values.
Created chargeback successfully
func NewCreateChargebackCreated ¶
func NewCreateChargebackCreated() *CreateChargebackCreated
NewCreateChargebackCreated creates a CreateChargebackCreated with default headers values
func (*CreateChargebackCreated) Error ¶
func (o *CreateChargebackCreated) Error() string
type CreateChargebackNotFound ¶
type CreateChargebackNotFound struct {
HttpResponse runtime.ClientResponse
}
CreateChargebackNotFound handles this case with default header values.
Account or payment not found
func NewCreateChargebackNotFound ¶
func NewCreateChargebackNotFound() *CreateChargebackNotFound
NewCreateChargebackNotFound creates a CreateChargebackNotFound with default headers values
func (*CreateChargebackNotFound) Error ¶
func (o *CreateChargebackNotFound) Error() string
type CreateChargebackParams ¶
type CreateChargebackParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.InvoicePaymentTransaction /*PaymentID*/ PaymentID strfmt.UUID /*PluginProperty*/ PluginProperty []string 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 values initialized.
func NewCreateChargebackParamsWithContext ¶
func NewCreateChargebackParamsWithContext(ctx context.Context) *CreateChargebackParams
NewCreateChargebackParamsWithContext creates a new CreateChargebackParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid payment id supplied
func NewCreateChargebackReversalBadRequest ¶
func NewCreateChargebackReversalBadRequest() *CreateChargebackReversalBadRequest
NewCreateChargebackReversalBadRequest creates a CreateChargebackReversalBadRequest with default headers values
func (*CreateChargebackReversalBadRequest) Error ¶
func (o *CreateChargebackReversalBadRequest) Error() string
type CreateChargebackReversalCreated ¶
type CreateChargebackReversalCreated struct { Payload *kbmodel.InvoicePayment HttpResponse runtime.ClientResponse }
CreateChargebackReversalCreated handles this case with default header values.
Created chargeback reversal successfully
func NewCreateChargebackReversalCreated ¶
func NewCreateChargebackReversalCreated() *CreateChargebackReversalCreated
NewCreateChargebackReversalCreated creates a CreateChargebackReversalCreated with default headers values
func (*CreateChargebackReversalCreated) Error ¶
func (o *CreateChargebackReversalCreated) Error() string
type CreateChargebackReversalNotFound ¶
type CreateChargebackReversalNotFound struct {
HttpResponse runtime.ClientResponse
}
CreateChargebackReversalNotFound handles this case with default header values.
Account or payment not found
func NewCreateChargebackReversalNotFound ¶
func NewCreateChargebackReversalNotFound() *CreateChargebackReversalNotFound
NewCreateChargebackReversalNotFound creates a CreateChargebackReversalNotFound with default headers values
func (*CreateChargebackReversalNotFound) Error ¶
func (o *CreateChargebackReversalNotFound) Error() string
type CreateChargebackReversalParams ¶
type CreateChargebackReversalParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.InvoicePaymentTransaction /*PaymentID*/ PaymentID strfmt.UUID /*PluginProperty*/ PluginProperty []string 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 values initialized.
func NewCreateChargebackReversalParamsWithContext ¶
func NewCreateChargebackReversalParamsWithContext(ctx context.Context) *CreateChargebackReversalParams
NewCreateChargebackReversalParamsWithContext creates a new CreateChargebackReversalParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid payment id supplied
func NewCreateInvoicePaymentCustomFieldsBadRequest ¶
func NewCreateInvoicePaymentCustomFieldsBadRequest() *CreateInvoicePaymentCustomFieldsBadRequest
NewCreateInvoicePaymentCustomFieldsBadRequest creates a CreateInvoicePaymentCustomFieldsBadRequest with default headers values
func (*CreateInvoicePaymentCustomFieldsBadRequest) Error ¶
func (o *CreateInvoicePaymentCustomFieldsBadRequest) Error() string
type CreateInvoicePaymentCustomFieldsCreated ¶
type CreateInvoicePaymentCustomFieldsCreated struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
CreateInvoicePaymentCustomFieldsCreated handles this case with default header values.
Custom field created successfully
func NewCreateInvoicePaymentCustomFieldsCreated ¶
func NewCreateInvoicePaymentCustomFieldsCreated() *CreateInvoicePaymentCustomFieldsCreated
NewCreateInvoicePaymentCustomFieldsCreated creates a CreateInvoicePaymentCustomFieldsCreated with default headers values
func (*CreateInvoicePaymentCustomFieldsCreated) Error ¶
func (o *CreateInvoicePaymentCustomFieldsCreated) Error() string
type CreateInvoicePaymentCustomFieldsParams ¶
type CreateInvoicePaymentCustomFieldsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body []*kbmodel.CustomField /*PaymentID*/ PaymentID strfmt.UUID 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 values initialized.
func NewCreateInvoicePaymentCustomFieldsParamsWithContext ¶
func NewCreateInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoicePaymentCustomFieldsParams
NewCreateInvoicePaymentCustomFieldsParamsWithContext creates a new CreateInvoicePaymentCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid payment id supplied
func NewCreateInvoicePaymentTagsBadRequest ¶
func NewCreateInvoicePaymentTagsBadRequest() *CreateInvoicePaymentTagsBadRequest
NewCreateInvoicePaymentTagsBadRequest creates a CreateInvoicePaymentTagsBadRequest with default headers values
func (*CreateInvoicePaymentTagsBadRequest) Error ¶
func (o *CreateInvoicePaymentTagsBadRequest) Error() string
type CreateInvoicePaymentTagsCreated ¶
type CreateInvoicePaymentTagsCreated struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
CreateInvoicePaymentTagsCreated handles this case with default header values.
Tag created successfully
func NewCreateInvoicePaymentTagsCreated ¶
func NewCreateInvoicePaymentTagsCreated() *CreateInvoicePaymentTagsCreated
NewCreateInvoicePaymentTagsCreated creates a CreateInvoicePaymentTagsCreated with default headers values
func (*CreateInvoicePaymentTagsCreated) Error ¶
func (o *CreateInvoicePaymentTagsCreated) Error() string
type CreateInvoicePaymentTagsParams ¶
type CreateInvoicePaymentTagsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body []strfmt.UUID /*PaymentID*/ PaymentID strfmt.UUID 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 values initialized.
func NewCreateInvoicePaymentTagsParamsWithContext ¶
func NewCreateInvoicePaymentTagsParamsWithContext(ctx context.Context) *CreateInvoicePaymentTagsParams
NewCreateInvoicePaymentTagsParamsWithContext creates a new CreateInvoicePaymentTagsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid payment id supplied
func NewCreateRefundWithAdjustmentsBadRequest ¶
func NewCreateRefundWithAdjustmentsBadRequest() *CreateRefundWithAdjustmentsBadRequest
NewCreateRefundWithAdjustmentsBadRequest creates a CreateRefundWithAdjustmentsBadRequest with default headers values
func (*CreateRefundWithAdjustmentsBadRequest) Error ¶
func (o *CreateRefundWithAdjustmentsBadRequest) Error() string
type CreateRefundWithAdjustmentsCreated ¶
type CreateRefundWithAdjustmentsCreated struct { Payload *kbmodel.InvoicePayment HttpResponse runtime.ClientResponse }
CreateRefundWithAdjustmentsCreated handles this case with default header values.
Created refund successfully
func NewCreateRefundWithAdjustmentsCreated ¶
func NewCreateRefundWithAdjustmentsCreated() *CreateRefundWithAdjustmentsCreated
NewCreateRefundWithAdjustmentsCreated creates a CreateRefundWithAdjustmentsCreated with default headers values
func (*CreateRefundWithAdjustmentsCreated) Error ¶
func (o *CreateRefundWithAdjustmentsCreated) Error() string
type CreateRefundWithAdjustmentsNotFound ¶
type CreateRefundWithAdjustmentsNotFound struct {
HttpResponse runtime.ClientResponse
}
CreateRefundWithAdjustmentsNotFound handles this case with default header values.
Account or payment not found
func NewCreateRefundWithAdjustmentsNotFound ¶
func NewCreateRefundWithAdjustmentsNotFound() *CreateRefundWithAdjustmentsNotFound
NewCreateRefundWithAdjustmentsNotFound creates a CreateRefundWithAdjustmentsNotFound with default headers values
func (*CreateRefundWithAdjustmentsNotFound) Error ¶
func (o *CreateRefundWithAdjustmentsNotFound) Error() string
type CreateRefundWithAdjustmentsParams ¶
type CreateRefundWithAdjustmentsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.InvoicePaymentTransaction /*ExternalPayment*/ ExternalPayment *bool /*PaymentID*/ PaymentID strfmt.UUID /*PaymentMethodID*/ PaymentMethodID *strfmt.UUID /*PluginProperty*/ PluginProperty []string 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 values initialized.
func NewCreateRefundWithAdjustmentsParamsWithContext ¶
func NewCreateRefundWithAdjustmentsParamsWithContext(ctx context.Context) *CreateRefundWithAdjustmentsParams
NewCreateRefundWithAdjustmentsParamsWithContext creates a new CreateRefundWithAdjustmentsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid payment id supplied
func NewDeleteInvoicePaymentCustomFieldsBadRequest ¶
func NewDeleteInvoicePaymentCustomFieldsBadRequest() *DeleteInvoicePaymentCustomFieldsBadRequest
NewDeleteInvoicePaymentCustomFieldsBadRequest creates a DeleteInvoicePaymentCustomFieldsBadRequest with default headers values
func (*DeleteInvoicePaymentCustomFieldsBadRequest) Error ¶
func (o *DeleteInvoicePaymentCustomFieldsBadRequest) Error() string
type DeleteInvoicePaymentCustomFieldsNoContent ¶
type DeleteInvoicePaymentCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoicePaymentCustomFieldsNoContent handles this case with default header values.
Successful operation
func NewDeleteInvoicePaymentCustomFieldsNoContent ¶
func NewDeleteInvoicePaymentCustomFieldsNoContent() *DeleteInvoicePaymentCustomFieldsNoContent
NewDeleteInvoicePaymentCustomFieldsNoContent creates a DeleteInvoicePaymentCustomFieldsNoContent with default headers values
func (*DeleteInvoicePaymentCustomFieldsNoContent) Error ¶
func (o *DeleteInvoicePaymentCustomFieldsNoContent) Error() string
type DeleteInvoicePaymentCustomFieldsParams ¶
type DeleteInvoicePaymentCustomFieldsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*CustomField*/ CustomField []strfmt.UUID /*PaymentID*/ PaymentID strfmt.UUID 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 values initialized.
func NewDeleteInvoicePaymentCustomFieldsParamsWithContext ¶
func NewDeleteInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoicePaymentCustomFieldsParams
NewDeleteInvoicePaymentCustomFieldsParamsWithContext creates a new DeleteInvoicePaymentCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid payment id supplied
func NewDeleteInvoicePaymentTagsBadRequest ¶
func NewDeleteInvoicePaymentTagsBadRequest() *DeleteInvoicePaymentTagsBadRequest
NewDeleteInvoicePaymentTagsBadRequest creates a DeleteInvoicePaymentTagsBadRequest with default headers values
func (*DeleteInvoicePaymentTagsBadRequest) Error ¶
func (o *DeleteInvoicePaymentTagsBadRequest) Error() string
type DeleteInvoicePaymentTagsNoContent ¶
type DeleteInvoicePaymentTagsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoicePaymentTagsNoContent handles this case with default header values.
Successful operation
func NewDeleteInvoicePaymentTagsNoContent ¶
func NewDeleteInvoicePaymentTagsNoContent() *DeleteInvoicePaymentTagsNoContent
NewDeleteInvoicePaymentTagsNoContent creates a DeleteInvoicePaymentTagsNoContent with default headers values
func (*DeleteInvoicePaymentTagsNoContent) Error ¶
func (o *DeleteInvoicePaymentTagsNoContent) Error() string
type DeleteInvoicePaymentTagsParams ¶
type DeleteInvoicePaymentTagsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*PaymentID*/ PaymentID strfmt.UUID /*TagDef*/ TagDef []strfmt.UUID 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 values initialized.
func NewDeleteInvoicePaymentTagsParamsWithContext ¶
func NewDeleteInvoicePaymentTagsParamsWithContext(ctx context.Context) *DeleteInvoicePaymentTagsParams
NewDeleteInvoicePaymentTagsParamsWithContext creates a new DeleteInvoicePaymentTagsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetInvoicePaymentBadRequest ¶
type GetInvoicePaymentBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentBadRequest handles this case with default header values.
Invalid payment id supplied
func NewGetInvoicePaymentBadRequest ¶
func NewGetInvoicePaymentBadRequest() *GetInvoicePaymentBadRequest
NewGetInvoicePaymentBadRequest creates a GetInvoicePaymentBadRequest with default headers values
func (*GetInvoicePaymentBadRequest) Error ¶
func (o *GetInvoicePaymentBadRequest) Error() string
type GetInvoicePaymentCustomFieldsBadRequest ¶
type GetInvoicePaymentCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentCustomFieldsBadRequest handles this case with default header values.
Invalid payment id supplied
func NewGetInvoicePaymentCustomFieldsBadRequest ¶
func NewGetInvoicePaymentCustomFieldsBadRequest() *GetInvoicePaymentCustomFieldsBadRequest
NewGetInvoicePaymentCustomFieldsBadRequest creates a GetInvoicePaymentCustomFieldsBadRequest with default headers values
func (*GetInvoicePaymentCustomFieldsBadRequest) Error ¶
func (o *GetInvoicePaymentCustomFieldsBadRequest) Error() string
type GetInvoicePaymentCustomFieldsOK ¶
type GetInvoicePaymentCustomFieldsOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
GetInvoicePaymentCustomFieldsOK handles this case with default header values.
successful operation
func NewGetInvoicePaymentCustomFieldsOK ¶
func NewGetInvoicePaymentCustomFieldsOK() *GetInvoicePaymentCustomFieldsOK
NewGetInvoicePaymentCustomFieldsOK creates a GetInvoicePaymentCustomFieldsOK with default headers values
func (*GetInvoicePaymentCustomFieldsOK) Error ¶
func (o *GetInvoicePaymentCustomFieldsOK) Error() string
type GetInvoicePaymentCustomFieldsParams ¶
type GetInvoicePaymentCustomFieldsParams struct { /*Audit*/ Audit *string /*PaymentID*/ PaymentID strfmt.UUID 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 values initialized.
func NewGetInvoicePaymentCustomFieldsParamsWithContext ¶
func NewGetInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *GetInvoicePaymentCustomFieldsParams
NewGetInvoicePaymentCustomFieldsParamsWithContext creates a new GetInvoicePaymentCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Payment not found
func NewGetInvoicePaymentNotFound ¶
func NewGetInvoicePaymentNotFound() *GetInvoicePaymentNotFound
NewGetInvoicePaymentNotFound creates a GetInvoicePaymentNotFound with default headers values
func (*GetInvoicePaymentNotFound) Error ¶
func (o *GetInvoicePaymentNotFound) Error() string
type GetInvoicePaymentOK ¶
type GetInvoicePaymentOK struct { Payload *kbmodel.InvoicePayment HttpResponse runtime.ClientResponse }
GetInvoicePaymentOK handles this case with default header values.
successful operation
func NewGetInvoicePaymentOK ¶
func NewGetInvoicePaymentOK() *GetInvoicePaymentOK
NewGetInvoicePaymentOK creates a GetInvoicePaymentOK with default headers values
func (*GetInvoicePaymentOK) Error ¶
func (o *GetInvoicePaymentOK) Error() string
type GetInvoicePaymentParams ¶
type GetInvoicePaymentParams struct { /*Audit*/ Audit *string /*PaymentID*/ PaymentID strfmt.UUID /*PluginProperty*/ PluginProperty []string /*WithAttempts*/ WithAttempts *bool /*WithPluginInfo*/ WithPluginInfo *bool 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 values initialized.
func NewGetInvoicePaymentParamsWithContext ¶
func NewGetInvoicePaymentParamsWithContext(ctx context.Context) *GetInvoicePaymentParams
NewGetInvoicePaymentParamsWithContext creates a new GetInvoicePaymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid payment id supplied
func NewGetInvoicePaymentTagsBadRequest ¶
func NewGetInvoicePaymentTagsBadRequest() *GetInvoicePaymentTagsBadRequest
NewGetInvoicePaymentTagsBadRequest creates a GetInvoicePaymentTagsBadRequest with default headers values
func (*GetInvoicePaymentTagsBadRequest) Error ¶
func (o *GetInvoicePaymentTagsBadRequest) Error() string
type GetInvoicePaymentTagsNotFound ¶
type GetInvoicePaymentTagsNotFound struct {
HttpResponse runtime.ClientResponse
}
GetInvoicePaymentTagsNotFound handles this case with default header values.
Payment not found
func NewGetInvoicePaymentTagsNotFound ¶
func NewGetInvoicePaymentTagsNotFound() *GetInvoicePaymentTagsNotFound
NewGetInvoicePaymentTagsNotFound creates a GetInvoicePaymentTagsNotFound with default headers values
func (*GetInvoicePaymentTagsNotFound) Error ¶
func (o *GetInvoicePaymentTagsNotFound) Error() string
type GetInvoicePaymentTagsOK ¶
type GetInvoicePaymentTagsOK struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
GetInvoicePaymentTagsOK handles this case with default header values.
successful operation
func NewGetInvoicePaymentTagsOK ¶
func NewGetInvoicePaymentTagsOK() *GetInvoicePaymentTagsOK
NewGetInvoicePaymentTagsOK creates a GetInvoicePaymentTagsOK with default headers values
func (*GetInvoicePaymentTagsOK) Error ¶
func (o *GetInvoicePaymentTagsOK) Error() string
type GetInvoicePaymentTagsParams ¶
type GetInvoicePaymentTagsParams struct { /*Audit*/ Audit *string /*IncludedDeleted*/ IncludedDeleted *bool /*PaymentID*/ PaymentID strfmt.UUID /*PluginProperty*/ PluginProperty []string 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 values initialized.
func NewGetInvoicePaymentTagsParamsWithContext ¶
func NewGetInvoicePaymentTagsParamsWithContext(ctx context.Context) *GetInvoicePaymentTagsParams
NewGetInvoicePaymentTagsParamsWithContext creates a new GetInvoicePaymentTagsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 IInvoicePayment ¶
type IInvoicePayment interface { /* CompleteInvoicePaymentTransaction completes an existing transaction */ CompleteInvoicePaymentTransaction(ctx context.Context, params *CompleteInvoicePaymentTransactionParams) (*CompleteInvoicePaymentTransactionNoContent, error) /* CreateChargeback records a chargeback */ CreateChargeback(ctx context.Context, params *CreateChargebackParams) (*CreateChargebackCreated, error) /* CreateChargebackReversal records a chargeback reversal */ CreateChargebackReversal(ctx context.Context, params *CreateChargebackReversalParams) (*CreateChargebackReversalCreated, error) /* CreateInvoicePaymentCustomFields adds custom fields to payment */ CreateInvoicePaymentCustomFields(ctx context.Context, params *CreateInvoicePaymentCustomFieldsParams) (*CreateInvoicePaymentCustomFieldsCreated, error) /* CreateInvoicePaymentTags adds tags to payment */ CreateInvoicePaymentTags(ctx context.Context, params *CreateInvoicePaymentTagsParams) (*CreateInvoicePaymentTagsCreated, error) /* CreateRefundWithAdjustments refunds a payment and adjust the invoice if needed */ CreateRefundWithAdjustments(ctx context.Context, params *CreateRefundWithAdjustmentsParams) (*CreateRefundWithAdjustmentsCreated, error) /* DeleteInvoicePaymentCustomFields removes custom fields from payment */ DeleteInvoicePaymentCustomFields(ctx context.Context, params *DeleteInvoicePaymentCustomFieldsParams) (*DeleteInvoicePaymentCustomFieldsNoContent, error) /* DeleteInvoicePaymentTags removes tags from payment */ DeleteInvoicePaymentTags(ctx context.Context, params *DeleteInvoicePaymentTagsParams) (*DeleteInvoicePaymentTagsNoContent, error) /* GetInvoicePayment retrieves a payment by id */ GetInvoicePayment(ctx context.Context, params *GetInvoicePaymentParams) (*GetInvoicePaymentOK, error) /* GetInvoicePaymentCustomFields retrieves payment custom fields */ GetInvoicePaymentCustomFields(ctx context.Context, params *GetInvoicePaymentCustomFieldsParams) (*GetInvoicePaymentCustomFieldsOK, error) /* GetInvoicePaymentTags retrieves payment tags */ GetInvoicePaymentTags(ctx context.Context, params *GetInvoicePaymentTagsParams) (*GetInvoicePaymentTagsOK, error) /* ModifyInvoicePaymentCustomFields modifies custom fields to payment */ ModifyInvoicePaymentCustomFields(ctx context.Context, params *ModifyInvoicePaymentCustomFieldsParams) (*ModifyInvoicePaymentCustomFieldsNoContent, error) }
IInvoicePayment - interface for InvoicePayment client.
type KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default 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 handles this case with default header values.
Invalid payment id supplied
func NewModifyInvoicePaymentCustomFieldsBadRequest ¶
func NewModifyInvoicePaymentCustomFieldsBadRequest() *ModifyInvoicePaymentCustomFieldsBadRequest
NewModifyInvoicePaymentCustomFieldsBadRequest creates a ModifyInvoicePaymentCustomFieldsBadRequest with default headers values
func (*ModifyInvoicePaymentCustomFieldsBadRequest) Error ¶
func (o *ModifyInvoicePaymentCustomFieldsBadRequest) Error() string
type ModifyInvoicePaymentCustomFieldsNoContent ¶
type ModifyInvoicePaymentCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
ModifyInvoicePaymentCustomFieldsNoContent handles this case with default header values.
Successful operation
func NewModifyInvoicePaymentCustomFieldsNoContent ¶
func NewModifyInvoicePaymentCustomFieldsNoContent() *ModifyInvoicePaymentCustomFieldsNoContent
NewModifyInvoicePaymentCustomFieldsNoContent creates a ModifyInvoicePaymentCustomFieldsNoContent with default headers values
func (*ModifyInvoicePaymentCustomFieldsNoContent) Error ¶
func (o *ModifyInvoicePaymentCustomFieldsNoContent) Error() string
type ModifyInvoicePaymentCustomFieldsParams ¶
type ModifyInvoicePaymentCustomFieldsParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body []*kbmodel.CustomField /*PaymentID*/ PaymentID strfmt.UUID 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 values initialized.
func NewModifyInvoicePaymentCustomFieldsParamsWithContext ¶
func NewModifyInvoicePaymentCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoicePaymentCustomFieldsParams
NewModifyInvoicePaymentCustomFieldsParamsWithContext creates a new ModifyInvoicePaymentCustomFieldsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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_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