|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.PaymentOptions
public class PaymentOptions
Payment options which is passed to the admin payment module. It contains all of the necessary information that the module requires.
| Constructor Summary | |
|---|---|
PaymentOptions()
Constructor |
|
| Method Summary | |
|---|---|
int |
getAction()
Action attribute to inform the payment module what action to take. |
CreditCard |
getCreditCard()
Object containing credit card details |
int |
getOrderId()
The id of the order |
NameValue[] |
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(CreditCard creditCard)
Object containing credit card details |
void |
setOrderId(int orderId)
The id of the order |
void |
setParameters(NameValue[] 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 |
| Constructor Detail |
|---|
public PaymentOptions()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int getOrderId()
getOrderId in interface PaymentOptionsIfpublic void setOrderId(int orderId)
setOrderId in interface PaymentOptionsIforderId - the orderId to setpublic NameValue[] getParameters()
getParameters in interface PaymentOptionsIfpublic void setParameters(NameValue[] parameters)
setParameters in interface PaymentOptionsIfparameters - the parameters to setpublic CreditCard getCreditCard()
getCreditCard in interface PaymentOptionsIfpublic void setCreditCard(CreditCard creditCard)
setCreditCard in interface PaymentOptionsIfcreditCard - the creditCard to setpublic int getAction()
getAction in interface PaymentOptionsIfpublic void setAction(int action)
setAction in interface PaymentOptionsIfaction - the action to setpublic int getSubscriptionId()
getSubscriptionId in interface PaymentOptionsIfpublic void setSubscriptionId(int subscriptionId)
setSubscriptionId in interface PaymentOptionsIfsubscriptionId - the subscriptionId to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||