com.konakart.wsapp
Class Subscription

java.lang.Object
  extended by com.konakart.wsapp.Subscription
All Implemented Interfaces:
java.io.Serializable

public class Subscription
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Subscription()
           
Subscription(boolean active, java.math.BigDecimal amount, CreditCard creditCard, java.lang.String custom1, java.lang.String custom2, java.lang.String custom3, java.lang.String custom4, java.lang.String custom5, int customerId, java.util.Calendar dateAdded, int id, java.util.Calendar lastBillingDate, java.util.Calendar lastModified, java.util.Calendar nextBillingDate, int orderId, java.lang.String orderNumber, PaymentSchedule paymentSchedule, int paymentScheduleId, boolean problem, java.lang.String problemDesc, int productId, java.lang.String productSku, java.util.Calendar startDate, java.lang.String subscriptionCode, java.math.BigDecimal trialAmount)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.math.BigDecimal getAmount()
          Gets the amount value for this Subscription.
 CreditCard getCreditCard()
          Gets the creditCard value for this Subscription.
 java.lang.String getCustom1()
          Gets the custom1 value for this Subscription.
 java.lang.String getCustom2()
          Gets the custom2 value for this Subscription.
 java.lang.String getCustom3()
          Gets the custom3 value for this Subscription.
 java.lang.String getCustom4()
          Gets the custom4 value for this Subscription.
 java.lang.String getCustom5()
          Gets the custom5 value for this Subscription.
 int getCustomerId()
          Gets the customerId value for this Subscription.
 java.util.Calendar getDateAdded()
          Gets the dateAdded value for this Subscription.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 int getId()
          Gets the id value for this Subscription.
 java.util.Calendar getLastBillingDate()
          Gets the lastBillingDate value for this Subscription.
 java.util.Calendar getLastModified()
          Gets the lastModified value for this Subscription.
 java.util.Calendar getNextBillingDate()
          Gets the nextBillingDate value for this Subscription.
 int getOrderId()
          Gets the orderId value for this Subscription.
 java.lang.String getOrderNumber()
          Gets the orderNumber value for this Subscription.
 PaymentSchedule getPaymentSchedule()
          Gets the paymentSchedule value for this Subscription.
 int getPaymentScheduleId()
          Gets the paymentScheduleId value for this Subscription.
 java.lang.String getProblemDesc()
          Gets the problemDesc value for this Subscription.
 int getProductId()
          Gets the productId value for this Subscription.
 java.lang.String getProductSku()
          Gets the productSku value for this Subscription.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.util.Calendar getStartDate()
          Gets the startDate value for this Subscription.
 java.lang.String getSubscriptionCode()
          Gets the subscriptionCode value for this Subscription.
 java.math.BigDecimal getTrialAmount()
          Gets the trialAmount value for this Subscription.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 boolean isActive()
          Gets the active value for this Subscription.
 boolean isProblem()
          Gets the problem value for this Subscription.
 void setActive(boolean active)
          Sets the active value for this Subscription.
 void setAmount(java.math.BigDecimal amount)
          Sets the amount value for this Subscription.
 void setCreditCard(CreditCard creditCard)
          Sets the creditCard value for this Subscription.
 void setCustom1(java.lang.String custom1)
          Sets the custom1 value for this Subscription.
 void setCustom2(java.lang.String custom2)
          Sets the custom2 value for this Subscription.
 void setCustom3(java.lang.String custom3)
          Sets the custom3 value for this Subscription.
 void setCustom4(java.lang.String custom4)
          Sets the custom4 value for this Subscription.
 void setCustom5(java.lang.String custom5)
          Sets the custom5 value for this Subscription.
 void setCustomerId(int customerId)
          Sets the customerId value for this Subscription.
 void setDateAdded(java.util.Calendar dateAdded)
          Sets the dateAdded value for this Subscription.
 void setId(int id)
          Sets the id value for this Subscription.
 void setLastBillingDate(java.util.Calendar lastBillingDate)
          Sets the lastBillingDate value for this Subscription.
 void setLastModified(java.util.Calendar lastModified)
          Sets the lastModified value for this Subscription.
 void setNextBillingDate(java.util.Calendar nextBillingDate)
          Sets the nextBillingDate value for this Subscription.
 void setOrderId(int orderId)
          Sets the orderId value for this Subscription.
 void setOrderNumber(java.lang.String orderNumber)
          Sets the orderNumber value for this Subscription.
 void setPaymentSchedule(PaymentSchedule paymentSchedule)
          Sets the paymentSchedule value for this Subscription.
 void setPaymentScheduleId(int paymentScheduleId)
          Sets the paymentScheduleId value for this Subscription.
 void setProblem(boolean problem)
          Sets the problem value for this Subscription.
 void setProblemDesc(java.lang.String problemDesc)
          Sets the problemDesc value for this Subscription.
 void setProductId(int productId)
          Sets the productId value for this Subscription.
 void setProductSku(java.lang.String productSku)
          Sets the productSku value for this Subscription.
 void setStartDate(java.util.Calendar startDate)
          Sets the startDate value for this Subscription.
 void setSubscriptionCode(java.lang.String subscriptionCode)
          Sets the subscriptionCode value for this Subscription.
 void setTrialAmount(java.math.BigDecimal trialAmount)
          Sets the trialAmount value for this Subscription.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subscription

