debit

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: MIT Imports: 11 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 debit API

func (*Client) PostAPIDebitV10PaymentHostToHost

func (a *Client) PostAPIDebitV10PaymentHostToHost(params *PostAPIDebitV10PaymentHostToHostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIDebitV10PaymentHostToHostOK, error)

PostAPIDebitV10PaymentHostToHost creates e wallet or credit card payment

Create a new payment transaction using e-wallet or credit card

func (*Client) PostAPIV10DebitCancel

func (a *Client) PostAPIV10DebitCancel(params *PostAPIV10DebitCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIV10DebitCancelOK, error)

PostAPIV10DebitCancel cancels payment

Cancel an existing e-wallet or credit card payment transaction

func (*Client) PostAPIV10DebitStatus

func (a *Client) PostAPIV10DebitStatus(params *PostAPIV10DebitStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIV10DebitStatusOK, error)

PostAPIV10DebitStatus checks payment status

Check the status of an e-wallet or credit card payment transaction

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	PostAPIDebitV10PaymentHostToHost(params *PostAPIDebitV10PaymentHostToHostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIDebitV10PaymentHostToHostOK, error)

	PostAPIV10DebitCancel(params *PostAPIV10DebitCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIV10DebitCancelOK, error)

	PostAPIV10DebitStatus(params *PostAPIV10DebitStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIV10DebitStatusOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new debit API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new debit API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new debit API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type PostAPIDebitV10PaymentHostToHostBadRequest

type PostAPIDebitV10PaymentHostToHostBadRequest struct {
	Payload interface{}
}

PostAPIDebitV10PaymentHostToHostBadRequest describes a response with status code 400, with default header values.

Invalid request parameters

func NewPostAPIDebitV10PaymentHostToHostBadRequest

func NewPostAPIDebitV10PaymentHostToHostBadRequest() *PostAPIDebitV10PaymentHostToHostBadRequest

NewPostAPIDebitV10PaymentHostToHostBadRequest creates a PostAPIDebitV10PaymentHostToHostBadRequest with default headers values

func (*PostAPIDebitV10PaymentHostToHostBadRequest) Code

Code gets the status code for the post Api debit v10 payment host to host bad request response

func (*PostAPIDebitV10PaymentHostToHostBadRequest) Error

func (*PostAPIDebitV10PaymentHostToHostBadRequest) GetPayload

func (o *PostAPIDebitV10PaymentHostToHostBadRequest) GetPayload() interface{}

func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsClientError

IsClientError returns true when this post Api debit v10 payment host to host bad request response has a 4xx status code

func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsCode

IsCode returns true when this post Api debit v10 payment host to host bad request response a status code equal to that given

func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsRedirect

IsRedirect returns true when this post Api debit v10 payment host to host bad request response has a 3xx status code

func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsServerError

IsServerError returns true when this post Api debit v10 payment host to host bad request response has a 5xx status code

func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsSuccess

IsSuccess returns true when this post Api debit v10 payment host to host bad request response has a 2xx status code

func (*PostAPIDebitV10PaymentHostToHostBadRequest) String

type PostAPIDebitV10PaymentHostToHostConflict

type PostAPIDebitV10PaymentHostToHostConflict struct {
	Payload interface{}
}

PostAPIDebitV10PaymentHostToHostConflict describes a response with status code 409, with default header values.

Duplicate transaction

func NewPostAPIDebitV10PaymentHostToHostConflict

func NewPostAPIDebitV10PaymentHostToHostConflict() *PostAPIDebitV10PaymentHostToHostConflict

NewPostAPIDebitV10PaymentHostToHostConflict creates a PostAPIDebitV10PaymentHostToHostConflict with default headers values

func (*PostAPIDebitV10PaymentHostToHostConflict) Code

Code gets the status code for the post Api debit v10 payment host to host conflict response

func (*PostAPIDebitV10PaymentHostToHostConflict) Error

func (*PostAPIDebitV10PaymentHostToHostConflict) GetPayload

func (o *PostAPIDebitV10PaymentHostToHostConflict) GetPayload() interface{}

func (*PostAPIDebitV10PaymentHostToHostConflict) IsClientError

IsClientError returns true when this post Api debit v10 payment host to host conflict response has a 4xx status code

func (*PostAPIDebitV10PaymentHostToHostConflict) IsCode

IsCode returns true when this post Api debit v10 payment host to host conflict response a status code equal to that given

func (*PostAPIDebitV10PaymentHostToHostConflict) IsRedirect

IsRedirect returns true when this post Api debit v10 payment host to host conflict response has a 3xx status code

func (*PostAPIDebitV10PaymentHostToHostConflict) IsServerError

IsServerError returns true when this post Api debit v10 payment host to host conflict response has a 5xx status code

func (*PostAPIDebitV10PaymentHostToHostConflict) IsSuccess

IsSuccess returns true when this post Api debit v10 payment host to host conflict response has a 2xx status code

func (*PostAPIDebitV10PaymentHostToHostConflict) String

type PostAPIDebitV10PaymentHostToHostInternalServerError

type PostAPIDebitV10PaymentHostToHostInternalServerError struct {
	Payload interface{}
}

PostAPIDebitV10PaymentHostToHostInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPostAPIDebitV10PaymentHostToHostInternalServerError

func NewPostAPIDebitV10PaymentHostToHostInternalServerError() *PostAPIDebitV10PaymentHostToHostInternalServerError

NewPostAPIDebitV10PaymentHostToHostInternalServerError creates a PostAPIDebitV10PaymentHostToHostInternalServerError with default headers values

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) Code

