TransactionRuleInterval class abstract
TransactionRuleInterval
Properties:
- dayOfMonth - The day of month, used when the
duration.unitis months. If not provided, by default, this is set to 1, the first day of the month. - dayOfWeek - The day of week, used when the
duration.unitis weeks. If not provided, by default, this is set to monday. Possible values: sunday, monday, tuesday, wednesday, thursday, friday. - duration - The duration, which you can specify in hours, days, weeks, or months. The maximum duration is 90 days or an equivalent in other units. Required when the
typeis rolling or sliding. - timeOfDay - The time of day, in hh:mm:ss format, used when the
duration.unitis hours. If not provided, by default, this is set to 00:00:00. - timeZone - The time zone. For example, Europe/Amsterdam. By default, this is set to UTC.
- type - The type of interval during which the rule conditions and limits apply, and how often counters are reset. Possible values: * perTransaction: conditions are evaluated and the counters are reset for every transaction. * daily: the counters are reset daily at 00:00:00 CET. * weekly: the counters are reset every Monday at 00:00:00 CET. * monthly: the counters reset every first day of the month at 00:00:00 CET. * lifetime: conditions are applied to the lifetime of the payment instrument. * rolling: conditions are applied and the counters are reset based on a
duration. If the reset date and time are not provided, Adyen applies the default reset time similar to fixed intervals. For example, if the duration is every two weeks, the counter resets every third Monday at 00:00:00 CET. * sliding: conditions are applied and the counters are reset based on the current time and adurationthat you specify.
- Annotations
-
- @BuiltValue.new()
Constructors
- TransactionRuleInterval([void updates(TransactionRuleIntervalBuilder b)])
-
factory
Properties
- dayOfMonth → int?
-
The day of month, used when the
duration.unitis months. If not provided, by default, this is set to 1, the first day of the month.no setter - dayOfWeek → TransactionRuleIntervalDayOfWeekEnum?
-
The day of week, used when the
duration.unitis weeks. If not provided, by default, this is set to monday. Possible values: sunday, monday, tuesday, wednesday, thursday, friday.no setter - duration → Duration?
-
The duration, which you can specify in hours, days, weeks, or months. The maximum duration is 90 days or an equivalent in other units. Required when the
typeis rolling or sliding.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeOfDay → String?
-
The time of day, in hh:mm:ss format, used when the
duration.unitis hours. If not provided, by default, this is set to 00:00:00.no setter - timeZone → String?
-
The time zone. For example, Europe/Amsterdam. By default, this is set to UTC.
no setter
- type → TransactionRuleIntervalTypeEnum
-
The type of interval during which the rule conditions and limits apply, and how often counters are reset. Possible values: * perTransaction: conditions are evaluated and the counters are reset for every transaction. * daily: the counters are reset daily at 00:00:00 CET. * weekly: the counters are reset every Monday at 00:00:00 CET. * monthly: the counters reset every first day of the month at 00:00:00 CET. * lifetime: conditions are applied to the lifetime of the payment instrument. * rolling: conditions are applied and the counters are reset based on a
duration. If the reset date and time are not provided, Adyen applies the default reset time similar to fixed intervals. For example, if the duration is every two weeks, the counter resets every third Monday at 00:00:00 CET. * sliding: conditions are applied and the counters are reset based on the current time and adurationthat you specify.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(TransactionRuleIntervalBuilder)) → TransactionRuleInterval -
Rebuilds the instance.
inherited
-
toBuilder(
) → TransactionRuleIntervalBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
TransactionRuleInterval> -
no setter