public class PlanRetry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanRetry.ModeEnum
Retry mode
|
| Constructor and Description |
|---|
PlanRetry() |
| Modifier and Type | Method and Description |
|---|---|
PlanRetry |
addFrequencyItem(Integer frequencyItem) |
PlanRetry |
addScheduleItem(Integer scheduleItem) |
PlanRetry |
duration(Integer duration)
minimum: 1
maximum: 30
|
PlanRetry |
frequency(List<Integer> frequency) |
PlanRetry |
mode(PlanRetry.ModeEnum mode) |
PlanRetry |
retryAdvice(Boolean retryAdvice) |
PlanRetry |
schedule(List<Integer> schedule) |
void |
setDuration(Integer duration) |
void |
setFrequency(List<Integer> frequency) |
void |
setMode(PlanRetry.ModeEnum mode) |
void |
setRetryAdvice(Boolean retryAdvice) |
void |
setSchedule(List<Integer> schedule) |
String |
toString() |
public void setDuration(Integer duration)
public PlanRetry duration(Integer duration)
duration - Value of period time which is retry available for subscription in days. Mandatory, if mode = DEFAULT Possible values: min: 1 max: 30public PlanRetry frequency(List<Integer> frequency)
frequency - Intervals for initiating reties. Mandatory, if mode = INTERVAL Possible element values in array: min: 1 max: 30public void setMode(PlanRetry.ModeEnum mode)
public PlanRetry mode(PlanRetry.ModeEnum mode)
mode - Retry modepublic void setRetryAdvice(Boolean retryAdvice)
public PlanRetry retryAdvice(Boolean retryAdvice)
retryAdvice - If value is true MAC recommendation will be applied, if false retry will be strictly according setting for retry Can be only for mode = INTERVAL (if not specified then default value is 'true')public PlanRetry schedule(List<Integer> schedule)
schedule - Intervals for initiating reties. Mandatory, if mode = CALENDAR Possible element values in array: min: 1 max: 30Copyright © 2024. All rights reserved.