public class PaymentSchedule extends java.lang.Object implements PaymentScheduleIf
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PaymentSchedule()
Constructor
|
PaymentSchedule(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Country object from a Record object
|
Modifier and Type | Method and Description |
---|---|
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() |
public static final int DAILY
public static final int WEEKLY
public static final int MONTHLY
public static final int YEARLY
public PaymentSchedule()
public PaymentSchedule(com.workingdogs.village.Record vr, KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
getId
in interface PaymentScheduleIf
public void setId(int id)
setId
in interface PaymentScheduleIf
id
- the id to setpublic int getTimeUnit()
getTimeUnit
in interface PaymentScheduleIf
public void setTimeUnit(int timeUnit)
setTimeUnit
in interface PaymentScheduleIf
timeUnit
- the timeUnit to setpublic int getTimeLength()
getTimeLength
in interface PaymentScheduleIf
public void setTimeLength(int timeLength)
setTimeLength
in interface PaymentScheduleIf
timeLength
- the timeLength to setpublic int getDayOfMonth()
getDayOfMonth
in interface PaymentScheduleIf
public void setDayOfMonth(int dayOfMonth)
setDayOfMonth
in interface PaymentScheduleIf
dayOfMonth
- the dayOfMonth to setpublic int getNumPayments()
getNumPayments
in interface PaymentScheduleIf
public void setNumPayments(int numPayments)
setNumPayments
in interface PaymentScheduleIf
numPayments
- the numPayments to setpublic int getNumTrialPayments()
getNumTrialPayments
in interface PaymentScheduleIf
public void setNumTrialPayments(int numTrialPayments)
setNumTrialPayments
in interface PaymentScheduleIf
numTrialPayments
- the numTrialPayments to setpublic java.lang.String getCustom1()
getCustom1
in interface PaymentScheduleIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface PaymentScheduleIf
custom1
- the custom1 to setpublic java.lang.String getCustom2()
getCustom2
in interface PaymentScheduleIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface PaymentScheduleIf
custom2
- the custom2 to setpublic java.lang.String getCustom3()
getCustom3
in interface PaymentScheduleIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface PaymentScheduleIf
custom3
- the custom3 to setpublic java.lang.String getCustom4()
getCustom4
in interface PaymentScheduleIf
public void setCustom4(java.lang.String custom4)
setCustom4
in interface PaymentScheduleIf
custom4
- the custom4 to setpublic java.lang.String getCustom5()
getCustom5
in interface PaymentScheduleIf
public void setCustom5(java.lang.String custom5)
setCustom5
in interface PaymentScheduleIf
custom5
- the custom5 to setpublic java.lang.String getName()
getName
in interface PaymentScheduleIf
public void setName(java.lang.String name)
setName
in interface PaymentScheduleIf
name
- the name to setpublic java.lang.String getDescription()
getDescription
in interface PaymentScheduleIf
public void setDescription(java.lang.String description)
setDescription
in interface PaymentScheduleIf
description
- the description to setpublic java.util.Calendar getDateAdded()
getDateAdded
in interface PaymentScheduleIf
public void setDateAdded(java.util.Calendar dateAdded)
setDateAdded
in interface PaymentScheduleIf
dateAdded
- the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.