Class Discount

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

    public class Discount
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Information about a discount that is associated with a metric.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double getDiscount()
      Gets the discount.
      java.lang.String getDisplayName()
      Gets the displayName.
      java.lang.String getName()
      Gets the name.
      java.lang.String getRef()
      Gets the ref.
      • 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

      • getRef

        public java.lang.String getRef()
        Gets the ref. The reference ID of the discount.
        Returns:
        the ref
      • getName

        public java.lang.String getName()
        Gets the name. The name of the discount indicating category.
        Returns:
        the name
      • getDisplayName

        public java.lang.String getDisplayName()
        Gets the displayName. The name of the discount.
        Returns:
        the displayName
      • getDiscount

        public java.lang.Double getDiscount()
        Gets the discount. The discount percentage.
        Returns:
        the discount