Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1CreditTransfersIDApprovals(params *DeleteV1CreditTransfersIDApprovalsParams, opts ...ClientOption) (*DeleteV1CreditTransfersIDApprovalsAccepted, error)
- func (a *Client) GetV1CreditTransfers(params *GetV1CreditTransfersParams, opts ...ClientOption) (*GetV1CreditTransfersOK, error)
- func (a *Client) GetV1CreditTransfersGetByExternalIDExternalID(params *GetV1CreditTransfersGetByExternalIDExternalIDParams, ...) (*GetV1CreditTransfersGetByExternalIDExternalIDOK, error)
- func (a *Client) GetV1CreditTransfersID(params *GetV1CreditTransfersIDParams, opts ...ClientOption) (*GetV1CreditTransfersIDOK, error)
- func (a *Client) GetV1CreditTransfersIDEvents(params *GetV1CreditTransfersIDEventsParams, opts ...ClientOption) (*GetV1CreditTransfersIDEventsOK, error)
- func (a *Client) PostV1CreditTransfers(params *PostV1CreditTransfersParams, opts ...ClientOption) (*PostV1CreditTransfersCreated, error)
- func (a *Client) PutV1CreditTransfersIDApprovalsApprovalStepID(params *PutV1CreditTransfersIDApprovalsApprovalStepIDParams, ...) (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1CreditTransfersIDApprovalsAccepted
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) Code() int
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) Error() string
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) GetPayload() *models.Payment
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsClientError() bool
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsCode(code int) bool
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsRedirect() bool
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsServerError() bool
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsSuccess() bool
- func (o *DeleteV1CreditTransfersIDApprovalsAccepted) String() string
- type DeleteV1CreditTransfersIDApprovalsBadRequest
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) Code() int
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) Error() string
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsClientError() bool
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsCode(code int) bool
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsRedirect() bool
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsServerError() bool
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsSuccess() bool
- func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) String() string
- type DeleteV1CreditTransfersIDApprovalsParams
- func NewDeleteV1CreditTransfersIDApprovalsParams() *DeleteV1CreditTransfersIDApprovalsParams
- func NewDeleteV1CreditTransfersIDApprovalsParamsWithContext(ctx context.Context) *DeleteV1CreditTransfersIDApprovalsParams
- func NewDeleteV1CreditTransfersIDApprovalsParamsWithHTTPClient(client *http.Client) *DeleteV1CreditTransfersIDApprovalsParams
- func NewDeleteV1CreditTransfersIDApprovalsParamsWithTimeout(timeout time.Duration) *DeleteV1CreditTransfersIDApprovalsParams
- func (o *DeleteV1CreditTransfersIDApprovalsParams) SetContext(ctx context.Context)
- func (o *DeleteV1CreditTransfersIDApprovalsParams) SetCreateReject(createReject *models.CreateRejectRequest)
- func (o *DeleteV1CreditTransfersIDApprovalsParams) SetDefaults()
- func (o *DeleteV1CreditTransfersIDApprovalsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1CreditTransfersIDApprovalsParams) SetID(id string)
- func (o *DeleteV1CreditTransfersIDApprovalsParams) SetIfMatch(ifMatch *string)
- func (o *DeleteV1CreditTransfersIDApprovalsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1CreditTransfersIDApprovalsParams) WithContext(ctx context.Context) *DeleteV1CreditTransfersIDApprovalsParams
- func (o *DeleteV1CreditTransfersIDApprovalsParams) WithCreateReject(createReject *models.CreateRejectRequest) *DeleteV1CreditTransfersIDApprovalsParams
- func (o *DeleteV1CreditTransfersIDApprovalsParams) WithDefaults() *DeleteV1CreditTransfersIDApprovalsParams
- func (o *DeleteV1CreditTransfersIDApprovalsParams) WithHTTPClient(client *http.Client) *DeleteV1CreditTransfersIDApprovalsParams
- func (o *DeleteV1CreditTransfersIDApprovalsParams) WithID(id string) *DeleteV1CreditTransfersIDApprovalsParams
- func (o *DeleteV1CreditTransfersIDApprovalsParams) WithIfMatch(ifMatch *string) *DeleteV1CreditTransfersIDApprovalsParams
- func (o *DeleteV1CreditTransfersIDApprovalsParams) WithTimeout(timeout time.Duration) *DeleteV1CreditTransfersIDApprovalsParams
- func (o *DeleteV1CreditTransfersIDApprovalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1CreditTransfersIDApprovalsReader
- type GetV1CreditTransfersBadRequest
- func (o *GetV1CreditTransfersBadRequest) Code() int
- func (o *GetV1CreditTransfersBadRequest) Error() string
- func (o *GetV1CreditTransfersBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetV1CreditTransfersBadRequest) IsClientError() bool
- func (o *GetV1CreditTransfersBadRequest) IsCode(code int) bool
- func (o *GetV1CreditTransfersBadRequest) IsRedirect() bool
- func (o *GetV1CreditTransfersBadRequest) IsServerError() bool
- func (o *GetV1CreditTransfersBadRequest) IsSuccess() bool
- func (o *GetV1CreditTransfersBadRequest) String() string
- type GetV1CreditTransfersGetByExternalIDExternalIDNotFound
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) Code() int
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) Error() string
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) GetPayload() string
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsClientError() bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsCode(code int) bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsRedirect() bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsServerError() bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsSuccess() bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) String() string
- type GetV1CreditTransfersGetByExternalIDExternalIDOK
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) Code() int
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) Error() string
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) GetPayload() *models.Payment
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsClientError() bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsCode(code int) bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsRedirect() bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsServerError() bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsSuccess() bool
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) String() string
- type GetV1CreditTransfersGetByExternalIDExternalIDParams
- func NewGetV1CreditTransfersGetByExternalIDExternalIDParams() *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetDefaults()
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetExternalID(externalID string)
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithDefaults() *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1CreditTransfersGetByExternalIDExternalIDParams
- func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CreditTransfersGetByExternalIDExternalIDReader
- type GetV1CreditTransfersIDEventsOK
- func (o *GetV1CreditTransfersIDEventsOK) Code() int
- func (o *GetV1CreditTransfersIDEventsOK) Error() string
- func (o *GetV1CreditTransfersIDEventsOK) GetPayload() *GetV1CreditTransfersIDEventsOKBody
- func (o *GetV1CreditTransfersIDEventsOK) IsClientError() bool
- func (o *GetV1CreditTransfersIDEventsOK) IsCode(code int) bool
- func (o *GetV1CreditTransfersIDEventsOK) IsRedirect() bool
- func (o *GetV1CreditTransfersIDEventsOK) IsServerError() bool
- func (o *GetV1CreditTransfersIDEventsOK) IsSuccess() bool
- func (o *GetV1CreditTransfersIDEventsOK) String() string
- type GetV1CreditTransfersIDEventsOKBody
- func (o *GetV1CreditTransfersIDEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1CreditTransfersIDEventsOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1CreditTransfersIDEventsOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1CreditTransfersIDEventsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1CreditTransfersIDEventsOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1CreditTransfersIDEventsOKBody) Validate(formats strfmt.Registry) error
- type GetV1CreditTransfersIDEventsParams
- func NewGetV1CreditTransfersIDEventsParams() *GetV1CreditTransfersIDEventsParams
- func NewGetV1CreditTransfersIDEventsParamsWithContext(ctx context.Context) *GetV1CreditTransfersIDEventsParams
- func NewGetV1CreditTransfersIDEventsParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersIDEventsParams
- func NewGetV1CreditTransfersIDEventsParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersIDEventsParams
- func (o *GetV1CreditTransfersIDEventsParams) SetContext(ctx context.Context)
- func (o *GetV1CreditTransfersIDEventsParams) SetDefaults()
- func (o *GetV1CreditTransfersIDEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CreditTransfersIDEventsParams) SetID(id string)
- func (o *GetV1CreditTransfersIDEventsParams) SetLimit(limit *int64)
- func (o *GetV1CreditTransfersIDEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CreditTransfersIDEventsParams) SetToken(token *string)
- func (o *GetV1CreditTransfersIDEventsParams) WithContext(ctx context.Context) *GetV1CreditTransfersIDEventsParams
- func (o *GetV1CreditTransfersIDEventsParams) WithDefaults() *GetV1CreditTransfersIDEventsParams
- func (o *GetV1CreditTransfersIDEventsParams) WithHTTPClient(client *http.Client) *GetV1CreditTransfersIDEventsParams
- func (o *GetV1CreditTransfersIDEventsParams) WithID(id string) *GetV1CreditTransfersIDEventsParams
- func (o *GetV1CreditTransfersIDEventsParams) WithLimit(limit *int64) *GetV1CreditTransfersIDEventsParams
- func (o *GetV1CreditTransfersIDEventsParams) WithTimeout(timeout time.Duration) *GetV1CreditTransfersIDEventsParams
- func (o *GetV1CreditTransfersIDEventsParams) WithToken(token *string) *GetV1CreditTransfersIDEventsParams
- func (o *GetV1CreditTransfersIDEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CreditTransfersIDEventsReader
- type GetV1CreditTransfersIDNotFound
- func (o *GetV1CreditTransfersIDNotFound) Code() int
- func (o *GetV1CreditTransfersIDNotFound) Error() string
- func (o *GetV1CreditTransfersIDNotFound) GetPayload() string
- func (o *GetV1CreditTransfersIDNotFound) IsClientError() bool
- func (o *GetV1CreditTransfersIDNotFound) IsCode(code int) bool
- func (o *GetV1CreditTransfersIDNotFound) IsRedirect() bool
- func (o *GetV1CreditTransfersIDNotFound) IsServerError() bool
- func (o *GetV1CreditTransfersIDNotFound) IsSuccess() bool
- func (o *GetV1CreditTransfersIDNotFound) String() string
- type GetV1CreditTransfersIDOK
- func (o *GetV1CreditTransfersIDOK) Code() int
- func (o *GetV1CreditTransfersIDOK) Error() string
- func (o *GetV1CreditTransfersIDOK) GetPayload() *models.Payment
- func (o *GetV1CreditTransfersIDOK) IsClientError() bool
- func (o *GetV1CreditTransfersIDOK) IsCode(code int) bool
- func (o *GetV1CreditTransfersIDOK) IsRedirect() bool
- func (o *GetV1CreditTransfersIDOK) IsServerError() bool
- func (o *GetV1CreditTransfersIDOK) IsSuccess() bool
- func (o *GetV1CreditTransfersIDOK) String() string
- type GetV1CreditTransfersIDParams
- func NewGetV1CreditTransfersIDParams() *GetV1CreditTransfersIDParams
- func NewGetV1CreditTransfersIDParamsWithContext(ctx context.Context) *GetV1CreditTransfersIDParams
- func NewGetV1CreditTransfersIDParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersIDParams
- func NewGetV1CreditTransfersIDParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersIDParams
- func (o *GetV1CreditTransfersIDParams) SetContext(ctx context.Context)
- func (o *GetV1CreditTransfersIDParams) SetDefaults()
- func (o *GetV1CreditTransfersIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CreditTransfersIDParams) SetID(id string)
- func (o *GetV1CreditTransfersIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CreditTransfersIDParams) WithContext(ctx context.Context) *GetV1CreditTransfersIDParams
- func (o *GetV1CreditTransfersIDParams) WithDefaults() *GetV1CreditTransfersIDParams
- func (o *GetV1CreditTransfersIDParams) WithHTTPClient(client *http.Client) *GetV1CreditTransfersIDParams
- func (o *GetV1CreditTransfersIDParams) WithID(id string) *GetV1CreditTransfersIDParams
- func (o *GetV1CreditTransfersIDParams) WithTimeout(timeout time.Duration) *GetV1CreditTransfersIDParams
- func (o *GetV1CreditTransfersIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CreditTransfersIDReader
- type GetV1CreditTransfersOK
- func (o *GetV1CreditTransfersOK) Code() int
- func (o *GetV1CreditTransfersOK) Error() string
- func (o *GetV1CreditTransfersOK) GetPayload() *GetV1CreditTransfersOKBody
- func (o *GetV1CreditTransfersOK) IsClientError() bool
- func (o *GetV1CreditTransfersOK) IsCode(code int) bool
- func (o *GetV1CreditTransfersOK) IsRedirect() bool
- func (o *GetV1CreditTransfersOK) IsServerError() bool
- func (o *GetV1CreditTransfersOK) IsSuccess() bool
- func (o *GetV1CreditTransfersOK) String() string
- type GetV1CreditTransfersOKBody
- func (o *GetV1CreditTransfersOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1CreditTransfersOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1CreditTransfersOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1CreditTransfersOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1CreditTransfersOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1CreditTransfersOKBody) Validate(formats strfmt.Registry) error
- type GetV1CreditTransfersParams
- func NewGetV1CreditTransfersParams() *GetV1CreditTransfersParams
- func NewGetV1CreditTransfersParamsWithContext(ctx context.Context) *GetV1CreditTransfersParams
- func NewGetV1CreditTransfersParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersParams
- func NewGetV1CreditTransfersParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) SetAccountID(accountID *string)
- func (o *GetV1CreditTransfersParams) SetContext(ctx context.Context)
- func (o *GetV1CreditTransfersParams) SetDefaults()
- func (o *GetV1CreditTransfersParams) SetFromDate(fromDate *string)
- func (o *GetV1CreditTransfersParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CreditTransfersParams) SetLimit(limit *int64)
- func (o *GetV1CreditTransfersParams) SetStatus(status *string)
- func (o *GetV1CreditTransfersParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CreditTransfersParams) SetToDate(toDate *string)
- func (o *GetV1CreditTransfersParams) SetToken(token *string)
- func (o *GetV1CreditTransfersParams) WithAccountID(accountID *string) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithContext(ctx context.Context) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithDefaults() *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithFromDate(fromDate *string) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithHTTPClient(client *http.Client) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithLimit(limit *int64) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithStatus(status *string) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithTimeout(timeout time.Duration) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithToDate(toDate *string) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WithToken(token *string) *GetV1CreditTransfersParams
- func (o *GetV1CreditTransfersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CreditTransfersReader
- type PostV1CreditTransfersBadRequest
- func (o *PostV1CreditTransfersBadRequest) Code() int
- func (o *PostV1CreditTransfersBadRequest) Error() string
- func (o *PostV1CreditTransfersBadRequest) GetPayload() *models.ErrorResponse
- func (o *PostV1CreditTransfersBadRequest) IsClientError() bool
- func (o *PostV1CreditTransfersBadRequest) IsCode(code int) bool
- func (o *PostV1CreditTransfersBadRequest) IsRedirect() bool
- func (o *PostV1CreditTransfersBadRequest) IsServerError() bool
- func (o *PostV1CreditTransfersBadRequest) IsSuccess() bool
- func (o *PostV1CreditTransfersBadRequest) String() string
- type PostV1CreditTransfersCreated
- func (o *PostV1CreditTransfersCreated) Code() int
- func (o *PostV1CreditTransfersCreated) Error() string
- func (o *PostV1CreditTransfersCreated) GetPayload() *models.Payment
- func (o *PostV1CreditTransfersCreated) IsClientError() bool
- func (o *PostV1CreditTransfersCreated) IsCode(code int) bool
- func (o *PostV1CreditTransfersCreated) IsRedirect() bool
- func (o *PostV1CreditTransfersCreated) IsServerError() bool
- func (o *PostV1CreditTransfersCreated) IsSuccess() bool
- func (o *PostV1CreditTransfersCreated) String() string
- type PostV1CreditTransfersParams
- func NewPostV1CreditTransfersParams() *PostV1CreditTransfersParams
- func NewPostV1CreditTransfersParamsWithContext(ctx context.Context) *PostV1CreditTransfersParams
- func NewPostV1CreditTransfersParamsWithHTTPClient(client *http.Client) *PostV1CreditTransfersParams
- func NewPostV1CreditTransfersParamsWithTimeout(timeout time.Duration) *PostV1CreditTransfersParams
- func (o *PostV1CreditTransfersParams) SetContext(ctx context.Context)
- func (o *PostV1CreditTransfersParams) SetCreditTransfer(creditTransfer *models.CreatePaymentRequest)
- func (o *PostV1CreditTransfersParams) SetDefaults()
- func (o *PostV1CreditTransfersParams) SetHTTPClient(client *http.Client)
- func (o *PostV1CreditTransfersParams) SetTimeout(timeout time.Duration)
- func (o *PostV1CreditTransfersParams) WithContext(ctx context.Context) *PostV1CreditTransfersParams
- func (o *PostV1CreditTransfersParams) WithCreditTransfer(creditTransfer *models.CreatePaymentRequest) *PostV1CreditTransfersParams
- func (o *PostV1CreditTransfersParams) WithDefaults() *PostV1CreditTransfersParams
- func (o *PostV1CreditTransfersParams) WithHTTPClient(client *http.Client) *PostV1CreditTransfersParams
- func (o *PostV1CreditTransfersParams) WithTimeout(timeout time.Duration) *PostV1CreditTransfersParams
- func (o *PostV1CreditTransfersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1CreditTransfersReader
- type PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) Code() int
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) Error() string
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) GetPayload() *models.Payment
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsClientError() bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsCode(code int) bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsRedirect() bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsServerError() bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsSuccess() bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) String() string
- type PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) Code() int
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) Error() string
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) GetPayload() *models.ErrorResponse
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsClientError() bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsCode(code int) bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsRedirect() bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsServerError() bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsSuccess() bool
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) String() string
- type PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParams() *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithContext(ctx context.Context) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithHTTPClient(client *http.Client) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithTimeout(timeout time.Duration) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetApprovalStepID(approvalStepID string)
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetContext(ctx context.Context)
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetDefaults()
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetHTTPClient(client *http.Client)
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetID(id string)
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetIfMatch(ifMatch *string)
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetTimeout(timeout time.Duration)
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithApprovalStepID(approvalStepID string) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithContext(ctx context.Context) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithDefaults() *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithHTTPClient(client *http.Client) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithID(id string) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithIfMatch(ifMatch *string) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithTimeout(timeout time.Duration) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
- func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutV1CreditTransfersIDApprovalsApprovalStepIDReader
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 credit transfers API
func (*Client) DeleteV1CreditTransfersIDApprovals ¶
func (a *Client) DeleteV1CreditTransfersIDApprovals(params *DeleteV1CreditTransfersIDApprovalsParams, opts ...ClientOption) (*DeleteV1CreditTransfersIDApprovalsAccepted, error)
DeleteV1CreditTransfersIDApprovals rejects credit transfer
Reject the identified CreditTransfer. One can use this endpoint with or without having a prior created Approval.
func (*Client) GetV1CreditTransfers ¶
func (a *Client) GetV1CreditTransfers(params *GetV1CreditTransfersParams, opts ...ClientOption) (*GetV1CreditTransfersOK, error)
GetV1CreditTransfers queries credit transfers Returns a list of CreditTransfers. For further details on Pagination, see general section above.
Sort order is always descending on date
func (*Client) GetV1CreditTransfersGetByExternalIDExternalID ¶
func (a *Client) GetV1CreditTransfersGetByExternalIDExternalID(params *GetV1CreditTransfersGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1CreditTransfersGetByExternalIDExternalIDOK, error)
GetV1CreditTransfersGetByExternalIDExternalID reads credit transfer by its external Id
Returns the identified credit transfer.
func (*Client) GetV1CreditTransfersID ¶
func (a *Client) GetV1CreditTransfersID(params *GetV1CreditTransfersIDParams, opts ...ClientOption) (*GetV1CreditTransfersIDOK, error)
GetV1CreditTransfersID reads credit transfer
Returns the identified CreditTransfer
func (*Client) GetV1CreditTransfersIDEvents ¶
func (a *Client) GetV1CreditTransfersIDEvents(params *GetV1CreditTransfersIDEventsParams, opts ...ClientOption) (*GetV1CreditTransfersIDEventsOK, error)
GetV1CreditTransfersIDEvents queries credit transfer events
Returns a list of CreditTransfer events. For further details on Pagination, see the section above.
func (*Client) PostV1CreditTransfers ¶
func (a *Client) PostV1CreditTransfers(params *PostV1CreditTransfersParams, opts ...ClientOption) (*PostV1CreditTransfersCreated, error)
PostV1CreditTransfers creates credit transfer
Returns the identified CreditTransfer
func (*Client) PutV1CreditTransfersIDApprovalsApprovalStepID ¶
func (a *Client) PutV1CreditTransfersIDApprovalsApprovalStepID(params *PutV1CreditTransfersIDApprovalsApprovalStepIDParams, opts ...ClientOption) (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted, error)
PutV1CreditTransfersIDApprovalsApprovalStepID approves credit transfer
Approve the identified CreditTransfer
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 is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteV1CreditTransfersIDApprovals(params *DeleteV1CreditTransfersIDApprovalsParams, opts ...ClientOption) (*DeleteV1CreditTransfersIDApprovalsAccepted, error) GetV1CreditTransfers(params *GetV1CreditTransfersParams, opts ...ClientOption) (*GetV1CreditTransfersOK, error) GetV1CreditTransfersGetByExternalIDExternalID(params *GetV1CreditTransfersGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1CreditTransfersGetByExternalIDExternalIDOK, error) GetV1CreditTransfersID(params *GetV1CreditTransfersIDParams, opts ...ClientOption) (*GetV1CreditTransfersIDOK, error) GetV1CreditTransfersIDEvents(params *GetV1CreditTransfersIDEventsParams, opts ...ClientOption) (*GetV1CreditTransfersIDEventsOK, error) PostV1CreditTransfers(params *PostV1CreditTransfersParams, opts ...ClientOption) (*PostV1CreditTransfersCreated, error) PutV1CreditTransfersIDApprovalsApprovalStepID(params *PutV1CreditTransfersIDApprovalsApprovalStepIDParams, opts ...ClientOption) (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted, 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 credit transfers API client.
type DeleteV1CreditTransfersIDApprovalsAccepted ¶ added in v1.3.0
DeleteV1CreditTransfersIDApprovalsAccepted describes a response with status code 202, with default header values.
The, now, rejected identified CreditTransfer
func NewDeleteV1CreditTransfersIDApprovalsAccepted ¶ added in v1.3.0
func NewDeleteV1CreditTransfersIDApprovalsAccepted() *DeleteV1CreditTransfersIDApprovalsAccepted
NewDeleteV1CreditTransfersIDApprovalsAccepted creates a DeleteV1CreditTransfersIDApprovalsAccepted with default headers values
func (*DeleteV1CreditTransfersIDApprovalsAccepted) Code ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) Code() int
Code gets the status code for the delete v1 credit transfers Id approvals accepted response
func (*DeleteV1CreditTransfersIDApprovalsAccepted) Error ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) Error() string
func (*DeleteV1CreditTransfersIDApprovalsAccepted) GetPayload ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) GetPayload() *models.Payment
func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsClientError ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsClientError() bool
IsClientError returns true when this delete v1 credit transfers Id approvals accepted response has a 4xx status code
func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsCode ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsCode(code int) bool
IsCode returns true when this delete v1 credit transfers Id approvals accepted response a status code equal to that given
func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsRedirect ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsRedirect() bool
IsRedirect returns true when this delete v1 credit transfers Id approvals accepted response has a 3xx status code
func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsServerError ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsServerError() bool
IsServerError returns true when this delete v1 credit transfers Id approvals accepted response has a 5xx status code
func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsSuccess ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) IsSuccess() bool
IsSuccess returns true when this delete v1 credit transfers Id approvals accepted response has a 2xx status code
func (*DeleteV1CreditTransfersIDApprovalsAccepted) String ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsAccepted) String() string
type DeleteV1CreditTransfersIDApprovalsBadRequest ¶ added in v1.3.0
type DeleteV1CreditTransfersIDApprovalsBadRequest struct {
Payload *models.ErrorResponse
}
DeleteV1CreditTransfersIDApprovalsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteV1CreditTransfersIDApprovalsBadRequest ¶ added in v1.3.0
func NewDeleteV1CreditTransfersIDApprovalsBadRequest() *DeleteV1CreditTransfersIDApprovalsBadRequest
NewDeleteV1CreditTransfersIDApprovalsBadRequest creates a DeleteV1CreditTransfersIDApprovalsBadRequest with default headers values
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) Code ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) Code() int
Code gets the status code for the delete v1 credit transfers Id approvals bad request response
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) Error ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) Error() string
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) GetPayload ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) GetPayload() *models.ErrorResponse
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsClientError ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsClientError() bool
IsClientError returns true when this delete v1 credit transfers Id approvals bad request response has a 4xx status code
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsCode ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsCode(code int) bool
IsCode returns true when this delete v1 credit transfers Id approvals bad request response a status code equal to that given
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsRedirect ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete v1 credit transfers Id approvals bad request response has a 3xx status code
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsServerError ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsServerError() bool
IsServerError returns true when this delete v1 credit transfers Id approvals bad request response has a 5xx status code
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsSuccess ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete v1 credit transfers Id approvals bad request response has a 2xx status code
func (*DeleteV1CreditTransfersIDApprovalsBadRequest) String ¶ added in v1.3.0
func (o *DeleteV1CreditTransfersIDApprovalsBadRequest) String() string
type DeleteV1CreditTransfersIDApprovalsParams ¶
type DeleteV1CreditTransfersIDApprovalsParams struct { /* IfMatch. The ETag of the CreditTransfer */ IfMatch *string /* CreateReject. CreateRejectRequest */ CreateReject *models.CreateRejectRequest /* ID. CreditTransfer ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1CreditTransfersIDApprovalsParams contains all the parameters to send to the API endpoint
for the delete v1 credit transfers ID approvals operation. Typically these are written to a http.Request.
func NewDeleteV1CreditTransfersIDApprovalsParams ¶
func NewDeleteV1CreditTransfersIDApprovalsParams() *DeleteV1CreditTransfersIDApprovalsParams
NewDeleteV1CreditTransfersIDApprovalsParams creates a new DeleteV1CreditTransfersIDApprovalsParams 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 NewDeleteV1CreditTransfersIDApprovalsParamsWithContext ¶
func NewDeleteV1CreditTransfersIDApprovalsParamsWithContext(ctx context.Context) *DeleteV1CreditTransfersIDApprovalsParams
NewDeleteV1CreditTransfersIDApprovalsParamsWithContext creates a new DeleteV1CreditTransfersIDApprovalsParams object with the ability to set a context for a request.
func NewDeleteV1CreditTransfersIDApprovalsParamsWithHTTPClient ¶
func NewDeleteV1CreditTransfersIDApprovalsParamsWithHTTPClient(client *http.Client) *DeleteV1CreditTransfersIDApprovalsParams
NewDeleteV1CreditTransfersIDApprovalsParamsWithHTTPClient creates a new DeleteV1CreditTransfersIDApprovalsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1CreditTransfersIDApprovalsParamsWithTimeout ¶
func NewDeleteV1CreditTransfersIDApprovalsParamsWithTimeout(timeout time.Duration) *DeleteV1CreditTransfersIDApprovalsParams
NewDeleteV1CreditTransfersIDApprovalsParamsWithTimeout creates a new DeleteV1CreditTransfersIDApprovalsParams object with the ability to set a timeout on a request.
func (*DeleteV1CreditTransfersIDApprovalsParams) SetContext ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) SetCreateReject ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) SetCreateReject(createReject *models.CreateRejectRequest)
SetCreateReject adds the createReject to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) SetDefaults ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 credit transfers ID approvals params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1CreditTransfersIDApprovalsParams) SetHTTPClient ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) SetID ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) SetID(id string)
SetID adds the id to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) SetIfMatch ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) SetTimeout ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) WithContext ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) WithContext(ctx context.Context) *DeleteV1CreditTransfersIDApprovalsParams
WithContext adds the context to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) WithCreateReject ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) WithCreateReject(createReject *models.CreateRejectRequest) *DeleteV1CreditTransfersIDApprovalsParams
WithCreateReject adds the createReject to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) WithDefaults ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) WithDefaults() *DeleteV1CreditTransfersIDApprovalsParams
WithDefaults hydrates default values in the delete v1 credit transfers ID approvals params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1CreditTransfersIDApprovalsParams) WithHTTPClient ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) WithHTTPClient(client *http.Client) *DeleteV1CreditTransfersIDApprovalsParams
WithHTTPClient adds the HTTPClient to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) WithID ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) WithID(id string) *DeleteV1CreditTransfersIDApprovalsParams
WithID adds the id to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) WithIfMatch ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) WithIfMatch(ifMatch *string) *DeleteV1CreditTransfersIDApprovalsParams
WithIfMatch adds the ifMatch to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) WithTimeout ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) WithTimeout(timeout time.Duration) *DeleteV1CreditTransfersIDApprovalsParams
WithTimeout adds the timeout to the delete v1 credit transfers ID approvals params
func (*DeleteV1CreditTransfersIDApprovalsParams) WriteToRequest ¶
func (o *DeleteV1CreditTransfersIDApprovalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1CreditTransfersIDApprovalsReader ¶
type DeleteV1CreditTransfersIDApprovalsReader struct {
// contains filtered or unexported fields
}
DeleteV1CreditTransfersIDApprovalsReader is a Reader for the DeleteV1CreditTransfersIDApprovals structure.
func (*DeleteV1CreditTransfersIDApprovalsReader) ReadResponse ¶
func (o *DeleteV1CreditTransfersIDApprovalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1CreditTransfersBadRequest ¶ added in v1.3.0
type GetV1CreditTransfersBadRequest struct {
Payload *models.ErrorResponse
}
GetV1CreditTransfersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetV1CreditTransfersBadRequest ¶ added in v1.3.0
func NewGetV1CreditTransfersBadRequest() *GetV1CreditTransfersBadRequest
NewGetV1CreditTransfersBadRequest creates a GetV1CreditTransfersBadRequest with default headers values
func (*GetV1CreditTransfersBadRequest) Code ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) Code() int
Code gets the status code for the get v1 credit transfers bad request response
func (*GetV1CreditTransfersBadRequest) Error ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) Error() string
func (*GetV1CreditTransfersBadRequest) GetPayload ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) GetPayload() *models.ErrorResponse
func (*GetV1CreditTransfersBadRequest) IsClientError ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) IsClientError() bool
IsClientError returns true when this get v1 credit transfers bad request response has a 4xx status code
func (*GetV1CreditTransfersBadRequest) IsCode ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) IsCode(code int) bool
IsCode returns true when this get v1 credit transfers bad request response a status code equal to that given
func (*GetV1CreditTransfersBadRequest) IsRedirect ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) IsRedirect() bool
IsRedirect returns true when this get v1 credit transfers bad request response has a 3xx status code
func (*GetV1CreditTransfersBadRequest) IsServerError ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) IsServerError() bool
IsServerError returns true when this get v1 credit transfers bad request response has a 5xx status code
func (*GetV1CreditTransfersBadRequest) IsSuccess ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) IsSuccess() bool
IsSuccess returns true when this get v1 credit transfers bad request response has a 2xx status code
func (*GetV1CreditTransfersBadRequest) String ¶ added in v1.3.0
func (o *GetV1CreditTransfersBadRequest) String() string
type GetV1CreditTransfersGetByExternalIDExternalIDNotFound ¶
type GetV1CreditTransfersGetByExternalIDExternalIDNotFound struct {
Payload string
}
GetV1CreditTransfersGetByExternalIDExternalIDNotFound describes a response with status code 404, with default header values.
The identified credit transfer doesn't exist
func NewGetV1CreditTransfersGetByExternalIDExternalIDNotFound ¶
func NewGetV1CreditTransfersGetByExternalIDExternalIDNotFound() *GetV1CreditTransfersGetByExternalIDExternalIDNotFound
NewGetV1CreditTransfersGetByExternalIDExternalIDNotFound creates a GetV1CreditTransfersGetByExternalIDExternalIDNotFound with default headers values
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) Code ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) Code() int
Code gets the status code for the get v1 credit transfers get by external Id external Id not found response
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) Error ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) Error() string
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) GetPayload ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) GetPayload() string
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsClientError ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsClientError() bool
IsClientError returns true when this get v1 credit transfers get by external Id external Id not found response has a 4xx status code
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsCode ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsCode(code int) bool
IsCode returns true when this get v1 credit transfers get by external Id external Id not found response a status code equal to that given
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsRedirect ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsRedirect() bool
IsRedirect returns true when this get v1 credit transfers get by external Id external Id not found response has a 3xx status code
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsServerError ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsServerError() bool
IsServerError returns true when this get v1 credit transfers get by external Id external Id not found response has a 5xx status code
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsSuccess ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsSuccess() bool
IsSuccess returns true when this get v1 credit transfers get by external Id external Id not found response has a 2xx status code
func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) String ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDNotFound) String() string
type GetV1CreditTransfersGetByExternalIDExternalIDOK ¶
GetV1CreditTransfersGetByExternalIDExternalIDOK describes a response with status code 200, with default header values.
The identified credit transfer.
func NewGetV1CreditTransfersGetByExternalIDExternalIDOK ¶
func NewGetV1CreditTransfersGetByExternalIDExternalIDOK() *GetV1CreditTransfersGetByExternalIDExternalIDOK
NewGetV1CreditTransfersGetByExternalIDExternalIDOK creates a GetV1CreditTransfersGetByExternalIDExternalIDOK with default headers values
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) Code ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) Code() int
Code gets the status code for the get v1 credit transfers get by external Id external Id o k response
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) Error ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) Error() string
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) GetPayload ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) GetPayload() *models.Payment
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsClientError ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsClientError() bool
IsClientError returns true when this get v1 credit transfers get by external Id external Id o k response has a 4xx status code
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsCode ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsCode(code int) bool
IsCode returns true when this get v1 credit transfers get by external Id external Id o k response a status code equal to that given
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsRedirect ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 credit transfers get by external Id external Id o k response has a 3xx status code
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsServerError ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsServerError() bool
IsServerError returns true when this get v1 credit transfers get by external Id external Id o k response has a 5xx status code
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsSuccess ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 credit transfers get by external Id external Id o k response has a 2xx status code
func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) String ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDOK) String() string
type GetV1CreditTransfersGetByExternalIDExternalIDParams ¶
type GetV1CreditTransfersGetByExternalIDExternalIDParams struct { /* ExternalID. The externalId of the credit transfer. Supplied when creating credit transfer */ ExternalID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1CreditTransfersGetByExternalIDExternalIDParams contains all the parameters to send to the API endpoint
for the get v1 credit transfers get by external ID external ID operation. Typically these are written to a http.Request.
func NewGetV1CreditTransfersGetByExternalIDExternalIDParams ¶
func NewGetV1CreditTransfersGetByExternalIDExternalIDParams() *GetV1CreditTransfersGetByExternalIDExternalIDParams
NewGetV1CreditTransfersGetByExternalIDExternalIDParams creates a new GetV1CreditTransfersGetByExternalIDExternalIDParams 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 NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithContext ¶
func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1CreditTransfersGetByExternalIDExternalIDParams
NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithContext creates a new GetV1CreditTransfersGetByExternalIDExternalIDParams object with the ability to set a context for a request.
func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithHTTPClient ¶
func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersGetByExternalIDExternalIDParams
NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithHTTPClient creates a new GetV1CreditTransfersGetByExternalIDExternalIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithTimeout ¶
func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersGetByExternalIDExternalIDParams
NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithTimeout creates a new GetV1CreditTransfersGetByExternalIDExternalIDParams object with the ability to set a timeout on a request.
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetContext ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 credit transfers get by external ID external ID params
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetDefaults ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 credit transfers get by external ID external ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetExternalID ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetExternalID(externalID string)
SetExternalID adds the externalId to the get v1 credit transfers get by external ID external ID params
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetHTTPClient ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 credit transfers get by external ID external ID params
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetTimeout ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 credit transfers get by external ID external ID params
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithContext ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1CreditTransfersGetByExternalIDExternalIDParams
WithContext adds the context to the get v1 credit transfers get by external ID external ID params
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithDefaults ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithDefaults() *GetV1CreditTransfersGetByExternalIDExternalIDParams
WithDefaults hydrates default values in the get v1 credit transfers get by external ID external ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithExternalID ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1CreditTransfersGetByExternalIDExternalIDParams
WithExternalID adds the externalID to the get v1 credit transfers get by external ID external ID params
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithHTTPClient ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1CreditTransfersGetByExternalIDExternalIDParams
WithHTTPClient adds the HTTPClient to the get v1 credit transfers get by external ID external ID params
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithTimeout ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1CreditTransfersGetByExternalIDExternalIDParams
WithTimeout adds the timeout to the get v1 credit transfers get by external ID external ID params
func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WriteToRequest ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1CreditTransfersGetByExternalIDExternalIDReader ¶
type GetV1CreditTransfersGetByExternalIDExternalIDReader struct {
// contains filtered or unexported fields
}
GetV1CreditTransfersGetByExternalIDExternalIDReader is a Reader for the GetV1CreditTransfersGetByExternalIDExternalID structure.
func (*GetV1CreditTransfersGetByExternalIDExternalIDReader) ReadResponse ¶
func (o *GetV1CreditTransfersGetByExternalIDExternalIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1CreditTransfersIDEventsOK ¶
type GetV1CreditTransfersIDEventsOK struct {
Payload *GetV1CreditTransfersIDEventsOKBody
}
GetV1CreditTransfersIDEventsOK describes a response with status code 200, with default header values.
QueryResponse with a list of Events
func NewGetV1CreditTransfersIDEventsOK ¶
func NewGetV1CreditTransfersIDEventsOK() *GetV1CreditTransfersIDEventsOK
NewGetV1CreditTransfersIDEventsOK creates a GetV1CreditTransfersIDEventsOK with default headers values
func (*GetV1CreditTransfersIDEventsOK) Code ¶
func (o *GetV1CreditTransfersIDEventsOK) Code() int
Code gets the status code for the get v1 credit transfers Id events o k response
func (*GetV1CreditTransfersIDEventsOK) Error ¶
func (o *GetV1CreditTransfersIDEventsOK) Error() string
func (*GetV1CreditTransfersIDEventsOK) GetPayload ¶
func (o *GetV1CreditTransfersIDEventsOK) GetPayload() *GetV1CreditTransfersIDEventsOKBody
func (*GetV1CreditTransfersIDEventsOK) IsClientError ¶
func (o *GetV1CreditTransfersIDEventsOK) IsClientError() bool
IsClientError returns true when this get v1 credit transfers Id events o k response has a 4xx status code
func (*GetV1CreditTransfersIDEventsOK) IsCode ¶
func (o *GetV1CreditTransfersIDEventsOK) IsCode(code int) bool
IsCode returns true when this get v1 credit transfers Id events o k response a status code equal to that given
func (*GetV1CreditTransfersIDEventsOK) IsRedirect ¶
func (o *GetV1CreditTransfersIDEventsOK) IsRedirect() bool
IsRedirect returns true when this get v1 credit transfers Id events o k response has a 3xx status code
func (*GetV1CreditTransfersIDEventsOK) IsServerError ¶
func (o *GetV1CreditTransfersIDEventsOK) IsServerError() bool
IsServerError returns true when this get v1 credit transfers Id events o k response has a 5xx status code
func (*GetV1CreditTransfersIDEventsOK) IsSuccess ¶
func (o *GetV1CreditTransfersIDEventsOK) IsSuccess() bool
IsSuccess returns true when this get v1 credit transfers Id events o k response has a 2xx status code
func (*GetV1CreditTransfersIDEventsOK) String ¶
func (o *GetV1CreditTransfersIDEventsOK) String() string
type GetV1CreditTransfersIDEventsOKBody ¶
type GetV1CreditTransfersIDEventsOKBody struct { models.QueryResponse // items Items []*models.Event `json:"items"` }
GetV1CreditTransfersIDEventsOKBody get v1 credit transfers ID events o k body swagger:model GetV1CreditTransfersIDEventsOKBody
func (*GetV1CreditTransfersIDEventsOKBody) ContextValidate ¶
func (o *GetV1CreditTransfersIDEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get v1 credit transfers ID events o k body based on the context it is used
func (*GetV1CreditTransfersIDEventsOKBody) MarshalBinary ¶
func (o *GetV1CreditTransfersIDEventsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetV1CreditTransfersIDEventsOKBody) MarshalJSON ¶
func (o GetV1CreditTransfersIDEventsOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetV1CreditTransfersIDEventsOKBody) UnmarshalBinary ¶
func (o *GetV1CreditTransfersIDEventsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetV1CreditTransfersIDEventsOKBody) UnmarshalJSON ¶
func (o *GetV1CreditTransfersIDEventsOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetV1CreditTransfersIDEventsParams ¶
type GetV1CreditTransfersIDEventsParams struct { /* ID. CreditTransfer ID */ ID string /* Limit. Limit resulting response list. Defaults to 100. */ Limit *int64 /* Token. If response comes back and `nextToken` is populated, use that value in this `token` query to continue pagination. */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1CreditTransfersIDEventsParams contains all the parameters to send to the API endpoint
for the get v1 credit transfers ID events operation. Typically these are written to a http.Request.
func NewGetV1CreditTransfersIDEventsParams ¶
func NewGetV1CreditTransfersIDEventsParams() *GetV1CreditTransfersIDEventsParams
NewGetV1CreditTransfersIDEventsParams creates a new GetV1CreditTransfersIDEventsParams 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 NewGetV1CreditTransfersIDEventsParamsWithContext ¶
func NewGetV1CreditTransfersIDEventsParamsWithContext(ctx context.Context) *GetV1CreditTransfersIDEventsParams
NewGetV1CreditTransfersIDEventsParamsWithContext creates a new GetV1CreditTransfersIDEventsParams object with the ability to set a context for a request.
func NewGetV1CreditTransfersIDEventsParamsWithHTTPClient ¶
func NewGetV1CreditTransfersIDEventsParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersIDEventsParams
NewGetV1CreditTransfersIDEventsParamsWithHTTPClient creates a new GetV1CreditTransfersIDEventsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1CreditTransfersIDEventsParamsWithTimeout ¶
func NewGetV1CreditTransfersIDEventsParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersIDEventsParams
NewGetV1CreditTransfersIDEventsParamsWithTimeout creates a new GetV1CreditTransfersIDEventsParams object with the ability to set a timeout on a request.
func (*GetV1CreditTransfersIDEventsParams) SetContext ¶
func (o *GetV1CreditTransfersIDEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) SetDefaults ¶
func (o *GetV1CreditTransfersIDEventsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 credit transfers ID events params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CreditTransfersIDEventsParams) SetHTTPClient ¶
func (o *GetV1CreditTransfersIDEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) SetID ¶
func (o *GetV1CreditTransfersIDEventsParams) SetID(id string)
SetID adds the id to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) SetLimit ¶
func (o *GetV1CreditTransfersIDEventsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) SetTimeout ¶
func (o *GetV1CreditTransfersIDEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) SetToken ¶
func (o *GetV1CreditTransfersIDEventsParams) SetToken(token *string)
SetToken adds the token to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) WithContext ¶
func (o *GetV1CreditTransfersIDEventsParams) WithContext(ctx context.Context) *GetV1CreditTransfersIDEventsParams
WithContext adds the context to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) WithDefaults ¶
func (o *GetV1CreditTransfersIDEventsParams) WithDefaults() *GetV1CreditTransfersIDEventsParams
WithDefaults hydrates default values in the get v1 credit transfers ID events params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CreditTransfersIDEventsParams) WithHTTPClient ¶
func (o *GetV1CreditTransfersIDEventsParams) WithHTTPClient(client *http.Client) *GetV1CreditTransfersIDEventsParams
WithHTTPClient adds the HTTPClient to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) WithID ¶
func (o *GetV1CreditTransfersIDEventsParams) WithID(id string) *GetV1CreditTransfersIDEventsParams
WithID adds the id to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) WithLimit ¶
func (o *GetV1CreditTransfersIDEventsParams) WithLimit(limit *int64) *GetV1CreditTransfersIDEventsParams
WithLimit adds the limit to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) WithTimeout ¶
func (o *GetV1CreditTransfersIDEventsParams) WithTimeout(timeout time.Duration) *GetV1CreditTransfersIDEventsParams
WithTimeout adds the timeout to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) WithToken ¶
func (o *GetV1CreditTransfersIDEventsParams) WithToken(token *string) *GetV1CreditTransfersIDEventsParams
WithToken adds the token to the get v1 credit transfers ID events params
func (*GetV1CreditTransfersIDEventsParams) WriteToRequest ¶
func (o *GetV1CreditTransfersIDEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1CreditTransfersIDEventsReader ¶
type GetV1CreditTransfersIDEventsReader struct {
// contains filtered or unexported fields
}
GetV1CreditTransfersIDEventsReader is a Reader for the GetV1CreditTransfersIDEvents structure.
func (*GetV1CreditTransfersIDEventsReader) ReadResponse ¶
func (o *GetV1CreditTransfersIDEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1CreditTransfersIDNotFound ¶
type GetV1CreditTransfersIDNotFound struct {
Payload string
}
GetV1CreditTransfersIDNotFound describes a response with status code 404, with default header values.
identified CreditTransfer doesn't exist
func NewGetV1CreditTransfersIDNotFound ¶
func NewGetV1CreditTransfersIDNotFound() *GetV1CreditTransfersIDNotFound
NewGetV1CreditTransfersIDNotFound creates a GetV1CreditTransfersIDNotFound with default headers values
func (*GetV1CreditTransfersIDNotFound) Code ¶
func (o *GetV1CreditTransfersIDNotFound) Code() int
Code gets the status code for the get v1 credit transfers Id not found response
func (*GetV1CreditTransfersIDNotFound) Error ¶
func (o *GetV1CreditTransfersIDNotFound) Error() string
func (*GetV1CreditTransfersIDNotFound) GetPayload ¶
func (o *GetV1CreditTransfersIDNotFound) GetPayload() string
func (*GetV1CreditTransfersIDNotFound) IsClientError ¶
func (o *GetV1CreditTransfersIDNotFound) IsClientError() bool
IsClientError returns true when this get v1 credit transfers Id not found response has a 4xx status code
func (*GetV1CreditTransfersIDNotFound) IsCode ¶
func (o *GetV1CreditTransfersIDNotFound) IsCode(code int) bool
IsCode returns true when this get v1 credit transfers Id not found response a status code equal to that given
func (*GetV1CreditTransfersIDNotFound) IsRedirect ¶
func (o *GetV1CreditTransfersIDNotFound) IsRedirect() bool
IsRedirect returns true when this get v1 credit transfers Id not found response has a 3xx status code
func (*GetV1CreditTransfersIDNotFound) IsServerError ¶
func (o *GetV1CreditTransfersIDNotFound) IsServerError() bool
IsServerError returns true when this get v1 credit transfers Id not found response has a 5xx status code
func (*GetV1CreditTransfersIDNotFound) IsSuccess ¶
func (o *GetV1CreditTransfersIDNotFound) IsSuccess() bool
IsSuccess returns true when this get v1 credit transfers Id not found response has a 2xx status code
func (*GetV1CreditTransfersIDNotFound) String ¶
func (o *GetV1CreditTransfersIDNotFound) String() string
type GetV1CreditTransfersIDOK ¶
GetV1CreditTransfersIDOK describes a response with status code 200, with default header values.
the identified CreditTransfer
func NewGetV1CreditTransfersIDOK ¶
func NewGetV1CreditTransfersIDOK() *GetV1CreditTransfersIDOK
NewGetV1CreditTransfersIDOK creates a GetV1CreditTransfersIDOK with default headers values
func (*GetV1CreditTransfersIDOK) Code ¶
func (o *GetV1CreditTransfersIDOK) Code() int
Code gets the status code for the get v1 credit transfers Id o k response
func (*GetV1CreditTransfersIDOK) Error ¶
func (o *GetV1CreditTransfersIDOK) Error() string
func (*GetV1CreditTransfersIDOK) GetPayload ¶
func (o *GetV1CreditTransfersIDOK) GetPayload() *models.Payment
func (*GetV1CreditTransfersIDOK) IsClientError ¶
func (o *GetV1CreditTransfersIDOK) IsClientError() bool
IsClientError returns true when this get v1 credit transfers Id o k response has a 4xx status code
func (*GetV1CreditTransfersIDOK) IsCode ¶
func (o *GetV1CreditTransfersIDOK) IsCode(code int) bool
IsCode returns true when this get v1 credit transfers Id o k response a status code equal to that given
func (*GetV1CreditTransfersIDOK) IsRedirect ¶
func (o *GetV1CreditTransfersIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 credit transfers Id o k response has a 3xx status code
func (*GetV1CreditTransfersIDOK) IsServerError ¶
func (o *GetV1CreditTransfersIDOK) IsServerError() bool
IsServerError returns true when this get v1 credit transfers Id o k response has a 5xx status code
func (*GetV1CreditTransfersIDOK) IsSuccess ¶
func (o *GetV1CreditTransfersIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 credit transfers Id o k response has a 2xx status code
func (*GetV1CreditTransfersIDOK) String ¶
func (o *GetV1CreditTransfersIDOK) String() string
type GetV1CreditTransfersIDParams ¶
type GetV1CreditTransfersIDParams struct { /* ID. CreditTransfer ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1CreditTransfersIDParams contains all the parameters to send to the API endpoint
for the get v1 credit transfers ID operation. Typically these are written to a http.Request.
func NewGetV1CreditTransfersIDParams ¶
func NewGetV1CreditTransfersIDParams() *GetV1CreditTransfersIDParams
NewGetV1CreditTransfersIDParams creates a new GetV1CreditTransfersIDParams 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 NewGetV1CreditTransfersIDParamsWithContext ¶
func NewGetV1CreditTransfersIDParamsWithContext(ctx context.Context) *GetV1CreditTransfersIDParams
NewGetV1CreditTransfersIDParamsWithContext creates a new GetV1CreditTransfersIDParams object with the ability to set a context for a request.
func NewGetV1CreditTransfersIDParamsWithHTTPClient ¶
func NewGetV1CreditTransfersIDParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersIDParams
NewGetV1CreditTransfersIDParamsWithHTTPClient creates a new GetV1CreditTransfersIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1CreditTransfersIDParamsWithTimeout ¶
func NewGetV1CreditTransfersIDParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersIDParams
NewGetV1CreditTransfersIDParamsWithTimeout creates a new GetV1CreditTransfersIDParams object with the ability to set a timeout on a request.
func (*GetV1CreditTransfersIDParams) SetContext ¶
func (o *GetV1CreditTransfersIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 credit transfers ID params
func (*GetV1CreditTransfersIDParams) SetDefaults ¶
func (o *GetV1CreditTransfersIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 credit transfers ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CreditTransfersIDParams) SetHTTPClient ¶
func (o *GetV1CreditTransfersIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 credit transfers ID params
func (*GetV1CreditTransfersIDParams) SetID ¶
func (o *GetV1CreditTransfersIDParams) SetID(id string)
SetID adds the id to the get v1 credit transfers ID params
func (*GetV1CreditTransfersIDParams) SetTimeout ¶
func (o *GetV1CreditTransfersIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 credit transfers ID params
func (*GetV1CreditTransfersIDParams) WithContext ¶
func (o *GetV1CreditTransfersIDParams) WithContext(ctx context.Context) *GetV1CreditTransfersIDParams
WithContext adds the context to the get v1 credit transfers ID params
func (*GetV1CreditTransfersIDParams) WithDefaults ¶
func (o *GetV1CreditTransfersIDParams) WithDefaults() *GetV1CreditTransfersIDParams
WithDefaults hydrates default values in the get v1 credit transfers ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CreditTransfersIDParams) WithHTTPClient ¶
func (o *GetV1CreditTransfersIDParams) WithHTTPClient(client *http.Client) *GetV1CreditTransfersIDParams
WithHTTPClient adds the HTTPClient to the get v1 credit transfers ID params
func (*GetV1CreditTransfersIDParams) WithID ¶
func (o *GetV1CreditTransfersIDParams) WithID(id string) *GetV1CreditTransfersIDParams
WithID adds the id to the get v1 credit transfers ID params
func (*GetV1CreditTransfersIDParams) WithTimeout ¶
func (o *GetV1CreditTransfersIDParams) WithTimeout(timeout time.Duration) *GetV1CreditTransfersIDParams
WithTimeout adds the timeout to the get v1 credit transfers ID params
func (*GetV1CreditTransfersIDParams) WriteToRequest ¶
func (o *GetV1CreditTransfersIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1CreditTransfersIDReader ¶
type GetV1CreditTransfersIDReader struct {
// contains filtered or unexported fields
}
GetV1CreditTransfersIDReader is a Reader for the GetV1CreditTransfersID structure.
func (*GetV1CreditTransfersIDReader) ReadResponse ¶
func (o *GetV1CreditTransfersIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1CreditTransfersOK ¶
type GetV1CreditTransfersOK struct {
Payload *GetV1CreditTransfersOKBody
}
GetV1CreditTransfersOK describes a response with status code 200, with default header values.
QueryResponse with list of CreditTransfers
func NewGetV1CreditTransfersOK ¶
func NewGetV1CreditTransfersOK() *GetV1CreditTransfersOK
NewGetV1CreditTransfersOK creates a GetV1CreditTransfersOK with default headers values
func (*GetV1CreditTransfersOK) Code ¶
func (o *GetV1CreditTransfersOK) Code() int
Code gets the status code for the get v1 credit transfers o k response
func (*GetV1CreditTransfersOK) Error ¶
func (o *GetV1CreditTransfersOK) Error() string
func (*GetV1CreditTransfersOK) GetPayload ¶
func (o *GetV1CreditTransfersOK) GetPayload() *GetV1CreditTransfersOKBody
func (*GetV1CreditTransfersOK) IsClientError ¶
func (o *GetV1CreditTransfersOK) IsClientError() bool
IsClientError returns true when this get v1 credit transfers o k response has a 4xx status code
func (*GetV1CreditTransfersOK) IsCode ¶
func (o *GetV1CreditTransfersOK) IsCode(code int) bool
IsCode returns true when this get v1 credit transfers o k response a status code equal to that given
func (*GetV1CreditTransfersOK) IsRedirect ¶
func (o *GetV1CreditTransfersOK) IsRedirect() bool
IsRedirect returns true when this get v1 credit transfers o k response has a 3xx status code
func (*GetV1CreditTransfersOK) IsServerError ¶
func (o *GetV1CreditTransfersOK) IsServerError() bool
IsServerError returns true when this get v1 credit transfers o k response has a 5xx status code
func (*GetV1CreditTransfersOK) IsSuccess ¶
func (o *GetV1CreditTransfersOK) IsSuccess() bool
IsSuccess returns true when this get v1 credit transfers o k response has a 2xx status code
func (*GetV1CreditTransfersOK) String ¶
func (o *GetV1CreditTransfersOK) String() string
type GetV1CreditTransfersOKBody ¶
type GetV1CreditTransfersOKBody struct { models.QueryResponse // items Items []*models.Payment `json:"items"` }
GetV1CreditTransfersOKBody get v1 credit transfers o k body swagger:model GetV1CreditTransfersOKBody
func (*GetV1CreditTransfersOKBody) ContextValidate ¶
func (o *GetV1CreditTransfersOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get v1 credit transfers o k body based on the context it is used
func (*GetV1CreditTransfersOKBody) MarshalBinary ¶
func (o *GetV1CreditTransfersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetV1CreditTransfersOKBody) MarshalJSON ¶
func (o GetV1CreditTransfersOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetV1CreditTransfersOKBody) UnmarshalBinary ¶
func (o *GetV1CreditTransfersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetV1CreditTransfersOKBody) UnmarshalJSON ¶
func (o *GetV1CreditTransfersOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetV1CreditTransfersParams ¶
type GetV1CreditTransfersParams struct { /* AccountID. Filters out transfers for the given source account. */ AccountID *string /* FromDate. Filters out transfers with date after or equal to the given date. Format as `yyyy-mm-dd`. */ FromDate *string /* Limit. Limit resulting response list.Value must be between 1 and 500 (higher values will be coerced down to 500). Defaults to 100. */ Limit *int64 /* Status. Filters out transfers with the given status. */ Status *string /* ToDate. Filters out transfers with date before or equal to the given date. Format as `yyyy-mm-dd`. */ ToDate *string /* Token. If response comes back and `nextToken` is populated, use that value in this `token` query to continue pagination. */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1CreditTransfersParams contains all the parameters to send to the API endpoint
for the get v1 credit transfers operation. Typically these are written to a http.Request.
func NewGetV1CreditTransfersParams ¶
func NewGetV1CreditTransfersParams() *GetV1CreditTransfersParams
NewGetV1CreditTransfersParams creates a new GetV1CreditTransfersParams 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 NewGetV1CreditTransfersParamsWithContext ¶
func NewGetV1CreditTransfersParamsWithContext(ctx context.Context) *GetV1CreditTransfersParams
NewGetV1CreditTransfersParamsWithContext creates a new GetV1CreditTransfersParams object with the ability to set a context for a request.
func NewGetV1CreditTransfersParamsWithHTTPClient ¶
func NewGetV1CreditTransfersParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersParams
NewGetV1CreditTransfersParamsWithHTTPClient creates a new GetV1CreditTransfersParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1CreditTransfersParamsWithTimeout ¶
func NewGetV1CreditTransfersParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersParams
NewGetV1CreditTransfersParamsWithTimeout creates a new GetV1CreditTransfersParams object with the ability to set a timeout on a request.
func (*GetV1CreditTransfersParams) SetAccountID ¶
func (o *GetV1CreditTransfersParams) SetAccountID(accountID *string)
SetAccountID adds the accountId to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) SetContext ¶
func (o *GetV1CreditTransfersParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) SetDefaults ¶
func (o *GetV1CreditTransfersParams) SetDefaults()
SetDefaults hydrates default values in the get v1 credit transfers params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CreditTransfersParams) SetFromDate ¶
func (o *GetV1CreditTransfersParams) SetFromDate(fromDate *string)
SetFromDate adds the fromDate to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) SetHTTPClient ¶
func (o *GetV1CreditTransfersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) SetLimit ¶
func (o *GetV1CreditTransfersParams) SetLimit(limit *int64)
SetLimit adds the limit to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) SetStatus ¶
func (o *GetV1CreditTransfersParams) SetStatus(status *string)
SetStatus adds the status to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) SetTimeout ¶
func (o *GetV1CreditTransfersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) SetToDate ¶
func (o *GetV1CreditTransfersParams) SetToDate(toDate *string)
SetToDate adds the toDate to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) SetToken ¶
func (o *GetV1CreditTransfersParams) SetToken(token *string)
SetToken adds the token to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithAccountID ¶
func (o *GetV1CreditTransfersParams) WithAccountID(accountID *string) *GetV1CreditTransfersParams
WithAccountID adds the accountID to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithContext ¶
func (o *GetV1CreditTransfersParams) WithContext(ctx context.Context) *GetV1CreditTransfersParams
WithContext adds the context to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithDefaults ¶
func (o *GetV1CreditTransfersParams) WithDefaults() *GetV1CreditTransfersParams
WithDefaults hydrates default values in the get v1 credit transfers params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CreditTransfersParams) WithFromDate ¶
func (o *GetV1CreditTransfersParams) WithFromDate(fromDate *string) *GetV1CreditTransfersParams
WithFromDate adds the fromDate to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithHTTPClient ¶
func (o *GetV1CreditTransfersParams) WithHTTPClient(client *http.Client) *GetV1CreditTransfersParams
WithHTTPClient adds the HTTPClient to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithLimit ¶
func (o *GetV1CreditTransfersParams) WithLimit(limit *int64) *GetV1CreditTransfersParams
WithLimit adds the limit to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithStatus ¶
func (o *GetV1CreditTransfersParams) WithStatus(status *string) *GetV1CreditTransfersParams
WithStatus adds the status to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithTimeout ¶
func (o *GetV1CreditTransfersParams) WithTimeout(timeout time.Duration) *GetV1CreditTransfersParams
WithTimeout adds the timeout to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithToDate ¶
func (o *GetV1CreditTransfersParams) WithToDate(toDate *string) *GetV1CreditTransfersParams
WithToDate adds the toDate to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WithToken ¶
func (o *GetV1CreditTransfersParams) WithToken(token *string) *GetV1CreditTransfersParams
WithToken adds the token to the get v1 credit transfers params
func (*GetV1CreditTransfersParams) WriteToRequest ¶
func (o *GetV1CreditTransfersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1CreditTransfersReader ¶
type GetV1CreditTransfersReader struct {
// contains filtered or unexported fields
}
GetV1CreditTransfersReader is a Reader for the GetV1CreditTransfers structure.
func (*GetV1CreditTransfersReader) ReadResponse ¶
func (o *GetV1CreditTransfersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1CreditTransfersBadRequest ¶ added in v1.3.0
type PostV1CreditTransfersBadRequest struct {
Payload *models.ErrorResponse
}
PostV1CreditTransfersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPostV1CreditTransfersBadRequest ¶ added in v1.3.0
func NewPostV1CreditTransfersBadRequest() *PostV1CreditTransfersBadRequest
NewPostV1CreditTransfersBadRequest creates a PostV1CreditTransfersBadRequest with default headers values
func (*PostV1CreditTransfersBadRequest) Code ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) Code() int
Code gets the status code for the post v1 credit transfers bad request response
func (*PostV1CreditTransfersBadRequest) Error ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) Error() string
func (*PostV1CreditTransfersBadRequest) GetPayload ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) GetPayload() *models.ErrorResponse
func (*PostV1CreditTransfersBadRequest) IsClientError ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) IsClientError() bool
IsClientError returns true when this post v1 credit transfers bad request response has a 4xx status code
func (*PostV1CreditTransfersBadRequest) IsCode ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) IsCode(code int) bool
IsCode returns true when this post v1 credit transfers bad request response a status code equal to that given
func (*PostV1CreditTransfersBadRequest) IsRedirect ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) IsRedirect() bool
IsRedirect returns true when this post v1 credit transfers bad request response has a 3xx status code
func (*PostV1CreditTransfersBadRequest) IsServerError ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) IsServerError() bool
IsServerError returns true when this post v1 credit transfers bad request response has a 5xx status code
func (*PostV1CreditTransfersBadRequest) IsSuccess ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) IsSuccess() bool
IsSuccess returns true when this post v1 credit transfers bad request response has a 2xx status code
func (*PostV1CreditTransfersBadRequest) String ¶ added in v1.3.0
func (o *PostV1CreditTransfersBadRequest) String() string
type PostV1CreditTransfersCreated ¶
PostV1CreditTransfersCreated describes a response with status code 201, with default header values.
The created CreditTransfer
func NewPostV1CreditTransfersCreated ¶
func NewPostV1CreditTransfersCreated() *PostV1CreditTransfersCreated
NewPostV1CreditTransfersCreated creates a PostV1CreditTransfersCreated with default headers values
func (*PostV1CreditTransfersCreated) Code ¶
func (o *PostV1CreditTransfersCreated) Code() int
Code gets the status code for the post v1 credit transfers created response
func (*PostV1CreditTransfersCreated) Error ¶
func (o *PostV1CreditTransfersCreated) Error() string
func (*PostV1CreditTransfersCreated) GetPayload ¶
func (o *PostV1CreditTransfersCreated) GetPayload() *models.Payment
func (*PostV1CreditTransfersCreated) IsClientError ¶
func (o *PostV1CreditTransfersCreated) IsClientError() bool
IsClientError returns true when this post v1 credit transfers created response has a 4xx status code
func (*PostV1CreditTransfersCreated) IsCode ¶
func (o *PostV1CreditTransfersCreated) IsCode(code int) bool
IsCode returns true when this post v1 credit transfers created response a status code equal to that given
func (*PostV1CreditTransfersCreated) IsRedirect ¶
func (o *PostV1CreditTransfersCreated) IsRedirect() bool
IsRedirect returns true when this post v1 credit transfers created response has a 3xx status code
func (*PostV1CreditTransfersCreated) IsServerError ¶
func (o *PostV1CreditTransfersCreated) IsServerError() bool
IsServerError returns true when this post v1 credit transfers created response has a 5xx status code
func (*PostV1CreditTransfersCreated) IsSuccess ¶
func (o *PostV1CreditTransfersCreated) IsSuccess() bool
IsSuccess returns true when this post v1 credit transfers created response has a 2xx status code
func (*PostV1CreditTransfersCreated) String ¶
func (o *PostV1CreditTransfersCreated) String() string
type PostV1CreditTransfersParams ¶
type PostV1CreditTransfersParams struct { /* CreditTransfer. CreditTransfer */ CreditTransfer *models.CreatePaymentRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1CreditTransfersParams contains all the parameters to send to the API endpoint
for the post v1 credit transfers operation. Typically these are written to a http.Request.
func NewPostV1CreditTransfersParams ¶
func NewPostV1CreditTransfersParams() *PostV1CreditTransfersParams
NewPostV1CreditTransfersParams creates a new PostV1CreditTransfersParams 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 NewPostV1CreditTransfersParamsWithContext ¶
func NewPostV1CreditTransfersParamsWithContext(ctx context.Context) *PostV1CreditTransfersParams
NewPostV1CreditTransfersParamsWithContext creates a new PostV1CreditTransfersParams object with the ability to set a context for a request.
func NewPostV1CreditTransfersParamsWithHTTPClient ¶
func NewPostV1CreditTransfersParamsWithHTTPClient(client *http.Client) *PostV1CreditTransfersParams
NewPostV1CreditTransfersParamsWithHTTPClient creates a new PostV1CreditTransfersParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1CreditTransfersParamsWithTimeout ¶
func NewPostV1CreditTransfersParamsWithTimeout(timeout time.Duration) *PostV1CreditTransfersParams
NewPostV1CreditTransfersParamsWithTimeout creates a new PostV1CreditTransfersParams object with the ability to set a timeout on a request.
func (*PostV1CreditTransfersParams) SetContext ¶
func (o *PostV1CreditTransfersParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 credit transfers params
func (*PostV1CreditTransfersParams) SetCreditTransfer ¶
func (o *PostV1CreditTransfersParams) SetCreditTransfer(creditTransfer *models.CreatePaymentRequest)
SetCreditTransfer adds the creditTransfer to the post v1 credit transfers params
func (*PostV1CreditTransfersParams) SetDefaults ¶
func (o *PostV1CreditTransfersParams) SetDefaults()
SetDefaults hydrates default values in the post v1 credit transfers params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1CreditTransfersParams) SetHTTPClient ¶
func (o *PostV1CreditTransfersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 credit transfers params
func (*PostV1CreditTransfersParams) SetTimeout ¶
func (o *PostV1CreditTransfersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 credit transfers params
func (*PostV1CreditTransfersParams) WithContext ¶
func (o *PostV1CreditTransfersParams) WithContext(ctx context.Context) *PostV1CreditTransfersParams
WithContext adds the context to the post v1 credit transfers params
func (*PostV1CreditTransfersParams) WithCreditTransfer ¶
func (o *PostV1CreditTransfersParams) WithCreditTransfer(creditTransfer *models.CreatePaymentRequest) *PostV1CreditTransfersParams
WithCreditTransfer adds the creditTransfer to the post v1 credit transfers params
func (*PostV1CreditTransfersParams) WithDefaults ¶
func (o *PostV1CreditTransfersParams) WithDefaults() *PostV1CreditTransfersParams
WithDefaults hydrates default values in the post v1 credit transfers params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1CreditTransfersParams) WithHTTPClient ¶
func (o *PostV1CreditTransfersParams) WithHTTPClient(client *http.Client) *PostV1CreditTransfersParams
WithHTTPClient adds the HTTPClient to the post v1 credit transfers params
func (*PostV1CreditTransfersParams) WithTimeout ¶
func (o *PostV1CreditTransfersParams) WithTimeout(timeout time.Duration) *PostV1CreditTransfersParams
WithTimeout adds the timeout to the post v1 credit transfers params
func (*PostV1CreditTransfersParams) WriteToRequest ¶
func (o *PostV1CreditTransfersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1CreditTransfersReader ¶
type PostV1CreditTransfersReader struct {
// contains filtered or unexported fields
}
PostV1CreditTransfersReader is a Reader for the PostV1CreditTransfers structure.
func (*PostV1CreditTransfersReader) ReadResponse ¶
func (o *PostV1CreditTransfersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted ¶ added in v1.3.0
PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted describes a response with status code 202, with default header values.
The, now, approved identified CreditTransfer
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDAccepted ¶ added in v1.3.0
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDAccepted() *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted
NewPutV1CreditTransfersIDApprovalsApprovalStepIDAccepted creates a PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted with default headers values
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) Code ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) Code() int
Code gets the status code for the put v1 credit transfers Id approvals approval step Id accepted response
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) Error ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) Error() string
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) GetPayload ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) GetPayload() *models.Payment
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsClientError ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsClientError() bool
IsClientError returns true when this put v1 credit transfers Id approvals approval step Id accepted response has a 4xx status code
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsCode ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsCode(code int) bool
IsCode returns true when this put v1 credit transfers Id approvals approval step Id accepted response a status code equal to that given
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsRedirect ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsRedirect() bool
IsRedirect returns true when this put v1 credit transfers Id approvals approval step Id accepted response has a 3xx status code
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsServerError ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsServerError() bool
IsServerError returns true when this put v1 credit transfers Id approvals approval step Id accepted response has a 5xx status code
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsSuccess ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsSuccess() bool
IsSuccess returns true when this put v1 credit transfers Id approvals approval step Id accepted response has a 2xx status code
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) String ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) String() string
type PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest ¶ added in v1.3.0
type PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest struct {
Payload *models.ErrorResponse
}
PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest ¶ added in v1.3.0
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest() *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest
NewPutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest creates a PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest with default headers values
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) Code ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) Code() int
Code gets the status code for the put v1 credit transfers Id approvals approval step Id bad request response
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) Error ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) Error() string
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) GetPayload ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) GetPayload() *models.ErrorResponse
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsClientError ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsClientError() bool
IsClientError returns true when this put v1 credit transfers Id approvals approval step Id bad request response has a 4xx status code
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsCode ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsCode(code int) bool
IsCode returns true when this put v1 credit transfers Id approvals approval step Id bad request response a status code equal to that given
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsRedirect ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put v1 credit transfers Id approvals approval step Id bad request response has a 3xx status code
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsServerError ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsServerError() bool
IsServerError returns true when this put v1 credit transfers Id approvals approval step Id bad request response has a 5xx status code
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsSuccess ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put v1 credit transfers Id approvals approval step Id bad request response has a 2xx status code
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) String ¶ added in v1.3.0
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) String() string
type PutV1CreditTransfersIDApprovalsApprovalStepIDParams ¶
type PutV1CreditTransfersIDApprovalsApprovalStepIDParams struct { /* IfMatch. The ETag of the CreditTransfer */ IfMatch *string /* ApprovalStepID. The id of the approval step to be approved */ ApprovalStepID string /* ID. CreditTransfer ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutV1CreditTransfersIDApprovalsApprovalStepIDParams contains all the parameters to send to the API endpoint
for the put v1 credit transfers ID approvals approval step ID operation. Typically these are written to a http.Request.
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParams ¶
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParams() *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
NewPutV1CreditTransfersIDApprovalsApprovalStepIDParams creates a new PutV1CreditTransfersIDApprovalsApprovalStepIDParams 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 NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithContext ¶
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithContext(ctx context.Context) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithContext creates a new PutV1CreditTransfersIDApprovalsApprovalStepIDParams object with the ability to set a context for a request.
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithHTTPClient ¶
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithHTTPClient(client *http.Client) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithHTTPClient creates a new PutV1CreditTransfersIDApprovalsApprovalStepIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithTimeout ¶
func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithTimeout(timeout time.Duration) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithTimeout creates a new PutV1CreditTransfersIDApprovalsApprovalStepIDParams object with the ability to set a timeout on a request.
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetApprovalStepID ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetApprovalStepID(approvalStepID string)
SetApprovalStepID adds the approvalStepId to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetContext ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetDefaults ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetDefaults()
SetDefaults hydrates default values in the put v1 credit transfers ID approvals approval step ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetHTTPClient ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetID ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetID(id string)
SetID adds the id to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetIfMatch ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetTimeout ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithApprovalStepID ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithApprovalStepID(approvalStepID string) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
WithApprovalStepID adds the approvalStepID to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithContext ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithContext(ctx context.Context) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
WithContext adds the context to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithDefaults ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithDefaults() *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
WithDefaults hydrates default values in the put v1 credit transfers ID approvals approval step ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithHTTPClient ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithHTTPClient(client *http.Client) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
WithHTTPClient adds the HTTPClient to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithID ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithID(id string) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
WithID adds the id to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithIfMatch ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithIfMatch(ifMatch *string) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
WithIfMatch adds the ifMatch to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithTimeout ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithTimeout(timeout time.Duration) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams
WithTimeout adds the timeout to the put v1 credit transfers ID approvals approval step ID params
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WriteToRequest ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutV1CreditTransfersIDApprovalsApprovalStepIDReader ¶
type PutV1CreditTransfersIDApprovalsApprovalStepIDReader struct {
// contains filtered or unexported fields
}
PutV1CreditTransfersIDApprovalsApprovalStepIDReader is a Reader for the PutV1CreditTransfersIDApprovalsApprovalStepID structure.
func (*PutV1CreditTransfersIDApprovalsApprovalStepIDReader) ReadResponse ¶
func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- credit_transfers_client.go
- delete_v1_credit_transfers_id_approvals_parameters.go
- delete_v1_credit_transfers_id_approvals_responses.go
- get_v1_credit_transfers_get_by_external_id_external_id_parameters.go
- get_v1_credit_transfers_get_by_external_id_external_id_responses.go
- get_v1_credit_transfers_id_events_parameters.go
- get_v1_credit_transfers_id_events_responses.go
- get_v1_credit_transfers_id_parameters.go
- get_v1_credit_transfers_id_responses.go
- get_v1_credit_transfers_parameters.go
- get_v1_credit_transfers_responses.go
- post_v1_credit_transfers_parameters.go
- post_v1_credit_transfers_responses.go
- put_v1_credit_transfers_id_approvals_approval_step_id_parameters.go
- put_v1_credit_transfers_id_approvals_approval_step_id_responses.go