Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::SubtractAssetQuantity Struct Reference

#include "subtract_asset_quantity.hpp"

Inheritance diagram for iroha::model::SubtractAssetQuantity:
Inheritance graph
Collaboration diagram for iroha::model::SubtractAssetQuantity:
Collaboration graph

Public Member Functions

bool operator== (const Command &command) const override
 SubtractAssetQuantity ()
 SubtractAssetQuantity (const std::string &asset_id, const std::string &amount)
- Public Member Functions inherited from iroha::model::Command
virtual ~Command ()=default
virtual bool operator!= (const Command &rhs) const

Public Attributes

std::string asset_id
std::string amount

Detailed Description

Subtract amount of asset to an account

Constructor & Destructor Documentation

iroha::model::SubtractAssetQuantity::SubtractAssetQuantity ( )
iroha::model::SubtractAssetQuantity::SubtractAssetQuantity ( const std::string &  asset_id,
const std::string &  amount 

Member Function Documentation

bool iroha::model::SubtractAssetQuantity::operator== ( const Command command) const

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::SubtractAssetQuantity::amount

Amount to add to account asset

std::string iroha::model::SubtractAssetQuantity::asset_id

Asset to issue Note: must exist in the system

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