rippled
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder Class Reference

Builder for XChainOwnedCreateAccountClaimID ledger entries. More...

#include <XChainOwnedCreateAccountClaimID.h>

Inheritance diagram for xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder:
Inheritance graph
[legend]
Collaboration diagram for xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder:
Collaboration graph
[legend]

Public Member Functions

 XChainOwnedCreateAccountClaimIDBuilder (std::decay_t< typename SF_ACCOUNT::type::value_type > const &account, std::decay_t< typename SF_XCHAIN_BRIDGE::type::value_type > const &xChainBridge, std::decay_t< typename SF_UINT64::type::value_type > const &xChainAccountCreateCount, STArray const &xChainCreateAccountAttestations, std::decay_t< typename SF_UINT64::type::value_type > const &ownerNode, std::decay_t< typename SF_UINT256::type::value_type > const &previousTxnID, std::decay_t< typename SF_UINT32::type::value_type > const &previousTxnLgrSeq)
 Construct a new XChainOwnedCreateAccountClaimIDBuilder with required fields.
 
 XChainOwnedCreateAccountClaimIDBuilder (std::shared_ptr< SLE const > sle)
 Construct a XChainOwnedCreateAccountClaimIDBuilder from an existing SLE object.
 
XChainOwnedCreateAccountClaimIDBuildersetAccount (std::decay_t< typename SF_ACCOUNT::type::value_type > const &value)
 Ledger entry-specific field setters.
 
XChainOwnedCreateAccountClaimIDBuildersetXChainBridge (std::decay_t< typename SF_XCHAIN_BRIDGE::type::value_type > const &value)
 Set sfXChainBridge (soeREQUIRED)
 
XChainOwnedCreateAccountClaimIDBuildersetXChainAccountCreateCount (std::decay_t< typename SF_UINT64::type::value_type > const &value)
 Set sfXChainAccountCreateCount (soeREQUIRED)
 
XChainOwnedCreateAccountClaimIDBuildersetXChainCreateAccountAttestations (STArray const &value)
 Set sfXChainCreateAccountAttestations (soeREQUIRED)
 
XChainOwnedCreateAccountClaimIDBuildersetOwnerNode (std::decay_t< typename SF_UINT64::type::value_type > const &value)
 Set sfOwnerNode (soeREQUIRED)
 
XChainOwnedCreateAccountClaimIDBuildersetPreviousTxnID (std::decay_t< typename SF_UINT256::type::value_type > const &value)
 Set sfPreviousTxnID (soeREQUIRED)
 
XChainOwnedCreateAccountClaimIDBuildersetPreviousTxnLgrSeq (std::decay_t< typename SF_UINT32::type::value_type > const &value)
 Set sfPreviousTxnLgrSeq (soeREQUIRED)
 
XChainOwnedCreateAccountClaimID build (uint256 const &index)
 Build and return the completed XChainOwnedCreateAccountClaimID wrapper.
 
bool validate () const
 Validate the ledger entry.
 
XChainOwnedCreateAccountClaimIDBuildersetLedgerIndex (uint256 const &value)
 Set the ledger index.
 
XChainOwnedCreateAccountClaimIDBuildersetFlags (uint32_t value)
 Set the flags.
 

Protected Attributes

STObject object_
 

Detailed Description

Builder for XChainOwnedCreateAccountClaimID ledger entries.

Provides a fluent interface for constructing ledger entries with method chaining. Uses Json::Value internally for flexible ledger entry construction. Inherits common field setters from LedgerEntryBuilderBase.

Definition at line 134 of file XChainOwnedCreateAccountClaimID.h.

Constructor & Destructor Documentation

◆ XChainOwnedCreateAccountClaimIDBuilder() [1/2]

xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::XChainOwnedCreateAccountClaimIDBuilder ( std::decay_t< typename SF_ACCOUNT::type::value_type > const &  account,
std::decay_t< typename SF_XCHAIN_BRIDGE::type::value_type > const &  xChainBridge,
std::decay_t< typename SF_UINT64::type::value_type > const &  xChainAccountCreateCount,
STArray const &  xChainCreateAccountAttestations,
std::decay_t< typename SF_UINT64::type::value_type > const &  ownerNode,
std::decay_t< typename SF_UINT256::type::value_type > const &  previousTxnID,
std::decay_t< typename SF_UINT32::type::value_type > const &  previousTxnLgrSeq 
)

Construct a new XChainOwnedCreateAccountClaimIDBuilder with required fields.

