UNPKG

@hiero-ledger/sdk

Version:
3 lines (2 loc) 779 B
import t from"../account/AccountId.js";class e{constructor(t={}){this._feeCollectorAccountId=null,this._allCollectorsAreExempt=!1,null!=t.feeCollectorAccountId&&this.setFeeCollectorAccountId(t.feeCollectorAccountId),null!=t.allCollectorsAreExempt&&this.setAllCollectorsAreExempt(t.allCollectorsAreExempt)}get feeCollectorAccountId(){return this._feeCollectorAccountId}setFeeCollectorAccountId(e){return this._feeCollectorAccountId="string"==typeof e?t.fromString(e):e,this}get allCollectorsAreExempt(){return this._allCollectorsAreExempt}setAllCollectorsAreExempt(t){return this._allCollectorsAreExempt=t,this}static _fromProtobuf(t){throw new Error("not implemented")}_toProtobuf(){throw new Error("not implemented")}}export{e as default}; //# sourceMappingURL=CustomFee.js.map