|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminPaymentOptions
public class AdminPaymentOptions
Payment options which is passed to the admin payment module. It contains all of the necessary information that the module requires.
Field Summary | |
---|---|
private int |
action
|
private AdminCreditCard |
creditCard
|
private int |
orderId
|
private AdminNameValue[] |
parameters
|
private int |
subscriptionId
|
Constructor Summary | |
---|---|
AdminPaymentOptions()
Constructor |
Method Summary | |
---|---|
int |
getAction()
Action attribute to inform the payment module what action to take. |
AdminCreditCard |
getCreditCard()
Object containing credit card details |
int |
getOrderId()
The id of the order |
AdminNameValue[] |
getParameters()
Parameters passed to the payment module |
int |
getSubscriptionId()
The id of the KonaKart subscription object |
void |
setAction(int action)
Action attribute to inform the payment module what action to take. |
void |
setCreditCard(AdminCreditCard creditCard)
Object containing credit card details |
void |
setOrderId(int orderId)
The id of the order |
void |
setParameters(AdminNameValue[] parameters)
Parameters passed to the payment module |
void |
setSubscriptionId(int subscriptionId)
The id of the KonaKart subscription object |
java.lang.String |
toString()
Returns a string containing the attributes of the PaymentDetail object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int orderId
private int subscriptionId
private int action
private AdminNameValue[] parameters
private AdminCreditCard creditCard
Constructor Detail |
---|
public AdminPaymentOptions()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getOrderId()
public void setOrderId(int orderId)
orderId
- the orderId to setpublic AdminNameValue[] getParameters()
public void setParameters(AdminNameValue[] parameters)
parameters
- the parameters to setpublic AdminCreditCard getCreditCard()
public void setCreditCard(AdminCreditCard creditCard)
creditCard
- the creditCard to setpublic int getAction()
public void setAction(int action)
action
- the action to setpublic int getSubscriptionId()
public void setSubscriptionId(int subscriptionId)
subscriptionId
- the subscriptionId to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |