Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 2.38 KB

TransactionRuleInterval.md

File metadata and controls

29 lines (20 loc) · 2.38 KB

TransactionRuleInterval

Properties

Name Type Description Notes
type inline 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 UTC. * weekly: the counters are reset every Monday at 00:00:00 UTC. * monthly: the counters reset every first day of the month at 00:00:00 UTC. * 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 UTC. * sliding: conditions are applied and the counters are reset based on the current time and a `duration` that you specify.
dayOfMonth kotlin.Int The day of month, used when the `duration.unit` is months. If not provided, by default, this is set to 1, the first day of the month. [optional]
dayOfWeek inline The day of week, used when the `duration.unit` is weeks. If not provided, by default, this is set to monday. Possible values: sunday, monday, tuesday, wednesday, thursday, friday. [optional]
duration Duration [optional]
timeOfDay kotlin.String The time of day, in hh:mm:ss format, used when the `duration.unit` is hours. If not provided, by default, this is set to 00:00:00. [optional]
timeZone kotlin.String The time zone. For example, Europe/Amsterdam. By default, this is set to UTC. [optional]

Enum: type

Name Value
type daily, lifetime, monthly, perTransaction, rolling, sliding, weekly

Enum: dayOfWeek

Name Value
dayOfWeek friday, monday, saturday, sunday, thursday, tuesday, wednesday