Class ApiManagementSkuCosts


  • public final class ApiManagementSkuCosts
    extends Object
    Describes metadata for retrieving price info.
    • Constructor Detail

      • ApiManagementSkuCosts

        public ApiManagementSkuCosts()
    • Method Detail

      • meterId

        public String meterId()
        Get the meterId property: Used for querying price from commerce.
        Returns:
        the meterId value.
      • quantity

        public Long quantity()
        Get the quantity property: The multiplier is needed to extend the base metered cost.
        Returns:
        the quantity value.
      • extendedUnit

        public String extendedUnit()
        Get the extendedUnit property: An invariant to show the extended unit.
        Returns:
        the extendedUnit value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.