public class CreatePlanRequest extends Request
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
amount |
protected String |
currency |
protected String |
id |
protected String |
interval |
protected Integer |
intervalCount |
protected Map<String,Object> |
metadata |
protected String |
name |
protected String |
statementDescription |
protected Integer |
trialPeriodDays |
| Constructor and Description |
|---|
CreatePlanRequest(String id,
Integer amount,
String currency,
String interval,
String name) |
| Modifier and Type | Method and Description |
|---|---|
CreatePlanRequest |
setIntervalCount(Integer intervalCount) |
CreatePlanRequest |
setMetadata(Map<String,Object> metadata) |
CreatePlanRequest |
setStatementDescription(String statementDescription) |
CreatePlanRequest |
setTrialPeriodDays(Integer trialPeriodDays) |
dateToString, toRequest, toRequest, toRequestprotected String id
protected Integer amount
protected String currency
protected String interval
protected Integer intervalCount
protected String name
protected Integer trialPeriodDays
protected String statementDescription
public CreatePlanRequest setIntervalCount(Integer intervalCount)
public CreatePlanRequest setTrialPeriodDays(Integer trialPeriodDays)
public CreatePlanRequest setMetadata(Map<String,Object> metadata)
public CreatePlanRequest setStatementDescription(String statementDescription)
Copyright © 2014. All rights reserved.