public Subscription()

Subscription

public Subscription(boolean active,
                    java.math.BigDecimal amount,
                    CreditCard creditCard,
                    java.lang.String custom1,
                    java.lang.String custom2,
                    java.lang.String custom3,
                    java.lang.String custom4,
                    java.lang.String custom5,
                    int customerId,
                    java.util.Calendar dateAdded,
                    int id,
                    java.util.Calendar lastBillingDate,
                    java.util.Calendar lastModified,
                    java.util.Calendar nextBillingDate,
                    int orderId,
                    java.lang.String orderNumber,
                    PaymentSchedule paymentSchedule,
                    int paymentScheduleId,
                    boolean problem,
                    java.lang.String problemDesc,
                    int productId,
                    java.lang.String productSku,
                    java.util.Calendar startDate,
                    java.lang.String subscriptionCode,
                    java.math.BigDecimal trialAmount)
Method Detail

isActive

public boolean isActive()
Gets the active value for this Subscription.

Returns:
active

setActive

public void setActive(boolean active)
Sets the active value for this Subscription.

Parameters:
active -

getAmount

public java.math.BigDecimal getAmount()
Gets the amount value for this Subscription.

Returns:
amount

setAmount

public void setAmount(java.math.BigDecimal amount)
Sets the amount value for this Subscription.

Parameters:
amount -

getCreditCard

public CreditCard getCreditCard()
Gets the creditCard value for this Subscription.

Returns:
creditCard

setCreditCard

public void setCreditCard(CreditCard creditCard)
Sets the creditCard value for this Subscription.

Parameters:
creditCard -

getCustom1

public java.lang.String getCustom1()
Gets the custom1 value for this Subscription.

Returns:
custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Sets the custom1 value for this Subscription.

Parameters:
custom1 -

getCustom2

public java.lang.String getCustom2()
Gets the custom2 value for this Subscription.

Returns:
custom2

setCustom2

public void setCustom2(java.lang.String custom2)
Sets the custom2 value for this Subscription.

Parameters:
custom2 -

getCustom3

public java.lang.String getCustom3()
Gets the custom3 value for this Subscription.

Returns:
custom3

setCustom3

public void setCustom3(java.lang.String custom3)
Sets the custom3 value for this Subscription.

Parameters:
custom3 -

getCustom4

public java.lang.String getCustom4()
Gets the custom4 value for this Subscription.

Returns:
custom4

setCustom4

public void setCustom4(java.lang.String custom4)
Sets the custom4 value for this Subscription.

Parameters:
custom4 -

getCustom5

public java.lang.String getCustom5()
Gets the custom5 value for this Subscription.

Returns:
custom5

setCustom5

public void setCustom5(java.lang.String custom5)
Sets the custom5 value for this Subscription.

Parameters:
custom5 -

getCustomerId

public int getCustomerId()
Gets the customerId value for this Subscription.

Returns:
customerId

setCustomerId

public void setCustomerId(int customerId)
Sets the customerId value for this Subscription.

Parameters:
customerId -

getDateAdded

public java.util.Calendar getDateAdded()
Gets the dateAdded value for this Subscription.

