Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

RecurringTiming Class

Represents a payment that occurs on a regular basis.

Namespace

RichMessaging

RecurringTiming Constructors

The following are constructors for RecurringTiming.

RecurringTiming(startDate, endDate, intervalCount, intervalUnit)

Creates a new instance of the RichMessaging.RecurringTiming class.

Signature

public RecurringTiming(Date startDate, Date endDate, Integer intervalCount, RichMessaging.TimingIntervalUnit intervalUnit)

Parameters

  • startDate: Type: Date The start date. Invocable variable.
  • endDate: Type: Date The end date. Invocable variable.
  • intervalCount: Type: Integer The number of interval units that make up the total payment interval. Invocable variable.
  • intervalUnit: Type: RichMessaging.TimingIntervalUnit The amount of time—in calendar units, such as day, month, or year—that represents a fraction of the total payment interval. Invocable variable.

RecurringTiming()

Creates a new instance of the RichMessaging.RecurringTiming class.

Signature

public RecurringTiming()

RecurringTiming Properties

The following are properties for RecurringTiming.

endDate

The end date. Invocable variable.

Signature

public Date endDate {get; set;}

Property Value

Type: Date

endDateValue

The end date. Enabled for Lightning components.

Signature

public Date endDateValue {get; set;}

Property Value

Type: Date

intervalCount

The number of interval units that make up the total payment interval. Invocable variable.

Signature

public Integer intervalCount {get; set;}

Property Value

Type: Integer

intervalCountValue

The number of interval units that make up the total payment interval. Enabled for Lightning components.

Signature

public Integer intervalCountValue {get; set;}

Property Value

Type: Integer

intervalUnit

The amount of time—in calendar units, such as day, month, or year—that represents a fraction of the total payment interval. Invocable variable.

Signature

public String intervalUnit {get; set;}

Property Value

Type: String

intervalUnitValue

The amount of time—in calendar units, such as day, month, or year—that represents a fraction of the total payment interval. Enabled for Lightning components.

Signature

public RichMessaging.TimingIntervalUnit intervalUnitValue {get; set;}

Property Value

Type: RichMessaging.TimingIntervalUnit

startDate

The start date. Invocable variable.

Signature

public Date startDate {get; set;}

Property Value

Type: Date

startDateValue

The start date. Enabled for Lightning components.

Signature

public Date startDateValue {get; set;}

Property Value

Type: Date

timingType

Always returns “RecurringTiming”.

Signature

public String timingType {get; set;}

Property Value

Type: String