ConsumptionCard Class
Represents a Digital Wallet consumption card, including its consumption, total entitlement, and related consumption alerts.
The following are constructors for ConsumptionCard.
-
Creates a new instance of the ConsumptionCard class using the specified card details and alerts.
Creates a new instance of the ConsumptionCard class using the specified card details and alerts.
public ConsumptionCard(String cardDefinitionDeveloperName, String businessEnvType, String usageModel, Double unitsConsumed, Double totalEntitlement, List<sfdw.ConsumptionAlert> consumptionAlerts)
- cardDefinitionDeveloperName
Type: String
The developer name for the consumption card.
- businessEnvType
Type: String
The environment type of the org containing the card’s entitlement.
- usageModel
Type: String
The buying model for the consumption card.
- unitsConsumed
Type: Double
The number of units consumed for the consumption card.
- totalEntitlement
Type: Double
The total entitlement available for the consumption card.
- consumptionAlerts
Type: List <sfdw.ConsumptionAlert>
The consumption alerts already triggered for the consumption card.
The following are properties for ConsumptionCard.
-
The environment type of the org containing the card’s entitlement.
-
The developer name for the consumption card.
-
The consumption alerts already triggered for the consumption card.
-
The total entitlement available for the consumption card.
-
The number of units consumed for the consumption card.
-
The buying model of the consumption card.
The environment type of the org containing the card’s entitlement.
public String businessEnvType {get; set;}
Type: String
The developer name for the consumption card.
public String cardDefinitionDeveloperName {get; set;}
Type: String
The consumption alerts already triggered for the consumption card.
public List<sfdw.ConsumptionAlert> consumptionAlerts {get; set;}
Type: List<sfdw.ConsumptionAlert>
The total entitlement available for the consumption card.
public Double totalEntitlement {get; set;}
Type: Double
The number of units consumed for the consumption card.
public Double unitsConsumed {get; set;}
Type: Double
The buying model of the consumption card.
public String usageModel {get; set;}
Type: String