public interface SubscriptionIf
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getAmount()
The amount billed
|
CreditCardIf |
getCreditCard()
Credit Card for the subscription
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
int |
getCustomerId()
Customer id
|
java.util.Calendar |
getDateAdded() |
int |
getId() |
java.util.Calendar |
getLastBillingDate()
The last time that the customer was billed
|
java.util.Calendar |
getLastModified() |
java.util.Calendar |
getNextBillingDate()
The next time that the customer will be billed
|
int |
getOrderId()
Id of the order
|
java.lang.String |
getOrderNumber()
Order Number
|
PaymentScheduleIf |
getPaymentSchedule()
PaymentSchedule object for this subscription
|
int |
getPaymentScheduleId()
PaymentSchedule id for this subscription
|
java.lang.String |
getProblemDesc()
A description of the problem detected during billing
|
int |
getProductId()
Id of the product being paid for
|
java.lang.String |
getProductSku()
SKU of the product being paid for
|
java.util.Calendar |
getStartDate()
Start date for the subscription
|
java.lang.String |
getSubscriptionCode()
Unique code for the subscription.
|
java.math.BigDecimal |
getTrialAmount()
The amount billed during the trial period
|
boolean |
isActive()
Set to true when the subscription is active
|
boolean |
isProblem()
Set to true if a problem has been detected during a billing transaction.
|
void |
setActive(boolean active)
Set to true when the subscription is active
|
void |
setAmount(java.math.BigDecimal amount)
The amount billed
|
void |
setCreditCard(CreditCardIf creditCard)
Credit Card for the subscription
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustomerId(int customerId)
Customer id
|
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setId(int id) |
void |
setLastBillingDate(java.util.Calendar lastBillingDate)
The last time that the customer was billed
|
void |
setLastModified(java.util.Calendar lastModified) |
void |
setNextBillingDate(java.util.Calendar nextBillingDate)
The next time that the customer will be billed
|
void |
setOrderId(int orderId)
Id of the order
|
void |
setOrderNumber(java.lang.String orderNumber)
Order Number
|
void |
setPaymentSchedule(PaymentScheduleIf paymentSchedule)
PaymentSchedule object for this subscription
|
void |
setPaymentScheduleId(int paymentScheduleId)
PaymentSchedule id for this subscription
|
void |
setProblem(boolean problem)
Set to true if a problem has been detected during a billing transaction.
|
void |
setProblemDesc(java.lang.String problemDesc)
A description of the problem detected during billing
|
void |
setProductId(int productId)
Id of the product being paid for
|
void |
setProductSku(java.lang.String productSku)
SKU of the product being paid for
|
void |
setStartDate(java.util.Calendar startDate)
Start date for the subscription
|
void |
setSubscriptionCode(java.lang.String subscriptionCode)
Unique code for the subscription.
|
void |
setTrialAmount(java.math.BigDecimal trialAmount)
The amount billed during the trial period
|
int getId()
void setId(int id)
id
- the id to setjava.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setjava.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setjava.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setjava.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setjava.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setjava.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded
- the dateAdded to setjava.util.Calendar getLastModified()
void setLastModified(java.util.Calendar lastModified)
lastModified
- the lastModified to setint getOrderId()
void setOrderId(int orderId)
orderId
- the orderId to setint getProductId()
void setProductId(int productId)
productId
- the productId to setjava.lang.String getSubscriptionCode()
void setSubscriptionCode(java.lang.String subscriptionCode)
subscriptionCode
- the subscriptionCode to setjava.util.Calendar getStartDate()
void setStartDate(java.util.Calendar startDate)
startDate
- the startDate to setjava.math.BigDecimal getAmount()
void setAmount(java.math.BigDecimal amount)
amount
- the amount to setjava.math.BigDecimal getTrialAmount()
void setTrialAmount(java.math.BigDecimal trialAmount)
trialAmount
- the trialAmount to setboolean isActive()
void setActive(boolean active)
active
- the active to setboolean isProblem()
void setProblem(boolean problem)
problem
- the problem to setjava.lang.String getProblemDesc()
void setProblemDesc(java.lang.String problemDesc)
problemDesc
- the problemDesc to setjava.util.Calendar getLastBillingDate()
void setLastBillingDate(java.util.Calendar lastBillingDate)
lastBillingDate
- the lastBillingDate to setjava.util.Calendar getNextBillingDate()
void setNextBillingDate(java.util.Calendar nextBillingDate)
nextBillingDate
- the nextBillingDate to setPaymentScheduleIf getPaymentSchedule()
void setPaymentSchedule(PaymentScheduleIf paymentSchedule)
paymentSchedule
- the paymentSchedule to setint getPaymentScheduleId()
void setPaymentScheduleId(int paymentScheduleId)
paymentScheduleId
- the paymentScheduleId to setjava.lang.String getOrderNumber()
void setOrderNumber(java.lang.String orderNumber)
orderNumber
- the orderNumber to setjava.lang.String getProductSku()
void setProductSku(java.lang.String productSku)
productSku
- the productSku to setint getCustomerId()
void setCustomerId(int customerId)
customerId
- the customerId to setCreditCardIf getCreditCard()
void setCreditCard(CreditCardIf creditCard)
creditCard
- the creditCard to setCopyright © 2018 DS Data Systems UK Ltd.