public class DsCapParameters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DsCapParameters.DsCapMode
The CAP modes to be used.
|
| Constructor and Description |
|---|
DsCapParameters(DsCapParameters.DsCapMode capMode,
SecureString challenge,
SecureString amount,
java.util.Currency currency,
java.util.List<SecureString> dataToSign)
Creates a CAP verification parameter object.
|
| Modifier and Type | Method and Description |
|---|---|
SecureString |
getAmount()
Get the amount.
|
DsCapParameters.DsCapMode |
getCapMode()
Get the DS CAP mode.
|
SecureString |
getChallenge()
Get the challenge.
|
java.util.Currency |
getCurrency()
Get the currency.
|
java.util.List<SecureString> |
getDataToSign()
Get the list of data to be signed.
|
public DsCapParameters(DsCapParameters.DsCapMode capMode, SecureString challenge, SecureString amount, java.util.Currency currency, java.util.List<SecureString> dataToSign)
capMode - the CAP mode to usechallenge - the merchant challengeamount - the amountcurrency - the currency of the transactiondataToSign - the data to signpublic DsCapParameters.DsCapMode getCapMode()
public SecureString getChallenge()
public SecureString getAmount()
public java.util.Currency getCurrency()
public java.util.List<SecureString> getDataToSign()
List
<SecureString>