|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.json.app.J_PaymentDetails
public class J_PaymentDetails
An order may have a PaymentDetails object to describe the payment method. This object is generated by a payment module.
Payment modules may be enabled and disabled using the KonaKart Admin App so that you can control the payment methods that can be used by your application.
| Constructor Summary | |
|---|---|
J_PaymentDetails()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCcCVV()
|
java.lang.String |
getCcExpiryMonth()
|
java.lang.String |
getCcExpiryYear()
|
java.lang.String |
getCcNumber()
|
java.lang.String |
getCcOwner()
|
java.lang.String |
getCcPostcode()
|
java.lang.String |
getCcStreetAddress()
|
java.lang.String |
getCcType()
|
java.lang.String |
getCode()
The code of the payment gateway. |
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
java.lang.String |
getDescription()
The payment gateway description to put on the UI so that it can be selected. |
int |
getOrderStatusId()
|
J_NameValue[] |
getParameters()
An array of name value pairs which are the parameters that will be posted to the payment gateway. |
int |
getPaymentType()
The supported payment types are: com.konakart.app.PaymentDetails.COD - Cash on delivery com.konakart.app.PaymentDetails.BROWSER_PAYMENT_GATEWAY - Payment gateway where user is redirected to gateway server to enter credit card details e.g. |
java.lang.String |
getPostOrGet()
Defines whether to use a POST or GET to send the parameters. |
java.lang.String |
getPreProcessCode()
Information for framework to indicate that some pre-processing code needs to be run for this Payment Gateway |
java.lang.String |
getReferrer()
Gets the Referrer - sometimes required to be set on an HTTP post. |
java.lang.String |
getRequestUrl()
The payment gateway url. |
int |
getSortOrder()
Defines the order in which the payment gateways are displayed. |
java.lang.String |
getTitle()
The title of the payment gateway which can be used in the UI. |
boolean |
isShowAddr()
If set to true, the UI page where credit card details are entered, will display an address field. |
boolean |
isShowCVV()
If set to true, the UI page where credit card details are entered, will display a CVV field. |
boolean |
isShowOwner()
If set to true, the UI page where credit card details are entered, will display an owner field to enter the name of the credit card owner. |
boolean |
isShowPostcode()
If set to true, the UI page where credit card details are entered, will display a postcode field. |
boolean |
isShowType()
If set to true, the UI page where credit card details are entered, will display a a credit card type field. |
void |
setCcCVV(java.lang.String _ccCVV)
|
void |
setCcExpiryMonth(java.lang.String _ccExpiryMonth)
|
void |
setCcExpiryYear(java.lang.String _ccExpiryYear)
|
void |
setCcNumber(java.lang.String _ccNumber)
|
void |
setCcOwner(java.lang.String _ccOwner)
|
void |
setCcPostcode(java.lang.String _ccPostcode)
|
void |
setCcStreetAddress(java.lang.String _ccStreetAddress)
|
void |
setCcType(java.lang.String _ccType)
|
void |
setCode(java.lang.String _code)
The code of the payment gateway. |
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 |
setDescription(java.lang.String _description)
The payment gateway description to put on the UI so that it can be selected. |
void |
setOrderStatusId(int _orderStatusId)
|
void |
setParameters(J_NameValue[] _parameters)
An array of name value pairs which are the parameters that will be posted to the payment gateway. |
void |
setPaymentType(int _paymentType)
The supported payment types are: com.konakart.app.PaymentDetails.COD - Cash on delivery com.konakart.app.PaymentDetails.BROWSER_PAYMENT_GATEWAY - Payment gateway where user is redirected to gateway server to enter credit card details e.g. |
void |
setPostOrGet(java.lang.String _postOrGet)
Defines whether to use a POST or GET to send the parameters. |
void |
setPreProcessCode(java.lang.String _preProcessCode)
Information for framework to indicate that some pre-processing code needs to be run for this Payment Gateway |
void |
setReferrer(java.lang.String _referrer)
Sets the Referrer - sometimes required to be set on an HTTP post. |
void |
setRequestUrl(java.lang.String _requestUrl)
The payment gateway url. |
void |
setShowAddr(boolean _showAddr)
If set to true, the UI page where credit card details are entered, will display an address field. |
void |
setShowCVV(boolean _showCVV)
If set to true, the UI page where credit card details are entered, will display a CVV field. |
void |
setShowOwner(boolean _showOwner)
If set to true, the UI page where credit card details are entered, will display an owner field to enter the name of the credit card owner. |
void |
setShowPostcode(boolean _showPostcode)
If set to true, the UI page where credit card details are entered, will display a postcode field. |
void |
setShowType(boolean _showType)
If set to true, the UI page where credit card details are entered, will display a credit card type field. |
void |
setSortOrder(int _sortOrder)
Defines the order in which the payment gateways are displayed. |
void |
setTitle(java.lang.String _title)
The title of the payment gateway which can be used in the UI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J_PaymentDetails()
| Method Detail |
|---|
public J_NameValue[] getParameters()
public void setParameters(J_NameValue[] _parameters)
_parameters - The parameters to set.public java.lang.String getReferrer()
public void setReferrer(java.lang.String _referrer)
_referrer - the Referrer to setpublic java.lang.String getPostOrGet()
public void setPostOrGet(java.lang.String _postOrGet)
_postOrGet - The postOrGet to set.public java.lang.String getRequestUrl()
public void setRequestUrl(java.lang.String _requestUrl)
_requestUrl - The requestUrl to set.public java.lang.String getCode()
public void setCode(java.lang.String _code)
_code - The code to set.public java.lang.String getDescription()
public void setDescription(java.lang.String _description)
_description - The description to set.public int getSortOrder()
public void setSortOrder(int _sortOrder)
_sortOrder - The sortOrder to set.public java.lang.String getTitle()
public void setTitle(java.lang.String _title)
_title - The title to set.public int getOrderStatusId()
public void setOrderStatusId(int _orderStatusId)
_orderStatusId - The orderStatusId to set.public int getPaymentType()
public void setPaymentType(int _paymentType)
_paymentType - The paymentType to set.public java.lang.String getCcNumber()
public void setCcNumber(java.lang.String _ccNumber)
_ccNumber - The ccNumber to set.public java.lang.String getCcPostcode()
public void setCcPostcode(java.lang.String _ccPostcode)
_ccPostcode - The ccPostcode to set.public java.lang.String getCcStreetAddress()
public void setCcStreetAddress(java.lang.String _ccStreetAddress)
_ccStreetAddress - The ccStreetAddress to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String _custom1)
_custom1 - The custom1 to set.public java.lang.String getCustom2()
public void setCustom2(java.lang.String _custom2)
_custom2 - The custom2 to set.public java.lang.String getCustom3()
public void setCustom3(java.lang.String _custom3)
_custom3 - The custom3 to set.public java.lang.String getCustom4()
public void setCustom4(java.lang.String _custom4)
_custom4 - The custom4 to set.public java.lang.String getCustom5()
public void setCustom5(java.lang.String _custom5)
_custom5 - The custom5 to set.public java.lang.String getCcCVV()
public void setCcCVV(java.lang.String _ccCVV)
_ccCVV - The ccCVV to set.public java.lang.String getCcOwner()
public void setCcOwner(java.lang.String _ccOwner)
_ccOwner - The ccOwner to set.public java.lang.String getCcType()
public void setCcType(java.lang.String _ccType)
_ccType - The ccType to set.public boolean isShowAddr()
public void setShowAddr(boolean _showAddr)
_showAddr - The showAddr to set.public boolean isShowCVV()
public void setShowCVV(boolean _showCVV)
_showCVV - The showCVV to set.public boolean isShowPostcode()
public void setShowPostcode(boolean _showPostcode)
_showPostcode - The showPostcode to set.public boolean isShowType()
public void setShowType(boolean _showType)
_showType - The showType to set.public java.lang.String getCcExpiryMonth()
public void setCcExpiryMonth(java.lang.String _ccExpiryMonth)
_ccExpiryMonth - The ccExpiryMonth to set.public java.lang.String getCcExpiryYear()
public void setCcExpiryYear(java.lang.String _ccExpiryYear)
_ccExpiryYear - The ccExpiryYear to set.public boolean isShowOwner()
public void setShowOwner(boolean _showOwner)
_showOwner - The showOwner to set.public java.lang.String getPreProcessCode()
public void setPreProcessCode(java.lang.String _preProcessCode)
_preProcessCode - the preProcessCode to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||