Parameters
accountThe sfAccount field value.
xChainBridgeThe sfXChainBridge field value.
xChainAccountCreateCountThe sfXChainAccountCreateCount field value.
xChainCreateAccountAttestationsThe sfXChainCreateAccountAttestations field value.
ownerNodeThe sfOwnerNode field value.
previousTxnIDThe sfPreviousTxnID field value.
previousTxnLgrSeqThe sfPreviousTxnLgrSeq field value.

Definition at line 147 of file XChainOwnedCreateAccountClaimID.h.

◆ XChainOwnedCreateAccountClaimIDBuilder() [2/2]

xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::XChainOwnedCreateAccountClaimIDBuilder ( std::shared_ptr< SLE const >  sle)

Construct a XChainOwnedCreateAccountClaimIDBuilder from an existing SLE object.

Parameters
sleThe existing ledger entry to copy from.
Exceptions
std::runtime_errorif the ledger entry type doesn't match.

Definition at line 164 of file XChainOwnedCreateAccountClaimID.h.

Member Function Documentation

◆ setAccount()

XChainOwnedCreateAccountClaimIDBuilder & xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::setAccount ( std::decay_t< typename SF_ACCOUNT::type::value_type > const &  value)

Ledger entry-specific field setters.

Set sfAccount (soeREQUIRED)

Returns
Reference to this builder for method chaining.

Definition at line 180 of file XChainOwnedCreateAccountClaimID.h.

◆ setXChainBridge()

XChainOwnedCreateAccountClaimIDBuilder & xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::setXChainBridge ( std::decay_t< typename SF_XCHAIN_BRIDGE::type::value_type > const &  value)

Set sfXChainBridge (soeREQUIRED)

Returns
Reference to this builder for method chaining.

Definition at line 191 of file XChainOwnedCreateAccountClaimID.h.

◆ setXChainAccountCreateCount()

XChainOwnedCreateAccountClaimIDBuilder & xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::setXChainAccountCreateCount ( std::decay_t< typename SF_UINT64::type::value_type > const &  value)

Set sfXChainAccountCreateCount (soeREQUIRED)

Returns
Reference to this builder for method chaining.

Definition at line 202 of file XChainOwnedCreateAccountClaimID.h.

◆ setXChainCreateAccountAttestations()

XChainOwnedCreateAccountClaimIDBuilder & xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::setXChainCreateAccountAttestations ( STArray const &  value)

Set sfXChainCreateAccountAttestations (soeREQUIRED)

Returns
Reference to this builder for method chaining.

Definition at line 213 of file XChainOwnedCreateAccountClaimID.h.

◆ setOwnerNode()

XChainOwnedCreateAccountClaimIDBuilder & xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::setOwnerNode ( std::decay_t< typename SF_UINT64::type::value_type > const &  value)

Set sfOwnerNode (soeREQUIRED)

Returns
Reference to this builder for method chaining.

Definition at line 224 of file XChainOwnedCreateAccountClaimID.h.

◆ setPreviousTxnID()

XChainOwnedCreateAccountClaimIDBuilder & xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::setPreviousTxnID ( std::decay_t< typename SF_UINT256::type::value_type > const &  value)

Set sfPreviousTxnID (soeREQUIRED)

Returns
Reference to this builder for method chaining.

Definition at line 235 of file XChainOwnedCreateAccountClaimID.h.

◆ setPreviousTxnLgrSeq()

XChainOwnedCreateAccountClaimIDBuilder & xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::setPreviousTxnLgrSeq ( std::decay_t< typename SF_UINT32::type::value_type > const &  value)

Set sfPreviousTxnLgrSeq (soeREQUIRED)

Returns
Reference to this builder for method chaining.

Definition at line 246 of file XChainOwnedCreateAccountClaimID.h.

◆ build()

XChainOwnedCreateAccountClaimID xrpl::ledger_entries::XChainOwnedCreateAccountClaimIDBuilder::build ( uint256 const &  index)

Build and return the completed XChainOwnedCreateAccountClaimID wrapper.

Parameters
indexThe ledger entry index.
Returns
The constructed ledger entry wrapper.

Definition at line 258 of file XChainOwnedCreateAccountClaimID.h.

◆ validate()

Validate the ledger entry.

Returns
true if validation passes, false otherwise

Definition at line 45 of file LedgerEntryBuilderBase.h.

◆ setLedgerIndex()

Set the ledger index.

Parameters
valueLedger index
Returns
Reference to the derived builder for method chaining.

Definition at line 62 of file LedgerEntryBuilderBase.h.

◆ setFlags()

Set the flags.

Parameters
valueFlags value
Returns
Reference to the derived builder for method chaining.

Definition at line 74 of file LedgerEntryBuilderBase.h.

Member Data Documentation

◆ object_

Definition at line 81 of file LedgerEntryBuilderBase.h.