Code gets the status code for the post Api debit v10 payment host to host internal server error response

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) Error

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) GetPayload

func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) GetPayload() interface{}

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) IsClientError

IsClientError returns true when this post Api debit v10 payment host to host internal server error response has a 4xx status code

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) IsCode

IsCode returns true when this post Api debit v10 payment host to host internal server error response a status code equal to that given

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) IsRedirect

IsRedirect returns true when this post Api debit v10 payment host to host internal server error response has a 3xx status code

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) IsServerError

IsServerError returns true when this post Api debit v10 payment host to host internal server error response has a 5xx status code

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) IsSuccess

IsSuccess returns true when this post Api debit v10 payment host to host internal server error response has a 2xx status code

func (*PostAPIDebitV10PaymentHostToHostInternalServerError) String

type PostAPIDebitV10PaymentHostToHostOK

type PostAPIDebitV10PaymentHostToHostOK struct {
	Payload *models.CreateEwalletResponse
}

PostAPIDebitV10PaymentHostToHostOK describes a response with status code 200, with default header values.

OK

func NewPostAPIDebitV10PaymentHostToHostOK

func NewPostAPIDebitV10PaymentHostToHostOK() *PostAPIDebitV10PaymentHostToHostOK

NewPostAPIDebitV10PaymentHostToHostOK creates a PostAPIDebitV10PaymentHostToHostOK with default headers values

func (*PostAPIDebitV10PaymentHostToHostOK) Code

Code gets the status code for the post Api debit v10 payment host to host o k response

func (*PostAPIDebitV10PaymentHostToHostOK) Error

func (*PostAPIDebitV10PaymentHostToHostOK) GetPayload

func (*PostAPIDebitV10PaymentHostToHostOK) IsClientError

func (o *PostAPIDebitV10PaymentHostToHostOK) IsClientError() bool

IsClientError returns true when this post Api debit v10 payment host to host o k response has a 4xx status code

func (*PostAPIDebitV10PaymentHostToHostOK) IsCode

IsCode returns true when this post Api debit v10 payment host to host o k response a status code equal to that given

func (*PostAPIDebitV10PaymentHostToHostOK) IsRedirect

func (o *PostAPIDebitV10PaymentHostToHostOK) IsRedirect() bool

IsRedirect returns true when this post Api debit v10 payment host to host o k response has a 3xx status code

func (*PostAPIDebitV10PaymentHostToHostOK) IsServerError

func (o *PostAPIDebitV10PaymentHostToHostOK) IsServerError() bool

IsServerError returns true when this post Api debit v10 payment host to host o k response has a 5xx status code

func (*PostAPIDebitV10PaymentHostToHostOK) IsSuccess

IsSuccess returns true when this post Api debit v10 payment host to host o k response has a 2xx status code

func (*PostAPIDebitV10PaymentHostToHostOK) String

type PostAPIDebitV10PaymentHostToHostParams

type PostAPIDebitV10PaymentHostToHostParams struct {

	/* CHANNELID.

	   Channel ID
	*/
	CHANNELID string

	/* Request.

	   Payment request
	*/
	Request *models.CreateEwalletRequest

	/* XEXTERNALID.

	   External ID
	*/
	XEXTERNALID string

	/* XPARTNERID.

	   Partner ID
	*/
	XPARTNERID string

	/* XREQUESTID.

	   Request ID
	*/
	XREQUESTID string

	/* XSIGNATURE.

	   Request signature
	*/
	XSIGNATURE string

	/* XTIMESTAMP.

	   Request timestamp
	*/
	XTIMESTAMP string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPIDebitV10PaymentHostToHostParams contains all the parameters to send to the API endpoint

for the post API debit v10 payment host to host operation.

Typically these are written to a http.Request.

func NewPostAPIDebitV10PaymentHostToHostParams

func NewPostAPIDebitV10PaymentHostToHostParams() *PostAPIDebitV10PaymentHostToHostParams

NewPostAPIDebitV10PaymentHostToHostParams creates a new PostAPIDebitV10PaymentHostToHostParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAPIDebitV10PaymentHostToHostParamsWithContext

func NewPostAPIDebitV10PaymentHostToHostParamsWithContext(ctx context.Context) *PostAPIDebitV10PaymentHostToHostParams

NewPostAPIDebitV10PaymentHostToHostParamsWithContext creates a new PostAPIDebitV10PaymentHostToHostParams object with the ability to set a context for a request.

func NewPostAPIDebitV10PaymentHostToHostParamsWithHTTPClient

func NewPostAPIDebitV10PaymentHostToHostParamsWithHTTPClient(client *http.Client) *PostAPIDebitV10PaymentHostToHostParams

NewPostAPIDebitV10PaymentHostToHostParamsWithHTTPClient creates a new PostAPIDebitV10PaymentHostToHostParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIDebitV10PaymentHostToHostParamsWithTimeout

func NewPostAPIDebitV10PaymentHostToHostParamsWithTimeout(timeout time.Duration) *PostAPIDebitV10PaymentHostToHostParams

NewPostAPIDebitV10PaymentHostToHostParamsWithTimeout creates a new PostAPIDebitV10PaymentHostToHostParams object with the ability to set a timeout on a request.

func (*PostAPIDebitV10PaymentHostToHostParams) SetCHANNELID

func (o *PostAPIDebitV10PaymentHostToHostParams) SetCHANNELID(cHANNELID string)

SetCHANNELID adds the cHANNELId to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetContext

SetContext adds the context to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetDefaults

func (o *PostAPIDebitV10PaymentHostToHostParams) SetDefaults()

SetDefaults hydrates default values in the post API debit v10 payment host to host params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIDebitV10PaymentHostToHostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetRequest

SetRequest adds the request to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetTimeout

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

SetTimeout adds the timeout to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetXEXTERNALID

func (o *PostAPIDebitV10PaymentHostToHostParams) SetXEXTERNALID(xEXTERNALID string)

SetXEXTERNALID adds the xEXTERNALId to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetXPARTNERID

func (o *PostAPIDebitV10PaymentHostToHostParams) SetXPARTNERID(xPARTNERID string)

SetXPARTNERID adds the xPARTNERId to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetXREQUESTID

func (o *PostAPIDebitV10PaymentHostToHostParams) SetXREQUESTID(xREQUESTID string)

SetXREQUESTID adds the xREQUESTId to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetXSIGNATURE

func (o *PostAPIDebitV10PaymentHostToHostParams) SetXSIGNATURE(xSIGNATURE string)

SetXSIGNATURE adds the xSIGNATURE to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) SetXTIMESTAMP

