Method Detailboolean approve() Approves this pseudo key. An internal validation is performed first and if the validation fails, this will fail and return false. This does not automatically approve the key. Returns: boolean Since: 03-09-2010 Data getAllData() Returns a Data object containing information on this activation key, features, and pricing. Returns: Data Since: 05-13-2010 Data getData() Returns a Data object containing information on this activation key. Returns: Data Since: 03-09-2010 InternalKeyFeatures getFeatures() Returns the features for this activation key. Returns: InternalKeyFeatures Since: 05-06-2010 String getId() Returns the ID of the key Returns: String Since: 03-08-2010 int getMaximumSize() Returns the absolute maximum size limit in KB. No key setting can be greater than this size. Returns: int Since: 03-09-2010 InternalKeyPricing getPricing() Returns the pricing for this activation key. Returns: InternalKeyPricing Since: 05-06-2010 String getPricingModel() Returns the pricing model (standard, custom). If the pricing model has not been set, this will attempt to determine it. Returns: String Since: 03-09-2010 String getPricingPlan() Returns the pricing plan. If the pricing plan has not been set, this will return 'default'. Returns: String Since: 03-09-2010 boolean isActive() Returns true if this activation key has been activated. Returns: boolean Since: 03-09-2010 boolean isApproved() Returns true if the key has been approved. Returns: boolean Since: 03-09-2010 boolean isEnterprise() Returns true if the activation is associated with an enterprise. Returns: boolean Since: 03-09-2010 boolean isInProgress() Returns true if the key status is in progress. Returns: boolean Since: 03-09-2010 boolean isNeedsApproval() Returns true if the key status is pending approval. Returns: boolean Since: 03-09-2010 boolean isPalBillingEnabled() Returns true if pal billing is enabled. Returns: boolean Since: 05-30-2013 boolean isRevoked() Returns true if the key has been revoked Returns: boolean Since: 03-09-2010 boolean resetFromBackup(String backupId) Resets this key to the information from the backup.
Parameters:
Returns: boolean Since: 04-16-2010 boolean restrictToPal(String palId) Restricts this activation key to the Pal identified by palId (GUID).
Parameters:
Returns: boolean Since: 03-09-2010 boolean revoke() Sets the status of the activation key to revoked, preventing the creation of new transactions. Returns false if it fails for any reason. Returns: boolean Since: 03-09-2010 boolean setData(Data data) Sets specific values of the activation key from those in the Data object.
Parameters:
Returns: boolean Since: 03-09-2010 setName(String name) Sets the name of this activation key.
Parameters:
Since: 03-09-2010 setPalBillingEnabled(boolean enabled) Enables/disables pal billing
Parameters:
Since: 05-30-2013 setPricingModel(String model) Sets the pricing model (standard, custom).
Parameters:
Since: 03-09-2010 setPricingPlan(String plan) Sets the pricing plan.
Parameters:
Since: 03-09-2010 setStatusAwaitingApproval() Sets the status to awaiting approval. Since: 03-18-2010 setStatusInProgress() Sets the status to in progress. Since: 03-09-2010 setStatusNeedsApproval() Sets the status to needs approval. Since: 03-09-2010 boolean transferToEnterprise(String enterpriseId) Associates this activation key with the specified enterprise. This method returns false if the activation key is not currently associated with the system or if the logged in user is not on a system profile.
Parameters:
Returns: boolean Since: 03-09-2010 boolean unbindFeatures() Disconnect features and associated with a new structure. Returns: boolean Since: 05-06-2010 boolean unbindPricing() Disconnect pricing and associated with a new structure. Returns: boolean Since: 05-06-2010 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |