@Deprecated
public class Subscription
extends java.lang.Object
implements java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
Subscription()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Subscription |
createSubscription()
Deprecated.
Create a subscription.
|
java.math.BigDecimal |
getAmount()
Deprecated.
Get the subscription amount.
|
Customer |
getCustomer()
Deprecated.
Get the customer container.
|
java.lang.String |
getName()
Deprecated.
Get the name of the subscription.
|
Order |
getOrder()
Deprecated.
|
Payment |
getPayment()
Deprecated.
Get the payment container.
|
Profile |
getProfile()
Deprecated.
Get the profile container.
|
java.lang.String |
getRefId()
Deprecated.
|
PaymentSchedule |
getSchedule()
Deprecated.
Get the payment schedule of the subscription.
|
java.lang.String |
getSubscriptionId()
Deprecated.
Get the subscription id.
|
java.math.BigDecimal |
getTrialAmount()
Deprecated.
Get the trial amount of the subscription.
|
void |
setAmount(java.math.BigDecimal amount)
Deprecated.
Set the subscription amount.
|
void |
setCustomer(Customer customer)
Deprecated.
Set the customer container.
|
void |
setName(java.lang.String name)
Deprecated.
Set the name of the subscription.
|
void |
setOrder(Order order)
Deprecated.
|
void |
setPayment(Payment payment)
Deprecated.
Set the payment container for the subscription.
|
void |
setProfile(Profile profile)
Deprecated.
Set the profile container.
|
void |
setRefId(java.lang.String refId)
Deprecated.
|
void |
setSchedule(PaymentSchedule schedule)
Deprecated.
Set the payment schedule of the subscription.
|
void |
setSubscriptionId(java.lang.String subscription_id)
Deprecated.
Set the subscription id.
|
void |
setTrialAmount(java.math.BigDecimal trial_amount)
Deprecated.
Set the trial amount of the subscription.
|
public static Subscription createSubscription()
public java.lang.String getSubscriptionId()
public void setSubscriptionId(java.lang.String subscription_id)
subscription_id - public Customer getCustomer()
public void setCustomer(Customer customer)
customer - public Profile getProfile()
public void setProfile(Profile profile)
profile - public java.math.BigDecimal getAmount()
public void setAmount(java.math.BigDecimal amount)
amount - public java.lang.String getName()
public void setName(java.lang.String name)
name - public Payment getPayment()
public void setPayment(Payment payment)
payment - public PaymentSchedule getSchedule()
public void setSchedule(PaymentSchedule schedule)
schedule - public java.math.BigDecimal getTrialAmount()
public void setTrialAmount(java.math.BigDecimal trial_amount)
trial_amount - public java.lang.String getRefId()
public void setRefId(java.lang.String refId)
refId - the refId to setpublic Order getOrder()
public void setOrder(Order order)
order - the order to setCopyright © 2018. All Rights Reserved.