invoice_payment

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 13 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

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

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

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

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

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

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

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

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

SetBody adds the body to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) SetContext

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

WithBody adds the body to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithContext

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

WithHTTPClient adds the HTTPClient to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithPaymentID

WithPaymentID adds the paymentID to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithPluginProperty

WithPluginProperty adds the pluginProperty to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithTimeout

WithTimeout adds the timeout to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WithXKillbillComment

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

WithXKillbillReason adds the xKillbillReason to the complete invoice payment transaction params

func (*CompleteInvoicePaymentTransactionParams) WriteToRequest

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

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 {
	HttpResponse runtime.ClientResponse
}

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

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

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

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

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

WithBody adds the body to the create chargeback params

func (*CreateChargebackParams) WithContext

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

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

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

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

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

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

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

WithBody adds the body to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithContext

WithContext adds the context to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create chargeback reversal params

func (*CreateChargebackReversalParams) WithPaymentID

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

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

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

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

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

SetBody adds the body to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) SetContext

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

WithBody adds the body to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithContext

WithContext adds the context to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WithTimeout

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

WithXKillbillReason adds the xKillbillReason to the create invoice payment custom fields params

func (*CreateInvoicePaymentCustomFieldsParams) WriteToRequest

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

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

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

WithBody adds the body to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithContext

WithContext adds the context to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithPaymentID

WithPaymentID adds the paymentID to the create invoice payment tags params

func (*CreateInvoicePaymentTagsParams) WithTimeout

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

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

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

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

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

SetBody adds the body to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) SetContext

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

WithBody adds the body to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithContext

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

WithHTTPClient adds the HTTPClient to the create refund with adjustments params

func (*CreateRefundWithAdjustmentsParams) WithPaymentID

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

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

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

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

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

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

WithContext adds the context to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WithTimeout

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

WithXKillbillReason adds the xKillbillReason to the delete invoice payment custom fields params

func (*DeleteInvoicePaymentCustomFieldsParams) WriteToRequest

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

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

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

WithContext adds the context to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithPaymentID

WithPaymentID adds the paymentID to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete invoice payment tags params

func (*DeleteInvoicePaymentTagsParams) WithTimeout

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

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

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

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

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

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

WithAudit adds the audit to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithContext

WithContext adds the context to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get invoice payment custom fields params

func (*GetInvoicePaymentCustomFieldsParams) WriteToRequest

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

WithAudit adds the audit to the get invoice payment params

func (*GetInvoicePaymentParams) WithContext

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

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

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

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

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

WithAudit adds the audit to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithContext

WithContext adds the context to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WithHTTPClient

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

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

WithTimeout adds the timeout to the get invoice payment tags params

func (*GetInvoicePaymentTagsParams) WriteToRequest

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

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

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

SetBody adds the body to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) SetContext

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

WithBody adds the body to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithContext

WithContext adds the context to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithPaymentID

WithPaymentID adds the paymentID to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WithTimeout

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

WithXKillbillReason adds the xKillbillReason to the modify invoice payment custom fields params

func (*ModifyInvoicePaymentCustomFieldsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL