Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
PaymentRequestPlus Class Reference

#include <paymentrequestplus.h>

+ Collaboration diagram for PaymentRequestPlus:

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::PaymentDetailsgetDetails () const
 

Private Attributes

payments::PaymentRequest paymentRequest
 
payments::PaymentDetails details
 

Detailed Description

Definition at line 21 of file paymentrequestplus.h.

Constructor & Destructor Documentation

PaymentRequestPlus::PaymentRequestPlus ( )
inline

Definition at line 24 of file paymentrequestplus.h.

Member Function Documentation

const payments::PaymentDetails& PaymentRequestPlus::getDetails ( ) const
inline

Definition at line 38 of file paymentrequestplus.h.

References details.

Referenced by PaymentServer::fetchPaymentACK(), SendCoinsDialog::handlePaymentRequest(), PaymentServer::ipcParseCommandLine(), WalletModel::prepareTransaction(), and PaymentServer::processPaymentRequest().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QString PaymentRequestPlus::getPKIType ( ) const

Definition at line 59 of file paymentrequestplus.cpp.

References IsInitialized(), paymentRequest, and payments::PaymentRequest::pki_type().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool PaymentRequestPlus::SerializeToString ( string *  output) const

Definition at line 49 of file paymentrequestplus.cpp.

References paymentRequest.

Referenced by WalletModel::sendCoins().

+ Here is the caller graph for this function:

Member Data Documentation

payments::PaymentDetails PaymentRequestPlus::details
private

Definition at line 42 of file paymentrequestplus.h.

Referenced by getDetails(), getPayTo(), and parse().

payments::PaymentRequest PaymentRequestPlus::paymentRequest
private

Definition at line 41 of file paymentrequestplus.h.

Referenced by getMerchant(), getPKIType(), IsInitialized(), parse(), and SerializeToString().


The documentation for this class was generated from the following files: