com.openecho
Class Echo
java.lang.Object
|
+--com.openecho.Echo
- public class Echo
- extends java.lang.Object
for detailed information on all the public fields, please see:
https://wwws.echo-inc.com/ISPGuide-Fields2.asp
Requirements:
You must have the JCE (crypto) installed.
It can be found at:
http://java.sun.com/products/jce/
You must have the JSSE (java secure socket extensions) installed.
It can be found at:
http://java.sun.com/products/jsse/
You must include the following line to the java.security file:
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
You must add openecho.jar to your CLASSPATH.
Please, please, please let us know about any
any bugs or feature requests. You may contact us at:
support@openecho.com
- Version:
- 1.0
- Author:
- Jim Darden
|
Constructor Summary |
Echo()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
athorization
public java.lang.String athorization
authorization
public java.lang.String authorization
billing_address1
public java.lang.String billing_address1
billing_address2
public java.lang.String billing_address2
billing_city
public java.lang.String billing_city
billing_country
public java.lang.String billing_country
billing_email
public java.lang.String billing_email
billing_fax
public java.lang.String billing_fax
billing_ip_address
public java.lang.String billing_ip_address
billing_name
public java.lang.String billing_name
billing_phone
public java.lang.String billing_phone
billing_prefix
public java.lang.String billing_prefix
billing_state
public java.lang.String billing_state
billing_zip
public java.lang.String billing_zip
cc_number
public java.lang.String cc_number
ccexp_month
public java.lang.String ccexp_month
ccexp_year
public java.lang.String ccexp_year
counter
public java.lang.String counter
debug
public java.lang.String debug
ec_account
public java.lang.String ec_account
ec_address1
public java.lang.String ec_address1
ec_address2
public java.lang.String ec_address2
ec_bank_name
public java.lang.String ec_bank_name
ec_business_acct
public java.lang.String ec_business_acct
ec_city
public java.lang.String ec_city
ec_email
public java.lang.String ec_email
ec_first_name
public java.lang.String ec_first_name
ec_id_country
public java.lang.String ec_id_country
ec_id_exp_dd
public java.lang.String ec_id_exp_dd
ec_id_exp_mm
public java.lang.String ec_id_exp_mm
ec_id_exp_yy
public java.lang.String ec_id_exp_yy
ec_id_number
public java.lang.String ec_id_number
ec_id_state
public java.lang.String ec_id_state
ec_id_type
public java.lang.String ec_id_type
ec_last_name
public java.lang.String ec_last_name
ec_license_number
public java.lang.String ec_license_number
ec_license_state
public java.lang.String ec_license_state
ec_merchant_ref
public java.lang.String ec_merchant_ref
ec_nbds_code
public java.lang.String ec_nbds_code
ec_other_name
public java.lang.String ec_other_name
ec_payee
public java.lang.String ec_payee
ec_rt
public java.lang.String ec_rt
ec_serial_number
public java.lang.String ec_serial_number
ec_state
public java.lang.String ec_state
ec_zip
public java.lang.String ec_zip
echoServer
public java.lang.String echoServer
grand_total
public java.lang.String grand_total
isp_echo_id
public java.lang.String isp_echo_id
isp_pin
public java.lang.String isp_pin
merchant_echo_id
public java.lang.String merchant_echo_id
merchant_email
public java.lang.String merchant_email
merchant_pin
public java.lang.String merchant_pin
merchant_trace_nbr
public java.lang.String merchant_trace_nbr
openecho
public java.lang.String openecho
order_number
public java.lang.String order_number
order_type
public java.lang.String order_type
original_amount
public java.lang.String original_amount
original_reference
public java.lang.String original_reference
original_trandate_dd
public java.lang.String original_trandate_dd
original_trandate_mm
public java.lang.String original_trandate_mm
original_trandate_yyyy
public java.lang.String original_trandate_yyyy
product_description
public java.lang.String product_description
purchase_order_number
public java.lang.String purchase_order_number
reference
public java.lang.String reference
sales_tax
public java.lang.String sales_tax
shipper
public java.lang.String shipper
shipper_tracking_nbr
public java.lang.String shipper_tracking_nbr
shipping_address1
public java.lang.String shipping_address1
shipping_address2
public java.lang.String shipping_address2
shipping_city
public java.lang.String shipping_city
shipping_comments
public java.lang.String shipping_comments
shipping_country
public java.lang.String shipping_country
shipping_fax
public java.lang.String shipping_fax
shipping_flag
public java.lang.String shipping_flag
shipping_name
public java.lang.String shipping_name
shipping_phone
public java.lang.String shipping_phone
shipping_prefix
public java.lang.String shipping_prefix
shipping_state
public java.lang.String shipping_state
shipping_zip
public java.lang.String shipping_zip
status
public java.lang.String status
track1
public java.lang.String track1
track2
public java.lang.String track2
transaction_type
public java.lang.String transaction_type
Echo
public Echo()
Echo
public void Echo()
echoAuthCode
public java.lang.String echoAuthCode()
- Returns:
- The authorization code returned for for address verification transactions.
This is filled in after the calling submit().
For more information on this code see ECHO's documentation:
https://wwws.echo-inc.com/ISPGuide-Response.asp
- See Also:
submit()
echoAVSResult
public java.lang.String echoAVSResult()
- Returns:
- The code returned for for AVS transactions.
This is filled in after the calling submit().
For more information on this code see ECHO's documentation:
https://wwws.echo-inc.com/ISPGuide-Response.asp#AVSOnly
- See Also:
submit()
echoDeclineCode
public java.lang.String echoDeclineCode()
- Returns:
- The deline code, if any returned by the ECHO server.
This is filled in after the calling submit(). For more information
on this code see ECHO's documentation:
https://wwws.echo-inc.com/ISPGuide-Codes.asp
- See Also:
submit()
echoOrderNumber
public java.lang.String echoOrderNumber()
- Returns:
- The order number returned by the ECHO server.
This is filled in after calling submit(). You can also
set and get the value of order number by accessing the
public field order_number
- See Also:
submit(),
order_number
echoReference
public java.lang.String echoReference()
- Returns:
- The reference number returned by the ECHO server.
This is filled in after calling submit(). You can also
set and get the value of reference by accessing the
public field reference.
- See Also:
submit(),
reference
echoResponse
public java.lang.String echoResponse()
- Returns:
- The raw, unformatted response from the ECHO server.
echoStatus
public java.lang.String echoStatus()
- Returns:
- The one character status code. Status code of "D" or "" indicates the transaction failed.
echoSuccess
public boolean echoSuccess()
- Returns:
true if the result of the last submit() succeeded or
false if submit() failed.- See Also:
submit()
echoType1
public java.lang.String echoType1()
- Returns:
- The raw, unformatted echotype1 returned by the ECHO server.
See the bottom of this page: https://wwws.echo-inc.com/ISPGuide-Interface.asp
for more information about echotype data.
echoType2
public java.lang.String echoType2()
- Returns:
- The raw, unformatted echotype2 returned by the ECHO server.
This is HTML displayable data.
See the bottom of this page: https://wwws.echo-inc.com/ISPGuide-Interface.asp
for more information about echotype data.
echoType3
public java.lang.String echoType3()
- Returns:
- The raw, unformatted echotype3 returned by the ECHO server.
This is XML formatted data.
See the bottom of this page: https://wwws.echo-inc.com/ISPGuide-Interface.asp
for more information about echotype data.
submit
public boolean submit()
- Returns:
true if the result of the credit card or check transaction was successful or
false if declined.- See Also:
echoSuccess()
urlString
public java.lang.String urlString()
- Returns:
- The formatted string of data that is submitted to the ECHO server.
This is good for debugging purposes. This follows the ECHO interface
spcification as described in:
https://wwws.echo-inc.com/ISPGuide-Interface.asp