Changeset View
Changeset View
Standalone View
Standalone View
src/qt/paymentrequestplus.h
Show All 31 Lines | public: | ||||
bool SerializeToString(std::string *output) const; | bool SerializeToString(std::string *output) const; | ||||
bool IsInitialized() const; | bool IsInitialized() const; | ||||
// Returns true if merchant's identity is authenticated, and returns | // Returns true if merchant's identity is authenticated, and returns | ||||
// human-readable merchant identity in merchant | // human-readable merchant identity in merchant | ||||
bool getMerchant(X509_STORE *certStore, QString &merchant) const; | bool getMerchant(X509_STORE *certStore, QString &merchant) const; | ||||
// Returns list of outputs, amount | // Returns list of outputs, amount | ||||
QList<std::pair<CScript, CAmount>> getPayTo() const; | QList<std::pair<CScript, Amount>> getPayTo() const; | ||||
const payments::PaymentDetails &getDetails() const { return details; } | const payments::PaymentDetails &getDetails() const { return details; } | ||||
private: | private: | ||||
payments::PaymentRequest paymentRequest; | payments::PaymentRequest paymentRequest; | ||||
payments::PaymentDetails details; | payments::PaymentDetails details; | ||||
}; | }; | ||||
#endif // BITCOIN_QT_PAYMENTREQUESTPLUS_H | #endif // BITCOIN_QT_PAYMENTREQUESTPLUS_H |