Creates a new DatedNode instance.
Object containing node properties
The date string in YYYY-MM-DD format
The account name being opened
OptionalbookingOptional booking method specification
OptionalcommentOptional comment text associated with this node
OptionalconstraintOptional list of allowed currencies for this account
The date of this node as a Temporal.PlainDate object
Internal metadata key-value pairs associated with this node. These can be anything, are not used in the output, and are meant to be used to allow your pipeline to keep track of an internal property
OptionalmetadataOptional metadata key-value pairs associated with this node
The type of this dated node
ProtectedgetReturns the common prefix for all DatedNode toString methods.
Format: "YYYY-MM-DD
The formatted date and type prefix string
Converts metadata and comment to a formatted string. If metadata exists, each key-value pair is formatted on separate indented lines.
The formatted metadata and comment string, or empty string if neither exists
ProtectedparseTransforms JSON data before creating an Node instance. Default implementation returns the input unchanged. Subclasses can override this to handle custom deserialization logic (e.g., converting nested objects, handling dates, etc.).
The JSON data to transform
The transformed data ready for the constructor
Converts this node to a formatted string with aligned columns. Default implementation delegates to toString(). Subclasses can override for custom formatting.
Formatting options (unused in base implementation)
The formatted string representation of this node
Converts an node to a JSON-serializable object.
A JSON-serializable representation of this node
StaticfromCreates an Open instance from a generic parse result.
The parsed open node data
A new Open instance
StaticfromStaticfromStaticfrom
Represents an Open node that declares a new account. Open directives define the beginning of an account's lifespan.