Downloads:


CubedPay-Java v0.6 Changelog:

  • NEW Added ShopPackageCondition for conditional products.
  • NEW Added methods to view and manage package conditions:
    • CubedPayShopAPI.createShopPackageCondition() - Adds a condition to a package
    • CubedPayShopAPI.deleteShopPackageCondition() - Removes a condition from a package
    • CubedPayShopAPI.updateShopPackageCondition() - Updates a package's pre-existing condition
    • CubedPayShopAPI.getShopPackageConditions() - Returns a list of conditions on a package
  • NEW Added TopPurchaser, RecentPurchase, and PopularPackage objects to neatly store data returned by the new statistics widgets.
  • NEW Added methods to view shop statistics (Note - Their corresponding sidebar modules MUST be present in order to use these):
    • CubedPayShopAPI.getTopPurchasers() - Returns a list of the shop's highest-paying users
    • CubedPayShopAPI.getRecentPurchases() - Returns a list of the shop's most recent purchases
    • CubedPayShopAPI.getMostPopularPackages() - Returns a list of the shop's most popular items
  • NEW Added ShopPage Meta to enable the use of external page linking and sub-pages.
  • NEW Added the ShopMedia object to retrieve information about the shop assets a Shop or PublicShop is using.
  • NEW Added methods to view and manage shop media:
    • CubedPayShopAPI.deleteShopMedia() - Removes an asset from a shop
    • CubedPayShopAPI.getShopMedia() - Returns the shop asset with the provided ID
    • CubedPayShopAPI.listShopMedia() - Returns a cursor of a shop's assets
  • NEW Added the ShopTemplateMeta object to retrieve information about the template a Shop or PublicShop is using.
  • NEW Added the getIcon() method to the ShopPage object to get the name of a page's icon (if applicable).
  • CHANGE ShopPage Meta is now a required field for the CubedPayShopAPI.createPage() and CubedPayShopAPI.updatePage() methods.