|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.PaymentSchedule
public class PaymentSchedule
Defines the details of a payment schedule for recurring billing.
| Field Summary | |
|---|---|
static int |
DAILY
Unit of time |
static int |
MONTHLY
Unit of time |
static int |
WEEKLY
Unit of time |
static int |
YEARLY
Unit of time |
| Constructor Summary | |
|---|---|
PaymentSchedule()
Constructor |
|
PaymentSchedule(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Country object from a Record object |
|
| Method Summary | |
|---|---|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
java.util.Calendar |
getDateAdded()
|
int |
getDayOfMonth()
Some payment gateways allow you to define the day of the month used for monthly billing. |
java.lang.String |
getDescription()
An optional description of the schedule |
int |
getId()
|
java.lang.String |
getName()
Name of the schedule so that it can be identified |
int |
getNumPayments()
Number of billing occurrences or payments for the subscription. |
int |
getNumTrialPayments()
Number of billing occurrences or payments in the trial period. |
int |
getTimeLength()
Defines the length of time between payments. |
int |
getTimeUnit()
The unit of measurement used to determine the time between payments. |
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 |
setDateAdded(java.util.Calendar dateAdded)
|
void |
setDayOfMonth(int dayOfMonth)
Some payment gateways allow you to define the day of the month used for monthly billing. |
void |
setDescription(java.lang.String description)
An optional description of the schedule |
void |
setId(int id)
|
void |
setName(java.lang.String name)
Name of the schedule so that it can be identified |
void |
setNumPayments(int numPayments)
Number of billing occurrences or payments for the subscription. |
void |
setNumTrialPayments(int numTrialPayments)
Number of billing occurrences or payments in the trial period. |
void |
setTimeLength(int timeLength)
Defines the length of time between payments. |
void |
setTimeUnit(int timeUnit)
The unit of measurement used to determine the time between payments. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DAILY
public static final int WEEKLY
public static final int MONTHLY
public static final int YEARLY
| Constructor Detail |
|---|
public PaymentSchedule()
public PaymentSchedule(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column names
com.workingdogs.village.DataSetException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int getId()
getId in interface PaymentScheduleIfpublic void setId(int id)
setId in interface PaymentScheduleIfid - the id to setpublic int getTimeUnit()
getTimeUnit in interface PaymentScheduleIfpublic void setTimeUnit(int timeUnit)
setTimeUnit in interface PaymentScheduleIftimeUnit - the timeUnit to setpublic int getTimeLength()
getTimeLength in interface PaymentScheduleIfpublic void setTimeLength(int timeLength)
setTimeLength in interface PaymentScheduleIftimeLength - the timeLength to setpublic int getDayOfMonth()
getDayOfMonth in interface PaymentScheduleIfpublic void setDayOfMonth(int dayOfMonth)
setDayOfMonth in interface PaymentScheduleIfdayOfMonth - the dayOfMonth to setpublic int getNumPayments()
getNumPayments in interface PaymentScheduleIfpublic void setNumPayments(int numPayments)
setNumPayments in interface PaymentScheduleIfnumPayments - the numPayments to setpublic int getNumTrialPayments()
getNumTrialPayments in interface PaymentScheduleIfpublic void setNumTrialPayments(int numTrialPayments)
setNumTrialPayments in interface PaymentScheduleIfnumTrialPayments - the numTrialPayments to setpublic java.lang.String getCustom1()
getCustom1 in interface PaymentScheduleIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface PaymentScheduleIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface PaymentScheduleIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface PaymentScheduleIfcustom2 - the custom2 to setpublic java.lang.String getCustom3()
getCustom3 in interface PaymentScheduleIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface PaymentScheduleIfcustom3 - the custom3 to setpublic java.lang.String getCustom4()
getCustom4 in interface PaymentScheduleIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface PaymentScheduleIfcustom4 - the custom4 to setpublic java.lang.String getCustom5()
getCustom5 in interface PaymentScheduleIfpublic void setCustom5(java.lang.String custom5)
setCustom5 in interface PaymentScheduleIfcustom5 - the custom5 to setpublic java.lang.String getName()
getName in interface PaymentScheduleIfpublic void setName(java.lang.String name)
setName in interface PaymentScheduleIfname - the name to setpublic java.lang.String getDescription()
getDescription in interface PaymentScheduleIfpublic void setDescription(java.lang.String description)
setDescription in interface PaymentScheduleIfdescription - the description to setpublic java.util.Calendar getDateAdded()
getDateAdded in interface PaymentScheduleIfpublic void setDateAdded(java.util.Calendar dateAdded)
setDateAdded in interface PaymentScheduleIfdateAdded - the dateAdded to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||