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

#include <paymentrequest.pb.h>

+ Inheritance diagram for payments::Payment:
+ Collaboration diagram for payments::Payment:

Public Member Functions

 Payment ()
 
virtual ~Payment ()
 
 Payment (const Payment &from)
 
Paymentoperator= (const Payment &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Payment *other)
 
PaymentNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Payment &from)
 
void MergeFrom (const Payment &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_merchant_data () const
 
void clear_merchant_data ()
 
const ::std::string & merchant_data () const
 
void set_merchant_data (const ::std::string &value)
 
void set_merchant_data (const char *value)
 
void set_merchant_data (const void *value, size_t size)
 
inline::std::string * mutable_merchant_data ()
 
inline::std::string * release_merchant_data ()
 
void set_allocated_merchant_data (::std::string *merchant_data)
 
int transactions_size () const
 
void clear_transactions ()
 
const ::std::string & transactions (int index) const
 
inline::std::string * mutable_transactions (int index)
 
void set_transactions (int index, const ::std::string &value)
 
void set_transactions (int index, const char *value)
 
void set_transactions (int index, const void *value, size_t size)
 
inline::std::string * add_transactions ()
 
void add_transactions (const ::std::string &value)
 
void add_transactions (const char *value)
 
void add_transactions (const void *value, size_t size)
 
const ::google::protobuf::RepeatedPtrField< ::std::string > & transactions () const
 
inline::google::protobuf::RepeatedPtrField< ::std::string > * mutable_transactions ()
 
int refund_to_size () const
 
void clear_refund_to ()
 
const ::payments::Outputrefund_to (int index) const
 
inline::payments::Output * mutable_refund_to (int index)
 
inline::payments::Output * add_refund_to ()
 
const ::google::protobuf::RepeatedPtrField< ::payments::Output > & refund_to () const
 
inline::google::protobuf::RepeatedPtrField< ::payments::Output > * mutable_refund_to ()
 
bool has_memo () const
 
void clear_memo ()
 
const ::std::string & memo () const
 
void set_memo (const ::std::string &value)
 
void set_memo (const char *value)
 
void set_memo (const char *value, size_t size)
 
inline::std::string * mutable_memo ()
 
inline::std::string * release_memo ()
 
void set_allocated_memo (::std::string *memo)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const Paymentdefault_instance ()
 

Static Public Attributes

static const int kMerchantDataFieldNumber = 1
 
static const int kTransactionsFieldNumber = 2
 
static const int kRefundToFieldNumber = 3
 
static const int kMemoFieldNumber = 4
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_merchant_data ()
 
void clear_has_merchant_data ()
 
void set_has_memo ()
 
void clear_has_memo ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::std::string * merchant_data_
 
::google::protobuf::RepeatedPtrField< ::std::string > transactions_
 
::google::protobuf::RepeatedPtrField< ::payments::Outputrefund_to_
 
::std::string * memo_
 
int _cached_size_
 
::google::protobuf::uint32 _has_bits_ [(4+31)/32]
 

Static Private Attributes

static Paymentdefault_instance_ = NULL
 

Friends

void protobuf_AddDesc_paymentrequest_2eproto ()
 
void protobuf_AssignDesc_paymentrequest_2eproto ()
 
void protobuf_ShutdownFile_paymentrequest_2eproto ()
 

Detailed Description

Definition at line 540 of file paymentrequest.pb.h.

Constructor & Destructor Documentation

payments::Payment::Payment ( )

Definition at line 1643 of file paymentrequest.pb.cc.

References SharedCtor().

Referenced by New().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

payments::Payment::~Payment ( )
virtual

Definition at line 1664 of file paymentrequest.pb.cc.

References SharedDtor().

+ Here is the call graph for this function:

payments::Payment::Payment ( const Payment from)

Definition at line 1651 of file paymentrequest.pb.cc.

References MergeFrom(), and SharedCtor().

+ Here is the call graph for this function:

Member Function Documentation

payments::Output * payments::Payment::add_refund_to ( )
inline

Definition at line 1706 of file paymentrequest.pb.h.

References refund_to_.

Referenced by PaymentServer::fetchPaymentACK(), and MergePartialFromCodedStream().

+ Here is the caller graph for this function:

std::string * payments::Payment::add_transactions ( )
inline

Definition at line 1672 of file paymentrequest.pb.h.

References transactions_.

Referenced by PaymentServer::fetchPaymentACK(), and MergePartialFromCodedStream().

+ Here is the caller graph for this function:

void payments::Payment::add_transactions ( const ::std::string &  value)
inline

Definition at line 1675 of file paymentrequest.pb.h.

References transactions_.

void payments::Payment::add_transactions ( const char *  value)
inline

Definition at line 1678 of file paymentrequest.pb.h.

References transactions_.

void payments::Payment::add_transactions ( const void *  value,
size_t  size 
)
inline

Definition at line 1681 of file paymentrequest.pb.h.

References transactions_.

int payments::Payment::ByteSize ( ) const

Definition at line 1875 of file paymentrequest.pb.cc.

References _cached_size_, _has_bits_, has_memo(), has_merchant_data(), memo(), merchant_data(), refund_to(), refund_to_size(), transactions(), transactions_size(), and unknown_fields().

Referenced by PaymentServer::fetchPaymentACK().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void payments::Payment::Clear ( )

Definition at line 1700 of file paymentrequest.pb.cc.

References _has_bits_, has_memo(), has_merchant_data(), memo_, merchant_data_, mutable_unknown_fields(), refund_to_, and transactions_.

Referenced by CopyFrom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void payments::Payment::clear_has_memo ( )
inlineprivate

Definition at line 1725 of file paymentrequest.pb.h.

References _has_bits_.

Referenced by clear_memo(), release_memo(), and set_allocated_memo().

+ Here is the caller graph for this function:

void payments::Payment::clear_has_merchant_data ( )
inlineprivate

Definition at line 1586 of file paymentrequest.pb.h.

References _has_bits_.

Referenced by clear_merchant_data(), release_merchant_data(), and set_allocated_merchant_data().

+ Here is the caller graph for this function:

void payments::Payment::clear_memo ( )
inline

Definition at line 1728 of file paymentrequest.pb.h.

References clear_has_memo(), and memo_.

+ Here is the call graph for this function:

void payments::Payment::clear_merchant_data ( )
inline

Definition at line 1589 of file paymentrequest.pb.h.

References clear_has_merchant_data(), and merchant_data_.

+ Here is the call graph for this function:

void payments::Payment::clear_refund_to ( )
inline

Definition at line 1697 of file paymentrequest.pb.h.

References refund_to_.

void payments::Payment::clear_transactions ( )
inline

Definition at line 1653 of file paymentrequest.pb.h.

References transactions_.

void payments::Payment::CopyFrom ( const ::google::protobuf::Message &  from)

Definition at line 1947 of file paymentrequest.pb.cc.

References Clear(), and MergeFrom().

Referenced by operator=().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void payments::Payment::CopyFrom ( const Payment from)

Definition at line 1953 of file paymentrequest.pb.cc.

References Clear(), and MergeFrom().

+ Here is the call graph for this function:

const Payment & payments::Payment::default_instance ( )
static

Definition at line 1689 of file paymentrequest.pb.cc.

References default_instance_, and protobuf_AddDesc_paymentrequest_2eproto.

Referenced by payments::PaymentACK::InitAsDefaultInstance().

+ Here is the caller graph for this function:

const ::google::protobuf::Descriptor * payments::Payment::descriptor ( )
static

Definition at line 1684 of file paymentrequest.pb.cc.

int payments::Payment::GetCachedSize ( ) const
inline

Definition at line 581 of file paymentrequest.pb.h.

References _cached_size_.

google::protobuf::Metadata payments::Payment::GetMetadata ( ) const

Definition at line 1979 of file paymentrequest.pb.cc.

bool payments::Payment::has_memo ( ) const
inline

Definition at line 1719 of file paymentrequest.pb.h.

References _has_bits_.

Referenced by ByteSize(), Clear(), MergeFrom(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

+ Here is the caller graph for this function:

bool payments::Payment::has_merchant_data ( ) const
inline

Definition at line 1580 of file paymentrequest.pb.h.

References _has_bits_.

Referenced by ByteSize(), Clear(), MergeFrom(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

+ Here is the caller graph for this function:

void payments::Payment::InitAsDefaultInstance ( )
private

Definition at line 1648 of file paymentrequest.pb.cc.

Referenced by payments::protobuf_AddDesc_paymentrequest_2eproto().

+ Here is the caller graph for this function:

bool payments::Payment::IsInitialized ( ) const

Definition at line 1959 of file paymentrequest.pb.cc.

References refund_to(), and refund_to_size().

+ Here is the call graph for this function:

const ::std::string & payments::Payment::memo ( ) const
inline

Definition at line 1734 of file paymentrequest.pb.h.

References memo_.

Referenced by ByteSize(), MergeFrom(), MergePartialFromCodedStream(), SerializeWithCachedSizes(), SerializeWithCachedSizesToArray(), and set_allocated_memo().

+ Here is the caller graph for this function:

const ::std::string & payments::Payment::merchant_data ( ) const
inline

Definition at line 1595 of file paymentrequest.pb.h.

References merchant_data_.

Referenced by ByteSize(), MergeFrom(), SerializeWithCachedSizes(), SerializeWithCachedSizesToArray(), and set_allocated_merchant_data().

+ Here is the caller graph for this function:

void payments::Payment::MergeFrom ( const ::google::protobuf::Message &  from)

Definition at line 1920 of file paymentrequest.pb.cc.

References source.

Referenced by CopyFrom(), and Payment().

+ Here is the caller graph for this function:

void payments::Payment::MergeFrom ( const Payment from)

Definition at line 1932 of file paymentrequest.pb.cc.

References _has_bits_, has_memo(), has_merchant_data(), memo(), merchant_data(), mutable_unknown_fields(), refund_to_, set_memo(), set_merchant_data(), transactions_, and unknown_fields().

+ Here is the call graph for this function:

bool payments::Payment::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)

Definition at line 1719 of file paymentrequest.pb.cc.

References add_refund_to(), add_transactions(), Checkpoints::data, DO_, memo(), mutable_memo(), mutable_merchant_data(), and mutable_unknown_fields().

+ Here is the call graph for this function:

std::string * payments::Payment::mutable_memo ( )
inline

Definition at line 1758 of file paymentrequest.pb.h.

References memo_, and set_has_memo().

Referenced by MergePartialFromCodedStream().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string * payments::Payment::mutable_merchant_data ( )
inline

Definition at line 1619 of file paymentrequest.pb.h.

References merchant_data_, and set_has_merchant_data().

Referenced by MergePartialFromCodedStream().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

payments::Output * payments::Payment::mutable_refund_to ( int  index)
inline

Definition at line 1703 of file paymentrequest.pb.h.

References refund_to_.

google::protobuf::RepeatedPtrField<::payments::Output > * payments::Payment::mutable_refund_to ( )
inline

Definition at line 1714 of file paymentrequest.pb.h.

References refund_to_.

std::string * payments::Payment::mutable_transactions ( int  index)
inline

Definition at line 1659 of file paymentrequest.pb.h.

References transactions_.

google::protobuf::RepeatedPtrField<::std::string > * payments::Payment::mutable_transactions ( )
inline

Definition at line 1689 of file paymentrequest.pb.h.

References transactions_.

inline ::google::protobuf::UnknownFieldSet* payments::Payment::mutable_unknown_fields ( )
inline

Definition at line 556 of file paymentrequest.pb.h.

References _unknown_fields_.

Referenced by Clear(), MergeFrom(), and MergePartialFromCodedStream().

+ Here is the caller graph for this function:

Payment * payments::Payment::New ( ) const

Definition at line 1696 of file paymentrequest.pb.cc.

References Payment().

+ Here is the call graph for this function:

Payment& payments::Payment::operator= ( const Payment from)
inline

Definition at line 547 of file paymentrequest.pb.h.

References CopyFrom().

+ Here is the call graph for this function:

const ::payments::Output & payments::Payment::refund_to ( int  index) const
inline

Definition at line 1700 of file paymentrequest.pb.h.

References refund_to_.

const ::google::protobuf::RepeatedPtrField<::payments::Output > & payments::Payment::refund_to ( ) const
inline

Definition at line 1710 of file paymentrequest.pb.h.

References refund_to_.

Referenced by ByteSize(), IsInitialized(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

+ Here is the caller graph for this function:

int payments::Payment::refund_to_size ( ) const
inline

Definition at line 1694 of file paymentrequest.pb.h.

References refund_to_.

Referenced by ByteSize(), IsInitialized(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

+ Here is the caller graph for this function:

std::string * payments::Payment::release_memo ( )
inline

Definition at line 1765 of file paymentrequest.pb.h.

References clear_has_memo(), and memo_.

+ Here is the call graph for this function:

std::string * payments::Payment::release_merchant_data ( )
inline

Definition at line 1626 of file paymentrequest.pb.h.

References clear_has_merchant_data(), and merchant_data_.

+ Here is the call graph for this function:

void payments::Payment::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const

Definition at line 1801 of file paymentrequest.pb.cc.

References Checkpoints::data, has_memo(), has_merchant_data(), memo(), merchant_data(), refund_to(), refund_to_size(), transactions(), transactions_size(), and unknown_fields().

+ Here is the call graph for this function:

google::protobuf::uint8 * payments::Payment::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 *  output) const

Definition at line 1836 of file paymentrequest.pb.cc.

References Checkpoints::data, has_memo(), has_merchant_data(), memo(), merchant_data(), refund_to(), refund_to_size(), transactions(), transactions_size(), and unknown_fields().

+ Here is the call graph for this function:

void payments::Payment::set_allocated_memo ( ::std::string *  memo)
inline

Definition at line 1775 of file paymentrequest.pb.h.

References clear_has_memo(), memo(), memo_, and set_has_memo().

+ Here is the call graph for this function:

void payments::Payment::set_allocated_merchant_data ( ::std::string *  merchant_data)
inline

Definition at line 1636 of file paymentrequest.pb.h.

References clear_has_merchant_data(), merchant_data(), merchant_data_, and set_has_merchant_data().

+ Here is the call graph for this function:

void payments::Payment::set_has_memo ( )
inlineprivate

Definition at line 1722 of file paymentrequest.pb.h.

References _has_bits_.

Referenced by mutable_memo(), set_allocated_memo(), and set_memo().

+ Here is the caller graph for this function:

void payments::Payment::set_has_merchant_data ( )
inlineprivate

Definition at line 1583 of file paymentrequest.pb.h.

References _has_bits_.

Referenced by mutable_merchant_data(), set_allocated_merchant_data(), and set_merchant_data().

+ Here is the caller graph for this function:

void payments::Payment::set_memo ( const ::std::string &  value)
inline

Definition at line 1737 of file paymentrequest.pb.h.

References memo_, and set_has_memo().

Referenced by MergeFrom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void payments::Payment::set_memo ( const char *  value)
inline

Definition at line 1744 of file paymentrequest.pb.h.

References memo_, and set_has_memo().

+ Here is the call graph for this function:

void payments::Payment::set_memo ( const char *  value,
size_t  size 
)
inline

Definition at line 1751 of file paymentrequest.pb.h.

References memo_, and set_has_memo().

+ Here is the call graph for this function:

void payments::Payment::set_merchant_data ( const ::std::string &  value)
inline

Definition at line 1598 of file paymentrequest.pb.h.

References merchant_data_, and set_has_merchant_data().

Referenced by PaymentServer::fetchPaymentACK(), and MergeFrom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void payments::Payment::set_merchant_data ( const char *  value)
inline

Definition at line 1605 of file paymentrequest.pb.h.

References merchant_data_, and set_has_merchant_data().

+ Here is the call graph for this function:

void payments::Payment::set_merchant_data ( const void *  value,
size_t  size 
)
inline

Definition at line 1612 of file paymentrequest.pb.h.

References merchant_data_, and set_has_merchant_data().

+ Here is the call graph for this function:

void payments::Payment::set_transactions ( int  index,
const ::std::string &  value 
)
inline

Definition at line 1662 of file paymentrequest.pb.h.

References transactions_.

void payments::Payment::set_transactions ( int  index,
const char *  value 
)
inline

Definition at line 1665 of file paymentrequest.pb.h.

References transactions_.

void payments::Payment::set_transactions ( int  index,
const void *  value,
size_t  size 
)
inline

Definition at line 1668 of file paymentrequest.pb.h.

References transactions_.

void payments::Payment::SetCachedSize ( int  size) const
private

Definition at line 1679 of file paymentrequest.pb.cc.

References _cached_size_.

void payments::Payment::SharedCtor ( )
private

Definition at line 1657 of file paymentrequest.pb.cc.

References _cached_size_, _has_bits_, memo_, and merchant_data_.

Referenced by Payment().

+ Here is the caller graph for this function:

void payments::Payment::SharedDtor ( )
private

Definition at line 1668 of file paymentrequest.pb.cc.

References default_instance_, memo_, and merchant_data_.

Referenced by ~Payment().

+ Here is the caller graph for this function:

void payments::Payment::Swap ( Payment other)
const ::std::string & payments::Payment::transactions ( int  index) const
inline

Definition at line 1656 of file paymentrequest.pb.h.

References transactions_.

const ::google::protobuf::RepeatedPtrField<::std::string > & payments::Payment::transactions ( ) const
inline

Definition at line 1685 of file paymentrequest.pb.h.

References transactions_.

Referenced by ByteSize(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

+ Here is the caller graph for this function:

int payments::Payment::transactions_size ( ) const
inline

Definition at line 1650 of file paymentrequest.pb.h.

References transactions_.

Referenced by ByteSize(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

+ Here is the caller graph for this function:

const ::google::protobuf::UnknownFieldSet& payments::Payment::unknown_fields ( ) const
inline

Definition at line 552 of file paymentrequest.pb.h.

References _unknown_fields_.

Referenced by ByteSize(), MergeFrom(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

void protobuf_AddDesc_paymentrequest_2eproto ( )
friend

Definition at line 201 of file paymentrequest.pb.cc.

Referenced by default_instance().

void protobuf_AssignDesc_paymentrequest_2eproto ( )
friend

Definition at line 45 of file paymentrequest.pb.cc.

void protobuf_ShutdownFile_paymentrequest_2eproto ( )
friend

Definition at line 184 of file paymentrequest.pb.cc.

Member Data Documentation

int payments::Payment::_cached_size_
mutableprivate

Definition at line 660 of file paymentrequest.pb.h.

Referenced by ByteSize(), GetCachedSize(), SetCachedSize(), SharedCtor(), and Swap().

::google::protobuf::uint32 payments::Payment::_has_bits_[(4+31)/32]
private
::google::protobuf::UnknownFieldSet payments::Payment::_unknown_fields_
private

Definition at line 653 of file paymentrequest.pb.h.

Referenced by mutable_unknown_fields(), Swap(), and unknown_fields().

Payment * payments::Payment::default_instance_ = NULL
staticprivate
const int payments::Payment::kMemoFieldNumber = 4
static

Definition at line 637 of file paymentrequest.pb.h.

const int payments::Payment::kMerchantDataFieldNumber = 1
static

Definition at line 597 of file paymentrequest.pb.h.

const int payments::Payment::kRefundToFieldNumber = 3
static

Definition at line 625 of file paymentrequest.pb.h.

const int payments::Payment::kTransactionsFieldNumber = 2
static

Definition at line 609 of file paymentrequest.pb.h.

::std::string* payments::Payment::memo_
private
::std::string* payments::Payment::merchant_data_
private
::google::protobuf::RepeatedPtrField< ::payments::Output > payments::Payment::refund_to_
private
::google::protobuf::RepeatedPtrField< ::std::string> payments::Payment::transactions_
private

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