Help us shape the future of Go! Take the 2026 Go Developer Survey

overdue

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: 12 Imported by: 0

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 overdue API

func New

func New(transport runtime.ClientTransport,
	formats strfmt.Registry,
	authInfo runtime.ClientAuthInfoWriter,
	defaults KillbillDefaults) *Client

New creates a new overdue API client.

func (*Client) GetOverdueConfigJSON

func (a *Client) GetOverdueConfigJSON(ctx context.Context, params *GetOverdueConfigJSONParams) (*GetOverdueConfigJSONOK, error)

GetOverdueConfigJSON retrieves the overdue config as JSON

func (*Client) GetOverdueConfigXML

func (a *Client) GetOverdueConfigXML(ctx context.Context, params *GetOverdueConfigXMLParams) (*GetOverdueConfigXMLOK, error)

GetOverdueConfigXML retrieves the overdue config as XML

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UploadOverdueConfigJSON

func (a *Client) UploadOverdueConfigJSON(ctx context.Context, params *UploadOverdueConfigJSONParams) (*UploadOverdueConfigJSONCreated, error)

UploadOverdueConfigJSON uploads the full overdue config as JSON

func (*Client) UploadOverdueConfigXML

func (a *Client) UploadOverdueConfigXML(ctx context.Context, params *UploadOverdueConfigXMLParams) (*UploadOverdueConfigXMLCreated, error)

UploadOverdueConfigXML uploads the full overdue config as XML

type GetOverdueConfigJSONOK

type GetOverdueConfigJSONOK struct {
	Payload *kbmodel.Overdue

	HttpResponse runtime.ClientResponse
}

GetOverdueConfigJSONOK handles this case with default header values.

successful operation

func NewGetOverdueConfigJSONOK

func NewGetOverdueConfigJSONOK() *GetOverdueConfigJSONOK

NewGetOverdueConfigJSONOK creates a GetOverdueConfigJSONOK with default headers values

func (*GetOverdueConfigJSONOK) Error

func (o *GetOverdueConfigJSONOK) Error() string

type GetOverdueConfigJSONParams

type GetOverdueConfigJSONParams struct {
	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
}

GetOverdueConfigJSONParams contains all the parameters to send to the API endpoint for the get overdue config Json operation typically these are written to a http.Request

func NewGetOverdueConfigJSONParams

func NewGetOverdueConfigJSONParams() *GetOverdueConfigJSONParams

NewGetOverdueConfigJSONParams creates a new GetOverdueConfigJSONParams object with the default values initialized.

func NewGetOverdueConfigJSONParamsWithContext

func NewGetOverdueConfigJSONParamsWithContext(ctx context.Context) *GetOverdueConfigJSONParams

NewGetOverdueConfigJSONParamsWithContext creates a new GetOverdueConfigJSONParams object with the default values initialized, and the ability to set a context for a request

func NewGetOverdueConfigJSONParamsWithHTTPClient

func NewGetOverdueConfigJSONParamsWithHTTPClient(client *http.Client) *GetOverdueConfigJSONParams

NewGetOverdueConfigJSONParamsWithHTTPClient creates a new GetOverdueConfigJSONParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOverdueConfigJSONParamsWithTimeout

func NewGetOverdueConfigJSONParamsWithTimeout(timeout time.Duration) *GetOverdueConfigJSONParams

NewGetOverdueConfigJSONParamsWithTimeout creates a new GetOverdueConfigJSONParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOverdueConfigJSONParams) SetContext

func (o *GetOverdueConfigJSONParams) SetContext(ctx context.Context)

SetContext adds the context to the get overdue config Json params

func (*GetOverdueConfigJSONParams) SetHTTPClient

func (o *GetOverdueConfigJSONParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get overdue config Json params

func (*GetOverdueConfigJSONParams) SetTimeout

func (o *GetOverdueConfigJSONParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get overdue config Json params

func (*GetOverdueConfigJSONParams) WithContext

WithContext adds the context to the get overdue config Json params

func (*GetOverdueConfigJSONParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get overdue config Json params

func (*GetOverdueConfigJSONParams) WithTimeout

WithTimeout adds the timeout to the get overdue config Json params

func (*GetOverdueConfigJSONParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOverdueConfigJSONReader

type GetOverdueConfigJSONReader struct {
	// contains filtered or unexported fields
}

GetOverdueConfigJSONReader is a Reader for the GetOverdueConfigJSON structure.

func (*GetOverdueConfigJSONReader) ReadResponse

func (o *GetOverdueConfigJSONReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOverdueConfigXMLOK

type GetOverdueConfigXMLOK struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

GetOverdueConfigXMLOK handles this case with default header values.

successful operation

func NewGetOverdueConfigXMLOK

func NewGetOverdueConfigXMLOK() *GetOverdueConfigXMLOK

NewGetOverdueConfigXMLOK creates a GetOverdueConfigXMLOK with default headers values

func (*GetOverdueConfigXMLOK) Error

func (o *GetOverdueConfigXMLOK) Error() string

type GetOverdueConfigXMLParams

type GetOverdueConfigXMLParams struct {
	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
}

GetOverdueConfigXMLParams contains all the parameters to send to the API endpoint for the get overdue config Xml operation typically these are written to a http.Request

func NewGetOverdueConfigXMLParams

func NewGetOverdueConfigXMLParams() *GetOverdueConfigXMLParams

NewGetOverdueConfigXMLParams creates a new GetOverdueConfigXMLParams object with the default values initialized.

func NewGetOverdueConfigXMLParamsWithContext

func NewGetOverdueConfigXMLParamsWithContext(ctx context.Context) *GetOverdueConfigXMLParams

NewGetOverdueConfigXMLParamsWithContext creates a new GetOverdueConfigXMLParams object with the default values initialized, and the ability to set a context for a request

func NewGetOverdueConfigXMLParamsWithHTTPClient

func NewGetOverdueConfigXMLParamsWithHTTPClient(client *http.Client) *GetOverdueConfigXMLParams

NewGetOverdueConfigXMLParamsWithHTTPClient creates a new GetOverdueConfigXMLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOverdueConfigXMLParamsWithTimeout

func NewGetOverdueConfigXMLParamsWithTimeout(timeout time.Duration) *GetOverdueConfigXMLParams

NewGetOverdueConfigXMLParamsWithTimeout creates a new GetOverdueConfigXMLParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOverdueConfigXMLParams) SetContext

func (o *GetOverdueConfigXMLParams) SetContext(ctx context.Context)

SetContext adds the context to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) SetHTTPClient

func (o *GetOverdueConfigXMLParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) SetTimeout

func (o *GetOverdueConfigXMLParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) WithContext

WithContext adds the context to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) WithHTTPClient

func (o *GetOverdueConfigXMLParams) WithHTTPClient(client *http.Client) *GetOverdueConfigXMLParams

WithHTTPClient adds the HTTPClient to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) WithTimeout

WithTimeout adds the timeout to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOverdueConfigXMLReader

type GetOverdueConfigXMLReader struct {
	// contains filtered or unexported fields
}

GetOverdueConfigXMLReader is a Reader for the GetOverdueConfigXML structure.

func (*GetOverdueConfigXMLReader) ReadResponse

func (o *GetOverdueConfigXMLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type IOverdue

type IOverdue interface {
	/*
		GetOverdueConfigJSON retrieves the overdue config as JSON
	*/
	GetOverdueConfigJSON(ctx context.Context, params *GetOverdueConfigJSONParams) (*GetOverdueConfigJSONOK, error)

	/*
		GetOverdueConfigXML retrieves the overdue config as XML
	*/
	GetOverdueConfigXML(ctx context.Context, params *GetOverdueConfigXMLParams) (*GetOverdueConfigXMLOK, error)

	/*
		UploadOverdueConfigJSON uploads the full overdue config as JSON
	*/
	UploadOverdueConfigJSON(ctx context.Context, params *UploadOverdueConfigJSONParams) (*UploadOverdueConfigJSONCreated, error)

	/*
		UploadOverdueConfigXML uploads the full overdue config as XML
	*/
	UploadOverdueConfigXML(ctx context.Context, params *UploadOverdueConfigXMLParams) (*UploadOverdueConfigXMLCreated, error)
}

IOverdue - interface for Overdue 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 UploadOverdueConfigJSONBadRequest

type UploadOverdueConfigJSONBadRequest struct {
	HttpResponse runtime.ClientResponse
}

UploadOverdueConfigJSONBadRequest handles this case with default header values.

Invalid node command supplied

func NewUploadOverdueConfigJSONBadRequest

func NewUploadOverdueConfigJSONBadRequest() *UploadOverdueConfigJSONBadRequest

NewUploadOverdueConfigJSONBadRequest creates a UploadOverdueConfigJSONBadRequest with default headers values

func (*UploadOverdueConfigJSONBadRequest) Error

type UploadOverdueConfigJSONCreated

type UploadOverdueConfigJSONCreated struct {
	Payload *kbmodel.Overdue

	HttpResponse runtime.ClientResponse
}

UploadOverdueConfigJSONCreated handles this case with default header values.

Successfully uploaded overdue config

func NewUploadOverdueConfigJSONCreated

func NewUploadOverdueConfigJSONCreated() *UploadOverdueConfigJSONCreated

NewUploadOverdueConfigJSONCreated creates a UploadOverdueConfigJSONCreated with default headers values

func (*UploadOverdueConfigJSONCreated) Error

type UploadOverdueConfigJSONParams

type UploadOverdueConfigJSONParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.Overdue

	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
}

UploadOverdueConfigJSONParams contains all the parameters to send to the API endpoint for the upload overdue config Json operation typically these are written to a http.Request

func NewUploadOverdueConfigJSONParams

func NewUploadOverdueConfigJSONParams() *UploadOverdueConfigJSONParams

NewUploadOverdueConfigJSONParams creates a new UploadOverdueConfigJSONParams object with the default values initialized.

func NewUploadOverdueConfigJSONParamsWithContext

func NewUploadOverdueConfigJSONParamsWithContext(ctx context.Context) *UploadOverdueConfigJSONParams

NewUploadOverdueConfigJSONParamsWithContext creates a new UploadOverdueConfigJSONParams object with the default values initialized, and the ability to set a context for a request

func NewUploadOverdueConfigJSONParamsWithHTTPClient

func NewUploadOverdueConfigJSONParamsWithHTTPClient(client *http.Client) *UploadOverdueConfigJSONParams

NewUploadOverdueConfigJSONParamsWithHTTPClient creates a new UploadOverdueConfigJSONParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUploadOverdueConfigJSONParamsWithTimeout

func NewUploadOverdueConfigJSONParamsWithTimeout(timeout time.Duration) *UploadOverdueConfigJSONParams

NewUploadOverdueConfigJSONParamsWithTimeout creates a new UploadOverdueConfigJSONParams object with the default values initialized, and the ability to set a timeout on a request

func (*UploadOverdueConfigJSONParams) SetBody

func (o *UploadOverdueConfigJSONParams) SetBody(body *kbmodel.Overdue)

SetBody adds the body to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetContext

func (o *UploadOverdueConfigJSONParams) SetContext(ctx context.Context)

SetContext adds the context to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetHTTPClient

func (o *UploadOverdueConfigJSONParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetTimeout

func (o *UploadOverdueConfigJSONParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetXKillbillComment

func (o *UploadOverdueConfigJSONParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetXKillbillCreatedBy

func (o *UploadOverdueConfigJSONParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetXKillbillReason

func (o *UploadOverdueConfigJSONParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithBody

WithBody adds the body to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithContext

WithContext adds the context to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithTimeout

WithTimeout adds the timeout to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithXKillbillComment

func (o *UploadOverdueConfigJSONParams) WithXKillbillComment(xKillbillComment *string) *UploadOverdueConfigJSONParams

WithXKillbillComment adds the xKillbillComment to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithXKillbillCreatedBy

func (o *UploadOverdueConfigJSONParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadOverdueConfigJSONParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithXKillbillReason

func (o *UploadOverdueConfigJSONParams) WithXKillbillReason(xKillbillReason *string) *UploadOverdueConfigJSONParams

WithXKillbillReason adds the xKillbillReason to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadOverdueConfigJSONReader

type UploadOverdueConfigJSONReader struct {
	// contains filtered or unexported fields
}

UploadOverdueConfigJSONReader is a Reader for the UploadOverdueConfigJSON structure.

func (*UploadOverdueConfigJSONReader) ReadResponse

func (o *UploadOverdueConfigJSONReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UploadOverdueConfigXMLBadRequest

type UploadOverdueConfigXMLBadRequest struct {
	HttpResponse runtime.ClientResponse
}

UploadOverdueConfigXMLBadRequest handles this case with default header values.

Invalid node command supplied

func NewUploadOverdueConfigXMLBadRequest

func NewUploadOverdueConfigXMLBadRequest() *UploadOverdueConfigXMLBadRequest

NewUploadOverdueConfigXMLBadRequest creates a UploadOverdueConfigXMLBadRequest with default headers values

func (*UploadOverdueConfigXMLBadRequest) Error

type UploadOverdueConfigXMLCreated

type UploadOverdueConfigXMLCreated struct {
	Payload string

	HttpResponse runtime.ClientResponse
}

UploadOverdueConfigXMLCreated handles this case with default header values.

Successfully uploaded overdue config

func NewUploadOverdueConfigXMLCreated

func NewUploadOverdueConfigXMLCreated() *UploadOverdueConfigXMLCreated

NewUploadOverdueConfigXMLCreated creates a UploadOverdueConfigXMLCreated with default headers values

func (*UploadOverdueConfigXMLCreated) Error

type UploadOverdueConfigXMLParams

type UploadOverdueConfigXMLParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *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
}

UploadOverdueConfigXMLParams contains all the parameters to send to the API endpoint for the upload overdue config Xml operation typically these are written to a http.Request

func NewUploadOverdueConfigXMLParams

func NewUploadOverdueConfigXMLParams() *UploadOverdueConfigXMLParams

NewUploadOverdueConfigXMLParams creates a new UploadOverdueConfigXMLParams object with the default values initialized.

func NewUploadOverdueConfigXMLParamsWithContext

func NewUploadOverdueConfigXMLParamsWithContext(ctx context.Context) *UploadOverdueConfigXMLParams

NewUploadOverdueConfigXMLParamsWithContext creates a new UploadOverdueConfigXMLParams object with the default values initialized, and the ability to set a context for a request

func NewUploadOverdueConfigXMLParamsWithHTTPClient

func NewUploadOverdueConfigXMLParamsWithHTTPClient(client *http.Client) *UploadOverdueConfigXMLParams

NewUploadOverdueConfigXMLParamsWithHTTPClient creates a new UploadOverdueConfigXMLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUploadOverdueConfigXMLParamsWithTimeout

func NewUploadOverdueConfigXMLParamsWithTimeout(timeout time.Duration) *UploadOverdueConfigXMLParams

NewUploadOverdueConfigXMLParamsWithTimeout creates a new UploadOverdueConfigXMLParams object with the default values initialized, and the ability to set a timeout on a request

func (*UploadOverdueConfigXMLParams) SetBody

func (o *UploadOverdueConfigXMLParams) SetBody(body *string)

SetBody adds the body to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetContext

func (o *UploadOverdueConfigXMLParams) SetContext(ctx context.Context)

SetContext adds the context to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetHTTPClient

func (o *UploadOverdueConfigXMLParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetTimeout

func (o *UploadOverdueConfigXMLParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetXKillbillComment

func (o *UploadOverdueConfigXMLParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetXKillbillCreatedBy

func (o *UploadOverdueConfigXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetXKillbillReason

func (o *UploadOverdueConfigXMLParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithBody

WithBody adds the body to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithContext

WithContext adds the context to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithTimeout

WithTimeout adds the timeout to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithXKillbillComment

func (o *UploadOverdueConfigXMLParams) WithXKillbillComment(xKillbillComment *string) *UploadOverdueConfigXMLParams

WithXKillbillComment adds the xKillbillComment to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithXKillbillCreatedBy

func (o *UploadOverdueConfigXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadOverdueConfigXMLParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithXKillbillReason

func (o *UploadOverdueConfigXMLParams) WithXKillbillReason(xKillbillReason *string) *UploadOverdueConfigXMLParams

WithXKillbillReason adds the xKillbillReason to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadOverdueConfigXMLReader

type UploadOverdueConfigXMLReader struct {
	// contains filtered or unexported fields
}

UploadOverdueConfigXMLReader is a Reader for the UploadOverdueConfigXML structure.

func (*UploadOverdueConfigXMLReader) ReadResponse

func (o *UploadOverdueConfigXMLReader) 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