Returns:
dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar dateAdded)
Sets the dateAdded value for this Subscription.

Parameters:
dateAdded -

getId

public int getId()
Gets the id value for this Subscription.

Returns:
id

setId

public void setId(int id)
Sets the id value for this Subscription.

Parameters:
id -

getLastBillingDate

public java.util.Calendar getLastBillingDate()
Gets the lastBillingDate value for this Subscription.

Returns:
lastBillingDate

setLastBillingDate

public void setLastBillingDate(java.util.Calendar lastBillingDate)
Sets the lastBillingDate value for this Subscription.

Parameters:
lastBillingDate -

getLastModified

public java.util.Calendar getLastModified()
Gets the lastModified value for this Subscription.

Returns:
lastModified

setLastModified

public void setLastModified(java.util.Calendar lastModified)
Sets the lastModified value for this Subscription.

Parameters:
lastModified -

getNextBillingDate

public java.util.Calendar getNextBillingDate()
Gets the nextBillingDate value for this Subscription.

Returns:
nextBillingDate

setNextBillingDate

public void setNextBillingDate(java.util.Calendar nextBillingDate)
Sets the nextBillingDate value for this Subscription.

Parameters:
nextBillingDate -

getOrderId

public int getOrderId()
Gets the orderId value for this Subscription.

Returns:
orderId

setOrderId

public void setOrderId(int orderId)
Sets the orderId value for this Subscription.

Parameters:
orderId -

getOrderNumber

public java.lang.String getOrderNumber()
Gets the orderNumber value for this Subscription.

Returns:
orderNumber

setOrderNumber

public void setOrderNumber(java.lang.String orderNumber)
Sets the orderNumber value for this Subscription.

Parameters:
orderNumber -

getPaymentSchedule

public PaymentSchedule getPaymentSchedule()
Gets the paymentSchedule value for this Subscription.

Returns:
paymentSchedule

setPaymentSchedule

public void setPaymentSchedule(PaymentSchedule paymentSchedule)
Sets the paymentSchedule value for this Subscription.

Parameters:
paymentSchedule -

getPaymentScheduleId

public int getPaymentScheduleId()
Gets the paymentScheduleId value for this Subscription.

Returns:
paymentScheduleId

setPaymentScheduleId

public void setPaymentScheduleId(int paymentScheduleId)
Sets the paymentScheduleId value for this Subscription.

Parameters:
paymentScheduleId -

isProblem

public boolean isProblem()
Gets the problem value for this Subscription.

Returns:
problem

setProblem

public void setProblem(boolean problem)
Sets the problem value for this Subscription.

Parameters:
problem -

getProblemDesc

public java.lang.String getProblemDesc()
Gets the problemDesc value for this Subscription.

Returns:
problemDesc

setProblemDesc

public void setProblemDesc(java.lang.String problemDesc)
Sets the problemDesc value for this Subscription.

Parameters:
problemDesc -

getProductId

public int getProductId()
Gets the productId value for this Subscription.

Returns:
productId

setProductId

public void setProductId(int productId)
Sets the productId value for this Subscription.

Parameters:
productId -

getProductSku

public java.lang.String getProductSku()
Gets the productSku value for this Subscription.

Returns:
productSku

setProductSku

public void setProductSku(java.lang.String productSku)
Sets the productSku value for this Subscription.

Parameters:
productSku -

getStartDate

public java.util.Calendar getStartDate()
Gets the startDate value for this Subscription.

Returns:
startDate

setStartDate

public void setStartDate(java.util.Calendar startDate)
Sets the startDate value for this Subscription.

Parameters:
startDate -

getSubscriptionCode

public java.lang.String getSubscriptionCode()
Gets the subscriptionCode value for this Subscription.

Returns:
subscriptionCode

setSubscriptionCode

public void setSubscriptionCode(java.lang.String subscriptionCode)
Sets the subscriptionCode value for this Subscription.

Parameters:
subscriptionCode -

getTrialAmount

public java.math.BigDecimal getTrialAmount()
Gets the trialAmount value for this Subscription.

Returns:
trialAmount

setTrialAmount

public void setTrialAmount(java.math.BigDecimal trialAmount)
Sets the trialAmount value for this Subscription.

Parameters:
trialAmount -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2011 DS Data Systems UK Ltd.