com.konakart.json.app
Class J_IpnHistory

java.lang.Object
  extended by com.konakart.json.app.J_IpnHistory
All Implemented Interfaces:
java.io.Serializable

public class J_IpnHistory
extends java.lang.Object
implements java.io.Serializable

IPN stands for Instant Product Notification. It refers to the notification from a payment gateway either from a callback or from a response to a request made to the gateway. It contains the data received from the gateway response.

See Also:
Serialized Form

Constructor Summary
J_IpnHistory()
           
 
Method Summary
 java.lang.String getCustom1()
           
 java.math.BigDecimal getCustom1Dec()
           
 java.lang.String getCustom2()
           
 java.math.BigDecimal getCustom2Dec()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 int getCustomerId()
           
 java.util.Calendar getDateAdded()
           
 java.lang.String getGatewayFullResponse()
          The full response received by the payment gateway.
 java.lang.String getGatewayResult()
          The result string returned by the payment gateway (i.e.
 java.lang.String getGatewayTransactionId()
          The transaction id returned by the payment gateway
 int getId()
          Id
 java.lang.String getKonakartResultDescription()
          A description of the KonaKart result.
 int getKonakartResultId()
          A KonaKart result.
 java.lang.String getModuleCode()
          The code of the payment module (i.e.
 int getOrderId()
          The order id for the payment
 int getSubscriptionId()
          The id of the subscription object if this payment is part of a recurring billing scenario
 java.math.BigDecimal getTxAmount()
          The amount of the transaction.
 java.lang.String getTxType()
          The type of transaction.
 void setCustom1(java.lang.String _custom1)
           
 void setCustom1Dec(java.math.BigDecimal _custom1Dec)
           
 void setCustom2(java.lang.String _custom2)
           
 void setCustom2Dec(java.math.BigDecimal _custom2Dec)
           
 void setCustom3(java.lang.String _custom3)
           
 void setCustom4(java.lang.String _custom4)
           
 void setCustomerId(int _customerId)
           
 void setDateAdded(java.util.Calendar _dateAdded)
           
 void setGatewayFullResponse(java.lang.String _gatewayFullResponse)
          The full response received by the payment gateway.
 void setGatewayResult(java.lang.String _gatewayResult)
          The result string returned by the payment gateway (i.e.
 void setGatewayTransactionId(java.lang.String _gatewayTransactionId)
          The transaction id returned by the payment gateway
 void setId(int _id)
          Id
 void setKonakartResultDescription(java.lang.String _konakartResultDescription)
          A description of the KonaKart result.
 void setKonakartResultId(int _konakartResultId)
          A KonaKart result.
 void setModuleCode(java.lang.String _moduleCode)
          The code of the payment module (i.e.
 void setOrderId(int _orderId)
          The order id for the payment
 void setSubscriptionId(int _subscriptionId)
          The id of the subscription object if this payment is part of a recurring billing scenario
 void setTxAmount(java.math.BigDecimal _txAmount)
          The amount of the transaction.
 void setTxType(java.lang.String _txType)
          The type of transaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_IpnHistory

public J_IpnHistory()
Method Detail

getGatewayFullResponse

public java.lang.String getGatewayFullResponse()
The full response received by the payment gateway. Format is normally paramName1=paramValue1¶mName2=paramValue2& etc.)

Returns:
Return the GatewayFullResponse

setGatewayFullResponse

public void setGatewayFullResponse(java.lang.String _gatewayFullResponse)
The full response received by the payment gateway. Format is paramName1=paramValue1¶mName2=paramValue2& etc.)

Parameters:
_gatewayFullResponse -

getGatewayResult

public java.lang.String getGatewayResult()
The result string returned by the payment gateway (i.e. approved or declined)

Returns:
Return the GatewayResult

setGatewayResult

public void setGatewayResult(java.lang.String _gatewayResult)
The result string returned by the payment gateway (i.e. approved or declined)

Parameters:
_gatewayResult -

getGatewayTransactionId

public java.lang.String getGatewayTransactionId()
The transaction id returned by the payment gateway

Returns:
Return the GatewayTransactionId

setGatewayTransactionId

public void setGatewayTransactionId(java.lang.String _gatewayTransactionId)
The transaction id returned by the payment gateway

Parameters:
_gatewayTransactionId -

getId

public int getId()
Id

Returns:
Return the Id

setId

public void setId(int _id)
Id

Parameters:
_id -

getKonakartResultDescription

public java.lang.String getKonakartResultDescription()
A description of the KonaKart result. The KonaKart results determines whether the transaction was successful even though payment authorisation may have been declined.

Returns:
Return the KonakartResultDescription

setKonakartResultDescription

public void setKonakartResultDescription(java.lang.String _konakartResultDescription)
A description of the KonaKart result. The KonaKart results determines whether the transaction was successful even though payment authorisation may have been declined.

Parameters:
_konakartResultDescription -

getKonakartResultId

public int getKonakartResultId()
A KonaKart result. Set to zero if all is OK. A negative number if something has gone wrong. i.e. We may not be able to associate a callback with an order.

Returns:
Return the KonakartResultId

setKonakartResultId

public void setKonakartResultId(int _konakartResultId)
A KonaKart result. Set to zero if all is OK. A negative number if something has gone wrong. i.e. We may not be able to associate a callback with an order.

Parameters:
_konakartResultId -

getModuleCode

public java.lang.String getModuleCode()
The code of the payment module (i.e. paypal, chronopay etc.

Returns:
Return the ModuleCode

setModuleCode

public void setModuleCode(java.lang.String _moduleCode)
The code of the payment module (i.e. paypal, chronopay etc.

Parameters:
_moduleCode -

getOrderId

public int getOrderId()
The order id for the payment

Returns:
Return the OrderId

setOrderId

public void setOrderId(int _orderId)
The order id for the payment

Parameters:
_orderId -

getDateAdded

public java.util.Calendar getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

public void setDateAdded(java.util.Calendar _dateAdded)
Parameters:
_dateAdded - The dateAdded to set.

getCustomerId

public int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

public void setCustomerId(int _customerId)
Parameters:
_customerId - The customerId to set.

getSubscriptionId

public int getSubscriptionId()
The id of the subscription object if this payment is part of a recurring billing scenario

Returns:
the subscriptionId

setSubscriptionId

public void setSubscriptionId(int _subscriptionId)
The id of the subscription object if this payment is part of a recurring billing scenario

Parameters:
_subscriptionId - the subscriptionId to set

getTxAmount

public java.math.BigDecimal getTxAmount()
The amount of the transaction. Useful in cases where it may be different to the amount of the order.

Returns:
the txAmount

setTxAmount

public void setTxAmount(java.math.BigDecimal _txAmount)
The amount of the transaction. Useful in cases where it may be different to the amount of the order.

Parameters:
_txAmount - the txAmount to set

getTxType

public java.lang.String getTxType()
The type of transaction. i.e. Authorization or Capture

Returns:
the txType

setTxType

public void setTxType(java.lang.String _txType)
The type of transaction. i.e. Authorization or Capture

Parameters:
_txType - the txType to set

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String _custom1)
Parameters:
_custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String _custom2)
Parameters:
_custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String _custom3)
Parameters:
_custom3 - the custom3 to set

getCustom4

public java.lang.String getCustom4()
Returns:
the custom4

setCustom4

public void setCustom4(java.lang.String _custom4)
Parameters:
_custom4 - the custom4 to set

getCustom1Dec

public java.math.BigDecimal getCustom1Dec()
Returns:
the custom1Dec

setCustom1Dec

public void setCustom1Dec(java.math.BigDecimal _custom1Dec)
Parameters:
_custom1Dec - the custom1Dec to set

getCustom2Dec

public java.math.BigDecimal getCustom2Dec()
Returns:
the custom2Dec

setCustom2Dec

public void setCustom2Dec(java.math.BigDecimal _custom2Dec)
Parameters:
_custom2Dec - the custom2Dec to set


Copyright © 2011 DS Data Systems UK Ltd.