Documentation
¶
Index ¶
- type Client
- func (a *Client) PostAPIDebitV10PaymentHostToHost(params *PostAPIDebitV10PaymentHostToHostParams, ...) (*PostAPIDebitV10PaymentHostToHostOK, error)
- func (a *Client) PostAPIV10DebitCancel(params *PostAPIV10DebitCancelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIV10DebitCancelOK, error)
- func (a *Client) PostAPIV10DebitStatus(params *PostAPIV10DebitStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIV10DebitStatusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PostAPIDebitV10PaymentHostToHostBadRequest
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) Code() int
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) Error() string
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) GetPayload() interface{}
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsClientError() bool
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsCode(code int) bool
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsRedirect() bool
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsServerError() bool
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsSuccess() bool
- func (o *PostAPIDebitV10PaymentHostToHostBadRequest) String() string
- type PostAPIDebitV10PaymentHostToHostConflict
- func (o *PostAPIDebitV10PaymentHostToHostConflict) Code() int
- func (o *PostAPIDebitV10PaymentHostToHostConflict) Error() string
- func (o *PostAPIDebitV10PaymentHostToHostConflict) GetPayload() interface{}
- func (o *PostAPIDebitV10PaymentHostToHostConflict) IsClientError() bool
- func (o *PostAPIDebitV10PaymentHostToHostConflict) IsCode(code int) bool
- func (o *PostAPIDebitV10PaymentHostToHostConflict) IsRedirect() bool
- func (o *PostAPIDebitV10PaymentHostToHostConflict) IsServerError() bool
- func (o *PostAPIDebitV10PaymentHostToHostConflict) IsSuccess() bool
- func (o *PostAPIDebitV10PaymentHostToHostConflict) String() string
- type PostAPIDebitV10PaymentHostToHostInternalServerError
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) Code() int
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) Error() string
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) GetPayload() interface{}
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsClientError() bool
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsCode(code int) bool
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsRedirect() bool
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsServerError() bool
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsSuccess() bool
- func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) String() string
- type PostAPIDebitV10PaymentHostToHostOK
- func (o *PostAPIDebitV10PaymentHostToHostOK) Code() int
- func (o *PostAPIDebitV10PaymentHostToHostOK) Error() string
- func (o *PostAPIDebitV10PaymentHostToHostOK) GetPayload() *models.CreateEwalletResponse
- func (o *PostAPIDebitV10PaymentHostToHostOK) IsClientError() bool
- func (o *PostAPIDebitV10PaymentHostToHostOK) IsCode(code int) bool
- func (o *PostAPIDebitV10PaymentHostToHostOK) IsRedirect() bool
- func (o *PostAPIDebitV10PaymentHostToHostOK) IsServerError() bool
- func (o *PostAPIDebitV10PaymentHostToHostOK) IsSuccess() bool
- func (o *PostAPIDebitV10PaymentHostToHostOK) String() string
- type PostAPIDebitV10PaymentHostToHostParams
- func NewPostAPIDebitV10PaymentHostToHostParams() *PostAPIDebitV10PaymentHostToHostParams
- func NewPostAPIDebitV10PaymentHostToHostParamsWithContext(ctx context.Context) *PostAPIDebitV10PaymentHostToHostParams
- func NewPostAPIDebitV10PaymentHostToHostParamsWithHTTPClient(client *http.Client) *PostAPIDebitV10PaymentHostToHostParams
- func NewPostAPIDebitV10PaymentHostToHostParamsWithTimeout(timeout time.Duration) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetCHANNELID(cHANNELID string)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetContext(ctx context.Context)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetDefaults()
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetRequest(request *models.CreateEwalletRequest)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetXEXTERNALID(xEXTERNALID string)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetXPARTNERID(xPARTNERID string)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetXREQUESTID(xREQUESTID string)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetXSIGNATURE(xSIGNATURE string)
- func (o *PostAPIDebitV10PaymentHostToHostParams) SetXTIMESTAMP(xTIMESTAMP string)
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithCHANNELID(cHANNELID string) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithContext(ctx context.Context) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithDefaults() *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithHTTPClient(client *http.Client) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithRequest(request *models.CreateEwalletRequest) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithTimeout(timeout time.Duration) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithXEXTERNALID(xEXTERNALID string) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithXPARTNERID(xPARTNERID string) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithXREQUESTID(xREQUESTID string) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithXSIGNATURE(xSIGNATURE string) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WithXTIMESTAMP(xTIMESTAMP string) *PostAPIDebitV10PaymentHostToHostParams
- func (o *PostAPIDebitV10PaymentHostToHostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIDebitV10PaymentHostToHostReader
- type PostAPIDebitV10PaymentHostToHostUnauthorized
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) Code() int
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) Error() string
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) GetPayload() interface{}
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsClientError() bool
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsCode(code int) bool
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsRedirect() bool
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsServerError() bool
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsSuccess() bool
- func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) String() string
- type PostAPIV10DebitCancelBadRequest
- func (o *PostAPIV10DebitCancelBadRequest) Code() int
- func (o *PostAPIV10DebitCancelBadRequest) Error() string
- func (o *PostAPIV10DebitCancelBadRequest) GetPayload() interface{}
- func (o *PostAPIV10DebitCancelBadRequest) IsClientError() bool
- func (o *PostAPIV10DebitCancelBadRequest) IsCode(code int) bool
- func (o *PostAPIV10DebitCancelBadRequest) IsRedirect() bool
- func (o *PostAPIV10DebitCancelBadRequest) IsServerError() bool
- func (o *PostAPIV10DebitCancelBadRequest) IsSuccess() bool
- func (o *PostAPIV10DebitCancelBadRequest) String() string
- type PostAPIV10DebitCancelInternalServerError
- func (o *PostAPIV10DebitCancelInternalServerError) Code() int
- func (o *PostAPIV10DebitCancelInternalServerError) Error() string
- func (o *PostAPIV10DebitCancelInternalServerError) GetPayload() interface{}
- func (o *PostAPIV10DebitCancelInternalServerError) IsClientError() bool
- func (o *PostAPIV10DebitCancelInternalServerError) IsCode(code int) bool
- func (o *PostAPIV10DebitCancelInternalServerError) IsRedirect() bool
- func (o *PostAPIV10DebitCancelInternalServerError) IsServerError() bool
- func (o *PostAPIV10DebitCancelInternalServerError) IsSuccess() bool
- func (o *PostAPIV10DebitCancelInternalServerError) String() string
- type PostAPIV10DebitCancelNotFound
- func (o *PostAPIV10DebitCancelNotFound) Code() int
- func (o *PostAPIV10DebitCancelNotFound) Error() string
- func (o *PostAPIV10DebitCancelNotFound) GetPayload() interface{}
- func (o *PostAPIV10DebitCancelNotFound) IsClientError() bool
- func (o *PostAPIV10DebitCancelNotFound) IsCode(code int) bool
- func (o *PostAPIV10DebitCancelNotFound) IsRedirect() bool
- func (o *PostAPIV10DebitCancelNotFound) IsServerError() bool
- func (o *PostAPIV10DebitCancelNotFound) IsSuccess() bool
- func (o *PostAPIV10DebitCancelNotFound) String() string
- type PostAPIV10DebitCancelOK
- func (o *PostAPIV10DebitCancelOK) Code() int
- func (o *PostAPIV10DebitCancelOK) Error() string
- func (o *PostAPIV10DebitCancelOK) GetPayload() *models.CancelHostToHostPaymentResponse
- func (o *PostAPIV10DebitCancelOK) IsClientError() bool
- func (o *PostAPIV10DebitCancelOK) IsCode(code int) bool
- func (o *PostAPIV10DebitCancelOK) IsRedirect() bool
- func (o *PostAPIV10DebitCancelOK) IsServerError() bool
- func (o *PostAPIV10DebitCancelOK) IsSuccess() bool
- func (o *PostAPIV10DebitCancelOK) String() string
- type PostAPIV10DebitCancelParams
- func NewPostAPIV10DebitCancelParams() *PostAPIV10DebitCancelParams
- func NewPostAPIV10DebitCancelParamsWithContext(ctx context.Context) *PostAPIV10DebitCancelParams
- func NewPostAPIV10DebitCancelParamsWithHTTPClient(client *http.Client) *PostAPIV10DebitCancelParams
- func NewPostAPIV10DebitCancelParamsWithTimeout(timeout time.Duration) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) SetCHANNELID(cHANNELID string)
- func (o *PostAPIV10DebitCancelParams) SetContext(ctx context.Context)
- func (o *PostAPIV10DebitCancelParams) SetDefaults()
- func (o *PostAPIV10DebitCancelParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV10DebitCancelParams) SetRequest(request *models.CancelHostToHostPaymentRequest)
- func (o *PostAPIV10DebitCancelParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV10DebitCancelParams) SetXEXTERNALID(xEXTERNALID string)
- func (o *PostAPIV10DebitCancelParams) SetXSIGNATURE(xSIGNATURE string)
- func (o *PostAPIV10DebitCancelParams) SetXTIMESTAMP(xTIMESTAMP string)
- func (o *PostAPIV10DebitCancelParams) WithCHANNELID(cHANNELID string) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WithContext(ctx context.Context) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WithDefaults() *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WithHTTPClient(client *http.Client) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WithRequest(request *models.CancelHostToHostPaymentRequest) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WithTimeout(timeout time.Duration) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WithXEXTERNALID(xEXTERNALID string) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WithXSIGNATURE(xSIGNATURE string) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WithXTIMESTAMP(xTIMESTAMP string) *PostAPIV10DebitCancelParams
- func (o *PostAPIV10DebitCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV10DebitCancelReader
- type PostAPIV10DebitCancelUnauthorized
- func (o *PostAPIV10DebitCancelUnauthorized) Code() int
- func (o *PostAPIV10DebitCancelUnauthorized) Error() string
- func (o *PostAPIV10DebitCancelUnauthorized) GetPayload() interface{}
- func (o *PostAPIV10DebitCancelUnauthorized) IsClientError() bool
- func (o *PostAPIV10DebitCancelUnauthorized) IsCode(code int) bool
- func (o *PostAPIV10DebitCancelUnauthorized) IsRedirect() bool
- func (o *PostAPIV10DebitCancelUnauthorized) IsServerError() bool
- func (o *PostAPIV10DebitCancelUnauthorized) IsSuccess() bool
- func (o *PostAPIV10DebitCancelUnauthorized) String() string
- type PostAPIV10DebitStatusBadRequest
- func (o *PostAPIV10DebitStatusBadRequest) Code() int
- func (o *PostAPIV10DebitStatusBadRequest) Error() string
- func (o *PostAPIV10DebitStatusBadRequest) GetPayload() interface{}
- func (o *PostAPIV10DebitStatusBadRequest) IsClientError() bool
- func (o *PostAPIV10DebitStatusBadRequest) IsCode(code int) bool
- func (o *PostAPIV10DebitStatusBadRequest) IsRedirect() bool
- func (o *PostAPIV10DebitStatusBadRequest) IsServerError() bool
- func (o *PostAPIV10DebitStatusBadRequest) IsSuccess() bool
- func (o *PostAPIV10DebitStatusBadRequest) String() string
- type PostAPIV10DebitStatusInternalServerError
- func (o *PostAPIV10DebitStatusInternalServerError) Code() int
- func (o *PostAPIV10DebitStatusInternalServerError) Error() string
- func (o *PostAPIV10DebitStatusInternalServerError) GetPayload() interface{}
- func (o *PostAPIV10DebitStatusInternalServerError) IsClientError() bool
- func (o *PostAPIV10DebitStatusInternalServerError) IsCode(code int) bool
- func (o *PostAPIV10DebitStatusInternalServerError) IsRedirect() bool
- func (o *PostAPIV10DebitStatusInternalServerError) IsServerError() bool
- func (o *PostAPIV10DebitStatusInternalServerError) IsSuccess() bool
- func (o *PostAPIV10DebitStatusInternalServerError) String() string
- type PostAPIV10DebitStatusNotFound
- func (o *PostAPIV10DebitStatusNotFound) Code() int
- func (o *PostAPIV10DebitStatusNotFound) Error() string
- func (o *PostAPIV10DebitStatusNotFound) GetPayload() interface{}
- func (o *PostAPIV10DebitStatusNotFound) IsClientError() bool
- func (o *PostAPIV10DebitStatusNotFound) IsCode(code int) bool
- func (o *PostAPIV10DebitStatusNotFound) IsRedirect() bool
- func (o *PostAPIV10DebitStatusNotFound) IsServerError() bool
- func (o *PostAPIV10DebitStatusNotFound) IsSuccess() bool
- func (o *PostAPIV10DebitStatusNotFound) String() string
- type PostAPIV10DebitStatusOK
- func (o *PostAPIV10DebitStatusOK) Code() int
- func (o *PostAPIV10DebitStatusOK) Error() string
- func (o *PostAPIV10DebitStatusOK) GetPayload() *models.CheckPaymentStatusEwalletResponse
- func (o *PostAPIV10DebitStatusOK) IsClientError() bool
- func (o *PostAPIV10DebitStatusOK) IsCode(code int) bool
- func (o *PostAPIV10DebitStatusOK) IsRedirect() bool
- func (o *PostAPIV10DebitStatusOK) IsServerError() bool
- func (o *PostAPIV10DebitStatusOK) IsSuccess() bool
- func (o *PostAPIV10DebitStatusOK) String() string
- type PostAPIV10DebitStatusParams
- func NewPostAPIV10DebitStatusParams() *PostAPIV10DebitStatusParams
- func NewPostAPIV10DebitStatusParamsWithContext(ctx context.Context) *PostAPIV10DebitStatusParams
- func NewPostAPIV10DebitStatusParamsWithHTTPClient(client *http.Client) *PostAPIV10DebitStatusParams
- func NewPostAPIV10DebitStatusParamsWithTimeout(timeout time.Duration) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) SetCHANNELID(cHANNELID string)
- func (o *PostAPIV10DebitStatusParams) SetContext(ctx context.Context)
- func (o *PostAPIV10DebitStatusParams) SetDefaults()
- func (o *PostAPIV10DebitStatusParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV10DebitStatusParams) SetRequest(request *models.CheckPaymentStatusEwalletRequest)
- func (o *PostAPIV10DebitStatusParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV10DebitStatusParams) SetXEXTERNALID(xEXTERNALID string)
- func (o *PostAPIV10DebitStatusParams) SetXPARTNERID(xPARTNERID string)
- func (o *PostAPIV10DebitStatusParams) SetXREQUESTID(xREQUESTID string)
- func (o *PostAPIV10DebitStatusParams) SetXSIGNATURE(xSIGNATURE string)
- func (o *PostAPIV10DebitStatusParams) SetXTIMESTAMP(xTIMESTAMP string)
- func (o *PostAPIV10DebitStatusParams) WithCHANNELID(cHANNELID string) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithContext(ctx context.Context) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithDefaults() *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithHTTPClient(client *http.Client) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithRequest(request *models.CheckPaymentStatusEwalletRequest) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithTimeout(timeout time.Duration) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithXEXTERNALID(xEXTERNALID string) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithXPARTNERID(xPARTNERID string) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithXREQUESTID(xREQUESTID string) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithXSIGNATURE(xSIGNATURE string) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WithXTIMESTAMP(xTIMESTAMP string) *PostAPIV10DebitStatusParams
- func (o *PostAPIV10DebitStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV10DebitStatusReader
- type PostAPIV10DebitStatusUnauthorized
- func (o *PostAPIV10DebitStatusUnauthorized) Code() int
- func (o *PostAPIV10DebitStatusUnauthorized) Error() string
- func (o *PostAPIV10DebitStatusUnauthorized) GetPayload() interface{}
- func (o *PostAPIV10DebitStatusUnauthorized) IsClientError() bool
- func (o *PostAPIV10DebitStatusUnauthorized) IsCode(code int) bool
- func (o *PostAPIV10DebitStatusUnauthorized) IsRedirect() bool
- func (o *PostAPIV10DebitStatusUnauthorized) IsServerError() bool
- func (o *PostAPIV10DebitStatusUnauthorized) IsSuccess() bool
- func (o *PostAPIV10DebitStatusUnauthorized) String() string
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) Code() int
Code gets the status code for the post Api debit v10 payment host to host bad request response
func (*PostAPIDebitV10PaymentHostToHostBadRequest) Error ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) Error() string
func (*PostAPIDebitV10PaymentHostToHostBadRequest) GetPayload ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) GetPayload() interface{}
func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsClientError ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsClientError() bool
IsClientError returns true when this post Api debit v10 payment host to host bad request response has a 4xx status code
func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsCode ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsCode(code int) bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api debit v10 payment host to host bad request response has a 3xx status code
func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsServerError ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsServerError() bool
IsServerError returns true when this post Api debit v10 payment host to host bad request response has a 5xx status code
func (*PostAPIDebitV10PaymentHostToHostBadRequest) IsSuccess ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api debit v10 payment host to host bad request response has a 2xx status code
func (*PostAPIDebitV10PaymentHostToHostBadRequest) String ¶
func (o *PostAPIDebitV10PaymentHostToHostBadRequest) String() 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 ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) Code() int
Code gets the status code for the post Api debit v10 payment host to host conflict response
func (*PostAPIDebitV10PaymentHostToHostConflict) Error ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) Error() string
func (*PostAPIDebitV10PaymentHostToHostConflict) GetPayload ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) GetPayload() interface{}
func (*PostAPIDebitV10PaymentHostToHostConflict) IsClientError ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) IsClientError() bool
IsClientError returns true when this post Api debit v10 payment host to host conflict response has a 4xx status code
func (*PostAPIDebitV10PaymentHostToHostConflict) IsCode ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) IsCode(code int) bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) IsRedirect() bool
IsRedirect returns true when this post Api debit v10 payment host to host conflict response has a 3xx status code
func (*PostAPIDebitV10PaymentHostToHostConflict) IsServerError ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) IsServerError() bool
IsServerError returns true when this post Api debit v10 payment host to host conflict response has a 5xx status code
func (*PostAPIDebitV10PaymentHostToHostConflict) IsSuccess ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) IsSuccess() bool
IsSuccess returns true when this post Api debit v10 payment host to host conflict response has a 2xx status code
func (*PostAPIDebitV10PaymentHostToHostConflict) String ¶
func (o *PostAPIDebitV10PaymentHostToHostConflict) String() 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 ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) Code() int
Code gets the status code for the post Api debit v10 payment host to host internal server error response
func (*PostAPIDebitV10PaymentHostToHostInternalServerError) Error ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) Error() string
func (*PostAPIDebitV10PaymentHostToHostInternalServerError) GetPayload ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) GetPayload() interface{}
func (*PostAPIDebitV10PaymentHostToHostInternalServerError) IsClientError ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsClientError() bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsRedirect() bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsServerError() bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) IsSuccess() bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostInternalServerError) String() 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 ¶
func (o *PostAPIDebitV10PaymentHostToHostOK) Code() int
Code gets the status code for the post Api debit v10 payment host to host o k response
func (*PostAPIDebitV10PaymentHostToHostOK) Error ¶
func (o *PostAPIDebitV10PaymentHostToHostOK) Error() string
func (*PostAPIDebitV10PaymentHostToHostOK) GetPayload ¶
func (o *PostAPIDebitV10PaymentHostToHostOK) GetPayload() *models.CreateEwalletResponse
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostOK) IsCode(code int) bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostOK) IsSuccess() bool
IsSuccess returns true when this post Api debit v10 payment host to host o k response has a 2xx status code
func (*PostAPIDebitV10PaymentHostToHostOK) String ¶
func (o *PostAPIDebitV10PaymentHostToHostOK) String() 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 ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) SetContext(ctx context.Context)
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) SetRequest(request *models.CreateEwalletRequest)
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithCHANNELID(cHANNELID string) *PostAPIDebitV10PaymentHostToHostParams
WithCHANNELID adds the cHANNELID to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithContext ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithContext(ctx context.Context) *PostAPIDebitV10PaymentHostToHostParams
WithContext adds the context to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithDefaults ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithDefaults() *PostAPIDebitV10PaymentHostToHostParams
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithHTTPClient(client *http.Client) *PostAPIDebitV10PaymentHostToHostParams
WithHTTPClient adds the HTTPClient to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithRequest ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithRequest(request *models.CreateEwalletRequest) *PostAPIDebitV10PaymentHostToHostParams
WithRequest adds the request to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithTimeout ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithTimeout(timeout time.Duration) *PostAPIDebitV10PaymentHostToHostParams
WithTimeout adds the timeout to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithXEXTERNALID ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithXEXTERNALID(xEXTERNALID string) *PostAPIDebitV10PaymentHostToHostParams
WithXEXTERNALID adds the xEXTERNALID to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithXPARTNERID ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithXPARTNERID(xPARTNERID string) *PostAPIDebitV10PaymentHostToHostParams
WithXPARTNERID adds the xPARTNERID to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithXREQUESTID ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithXREQUESTID(xREQUESTID string) *PostAPIDebitV10PaymentHostToHostParams
WithXREQUESTID adds the xREQUESTID to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithXSIGNATURE ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithXSIGNATURE(xSIGNATURE string) *PostAPIDebitV10PaymentHostToHostParams
WithXSIGNATURE adds the xSIGNATURE to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WithXTIMESTAMP ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WithXTIMESTAMP(xTIMESTAMP string) *PostAPIDebitV10PaymentHostToHostParams
WithXTIMESTAMP adds the xTIMESTAMP to the post API debit v10 payment host to host params
func (*PostAPIDebitV10PaymentHostToHostParams) WriteToRequest ¶
func (o *PostAPIDebitV10PaymentHostToHostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) Code() int
Code gets the status code for the post Api debit v10 payment host to host unauthorized response
func (*PostAPIDebitV10PaymentHostToHostUnauthorized) Error ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) Error() string
func (*PostAPIDebitV10PaymentHostToHostUnauthorized) GetPayload ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) GetPayload() interface{}
func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsClientError ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsClientError() bool
IsClientError returns true when this post Api debit v10 payment host to host unauthorized response has a 4xx status code
func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsCode ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsCode(code int) bool
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 ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsRedirect() bool
IsRedirect returns true when this post Api debit v10 payment host to host unauthorized response has a 3xx status code
func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsServerError ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsServerError() bool
IsServerError returns true when this post Api debit v10 payment host to host unauthorized response has a 5xx status code
func (*PostAPIDebitV10PaymentHostToHostUnauthorized) IsSuccess ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) IsSuccess() bool
IsSuccess returns true when this post Api debit v10 payment host to host unauthorized response has a 2xx status code
func (*PostAPIDebitV10PaymentHostToHostUnauthorized) String ¶
func (o *PostAPIDebitV10PaymentHostToHostUnauthorized) String() 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 ¶
func (o *PostAPIV10DebitCancelBadRequest) Code() int
Code gets the status code for the post Api v10 debit cancel bad request response
func (*PostAPIV10DebitCancelBadRequest) Error ¶
func (o *PostAPIV10DebitCancelBadRequest) Error() string
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 ¶
func (o *PostAPIV10DebitCancelBadRequest) String() 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 ¶
func (o *PostAPIV10DebitCancelInternalServerError) Code() int
Code gets the status code for the post Api v10 debit cancel internal server error response
func (*PostAPIV10DebitCancelInternalServerError) Error ¶
func (o *PostAPIV10DebitCancelInternalServerError) Error() string
func (*PostAPIV10DebitCancelInternalServerError) GetPayload ¶
func (o *PostAPIV10DebitCancelInternalServerError) GetPayload() interface{}
func (*PostAPIV10DebitCancelInternalServerError) IsClientError ¶
func (o *PostAPIV10DebitCancelInternalServerError) IsClientError() bool
IsClientError returns true when this post Api v10 debit cancel internal server error response has a 4xx status code
func (*PostAPIV10DebitCancelInternalServerError) IsCode ¶
func (o *PostAPIV10DebitCancelInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api v10 debit cancel internal server error response a status code equal to that given
func (*PostAPIV10DebitCancelInternalServerError) IsRedirect ¶
func (o *PostAPIV10DebitCancelInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api v10 debit cancel internal server error response has a 3xx status code
func (*PostAPIV10DebitCancelInternalServerError) IsServerError ¶
func (o *PostAPIV10DebitCancelInternalServerError) IsServerError() bool
IsServerError returns true when this post Api v10 debit cancel internal server error response has a 5xx status code
func (*PostAPIV10DebitCancelInternalServerError) IsSuccess ¶
func (o *PostAPIV10DebitCancelInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api v10 debit cancel internal server error response has a 2xx status code
func (*PostAPIV10DebitCancelInternalServerError) String ¶
func (o *PostAPIV10DebitCancelInternalServerError) String() 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 ¶
func (o *PostAPIV10DebitCancelNotFound) Code() int
Code gets the status code for the post Api v10 debit cancel not found response
func (*PostAPIV10DebitCancelNotFound) Error ¶
func (o *PostAPIV10DebitCancelNotFound) Error() string
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 ¶
func (o *PostAPIV10DebitCancelNotFound) String() 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 (o *PostAPIV10DebitCancelOK) GetPayload() *models.CancelHostToHostPaymentResponse
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 ¶
func (o *PostAPIV10DebitCancelParams) SetRequest(request *models.CancelHostToHostPaymentRequest)
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 ¶
func (o *PostAPIV10DebitCancelParams) WithContext(ctx context.Context) *PostAPIV10DebitCancelParams
WithContext adds the context to the post API v10 debit cancel params
func (*PostAPIV10DebitCancelParams) WithDefaults ¶
func (o *PostAPIV10DebitCancelParams) WithDefaults() *PostAPIV10DebitCancelParams
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 ¶
func (o *PostAPIV10DebitCancelParams) WithHTTPClient(client *http.Client) *PostAPIV10DebitCancelParams
WithHTTPClient adds the HTTPClient to the post API v10 debit cancel params
func (*PostAPIV10DebitCancelParams) WithRequest ¶
func (o *PostAPIV10DebitCancelParams) WithRequest(request *models.CancelHostToHostPaymentRequest) *PostAPIV10DebitCancelParams
WithRequest adds the request to the post API v10 debit cancel params
func (*PostAPIV10DebitCancelParams) WithTimeout ¶
func (o *PostAPIV10DebitCancelParams) WithTimeout(timeout time.Duration) *PostAPIV10DebitCancelParams
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 ¶
func (o *PostAPIV10DebitCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *PostAPIV10DebitCancelUnauthorized) Code() int
Code gets the status code for the post Api v10 debit cancel unauthorized response
func (*PostAPIV10DebitCancelUnauthorized) Error ¶
func (o *PostAPIV10DebitCancelUnauthorized) Error() string
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 ¶
func (o *PostAPIV10DebitCancelUnauthorized) String() 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 ¶
func (o *PostAPIV10DebitStatusBadRequest) Code() int
Code gets the status code for the post Api v10 debit status bad request response
func (*PostAPIV10DebitStatusBadRequest) Error ¶
func (o *PostAPIV10DebitStatusBadRequest) Error() string
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 ¶
func (o *PostAPIV10DebitStatusBadRequest) String() 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 ¶
func (o *PostAPIV10DebitStatusInternalServerError) Code() int
Code gets the status code for the post Api v10 debit status internal server error response
func (*PostAPIV10DebitStatusInternalServerError) Error ¶
func (o *PostAPIV10DebitStatusInternalServerError) Error() string
func (*PostAPIV10DebitStatusInternalServerError) GetPayload ¶
func (o *PostAPIV10DebitStatusInternalServerError) GetPayload() interface{}
func (*PostAPIV10DebitStatusInternalServerError) IsClientError ¶
func (o *PostAPIV10DebitStatusInternalServerError) IsClientError() bool
IsClientError returns true when this post Api v10 debit status internal server error response has a 4xx status code
func (*PostAPIV10DebitStatusInternalServerError) IsCode ¶
func (o *PostAPIV10DebitStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api v10 debit status internal server error response a status code equal to that given
func (*PostAPIV10DebitStatusInternalServerError) IsRedirect ¶
func (o *PostAPIV10DebitStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api v10 debit status internal server error response has a 3xx status code
func (*PostAPIV10DebitStatusInternalServerError) IsServerError ¶
func (o *PostAPIV10DebitStatusInternalServerError) IsServerError() bool
IsServerError returns true when this post Api v10 debit status internal server error response has a 5xx status code
func (*PostAPIV10DebitStatusInternalServerError) IsSuccess ¶
func (o *PostAPIV10DebitStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api v10 debit status internal server error response has a 2xx status code
func (*PostAPIV10DebitStatusInternalServerError) String ¶
func (o *PostAPIV10DebitStatusInternalServerError) String() 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 ¶
func (o *PostAPIV10DebitStatusNotFound) Code() int
Code gets the status code for the post Api v10 debit status not found response
func (*PostAPIV10DebitStatusNotFound) Error ¶
func (o *PostAPIV10DebitStatusNotFound) Error() string
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 ¶
func (o *PostAPIV10DebitStatusNotFound) String() 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 (o *PostAPIV10DebitStatusOK) GetPayload() *models.CheckPaymentStatusEwalletResponse
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 ¶
func (o *PostAPIV10DebitStatusParams) SetRequest(request *models.CheckPaymentStatusEwalletRequest)
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 ¶
func (o *PostAPIV10DebitStatusParams) WithContext(ctx context.Context) *PostAPIV10DebitStatusParams
WithContext adds the context to the post API v10 debit status params
func (*PostAPIV10DebitStatusParams) WithDefaults ¶
func (o *PostAPIV10DebitStatusParams) WithDefaults() *PostAPIV10DebitStatusParams
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 ¶
func (o *PostAPIV10DebitStatusParams) WithHTTPClient(client *http.Client) *PostAPIV10DebitStatusParams
WithHTTPClient adds the HTTPClient to the post API v10 debit status params
func (*PostAPIV10DebitStatusParams) WithRequest ¶
func (o *PostAPIV10DebitStatusParams) WithRequest(request *models.CheckPaymentStatusEwalletRequest) *PostAPIV10DebitStatusParams
WithRequest adds the request to the post API v10 debit status params
func (*PostAPIV10DebitStatusParams) WithTimeout ¶
func (o *PostAPIV10DebitStatusParams) WithTimeout(timeout time.Duration) *PostAPIV10DebitStatusParams
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 ¶
func (o *PostAPIV10DebitStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *PostAPIV10DebitStatusUnauthorized) Code() int
Code gets the status code for the post Api v10 debit status unauthorized response
func (*PostAPIV10DebitStatusUnauthorized) Error ¶
func (o *PostAPIV10DebitStatusUnauthorized) Error() string
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 ¶
func (o *PostAPIV10DebitStatusUnauthorized) String() string