com.anet.api
Class ARBSubscription

java.lang.Object
  extended by com.anet.api.ARBSubscription

public class ARBSubscription
extends java.lang.Object

Defines an Automated Recurring Billing Subscription


Constructor Summary
ARBSubscription()
          Constructor
 
Method Summary
 double getAmount()
           
 ARBCustomer getCustomer()
           
 java.lang.String getName()
           
 ARBPayment getPayment()
           
 ARBPaymentSchedule getSchedule()
           
 java.lang.String getSubscriptionId()
           
 double getTrialAmount()
           
 void setAmount(double amount)
           
 void setCustomer(ARBCustomer customer)
           
 void setName(java.lang.String name)
           
 void setPayment(ARBPayment payment)
           
 void setSchedule(ARBPaymentSchedule schedule)
           
 void setSubscriptionId(java.lang.String subscriptionId)
           
 void setTrialAmount(double trialAmount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARBSubscription

public ARBSubscription()
Constructor

Method Detail

getSubscriptionId

public java.lang.String getSubscriptionId()
Returns:
the subscriptionId

setSubscriptionId

public void setSubscriptionId(java.lang.String subscriptionId)
Parameters:
subscriptionId - the subscriptionId to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getSchedule

public ARBPaymentSchedule getSchedule()
Returns:
the schedule

setSchedule

public void setSchedule(ARBPaymentSchedule schedule)
Parameters:
schedule - the schedule to set

getAmount

public double getAmount()
Returns:
the amount

setAmount

public void setAmount(double amount)
Parameters:
amount - the amount to set

getTrialAmount

public double getTrialAmount()
Returns:
the trialAmount

setTrialAmount

public void setTrialAmount(double trialAmount)
Parameters:
trialAmount - the trialAmount to set

getPayment

public ARBPayment getPayment()
Returns:
the payment

setPayment

public void setPayment(ARBPayment payment)
Parameters:
payment - the payment to set

getCustomer

public ARBCustomer getCustomer()
Returns:
the customer

setCustomer

public void setCustomer(ARBCustomer customer)
Parameters:
customer - the customer to set


Copyright © 2011 DS Data Systems UK Ltd.