|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PaymentDetailsIf
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.
| 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()
|
NameValueIf[] |
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(NameValueIf[] 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. |
| Method Detail |
|---|
NameValueIf[] getParameters()
void setParameters(NameValueIf[] parameters)
parameters - The parameters to set.java.lang.String getReferrer()
void setReferrer(java.lang.String referrer)
referrer - the Referrer to setjava.lang.String getPostOrGet()
void setPostOrGet(java.lang.String postOrGet)
postOrGet - The postOrGet to set.java.lang.String getRequestUrl()
void setRequestUrl(java.lang.String requestUrl)
requestUrl - The requestUrl to set.java.lang.String getCode()
void setCode(java.lang.String code)
code - The code to set.java.lang.String getDescription()
void setDescription(java.lang.String description)
description - The description to set.int getSortOrder()
void setSortOrder(int sortOrder)
sortOrder - The sortOrder to set.java.lang.String getTitle()
void setTitle(java.lang.String title)
title - The title to set.int getOrderStatusId()
void setOrderStatusId(int orderStatusId)
orderStatusId - The orderStatusId to set.int getPaymentType()
void setPaymentType(int paymentType)
paymentType - The paymentType to set.java.lang.String getCcNumber()
void setCcNumber(java.lang.String ccNumber)
ccNumber - The ccNumber to set.java.lang.String getCcPostcode()
void setCcPostcode(java.lang.String ccPostcode)
ccPostcode - The ccPostcode to set.java.lang.String getCcStreetAddress()
void setCcStreetAddress(java.lang.String ccStreetAddress)
ccStreetAddress - The ccStreetAddress to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1 - The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2 - The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3 - The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4 - The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5 - The custom5 to set.java.lang.String getCcCVV()
void setCcCVV(java.lang.String ccCVV)
ccCVV - The ccCVV to set.java.lang.String getCcOwner()
void setCcOwner(java.lang.String ccOwner)
ccOwner - The ccOwner to set.java.lang.String getCcType()
void setCcType(java.lang.String ccType)
ccType - The ccType to set.boolean isShowAddr()
void setShowAddr(boolean showAddr)
showAddr - The showAddr to set.boolean isShowCVV()
void setShowCVV(boolean showCVV)
showCVV - The showCVV to set.boolean isShowPostcode()
void setShowPostcode(boolean showPostcode)
showPostcode - The showPostcode to set.boolean isShowType()
void setShowType(boolean showType)
showType - The showType to set.java.lang.String getCcExpiryMonth()
void setCcExpiryMonth(java.lang.String ccExpiryMonth)
ccExpiryMonth - The ccExpiryMonth to set.java.lang.String getCcExpiryYear()
void setCcExpiryYear(java.lang.String ccExpiryYear)
ccExpiryYear - The ccExpiryYear to set.boolean isShowOwner()
void setShowOwner(boolean showOwner)
showOwner - The showOwner to set.java.lang.String getPreProcessCode()
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 | ||||||||