ConsumptionAlert Class
Represents a Digital Wallet consumption alert that’s triggered for a consumption card.
The following are constructors for ConsumptionAlert.
-
ConsumptionAlert(alertTriggerType, alertTriggerValue, isNotificationSent, createdDate)
Creates a new instance of the ConsumptionAlert class using the specified trigger and notification details.
Creates a new instance of the ConsumptionAlert class using the specified trigger and notification details.
public ConsumptionAlert(String alertTriggerType, Integer alertTriggerValue, Boolean isNotificationSent, Datetime createdDate)
- alertTriggerType
Type: String
The unit or measurement type of the value that triggered the alert.
- alertTriggerValue
Type: Integer
The numeric threshold that was crossed to trigger the alert, based on the alertTriggerType.
- isNotificationSent
Type: Boolean
Indicates whether a notification has been sent for this alert (true) or not (false).
- createdDate
Type: Datetime
The date and time the alert was created.
The following are properties for ConsumptionAlert.
-
The unit or measurement type of the value that triggered the alert.
-
The numeric threshold that was crossed to trigger the alert, based on the alertTriggerType.
-
The date and time the alert was created.
-
Indicates whether a notification has been sent for this alert (true) or not (false).
The unit or measurement type of the value that triggered the alert.
public String alertTriggerType {get; set;}
Type: String
The numeric threshold that was crossed to trigger the alert, based on the alertTriggerType.
public Integer alertTriggerValue {get; set;}
Type: Integer
The date and time the alert was created.
public Datetime createdDate {get; set;}
Type: Datetime
Indicates whether a notification has been sent for this alert (true) or not (false).
public Boolean isNotificationSent {get; set;}
Type: Boolean