Class Price

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class Price
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Pricing-related information.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Price.Builder
      Builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Price.Builder newBuilder()
      New builder.
      java.lang.Double price()
      Gets the price.
      java.lang.Long quantityTier()
      Gets the quantityTier.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • newBuilder

        public Price.Builder newBuilder()
        New builder.
        Returns:
        a Price builder
      • quantityTier

        public java.lang.Long quantityTier()
        Gets the quantityTier. The quantity of _metric_ associated with the current price point.
        Returns:
        the quantityTier
      • price

        public java.lang.Double price()
        Gets the price. Price in the selected currency.
        Returns:
        the price