func (o *PostAPIDebitV10PaymentHostToHostParams) SetXTIMESTAMP(xTIMESTAMP string)

SetXTIMESTAMP adds the xTIMESTAMP to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithCHANNELID

WithCHANNELID adds the cHANNELID to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithContext

WithContext adds the context to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithDefaults

WithDefaults hydrates default values in the post API debit v10 payment host to host params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIDebitV10PaymentHostToHostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithRequest

WithRequest adds the request to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithTimeout

WithTimeout adds the timeout to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithXEXTERNALID

WithXEXTERNALID adds the xEXTERNALID to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithXPARTNERID

WithXPARTNERID adds the xPARTNERID to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithXREQUESTID

WithXREQUESTID adds the xREQUESTID to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithXSIGNATURE

WithXSIGNATURE adds the xSIGNATURE to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WithXTIMESTAMP

WithXTIMESTAMP adds the xTIMESTAMP to the post API debit v10 payment host to host params

func (*PostAPIDebitV10PaymentHostToHostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIDebitV10PaymentHostToHostReader

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

PostAPIDebitV10PaymentHostToHostReader is a Reader for the PostAPIDebitV10PaymentHostToHost structure.

func (*PostAPIDebitV10PaymentHostToHostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIDebitV10PaymentHostToHostUnauthorized

type PostAPIDebitV10PaymentHostToHostUnauthorized struct {
	Payload interface{}
}

PostAPIDebitV10PaymentHostToHostUnauthorized describes a response with status code 401, with default header values.

Authentication failed

func NewPostAPIDebitV10PaymentHostToHostUnauthorized

func NewPostAPIDebitV10PaymentHostToHostUnauthorized() *PostAPIDebitV10PaymentHostToHostUnauthorized

NewPostAPIDebitV10PaymentHostToHostUnauthorized creates a PostAPIDebitV10PaymentHostToHostUnauthorized with default headers values

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) Code

Code gets the status code for the post Api debit v10 payment host to host unauthorized response

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) Error

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) GetPayload

func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) GetPayload() interface{}

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsClientError

IsClientError returns true when this post Api debit v10 payment host to host unauthorized response has a 4xx status code

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsCode

IsCode returns true when this post Api debit v10 payment host to host unauthorized response a status code equal to that given

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsRedirect

IsRedirect returns true when this post Api debit v10 payment host to host unauthorized response has a 3xx status code

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsServerError

IsServerError returns true when this post Api debit v10 payment host to host unauthorized response has a 5xx status code

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsSuccess

IsSuccess returns true when this post Api debit v10 payment host to host unauthorized response has a 2xx status code

func (*PostAPIDebitV10PaymentHostToHostUnauthorized) String

type PostAPIV10DebitCancelBadRequest

type PostAPIV10DebitCancelBadRequest struct {
	Payload interface{}
}

PostAPIV10DebitCancelBadRequest describes a response with status code 400, with default header values.

Invalid request parameters

func NewPostAPIV10DebitCancelBadRequest

func NewPostAPIV10DebitCancelBadRequest() *PostAPIV10DebitCancelBadRequest

NewPostAPIV10DebitCancelBadRequest creates a PostAPIV10DebitCancelBadRequest with default headers values

func (*PostAPIV10DebitCancelBadRequest) Code

Code gets the status code for the post Api v10 debit cancel bad request response

func (*PostAPIV10DebitCancelBadRequest) Error

func (*PostAPIV10DebitCancelBadRequest) GetPayload

func (o *PostAPIV10DebitCancelBadRequest) GetPayload() interface{}

func (*PostAPIV10DebitCancelBadRequest) IsClientError

func (o *PostAPIV10DebitCancelBadRequest) IsClientError() bool

IsClientError returns true when this post Api v10 debit cancel bad request response has a 4xx status code

func (*PostAPIV10DebitCancelBadRequest) IsCode

func (o *PostAPIV10DebitCancelBadRequest) IsCode(code int) bool

IsCode returns true when this post Api v10 debit cancel bad request response a status code equal to that given

func (*PostAPIV10DebitCancelBadRequest) IsRedirect

func (o *PostAPIV10DebitCancelBadRequest) IsRedirect() bool

IsRedirect returns true when this post Api v10 debit cancel bad request response has a 3xx status code

func (*PostAPIV10DebitCancelBadRequest) IsServerError

func (o *PostAPIV10DebitCancelBadRequest) IsServerError() bool

IsServerError returns true when this post Api v10 debit cancel bad request response has a 5xx status code

