com.braintreegateway
Class Plan

java.lang.Object
  extended by com.braintreegateway.Plan

public class Plan
extends Object


Nested Class Summary
static class Plan.DurationUnit
           
 
Field Summary
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 Summary
Plan(NodeWrapper node)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private String id

addOns

private List<AddOn> addOns

merchantId

private String merchantId

billingDayOfMonth

private Integer billingDayOfMonth

billingFrequency

private Integer billingFrequency

currencyIsoCode

private String currencyIsoCode

description

private String description

discounts

private List<Discount> discounts

name

private String name

numberOfBillingCycles

private Integer numberOfBillingCycles

price

private BigDecimal price

trialPeriod

private Boolean trialPeriod

trialDuration

private Integer trialDuration

trialDurationUnit

private Plan.DurationUnit trialDurationUnit

createdAt

private Calendar createdAt

updatedAt

private Calendar updatedAt
Constructor Detail

Plan

public Plan(NodeWrapper node)
Method Detail

getAddOns

public List<AddOn> getAddOns()

getBillingFrequency

public Integer getBillingFrequency()

getDescription

public String getDescription()

getDiscounts

public List<Discount> getDiscounts()

getId

public String getId()

getNumberOfBillingCycles

public Integer getNumberOfBillingCycles()

getPrice

public BigDecimal getPrice()

hasTrialPeriod

public Boolean hasTrialPeriod()

getTrialDuration

public Integer getTrialDuration()

getTrialDurationUnit

public Plan.DurationUnit getTrialDurationUnit()

getMerchantId

public String getMerchantId()

getBillingDayOfMonth

public Integer getBillingDayOfMonth()

getCurrencyIsoCode

public String getCurrencyIsoCode()

getName

public String getName()

getCreatedAt

public Calendar getCreatedAt()

getUpdatedAt

public Calendar getUpdatedAt()


Copyright © 2013. All Rights Reserved.