Class SkuChangeInfo


  • public final class SkuChangeInfo
    extends Object
    Sku change info of account.
    • Constructor Detail

      • SkuChangeInfo

        public SkuChangeInfo()
    • Method Detail

      • countOfDowngrades

        public Float countOfDowngrades()
        Get the countOfDowngrades property: Gets the count of downgrades.
        Returns:
        the countOfDowngrades value.
      • withCountOfDowngrades

        public SkuChangeInfo withCountOfDowngrades​(Float countOfDowngrades)
        Set the countOfDowngrades property: Gets the count of downgrades.
        Parameters:
        countOfDowngrades - the countOfDowngrades value to set.
        Returns:
        the SkuChangeInfo object itself.
      • countOfUpgradesAfterDowngrades

        public Float countOfUpgradesAfterDowngrades()
        Get the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.
        Returns:
        the countOfUpgradesAfterDowngrades value.
      • withCountOfUpgradesAfterDowngrades

        public SkuChangeInfo withCountOfUpgradesAfterDowngrades​(Float countOfUpgradesAfterDowngrades)
        Set the countOfUpgradesAfterDowngrades property: Gets the count of upgrades after downgrades.
        Parameters:
        countOfUpgradesAfterDowngrades - the countOfUpgradesAfterDowngrades value to set.
        Returns:
        the SkuChangeInfo object itself.
      • lastChangeDate

        public String lastChangeDate()
        Get the lastChangeDate property: Gets the last change date.
        Returns:
        the lastChangeDate value.
      • withLastChangeDate

        public SkuChangeInfo withLastChangeDate​(String lastChangeDate)
        Set the lastChangeDate property: Gets the last change date.
        Parameters:
        lastChangeDate - the lastChangeDate value to set.
        Returns:
        the SkuChangeInfo object itself.
      • validate

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