ConsumptionAlert Class

Represents a Digital Wallet consumption alert that’s triggered for a consumption card.

sfdw

The following are constructors for ConsumptionAlert.

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.

  • alertTriggerType

    The unit or measurement type of the value that triggered the alert.

  • alertTriggerValue

    The numeric threshold that was crossed to trigger the alert, based on the alertTriggerType.

  • createdDate

    The date and time the alert was created.

  • isNotificationSent

    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