Builder for PermissionedDomainSet transactions.
PermissionedDomainSetBuilder(SF_ACCOUNT::type::value_type account, STArray const &acceptedCredentials, std::optional< SF_UINT32::type::value_type > sequence=std::nullopt, std::optional< SF_AMOUNT::type::value_type > fee=std::nullopt)
Construct a new PermissionedDomainSetBuilder with required fields.
PermissionedDomainSet build(PublicKey const &publicKey, SecretKey const &secretKey)
Build and return the PermissionedDomainSet wrapper.
PermissionedDomainSetBuilder(std::shared_ptr< STTx const > tx)
Construct a PermissionedDomainSetBuilder from an existing STTx object.
PermissionedDomainSetBuilder & setDomainID(std::decay_t< typename SF_UINT256::type::value_type > const &value)
Transaction-specific field setters.
PermissionedDomainSetBuilder & setAcceptedCredentials(STArray const &value)
Set sfAcceptedCredentials (soeREQUIRED)
Transaction: PermissionedDomainSet.
protocol_autogen::Optional< SF_UINT256::type::value_type > getDomainID() const
Get sfDomainID (soeOPTIONAL)
STArray const & getAcceptedCredentials() const
Get sfAcceptedCredentials (soeREQUIRED)
bool hasDomainID() const
Check if sfDomainID is present.
static constexpr xrpl::TxType txType
PermissionedDomainSet(std::shared_ptr< STTx const > tx)
Construct a PermissionedDomainSet transaction wrapper from an existing STTx object.