com.braintreegateway
Class Subscription
java.lang.Object
com.braintreegateway.Subscription
public class Subscription
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addOns
private ArrayList<AddOn> addOns
balance
private BigDecimal balance
billingDayOfMonth
private Integer billingDayOfMonth
billingPeriodEndDate
private Calendar billingPeriodEndDate
billingPeriodStartDate
private Calendar billingPeriodStartDate
currentBillingCycle
private Integer currentBillingCycle
daysPastDue
private Integer daysPastDue
descriptor
private Descriptor descriptor
discounts
private ArrayList<Discount> discounts
failureCount
private Integer failureCount
firstBillingDate
private Calendar firstBillingDate
hasTrialPeriod
private Boolean hasTrialPeriod
id
private String id
merchantAccountId
private String merchantAccountId
neverExpires
private boolean neverExpires
nextBillAmount
private BigDecimal nextBillAmount
nextBillingDate
private Calendar nextBillingDate
nextBillingPeriodAmount
private BigDecimal nextBillingPeriodAmount
numberOfBillingCycles
private Integer numberOfBillingCycles
paidThroughDate
private Calendar paidThroughDate
paymentMethodToken
private String paymentMethodToken
planId
private String planId
price
private BigDecimal price
status
private Subscription.Status status
transactions
private List<Transaction> transactions
trialDuration
private Integer trialDuration
trialDurationUnit
private Subscription.DurationUnit trialDurationUnit
Subscription
public Subscription(NodeWrapper node)
getAddOns
public List<AddOn> getAddOns()
getBalance
public BigDecimal getBalance()
getBillingDayOfMonth
public Integer getBillingDayOfMonth()
getBillingPeriodEndDate
public Calendar getBillingPeriodEndDate()
getBillingPeriodStartDate
public Calendar getBillingPeriodStartDate()
getCurrentBillingCycle
public Integer getCurrentBillingCycle()
getDaysPastDue
public Integer getDaysPastDue()
getDescriptor
public Descriptor getDescriptor()
getDiscounts
public List<Discount> getDiscounts()
getFailureCount
public Integer getFailureCount()
getFirstBillingDate
public Calendar getFirstBillingDate()
getId
public String getId()
getMerchantAccountId
public String getMerchantAccountId()
getNextBillAmount
@Deprecated
public BigDecimal getNextBillAmount()
- Deprecated.
getNextBillingDate
public Calendar getNextBillingDate()
getNextBillingPeriodAmount
public BigDecimal getNextBillingPeriodAmount()
getNumberOfBillingCycles
public Integer getNumberOfBillingCycles()
getPaidThroughDate
public Calendar getPaidThroughDate()
getPaymentMethodToken
public String getPaymentMethodToken()
getPlanId
public String getPlanId()
getPrice
public BigDecimal getPrice()
getStatus
public Subscription.Status getStatus()
getTransactions
public List<Transaction> getTransactions()
getTrialDuration
public Integer getTrialDuration()
getTrialDurationUnit
public Subscription.DurationUnit getTrialDurationUnit()
hasTrialPeriod
public Boolean hasTrialPeriod()
neverExpires
public boolean neverExpires()
Copyright © 2013. All Rights Reserved.