public class Plan extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Plan.DurationUnit |
Modifier and Type | Field and Description |
---|---|
private List<AddOn> |
addOns |
private Integer |
billingDayOfMonth |
private Integer |
billingFrequency |
private Calendar |
createdAt |
private String |
currencyIsoCode |
private String |
description |
private List<Discount> |
discounts |
private String |
id |
private String |
merchantId |
private String |
name |
private Integer |
numberOfBillingCycles |
private BigDecimal |
price |
private Integer |
trialDuration |
private Plan.DurationUnit |
trialDurationUnit |
private Boolean |
trialPeriod |
private Calendar |
updatedAt |
Constructor and Description |
---|
Plan(NodeWrapper node) |
Modifier and Type | Method and Description |
---|---|
List<AddOn> |
getAddOns() |
Integer |
getBillingDayOfMonth() |
Integer |
getBillingFrequency() |
Calendar |
getCreatedAt() |
String |
getCurrencyIsoCode() |
String |
getDescription() |
List<Discount> |
getDiscounts() |
String |
getId() |
String |
getMerchantId() |
String |
getName() |
Integer |
getNumberOfBillingCycles() |
BigDecimal |
getPrice() |
Integer |
getTrialDuration() |
Plan.DurationUnit |
getTrialDurationUnit() |
Calendar |
getUpdatedAt() |
Boolean |
hasTrialPeriod() |
private String id
private String merchantId
private Integer billingDayOfMonth
private Integer billingFrequency
private String currencyIsoCode
private String description
private String name
private Integer numberOfBillingCycles
private BigDecimal price
private Boolean trialPeriod
private Integer trialDuration
private Plan.DurationUnit trialDurationUnit
private Calendar createdAt
private Calendar updatedAt
public Plan(NodeWrapper node)
public Integer getBillingFrequency()
public String getDescription()
public String getId()
public Integer getNumberOfBillingCycles()
public BigDecimal getPrice()
public Boolean hasTrialPeriod()
public Integer getTrialDuration()
public Plan.DurationUnit getTrialDurationUnit()
public String getMerchantId()
public Integer getBillingDayOfMonth()
public String getCurrencyIsoCode()
public String getName()
public Calendar getCreatedAt()
public Calendar getUpdatedAt()
Copyright © 2013-2019. All Rights Reserved.