func (*PostAPIV10DebitCancelBadRequest) IsSuccess

func (o *PostAPIV10DebitCancelBadRequest) IsSuccess() bool

IsSuccess returns true when this post Api v10 debit cancel bad request response has a 2xx status code

func (*PostAPIV10DebitCancelBadRequest) String

type PostAPIV10DebitCancelInternalServerError

type PostAPIV10DebitCancelInternalServerError struct {
	Payload interface{}
}

PostAPIV10DebitCancelInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPostAPIV10DebitCancelInternalServerError

func NewPostAPIV10DebitCancelInternalServerError() *PostAPIV10DebitCancelInternalServerError

NewPostAPIV10DebitCancelInternalServerError creates a PostAPIV10DebitCancelInternalServerError with default headers values

func (*PostAPIV10DebitCancelInternalServerError) Code

Code gets the status code for the post Api v10 debit cancel internal server error response

func (*PostAPIV10DebitCancelInternalServerError) Error

func (*PostAPIV10DebitCancelInternalServerError) GetPayload

func (o *PostAPIV10DebitCancelInternalServerError) GetPayload() interface{}

func (*PostAPIV10DebitCancelInternalServerError) IsClientError

IsClientError returns true when this post Api v10 debit cancel internal server error response has a 4xx status code

func (*PostAPIV10DebitCancelInternalServerError) IsCode

IsCode returns true when this post Api v10 debit cancel internal server error response a status code equal to that given

func (*PostAPIV10DebitCancelInternalServerError) IsRedirect

IsRedirect returns true when this post Api v10 debit cancel internal server error response has a 3xx status code

func (*PostAPIV10DebitCancelInternalServerError) IsServerError

IsServerError returns true when this post Api v10 debit cancel internal server error response has a 5xx status code

func (*PostAPIV10DebitCancelInternalServerError) IsSuccess

IsSuccess returns true when this post Api v10 debit cancel internal server error response has a 2xx status code

func (*PostAPIV10DebitCancelInternalServerError) String

type PostAPIV10DebitCancelNotFound

type PostAPIV10DebitCancelNotFound struct {
	Payload interface{}
}

PostAPIV10DebitCancelNotFound describes a response with status code 404, with default header values.

Payment not found

func NewPostAPIV10DebitCancelNotFound

func NewPostAPIV10DebitCancelNotFound() *PostAPIV10DebitCancelNotFound

NewPostAPIV10DebitCancelNotFound creates a PostAPIV10DebitCancelNotFound with default headers values

func (*PostAPIV10DebitCancelNotFound) Code

Code gets the status code for the post Api v10 debit cancel not found response

func (*PostAPIV10DebitCancelNotFound) Error

func (*PostAPIV10DebitCancelNotFound) GetPayload

func (o *PostAPIV10DebitCancelNotFound) GetPayload() interface{}

func (*PostAPIV10DebitCancelNotFound) IsClientError

func (o *PostAPIV10DebitCancelNotFound) IsClientError() bool

IsClientError returns true when this post Api v10 debit cancel not found response has a 4xx status code

func (*PostAPIV10DebitCancelNotFound) IsCode

func (o *PostAPIV10DebitCancelNotFound) IsCode(code int) bool

IsCode returns true when this post Api v10 debit cancel not found response a status code equal to that given

func (*PostAPIV10DebitCancelNotFound) IsRedirect

func (o *PostAPIV10DebitCancelNotFound) IsRedirect() bool

IsRedirect returns true when this post Api v10 debit cancel not found response has a 3xx status code

func (*PostAPIV10DebitCancelNotFound) IsServerError

func (o *PostAPIV10DebitCancelNotFound) IsServerError() bool

IsServerError returns true when this post Api v10 debit cancel not found response has a 5xx status code

func (*PostAPIV10DebitCancelNotFound) IsSuccess

func (o *PostAPIV10DebitCancelNotFound) IsSuccess() bool

IsSuccess returns true when this post Api v10 debit cancel not found response has a 2xx status code

func (*PostAPIV10DebitCancelNotFound) String

type PostAPIV10DebitCancelOK

type PostAPIV10DebitCancelOK struct {
	Payload *models.CancelHostToHostPaymentResponse
}

PostAPIV10DebitCancelOK describes a response with status code 200, with default header values.

OK

func NewPostAPIV10DebitCancelOK

func NewPostAPIV10DebitCancelOK() *PostAPIV10DebitCancelOK

NewPostAPIV10DebitCancelOK creates a PostAPIV10DebitCancelOK with default headers values

func (*PostAPIV10DebitCancelOK) Code

func (o *PostAPIV10DebitCancelOK) Code() int

Code gets the status code for the post Api v10 debit cancel o k response

func (*PostAPIV10DebitCancelOK) Error

func (o *PostAPIV10DebitCancelOK) Error() string

func (*PostAPIV10DebitCancelOK) GetPayload

func (*PostAPIV10DebitCancelOK) IsClientError

func (o *PostAPIV10DebitCancelOK) IsClientError() bool

IsClientError returns true when this post Api v10 debit cancel o k response has a 4xx status code

func (*PostAPIV10DebitCancelOK) IsCode

func (o *PostAPIV10DebitCancelOK) IsCode(code int) bool

IsCode returns true when this post Api v10 debit cancel o k response a status code equal to that given

func (*PostAPIV10DebitCancelOK) IsRedirect

func (o *PostAPIV10DebitCancelOK) IsRedirect() bool

IsRedirect returns true when this post Api v10 debit cancel o k response has a 3xx status code

func (*PostAPIV10DebitCancelOK) IsServerError

