net.authorize.data.arb
Class Subscription

java.lang.Object
  extended by net.authorize.data.arb.Subscription
All Implemented Interfaces:
Serializable

public class Subscription
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
protected Subscription()
           
 
Method Summary
static Subscription createSubscription()
          Create a subscription.
 BigDecimal getAmount()
          Get the subscription amount.
 Customer getCustomer()
          Get the customer container.
 String getName()
          Get the name of the subscription.
 Order getOrder()
           
 Payment getPayment()
          Get the payment container.
 String getRefId()
           
 PaymentSchedule getSchedule()
          Get the payment schedule of the subscription.
 String getSubscriptionId()
          Get the subscription id.
 BigDecimal getTrialAmount()
          Get the trial amount of the subscription.
 void setAmount(BigDecimal amount)
          Set the subscription amount.
 void setCustomer(Customer customer)
          Set the customer container.
 void setName(String name)
          Set the name of the subscription.
 void setOrder(Order order)
           
 void setPayment(Payment payment)
          Set the payment container for the subscription.
 void setRefId(String refId)
           
 void setSchedule(PaymentSchedule schedule)
          Set the payment schedule of the subscription.
 void setSubscriptionId(String subscription_id)
          Set the subscription id.
 void setTrialAmount(BigDecimal trial_amount)
          Set the trial amount of the subscription.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subscription

protected Subscription()
Method Detail

createSubscription

public static Subscription createSubscription()
Create a subscription.

Returns:
Subscription

getSubscriptionId

public String getSubscriptionId()
Get the subscription id.

Returns:
String

setSubscriptionId

public void setSubscriptionId(String subscription_id)
Set the subscription id.

Parameters:
subscription_id -

getCustomer

public Customer getCustomer()
Get the customer container.

Returns:
Customer

setCustomer

public void setCustomer(Customer customer)
Set the customer container.

Parameters:
customer -

getAmount

public BigDecimal getAmount()
Get the subscription amount.

Returns:
BigDecimal

setAmount

public void setAmount(BigDecimal amount)
Set the subscription amount.

Parameters:
amount -

getName

public String getName()
Get the name of the subscription.

Returns:
String

setName

public void setName(String name)
Set the name of the subscription.

Parameters:
name -

getPayment

public Payment getPayment()
Get the payment container.

Returns:
Payment

setPayment

public void setPayment(Payment payment)
Set the payment container for the subscription.

Parameters:
payment -

getSchedule

public PaymentSchedule getSchedule()
Get the payment schedule of the subscription.

Returns:
PaymentSchedule

setSchedule

public void setSchedule(PaymentSchedule schedule)
Set the payment schedule of the subscription.

Parameters:
schedule -

getTrialAmount

public BigDecimal getTrialAmount()
Get the trial amount of the subscription.

Returns:
BigDecimal

setTrialAmount

public void setTrialAmount(BigDecimal trial_amount)
Set the trial amount of the subscription.

Parameters:
trial_amount -

getRefId

public String getRefId()
Returns:
the refId

setRefId

public void setRefId(String refId)
Parameters:
refId - the refId to set

getOrder

public Order getOrder()
Returns:
the order

setOrder

public void setOrder(Order order)
Parameters:
order - the order to set


Copyright © 2014. All Rights Reserved.