use of com.hedera.mirror.test.e2e.acceptance.props.MirrorAssessedCustomFee in project hedera-mirror-node by hashgraph.
the class CustomFeesConverter method mirrorAssessedCustomFee.
@DataTableType
public MirrorAssessedCustomFee mirrorAssessedCustomFee(Map<String, String> entry) {
MirrorAssessedCustomFee assessedCustomFee = new MirrorAssessedCustomFee();
assessedCustomFee.setAmount(Long.parseLong(entry.get("amount")));
assessedCustomFee.setCollectorAccountId(tokenFeature.getRecipientAccountId(Integer.parseInt(entry.get("collector"))).toString());
assessedCustomFee.setTokenId(getToken(entry.get("token")));
return assessedCustomFee;
}
Aggregations