func (o *PostAPIV10DebitCancelOK) IsServerError() bool

IsServerError returns true when this post Api v10 debit cancel o k response has a 5xx status code

func (*PostAPIV10DebitCancelOK) IsSuccess

func (o *PostAPIV10DebitCancelOK) IsSuccess() bool

IsSuccess returns true when this post Api v10 debit cancel o k response has a 2xx status code

func (*PostAPIV10DebitCancelOK) String

func (o *PostAPIV10DebitCancelOK) String() string

type PostAPIV10DebitCancelParams

type PostAPIV10DebitCancelParams struct {

	/* CHANNELID.

	   Channel ID
	*/
	CHANNELID string

	/* Request.

	   Cancel payment request
	*/
	Request *models.CancelHostToHostPaymentRequest

	/* XEXTERNALID.

	   External ID
	*/
	XEXTERNALID string

	/* XSIGNATURE.

	   Request signature
	*/
	XSIGNATURE string

	/* XTIMESTAMP.

	   Request timestamp
	*/
	XTIMESTAMP string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPIV10DebitCancelParams contains all the parameters to send to the API endpoint

for the post API v10 debit cancel operation.

Typically these are written to a http.Request.

func NewPostAPIV10DebitCancelParams

func NewPostAPIV10DebitCancelParams() *PostAPIV10DebitCancelParams

NewPostAPIV10DebitCancelParams creates a new PostAPIV10DebitCancelParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAPIV10DebitCancelParamsWithContext

func NewPostAPIV10DebitCancelParamsWithContext(ctx context.Context) *PostAPIV10DebitCancelParams

NewPostAPIV10DebitCancelParamsWithContext creates a new PostAPIV10DebitCancelParams object with the ability to set a context for a request.

func NewPostAPIV10DebitCancelParamsWithHTTPClient

func NewPostAPIV10DebitCancelParamsWithHTTPClient(client *http.Client) *PostAPIV10DebitCancelParams

NewPostAPIV10DebitCancelParamsWithHTTPClient creates a new PostAPIV10DebitCancelParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIV10DebitCancelParamsWithTimeout

func NewPostAPIV10DebitCancelParamsWithTimeout(timeout time.Duration) *PostAPIV10DebitCancelParams

NewPostAPIV10DebitCancelParamsWithTimeout creates a new PostAPIV10DebitCancelParams object with the ability to set a timeout on a request.

func (*PostAPIV10DebitCancelParams) SetCHANNELID

func (o *PostAPIV10DebitCancelParams) SetCHANNELID(cHANNELID string)

SetCHANNELID adds the cHANNELId to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) SetContext

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

SetContext adds the context to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) SetDefaults

func (o *PostAPIV10DebitCancelParams) SetDefaults()

SetDefaults hydrates default values in the post API v10 debit cancel params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIV10DebitCancelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) SetRequest

SetRequest adds the request to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) SetTimeout

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

SetTimeout adds the timeout to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) SetXEXTERNALID

func (o *PostAPIV10DebitCancelParams) SetXEXTERNALID(xEXTERNALID string)

SetXEXTERNALID adds the xEXTERNALId to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) SetXSIGNATURE

func (o *PostAPIV10DebitCancelParams) SetXSIGNATURE(xSIGNATURE string)

SetXSIGNATURE adds the xSIGNATURE to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) SetXTIMESTAMP

func (o *PostAPIV10DebitCancelParams) SetXTIMESTAMP(xTIMESTAMP string)

SetXTIMESTAMP adds the xTIMESTAMP to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WithCHANNELID

func (o *PostAPIV10DebitCancelParams) WithCHANNELID(cHANNELID string) *PostAPIV10DebitCancelParams

WithCHANNELID adds the cHANNELID to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WithContext

WithContext adds the context to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WithDefaults

WithDefaults hydrates default values in the post API v10 debit cancel params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIV10DebitCancelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WithRequest

WithRequest adds the request to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WithTimeout

WithTimeout adds the timeout to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WithXEXTERNALID

func (o *PostAPIV10DebitCancelParams) WithXEXTERNALID(xEXTERNALID string) *PostAPIV10DebitCancelParams

WithXEXTERNALID adds the xEXTERNALID to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WithXSIGNATURE

func (o *PostAPIV10DebitCancelParams) WithXSIGNATURE(xSIGNATURE string) *PostAPIV10DebitCancelParams

WithXSIGNATURE adds the xSIGNATURE to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WithXTIMESTAMP

func (o *PostAPIV10DebitCancelParams) WithXTIMESTAMP(xTIMESTAMP string) *PostAPIV10DebitCancelParams

WithXTIMESTAMP adds the xTIMESTAMP to the post API v10 debit cancel params

