Wt: Wt::Payment::Approval Class Reference

Wt 4.10.4

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Wt::Payment::Approval Class Reference

A class that represents the result of a payment. More...

`#include <Wt/Payment/Result.h>`

Inheritance diagram for Wt::Payment::Approval:
[legend]

## Public Types
typedef ApprovalOutcome | Outcome
| Typedef for enum Wt::Payment::ApprovalOutcome.

## Public Member Functions
| Approval (ApprovalOutcome outcome)
| Constructor.
| Approval (const WString &errorMessage)
| Constructor for an interrupted payment.
ApprovalOutcome | outcome () const
| Returns the outcome.
Public Member Functions inherited from Wt::Payment::Result
| Result ()
| Default constructor.
| Result (const WString &errorMessage)
| Constructor with an error message.
bool | error () const
| Returns whether the result indicates success.
WString | errorMessage () const
| Returns the error message.
void | setRequestMessage (const std::map< std::string, std::string > &msg)
| Sets the request parameters.
std::map< std::string, std::string > | requestMessage () const
| Returns the request parameters.
void | setResponseMessage (const std::map< std::string, std::string > &msg)
| Sets the response parameters.
std::map< std::string, std::string > | responseMessage () const
| Returns the response parameters.

## Detailed Description

A class that represents the result of a payment.