hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
subtract_asset_quantity.hpp
Go to the documentation of this file.
1 
5 #ifndef IROHA_SUBTRACT_ASSET_QUANTITY_HPP
6 #define IROHA_SUBTRACT_ASSET_QUANTITY_HPP
7 
8 #include <string>
9 #include "model/command.hpp"
10 
11 namespace iroha {
12  namespace model {
13 
17  struct SubtractAssetQuantity : public Command {
23 
28 
29  bool operator==(const Command &command) const override;
30 
32 
34  const std::string &amount)
35  : asset_id(asset_id), amount(amount) {}
36  };
37  } // namespace model
38 } // namespace iroha
39 #endif // IROHA_SUBTRACT_ASSET_QUANTITY_HPP
std::string amount
Definition: subtract_asset_quantity.hpp:27
std::string asset_id
Definition: subtract_asset_quantity.hpp:22
Definition: command.hpp:14
SubtractAssetQuantity(const std::string &asset_id, const std::string &amount)
Definition: subtract_asset_quantity.hpp:33
string(REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
Definition: CMakeLists.txt:54
Definition: block_query.hpp:16
Definition: subtract_asset_quantity.hpp:17
bool operator==(const Command &command) const override
Definition: model_operators.cpp:97
SubtractAssetQuantity()
Definition: subtract_asset_quantity.hpp:31