com.braintreegateway
public class Subscription extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscription.DurationUnit |
static class |
Subscription.Status |
| Modifier and Type | Field and Description |
|---|---|
private ArrayList<AddOn> |
addOns |
private BigDecimal |
balance |
private Integer |
billingDayOfMonth |
private Calendar |
billingPeriodEndDate |
private Calendar |
billingPeriodStartDate |
private Integer |
currentBillingCycle |
private Integer |
daysPastDue |
private Descriptor |
descriptor |
private ArrayList<Discount> |
discounts |
private Integer |
failureCount |
private Calendar |
firstBillingDate |
private Boolean |
hasTrialPeriod |
private String |
id |
private String |
merchantAccountId |
private boolean |
neverExpires |
private BigDecimal |
nextBillAmount |
private Calendar |
nextBillingDate |
private BigDecimal |
nextBillingPeriodAmount |
private Integer |
numberOfBillingCycles |
private Calendar |
paidThroughDate |
private String |
paymentMethodToken |
private String |
planId |
private BigDecimal |
price |
private Subscription.Status |
status |
private List<Transaction> |
transactions |
private Integer |
trialDuration |
private Subscription.DurationUnit |
trialDurationUnit |
| Constructor and Description |
|---|
Subscription(NodeWrapper node) |
| Modifier and Type | Method and Description |
|---|---|
List<AddOn> |
getAddOns() |
BigDecimal |
getBalance() |
Integer |
getBillingDayOfMonth() |
Calendar |
getBillingPeriodEndDate() |
Calendar |
getBillingPeriodStartDate() |
Integer |
getCurrentBillingCycle() |
Integer |
getDaysPastDue() |
Descriptor |
getDescriptor() |
List<Discount> |
getDiscounts() |
Integer |
getFailureCount() |
Calendar |
getFirstBillingDate() |
String |
getId() |
String |
getMerchantAccountId() |
BigDecimal |
getNextBillAmount()
Deprecated.
|
Calendar |
getNextBillingDate() |
BigDecimal |
getNextBillingPeriodAmount() |
Integer |
getNumberOfBillingCycles() |
Calendar |
getPaidThroughDate() |
String |
getPaymentMethodToken() |
String |
getPlanId() |
BigDecimal |
getPrice() |
Subscription.Status |
getStatus() |
List<Transaction> |
getTransactions() |
Integer |
getTrialDuration() |
Subscription.DurationUnit |
getTrialDurationUnit() |
Boolean |
hasTrialPeriod() |
boolean |
neverExpires() |
private BigDecimal balance
private Integer billingDayOfMonth
private Calendar billingPeriodEndDate
private Calendar billingPeriodStartDate
private Integer currentBillingCycle
private Integer daysPastDue
private Descriptor descriptor
private Integer failureCount
private Calendar firstBillingDate
private Boolean hasTrialPeriod
private String id
private String merchantAccountId
private boolean neverExpires
private BigDecimal nextBillAmount
private Calendar nextBillingDate
private BigDecimal nextBillingPeriodAmount
private Integer numberOfBillingCycles
private Calendar paidThroughDate
private String paymentMethodToken
private String planId
private BigDecimal price
private Subscription.Status status
private List<Transaction> transactions
private Integer trialDuration
private Subscription.DurationUnit trialDurationUnit
public Subscription(NodeWrapper node)
public BigDecimal getBalance()
public Integer getBillingDayOfMonth()
public Calendar getBillingPeriodEndDate()
public Calendar getBillingPeriodStartDate()
public Integer getCurrentBillingCycle()
public Integer getDaysPastDue()
public Descriptor getDescriptor()
public Integer getFailureCount()
public Calendar getFirstBillingDate()
public String getId()
public String getMerchantAccountId()
@Deprecated public BigDecimal getNextBillAmount()
public Calendar getNextBillingDate()
public BigDecimal getNextBillingPeriodAmount()
public Integer getNumberOfBillingCycles()
public Calendar getPaidThroughDate()
public String getPaymentMethodToken()
public String getPlanId()
public BigDecimal getPrice()
public Subscription.Status getStatus()
public List<Transaction> getTransactions()
public Integer getTrialDuration()
public Subscription.DurationUnit getTrialDurationUnit()
public Boolean hasTrialPeriod()
public boolean neverExpires()
Copyright © 2013-2014. All Rights Reserved.