public class ResponsePlanData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResponsePlanData.PeriodEnum
Period of created plan
|
static class |
ResponsePlanData.StatusEnum
Status of created plan: 'ACTIVE' or 'INACTIVE'
|
| Constructor and Description |
|---|
ResponsePlanData() |
| Modifier and Type | Method and Description |
|---|---|
ResponsePlanData |
amount(BigDecimal amount) |
ResponsePlanData |
created(OffsetDateTime created) |
ResponsePlanData |
currency(String currency) |
ResponsePlanData |
id(String id) |
ResponsePlanData |
interval(Integer interval) |
ResponsePlanData |
name(String name) |
ResponsePlanData |
period(ResponsePlanData.PeriodEnum period) |
ResponsePlanData |
retries(Integer retries) |
void |
setAmount(BigDecimal amount) |
void |
setCreated(OffsetDateTime created) |
void |
setCurrency(String currency) |
void |
setId(String id) |
void |
setInterval(Integer interval) |
void |
setName(String name) |
void |
setPeriod(ResponsePlanData.PeriodEnum period) |
void |
setRetries(Integer retries) |
void |
setStatus(ResponsePlanData.StatusEnum status) |
ResponsePlanData |
status(ResponsePlanData.StatusEnum status) |
String |
toString() |
public void setId(String id)
public ResponsePlanData id(String id)
id - ID of created planpublic void setName(String name)
public ResponsePlanData name(String name)
name - Name of created planpublic void setCreated(OffsetDateTime created)
public ResponsePlanData created(OffsetDateTime created)
created - Creation time, [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) formatpublic void setStatus(ResponsePlanData.StatusEnum status)
public ResponsePlanData status(ResponsePlanData.StatusEnum status)
status - Status of created plan: 'ACTIVE' or 'INACTIVE'public void setPeriod(ResponsePlanData.PeriodEnum period)
public ResponsePlanData period(ResponsePlanData.PeriodEnum period)
period - Period of created planpublic void setInterval(Integer interval)
public ResponsePlanData interval(Integer interval)
interval - Interval of planpublic void setCurrency(String currency)
public ResponsePlanData currency(String currency)
currency - [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of created planpublic void setAmount(BigDecimal amount)
public ResponsePlanData amount(BigDecimal amount)
amount - The total amount of created planpublic void setRetries(Integer retries)
public ResponsePlanData retries(Integer retries)
retries - Number of daily basis retry attempts in case of payment has not been captured successfully, from 1 to 15 attemptsCopyright © 2020. All rights reserved.