net.authorize.sim
Class Fingerprint

java.lang.Object
  extended by net.authorize.sim.Fingerprint

public class Fingerprint
extends Object


Method Summary
static Fingerprint createFingerprint(Merchant merchant, long sequence, BigDecimal amount)
          Create a fingerprint with object based fields.
static Fingerprint createFingerprint(String loginID, String transactionKey, long sequence, String amount)
          Creates a fingerprint with raw data fields.
 String getFingerprintHash()
          Get the fingerprint hash.
 long getSequence()
          Get the sequence that was used in creating the fingerprint.
 long getTimeStamp()
          Get the timestamp that was used in creating the fingerprint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFingerprint

public static Fingerprint createFingerprint(String loginID,
                                            String transactionKey,
                                            long sequence,
                                            String amount)
Creates a fingerprint with raw data fields.

Parameters:
loginID -
transactionKey -
sequence - : this number will be concatenated with a random value
amount -
Returns:
A Fingerprint object.

createFingerprint

public static Fingerprint createFingerprint(Merchant merchant,
                                            long sequence,
                                            BigDecimal amount)
Create a fingerprint with object based fields.

Parameters:
merchant -
sequence - : this number will be concatenated with a random value
amount -
Returns:
A Fingerprint object.

getSequence

public long getSequence()
Get the sequence that was used in creating the fingerprint.

Returns:
the sequence

getTimeStamp

public long getTimeStamp()
Get the timestamp that was used in creating the fingerprint.

Returns:
the timeStamp

getFingerprintHash

public String getFingerprintHash()
Get the fingerprint hash.

Returns:
the fingerprintHash


Copyright © 2014. All Rights Reserved.