public class AdminPaymentSchedule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
custom1
custom field
|
private java.lang.String |
custom2
custom field
|
private java.lang.String |
custom3
custom field
|
private java.lang.String |
custom4
custom field
|
private java.lang.String |
custom5
custom field
|
static int |
DAILY
Unit of time
|
private java.util.Date |
dateAdded
dateAdded
|
private int |
dayOfMonth
Some payment gateways allow you to define the day of the month used for monthly billing.
|
private java.lang.String |
description
An optional description of the schedule
|
private int |
id
Id
|
static int |
MONTHLY
Unit of time
|
private java.lang.String |
name
Name of the schedule so that it can be identified
|
private int |
numPayments
Number of billing occurrences or payments for the subscription.
|
private int |
numTrialPayments
Number of billing occurrences or payments in the trial period.
|
private int |
timeLength
Defines the length of time between payments.
|
private int |
timeUnit
The unit of measurement used to determine the time between payments.
|
static int |
WEEKLY
Unit of time
|
static int |
YEARLY
Unit of time
|
Constructor and Description |
---|
AdminPaymentSchedule()
Constructor
|
AdminPaymentSchedule(com.workingdogs.village.Record vr,
com.konakart.db.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.Date |
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.Date 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
private int id
private java.lang.String name
private java.lang.String description
private int timeUnit
private int timeLength
private int dayOfMonth
private int numPayments
private int numTrialPayments
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
private java.util.Date dateAdded
public AdminPaymentSchedule()
public AdminPaymentSchedule(com.workingdogs.village.Record vr, com.konakart.db.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()
public void setId(int id)
id
- the id to setpublic int getTimeUnit()
public void setTimeUnit(int timeUnit)
timeUnit
- the timeUnit to setpublic int getTimeLength()
public void setTimeLength(int timeLength)
timeLength
- the timeLength to setpublic int getDayOfMonth()
public void setDayOfMonth(int dayOfMonth)
dayOfMonth
- the dayOfMonth to setpublic int getNumPayments()
public void setNumPayments(int numPayments)
numPayments
- the numPayments to setpublic int getNumTrialPayments()
public void setNumTrialPayments(int numTrialPayments)
numTrialPayments
- the numTrialPayments to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setpublic java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setpublic java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- the dateAdded to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to setCopyright © 2018 DS Data Systems UK Ltd.