Class AssetPrice

java.lang.Object
org.xrpl.xrpl4j.model.immutables.Wrapper<com.google.common.primitives.UnsignedLong>
org.xrpl.xrpl4j.model.transactions.AssetPrice
All Implemented Interfaces:
Serializable, Comparable<Wrapper<com.google.common.primitives.UnsignedLong>>

@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class AssetPrice extends Wrapper<com.google.common.primitives.UnsignedLong>
A wrapped String containing an Oracle asset price.

This class will be marked Beta until the featurePriceOracle amendment is enabled on mainnet. Its API is subject to change.

See Also:
  • Method Details

    • value

      public com.google.common.primitives.UnsignedLong value()
      The wrapped value.
      Specified by:
      value in class Wrapper<com.google.common.primitives.UnsignedLong>
      Returns:
      The wrapped value.
    • of

      public static AssetPrice of(com.google.common.primitives.UnsignedLong value)
      Construct a new immutable AssetPrice instance.
      Parameters:
      value - The value for the value attribute
      Returns:
      An immutable AssetPrice instance
    • toString

      public String toString()
      Overrides:
      toString in class Wrapper<com.google.common.primitives.UnsignedLong>