public class PlanRetryResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanRetryResponse.ModeEnum
Retry mode
|
| Constructor and Description |
|---|
PlanRetryResponse() |
| Modifier and Type | Method and Description |
|---|---|
PlanRetryResponse |
addFrequencyItem(Integer frequencyItem) |
PlanRetryResponse |
addScheduleItem(Integer scheduleItem) |
PlanRetryResponse |
duration(Integer duration) |
PlanRetryResponse |
frequency(List<Integer> frequency) |
PlanRetryResponse |
mode(PlanRetryResponse.ModeEnum mode) |
PlanRetryResponse |
retryAdvice(Boolean retryAdvice) |
PlanRetryResponse |
schedule(List<Integer> schedule) |
void |
setDuration(Integer duration) |
void |
setFrequency(List<Integer> frequency) |
void |
setMode(PlanRetryResponse.ModeEnum mode) |
void |
setRetryAdvice(Boolean retryAdvice) |
void |
setSchedule(List<Integer> schedule) |
String |
toString() |
public void setDuration(Integer duration)
public PlanRetryResponse 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 PlanRetryResponse frequency(List<Integer> frequency)
frequency - Intervals for initiating reties. Mandatory, if mode = INTERVAL Possible element values in array: min: 1 max: 30public PlanRetryResponse addFrequencyItem(Integer frequencyItem)
public void setMode(PlanRetryResponse.ModeEnum mode)
public PlanRetryResponse mode(PlanRetryResponse.ModeEnum mode)
mode - Retry modepublic void setRetryAdvice(Boolean retryAdvice)
public PlanRetryResponse 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 PlanRetryResponse schedule(List<Integer> schedule)
schedule - Intervals for initiating reties. Mandatory, if mode = CALENDAR Possible element values in array: min: 1 max: 30public PlanRetryResponse addScheduleItem(Integer scheduleItem)
Copyright © 2024. All rights reserved.