ConsumptionAlert Class

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

Namespace

sfdw

ConsumptionAlert Constructors

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.

Signature

public ConsumptionAlert(String alertTriggerType, Integer alertTriggerValue, Boolean isNotificationSent, Datetime createdDate)

Parameters

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.

ConsumptionAlert Properties

The following are properties for ConsumptionAlert.

alertTriggerType

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

Signature

public String alertTriggerType {get; set;}

Property Value

Type: String

alertTriggerValue

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

Signature

public Integer alertTriggerValue {get; set;}

Property Value

Type: Integer

createdDate

The date and time the alert was created.

Signature

public Datetime createdDate {get; set;}

Property Value

Type: Datetime

isNotificationSent

Indicates whether a notification has been sent for this alert (true) or not (false).

Signature

public Boolean isNotificationSent {get; set;}

Property Value

Type: Boolean