public class DsCapParameters extends 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,
Currency currency,
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.
|
Currency |
getCurrency()
Get the currency.
|
List<SecureString> |
getDataToSign()
Get the list of data to be signed.
|
public DsCapParameters(DsCapParameters.DsCapMode capMode, SecureString challenge, SecureString amount, Currency currency, 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 Currency getCurrency()
public List<SecureString> getDataToSign()
List
<SecureString
>