hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::SubtractAssetQuantity Class Referencefinal

#include "proto_subtract_asset_quantity.hpp"

Inheritance diagram for shared_model::proto::SubtractAssetQuantity:
Inheritance graph
Collaboration diagram for shared_model::proto::SubtractAssetQuantity:
Collaboration graph

Public Member Functions

 SubtractAssetQuantity (iroha::protocol::Command &command)
 
const interface::types::AssetIdTypeassetId () const override
 
const interface::Amountamount () const override
 
- Public Member Functions inherited from shared_model::interface::SubtractAssetQuantity
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< SubtractAssetQuantity >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< SubtractAssetQuantity >
using ModelType = SubtractAssetQuantity
 

Constructor & Destructor Documentation

shared_model::proto::SubtractAssetQuantity::SubtractAssetQuantity ( iroha::protocol::Command &  command)
explicit

Member Function Documentation

const interface::Amount & shared_model::proto::SubtractAssetQuantity::amount ( ) const
overridevirtual
Returns
quantity of asset for subtracting

Implements shared_model::interface::SubtractAssetQuantity.

const interface::types::AssetIdType & shared_model::proto::SubtractAssetQuantity::assetId ( ) const
overridevirtual
Returns
asset identifier

Implements shared_model::interface::SubtractAssetQuantity.


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