5#ifndef BITCOIN_QT_SENDCOINSRECIPIENT_H
6#define BITCOIN_QT_SENDCOINSRECIPIENT_H
45 std::string address_str, label_str, message_str, auth_merchant_str;
47 SER_WRITE(obj, address_str = obj.address.toStdString());
48 SER_WRITE(obj, label_str = obj.label.toStdString());
49 SER_WRITE(obj, message_str = obj.message.toStdString());
50 SER_WRITE(obj, auth_merchant_str = obj.authenticatedMerchant.toStdString());
52 READWRITE(obj.nVersion, address_str, label_str, obj.amount, message_str, obj.sPaymentRequest, auth_merchant_str);
54 SER_READ(obj, obj.address = QString::fromStdString(address_str));
55 SER_READ(obj, obj.label = QString::fromStdString(label_str));
56 SER_READ(obj, obj.message = QString::fromStdString(message_str));
57 SER_READ(obj, obj.authenticatedMerchant = QString::fromStdString(auth_merchant_str));
int64_t CAmount
Amount in satoshis (Can be negative)
static const int CURRENT_VERSION
SERIALIZE_METHODS(SendCoinsRecipient, obj)
bool fSubtractFeeFromAmount
SendCoinsRecipient(const QString &addr, const QString &_label, const CAmount &_amount, const QString &_message)
std::string sPaymentRequest
QString authenticatedMerchant
#define SER_WRITE(obj, code)
#define SER_READ(obj, code)