![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
#include <paymentrequestplus.h>
Public Member Functions | |
PaymentRequestPlus () | |
bool | parse (const QByteArray &data) |
bool | SerializeToString (string *output) const |
bool | IsInitialized () const |
QString | getPKIType () const |
bool | getMerchant (X509_STORE *certStore, QString &merchant) const |
QList< std::pair< CScript, qint64 > > | getPayTo () const |
const payments::PaymentDetails & | getDetails () const |
Private Attributes | |
payments::PaymentRequest | paymentRequest |
payments::PaymentDetails | details |
Definition at line 21 of file paymentrequestplus.h.
|
inline |
Definition at line 24 of file paymentrequestplus.h.
|
inline |
Definition at line 38 of file paymentrequestplus.h.
References details.
Referenced by PaymentServer::fetchPaymentACK(), SendCoinsDialog::handlePaymentRequest(), PaymentServer::ipcParseCommandLine(), WalletModel::prepareTransaction(), and PaymentServer::processPaymentRequest().
bool PaymentRequestPlus::getMerchant | ( | X509_STORE * | certStore, |
QString & | merchant | ||
) | const |
Definition at line 65 of file paymentrequestplus.cpp.
References payments::X509Certificates::certificate(), payments::X509Certificates::certificate_size(), Checkpoints::data, error(), IsInitialized(), paymentRequest, payments::PaymentRequest::pki_data(), payments::PaymentRequest::pki_type(), payments::PaymentRequest::set_signature(), and payments::PaymentRequest::signature().
Referenced by PaymentServer::processPaymentRequest(), and TransactionDesc::toHTML().
QList< std::pair< CScript, qint64 > > PaymentRequestPlus::getPayTo | ( | ) | const |
Definition at line 197 of file paymentrequestplus.cpp.
References payments::Output::amount(), details, payments::PaymentDetails::outputs(), payments::PaymentDetails::outputs_size(), and payments::Output::script().
Referenced by PaymentServer::processPaymentRequest().
QString PaymentRequestPlus::getPKIType | ( | ) | const |
Definition at line 59 of file paymentrequestplus.cpp.
References IsInitialized(), paymentRequest, and payments::PaymentRequest::pki_type().
bool PaymentRequestPlus::IsInitialized | ( | ) | const |
Definition at line 54 of file paymentrequestplus.cpp.
References payments::PaymentRequest::IsInitialized(), and paymentRequest.
Referenced by getMerchant(), getPKIType(), SendCoinsEntry::getValue(), SendCoinsDialog::handlePaymentRequest(), SendCoinsDialog::on_sendButton_clicked(), WalletModel::prepareTransaction(), WalletModel::sendCoins(), SendCoinsEntry::setValue(), and SendCoinsEntry::validate().
bool PaymentRequestPlus::parse | ( | const QByteArray & | data | ) |
Definition at line 27 of file paymentrequestplus.cpp.
References payments::PaymentRequest::Clear(), details, payments::PaymentRequest::payment_details_version(), paymentRequest, and payments::PaymentRequest::serialized_payment_details().
Referenced by PaymentServer::netRequestFinished(), PaymentServer::readPaymentRequest(), and TransactionDesc::toHTML().
bool PaymentRequestPlus::SerializeToString | ( | string * | output | ) | const |
Definition at line 49 of file paymentrequestplus.cpp.
References paymentRequest.
Referenced by WalletModel::sendCoins().
|
private |
Definition at line 42 of file paymentrequestplus.h.
Referenced by getDetails(), getPayTo(), and parse().
|
private |
Definition at line 41 of file paymentrequestplus.h.
Referenced by getMerchant(), getPKIType(), IsInitialized(), parse(), and SerializeToString().