com.konakart.bl.modules.payment.eway_au
Class Eway_au

java.lang.Object
  extended by com.konakart.bl.modules.BaseModule
      extended by com.konakart.bl.modules.payment.BasePaymentModule
          extended by com.konakart.bl.modules.payment.eway_au.Eway_au
All Implemented Interfaces:
PaymentInterface

public class Eway_au
extends BasePaymentModule
implements PaymentInterface

eWay Australia payment module. This payment module allows for credit card credentials to be collected directly from a KonaKart page. All communication to the eWay server is done from the KonaKart server.


Nested Class Summary
protected  class Eway_au.StaticData
          Used to store the static data of this module
 
Field Summary
static java.lang.String EWAY_AU_CARD_CVV2
          CCV number
static java.lang.String EWAY_AU_CARD_EXPIRY_MONTH
          CC Expiry Month
static java.lang.String EWAY_AU_CARD_EXPIRY_YEAR
          CC Expiry Year
static java.lang.String EWAY_AU_CARD_NUMBER
          CC number
static java.lang.String EWAY_AU_CARDHOLDERS_NAME
          Card holder's name
static java.lang.String EWAY_AU_CUST_EMAIL
          Customer's email address
static java.lang.String EWAY_AU_GATEWAY_CODE
          Module name must be the same as the class name although it can be all in lowercase
static java.lang.String EWAY_AU_MERCHANT_ID
          Payment Account (CC Number)
static java.lang.String EWAY_AU_PAYMENT_AMOUNT
          Payment Amount
 
Fields inherited from class com.konakart.bl.modules.payment.BasePaymentModule
log
 
Fields inherited from class com.konakart.bl.modules.BaseModule
basePackage
 
Constructor Summary
Eway_au(KKEngIf eng)
          Constructor
 
Method Summary
 PaymentDetails getPaymentDetails(Order order, PaymentInfo info)
          Return a payment details object for the payment module
 boolean isAvailable()
          Returns true or false
 void setStaticVariables()
          Sets some static variables during setup
 
Methods inherited from class com.konakart.bl.modules.payment.BasePaymentModule
addParameters, checkZone, hashParameters, splitNameIntoFirstAndLastNames
 
Methods inherited from class com.konakart.bl.modules.BaseModule
getBasketMgr, getCatMgr, getConfigMgr, getCurrMgr, getCustMgr, getEmailMgr, getEng, getLangMgr, getMultiStoreMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getPromMgr, getResourceBundle, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getTaxMgr, init, isAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EWAY_AU_GATEWAY_CODE

public static final java.lang.String EWAY_AU_GATEWAY_CODE
Module name must be the same as the class name although it can be all in lowercase

See Also:
Constant Field Values

EWAY_AU_MERCHANT_ID

public static final java.lang.String EWAY_AU_MERCHANT_ID
Payment Account (CC Number)

See Also:
Constant Field Values

EWAY_AU_PAYMENT_AMOUNT

public static final java.lang.String EWAY_AU_PAYMENT_AMOUNT
Payment Amount

See Also:
Constant Field Values

EWAY_AU_CARD_CVV2

public static final java.lang.String EWAY_AU_CARD_CVV2
CCV number

See Also:
Constant Field Values

EWAY_AU_CARD_NUMBER

public static final java.lang.String EWAY_AU_CARD_NUMBER
CC number

See Also:
Constant Field Values

EWAY_AU_CARD_EXPIRY_MONTH

public static final java.lang.String EWAY_AU_CARD_EXPIRY_MONTH
CC Expiry Month

See Also:
Constant Field Values

EWAY_AU_CARD_EXPIRY_YEAR

public static final java.lang.String EWAY_AU_CARD_EXPIRY_YEAR
CC Expiry Year

See Also:
Constant Field Values

EWAY_AU_CARDHOLDERS_NAME

public static final java.lang.String EWAY_AU_CARDHOLDERS_NAME
Card holder's name

See Also:
Constant Field Values

EWAY_AU_CUST_EMAIL

public static final java.lang.String EWAY_AU_CUST_EMAIL
Customer's email address

See Also:
Constant Field Values
Constructor Detail

Eway_au

public Eway_au(KKEngIf eng)
        throws KKException
Constructor

Parameters:
eng -
Throws:
KKException
Method Detail

setStaticVariables

public void setStaticVariables()
                        throws KKException
Sets some static variables during setup

Specified by:
setStaticVariables in interface PaymentInterface
Throws:
KKException

getPaymentDetails

public PaymentDetails getPaymentDetails(Order order,
                                        PaymentInfo info)
                                 throws java.lang.Exception
Return a payment details object for the payment module

Specified by:
getPaymentDetails in interface PaymentInterface
Parameters:
order -
info -
Returns:
Returns information in a PaymentDetails object
Throws:
java.lang.Exception

isAvailable

public boolean isAvailable()
                    throws KKException
Returns true or false

Specified by:
isAvailable in interface PaymentInterface
Returns:
True or False
Throws:
KKException


Copyright © 2011 DS Data Systems UK Ltd.