Class Discount
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.usage_reports.v4.model.Discount
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Discount extends com.ibm.cloud.sdk.core.service.model.GenericModelInformation about a discount that is associated with a metric.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.DoublegetDiscount()Gets the discount.java.lang.StringgetDisplayName()Gets the displayName.java.lang.StringgetName()Gets the name.java.lang.StringgetRef()Gets the ref.
-
-
-
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
-
-