func (*PostAPIV10DebitCancelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIV10DebitCancelReader

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

PostAPIV10DebitCancelReader is a Reader for the PostAPIV10DebitCancel structure.

func (*PostAPIV10DebitCancelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIV10DebitCancelUnauthorized

type PostAPIV10DebitCancelUnauthorized struct {
	Payload interface{}
}

PostAPIV10DebitCancelUnauthorized describes a response with status code 401, with default header values.

Authentication failed

func NewPostAPIV10DebitCancelUnauthorized

func NewPostAPIV10DebitCancelUnauthorized() *PostAPIV10DebitCancelUnauthorized

NewPostAPIV10DebitCancelUnauthorized creates a PostAPIV10DebitCancelUnauthorized with default headers values

func (*PostAPIV10DebitCancelUnauthorized) Code

Code gets the status code for the post Api v10 debit cancel unauthorized response

func (*PostAPIV10DebitCancelUnauthorized) Error

func (*PostAPIV10DebitCancelUnauthorized) GetPayload

func (o *PostAPIV10DebitCancelUnauthorized) GetPayload() interface{}

func (*PostAPIV10DebitCancelUnauthorized) IsClientError

func (o *PostAPIV10DebitCancelUnauthorized) IsClientError() bool

IsClientError returns true when this post Api v10 debit cancel unauthorized response has a 4xx status code

func (*PostAPIV10DebitCancelUnauthorized) IsCode

func (o *PostAPIV10DebitCancelUnauthorized) IsCode(code int) bool

IsCode returns true when this post Api v10 debit cancel unauthorized response a status code equal to that given

func (*PostAPIV10DebitCancelUnauthorized) IsRedirect

func (o *PostAPIV10DebitCancelUnauthorized) IsRedirect() bool

IsRedirect returns true when this post Api v10 debit cancel unauthorized response has a 3xx status code

func (*PostAPIV10DebitCancelUnauthorized) IsServerError

func (o *PostAPIV10DebitCancelUnauthorized) IsServerError() bool

IsServerError returns true when this post Api v10 debit cancel unauthorized response has a 5xx status code

func (*PostAPIV10DebitCancelUnauthorized) IsSuccess

func (o *PostAPIV10DebitCancelUnauthorized) IsSuccess() bool

IsSuccess returns true when this post Api v10 debit cancel unauthorized response has a 2xx status code

func (*PostAPIV10DebitCancelUnauthorized) String

type PostAPIV10DebitStatusBadRequest

type PostAPIV10DebitStatusBadRequest struct {
	Payload interface{}
}

PostAPIV10DebitStatusBadRequest describes a response with status code 400, with default header values.

Invalid request parameters

func NewPostAPIV10DebitStatusBadRequest

func NewPostAPIV10DebitStatusBadRequest() *PostAPIV10DebitStatusBadRequest

NewPostAPIV10DebitStatusBadRequest creates a PostAPIV10DebitStatusBadRequest with default headers values

func (*PostAPIV10DebitStatusBadRequest) Code

Code gets the status code for the post Api v10 debit status bad request response

func (*PostAPIV10DebitStatusBadRequest) Error

func (*PostAPIV10DebitStatusBadRequest) GetPayload

func (o *PostAPIV10DebitStatusBadRequest) GetPayload() interface{}

func (*PostAPIV10DebitStatusBadRequest) IsClientError

func (o *PostAPIV10DebitStatusBadRequest) IsClientError() bool

IsClientError returns true when this post Api v10 debit status bad request response has a 4xx status code

func (*PostAPIV10DebitStatusBadRequest) IsCode

func (o *PostAPIV10DebitStatusBadRequest) IsCode(code int) bool

IsCode returns true when this post Api v10 debit status bad request response a status code equal to that given

func (*PostAPIV10DebitStatusBadRequest) IsRedirect

func (o *PostAPIV10DebitStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this post Api v10 debit status bad request response has a 3xx status code

func (*PostAPIV10DebitStatusBadRequest) IsServerError

func (o *PostAPIV10DebitStatusBadRequest) IsServerError() bool

IsServerError returns true when this post Api v10 debit status bad request response has a 5xx status code

func (*PostAPIV10DebitStatusBadRequest) IsSuccess

func (o *PostAPIV10DebitStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this post Api v10 debit status bad request response has a 2xx status code

func (*PostAPIV10DebitStatusBadRequest) String

type PostAPIV10DebitStatusInternalServerError

type PostAPIV10DebitStatusInternalServerError struct {
	Payload interface{}
}

PostAPIV10DebitStatusInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPostAPIV10DebitStatusInternalServerError

func NewPostAPIV10DebitStatusInternalServerError() *PostAPIV10DebitStatusInternalServerError

NewPostAPIV10DebitStatusInternalServerError creates a PostAPIV10DebitStatusInternalServerError with default headers values

func (*PostAPIV10DebitStatusInternalServerError) Code

Code gets the status code for the post Api v10 debit status internal server error response

func (*PostAPIV10DebitStatusInternalServerError) Error

func (*PostAPIV10DebitStatusInternalServerError) GetPayload

func (o *PostAPIV10DebitStatusInternalServerError) GetPayload() interface{}

func (*PostAPIV10DebitStatusInternalServerError) IsClientError

IsClientError returns true when this post Api v10 debit status internal server error response has a 4xx status code

func (*PostAPIV10DebitStatusInternalServerError) IsCode

IsCode returns true when this post Api v10 debit status internal server error response a status code equal to that given

func (*PostAPIV10DebitStatusInternalServerError) IsRedirect

IsRedirect returns true when this post Api v10 debit status internal server error response has a 3xx status code

func (*PostAPIV10DebitStatusInternalServerError) IsServerError

IsServerError returns true when this post Api v10 debit status internal server error response has a 5xx status code

func (*PostAPIV10DebitStatusInternalServerError) IsSuccess

IsSuccess returns true when this post Api v10 debit status internal server error response has a 2xx status code

func (*PostAPIV10DebitStatusInternalServerError) String

type PostAPIV10DebitStatusNotFound

type PostAPIV10DebitStatusNotFound struct {
	Payload interface{}
}

PostAPIV10DebitStatusNotFound describes a response with status code 404, with default header values.

Payment not found

func NewPostAPIV10DebitStatusNotFound

func NewPostAPIV10DebitStatusNotFound() *PostAPIV10DebitStatusNotFound

NewPostAPIV10DebitStatusNotFound creates a PostAPIV10DebitStatusNotFound with default headers values

func (*PostAPIV10DebitStatusNotFound) Code

Code gets the status code for the post Api v10 debit status not found response

func (*PostAPIV10DebitStatusNotFound) Error

func (*PostAPIV10DebitStatusNotFound) GetPayload

func (o *PostAPIV10DebitStatusNotFound) GetPayload() interface{}

func (*PostAPIV10DebitStatusNotFound) IsClientError

func (o *PostAPIV10DebitStatusNotFound) IsClientError() bool

IsClientError returns true when this post Api v10 debit status not found response has a 4xx status code

func (*PostAPIV10DebitStatusNotFound) IsCode

func (o *PostAPIV10DebitStatusNotFound) IsCode(code int) bool

IsCode returns true when this post Api v10 debit status not found response a status code equal to that given

func (*PostAPIV10DebitStatusNotFound) IsRedirect

func (o *PostAPIV10DebitStatusNotFound) IsRedirect() bool

IsRedirect returns true when this post Api v10 debit status not found response has a 3xx status code

func (*PostAPIV10DebitStatusNotFound) IsServerError

func (o *PostAPIV10DebitStatusNotFound) IsServerError() bool

IsServerError returns true when this post Api v10 debit status not found response has a 5xx status code

func (*PostAPIV10DebitStatusNotFound) IsSuccess

func (o *PostAPIV10DebitStatusNotFound) IsSuccess() bool

IsSuccess returns true when this post Api v10 debit status not found response has a 2xx status code

func (*PostAPIV10DebitStatusNotFound) String

type PostAPIV10DebitStatusOK

type PostAPIV10DebitStatusOK struct {
	Payload *models.CheckPaymentStatusEwalletResponse
}

PostAPIV10DebitStatusOK describes a response with status code 200, with default header values.

OK

func NewPostAPIV10DebitStatusOK

func NewPostAPIV10DebitStatusOK() *PostAPIV10DebitStatusOK

NewPostAPIV10DebitStatusOK creates a PostAPIV10DebitStatusOK with default headers values

func (*PostAPIV10DebitStatusOK) Code

func (o *PostAPIV10DebitStatusOK) Code() int

Code gets the status code for the post Api v10 debit status o k response

func (*PostAPIV10DebitStatusOK) Error

func (o *PostAPIV10DebitStatusOK) Error() string

func (*PostAPIV10DebitStatusOK) GetPayload

func (*PostAPIV10DebitStatusOK) IsClientError

func (o *PostAPIV10DebitStatusOK) IsClientError() bool

IsClientError returns true when this post Api v10 debit status o k response has a 4xx status code

func (*PostAPIV10DebitStatusOK) IsCode

func (o *PostAPIV10DebitStatusOK) IsCode(code int) bool

IsCode returns true when this post Api v10 debit status o k response a status code equal to that given

func (*PostAPIV10DebitStatusOK) IsRedirect

func (o *PostAPIV10DebitStatusOK) IsRedirect() bool

IsRedirect returns true when this post Api v10 debit status o k response has a 3xx status code

func (*PostAPIV10DebitStatusOK) IsServerError

func (o *PostAPIV10DebitStatusOK) IsServerError() bool

IsServerError returns true when this post Api v10 debit status o k response has a 5xx status code

func (*PostAPIV10DebitStatusOK) IsSuccess

func (o *PostAPIV10DebitStatusOK) IsSuccess() bool

IsSuccess returns true when this post Api v10 debit status o k response has a 2xx status code

func (*PostAPIV10DebitStatusOK) String

func (o *PostAPIV10DebitStatusOK) String() string

type PostAPIV10DebitStatusParams

type PostAPIV10DebitStatusParams struct {

	/* CHANNELID.

	   Channel ID
	*/
	CHANNELID string

	/* Request.

	   Status check request
	*/
	Request *models.CheckPaymentStatusEwalletRequest

	/* XEXTERNALID.

	   External ID
	*/
	XEXTERNALID string

	/* XPARTNERID.

	   Partner ID
	*/
	XPARTNERID string

	/* XREQUESTID.

	   Request ID
	*/
	XREQUESTID string

	/* XSIGNATURE.

	   Request signature
	*/
	XSIGNATURE string

	/* XTIMESTAMP.

	   Request timestamp
	*/
	XTIMESTAMP string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPIV10DebitStatusParams contains all the parameters to send to the API endpoint

for the post API v10 debit status operation.

Typically these are written to a http.Request.

func NewPostAPIV10DebitStatusParams

func NewPostAPIV10DebitStatusParams() *PostAPIV10DebitStatusParams

NewPostAPIV10DebitStatusParams creates a new PostAPIV10DebitStatusParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAPIV10DebitStatusParamsWithContext

func NewPostAPIV10DebitStatusParamsWithContext(ctx context.Context) *PostAPIV10DebitStatusParams

NewPostAPIV10DebitStatusParamsWithContext creates a new PostAPIV10DebitStatusParams object with the ability to set a context for a request.

func NewPostAPIV10DebitStatusParamsWithHTTPClient

func NewPostAPIV10DebitStatusParamsWithHTTPClient(client *http.Client) *PostAPIV10DebitStatusParams

NewPostAPIV10DebitStatusParamsWithHTTPClient creates a new PostAPIV10DebitStatusParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIV10DebitStatusParamsWithTimeout

func NewPostAPIV10DebitStatusParamsWithTimeout(timeout time.Duration) *PostAPIV10DebitStatusParams

NewPostAPIV10DebitStatusParamsWithTimeout creates a new PostAPIV10DebitStatusParams object with the ability to set a timeout on a request.

func (*PostAPIV10DebitStatusParams) SetCHANNELID

func (o *PostAPIV10DebitStatusParams) SetCHANNELID(cHANNELID string)

SetCHANNELID adds the cHANNELId to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetContext

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

SetContext adds the context to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetDefaults

func (o *PostAPIV10DebitStatusParams) SetDefaults()

SetDefaults hydrates default values in the post API v10 debit status params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIV10DebitStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetRequest

SetRequest adds the request to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetTimeout

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

SetTimeout adds the timeout to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetXEXTERNALID

func (o *PostAPIV10DebitStatusParams) SetXEXTERNALID(xEXTERNALID string)

SetXEXTERNALID adds the xEXTERNALId to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetXPARTNERID

func (o *PostAPIV10DebitStatusParams) SetXPARTNERID(xPARTNERID string)

SetXPARTNERID adds the xPARTNERId to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetXREQUESTID

func (o *PostAPIV10DebitStatusParams) SetXREQUESTID(xREQUESTID string)

SetXREQUESTID adds the xREQUESTId to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetXSIGNATURE

func (o *PostAPIV10DebitStatusParams) SetXSIGNATURE(xSIGNATURE string)

SetXSIGNATURE adds the xSIGNATURE to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) SetXTIMESTAMP

func (o *PostAPIV10DebitStatusParams) SetXTIMESTAMP(xTIMESTAMP string)

SetXTIMESTAMP adds the xTIMESTAMP to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithCHANNELID

func (o *PostAPIV10DebitStatusParams) WithCHANNELID(cHANNELID string) *PostAPIV10DebitStatusParams

WithCHANNELID adds the cHANNELID to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithContext

WithContext adds the context to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithDefaults

WithDefaults hydrates default values in the post API v10 debit status params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIV10DebitStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithRequest

WithRequest adds the request to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithTimeout

WithTimeout adds the timeout to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithXEXTERNALID

func (o *PostAPIV10DebitStatusParams) WithXEXTERNALID(xEXTERNALID string) *PostAPIV10DebitStatusParams

WithXEXTERNALID adds the xEXTERNALID to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithXPARTNERID

func (o *PostAPIV10DebitStatusParams) WithXPARTNERID(xPARTNERID string) *PostAPIV10DebitStatusParams

WithXPARTNERID adds the xPARTNERID to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithXREQUESTID

func (o *PostAPIV10DebitStatusParams) WithXREQUESTID(xREQUESTID string) *PostAPIV10DebitStatusParams

WithXREQUESTID adds the xREQUESTID to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithXSIGNATURE

func (o *PostAPIV10DebitStatusParams) WithXSIGNATURE(xSIGNATURE string) *PostAPIV10DebitStatusParams

WithXSIGNATURE adds the xSIGNATURE to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WithXTIMESTAMP

func (o *PostAPIV10DebitStatusParams) WithXTIMESTAMP(xTIMESTAMP string) *PostAPIV10DebitStatusParams

WithXTIMESTAMP adds the xTIMESTAMP to the post API v10 debit status params

func (*PostAPIV10DebitStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIV10DebitStatusReader

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

PostAPIV10DebitStatusReader is a Reader for the PostAPIV10DebitStatus structure.

func (*PostAPIV10DebitStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIV10DebitStatusUnauthorized

type PostAPIV10DebitStatusUnauthorized struct {
	Payload interface{}
}

PostAPIV10DebitStatusUnauthorized describes a response with status code 401, with default header values.

Authentication failed

func NewPostAPIV10DebitStatusUnauthorized

func NewPostAPIV10DebitStatusUnauthorized() *PostAPIV10DebitStatusUnauthorized

NewPostAPIV10DebitStatusUnauthorized creates a PostAPIV10DebitStatusUnauthorized with default headers values

func (*PostAPIV10DebitStatusUnauthorized) Code

Code gets the status code for the post Api v10 debit status unauthorized response

func (*PostAPIV10DebitStatusUnauthorized) Error

func (*PostAPIV10DebitStatusUnauthorized) GetPayload

func (o *PostAPIV10DebitStatusUnauthorized) GetPayload() interface{}

func (*PostAPIV10DebitStatusUnauthorized) IsClientError

func (o *PostAPIV10DebitStatusUnauthorized) IsClientError() bool

IsClientError returns true when this post Api v10 debit status unauthorized response has a 4xx status code

func (*PostAPIV10DebitStatusUnauthorized) IsCode

func (o *PostAPIV10DebitStatusUnauthorized) IsCode(code int) bool

IsCode returns true when this post Api v10 debit status unauthorized response a status code equal to that given

func (*PostAPIV10DebitStatusUnauthorized) IsRedirect

func (o *PostAPIV10DebitStatusUnauthorized) IsRedirect() bool

IsRedirect returns true when this post Api v10 debit status unauthorized response has a 3xx status code

func (*PostAPIV10DebitStatusUnauthorized) IsServerError

func (o *PostAPIV10DebitStatusUnauthorized) IsServerError() bool

IsServerError returns true when this post Api v10 debit status unauthorized response has a 5xx status code

func (*PostAPIV10DebitStatusUnauthorized) IsSuccess

func (o *PostAPIV10DebitStatusUnauthorized) IsSuccess() bool

IsSuccess returns true when this post Api v10 debit status unauthorized response has a 2xx status code

func (*PostAPIV10DebitStatusUnauthorized) String

Jump to

Keyboard shortcuts

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