4 #ifndef DJINNI_GENERATED_BITCOINLIKETRANSACTIONREQUEST_HPP 5 #define DJINNI_GENERATED_BITCOINLIKETRANSACTIONREQUEST_HPP 7 #include "../utils/optional.hpp" 14 namespace ledger {
namespace core {
namespace api {
17 class BitcoinLikeOutput;
22 std::vector<std::shared_ptr<BitcoinLikeOutput>>
utxo;
24 std::vector<std::shared_ptr<BitcoinLikeOutput>>
outputs;
33 std::vector<std::shared_ptr<BitcoinLikeOutput>> outputs_,
34 std::shared_ptr<Amount> baseFees_,
35 std::shared_ptr<Amount> totalFees_,
37 : utxo(
std::move(utxo_))
38 , outputs(
std::move(outputs_))
39 , baseFees(
std::move(baseFees_))
40 , totalFees(
std::move(totalFees_))
41 , lockTime(
std::move(lockTime_))
45 this->utxo = cpy.
utxo;
56 this->utxo = cpy.
utxo;
64 template <
class Archive>
65 void load(Archive& archive) {
66 archive(utxo, outputs, baseFees, totalFees, lockTime);
69 template <
class Archive>
70 void save(Archive& archive)
const {
71 archive(utxo, outputs, baseFees, totalFees, lockTime);
76 #endif //DJINNI_GENERATED_BITCOINLIKETRANSACTIONREQUEST_HPP std::experimental::optional< int32_t > lockTime
Definition: BitcoinLikeTransactionRequest.hpp:30
Definition: BitcoinLikeFeePolicy.hpp:29
std::shared_ptr< Amount > totalFees
Definition: BitcoinLikeTransactionRequest.hpp:28
std::vector< std::shared_ptr< BitcoinLikeOutput > > outputs
Definition: BitcoinLikeTransactionRequest.hpp:24
std::vector< std::shared_ptr< BitcoinLikeOutput > > utxo
Definition: BitcoinLikeTransactionRequest.hpp:22
std::shared_ptr< Amount > baseFees
Definition: BitcoinLikeTransactionRequest.hpp:26
Definition: Account.cpp:8
Definition: BitcoinLikeTransactionRequest.hpp:20