PaymentSDK
Mobile payment SDK
de.wirecard.paymentsdk.models.CardToken Class Reference

Tokenized sensitive card data. More...

+ Inheritance diagram for de.wirecard.paymentsdk.models.CardToken:
+ Collaboration diagram for de.wirecard.paymentsdk.models.CardToken:

Public Instance Methods

 CardToken ()
 Constructor. More...
 
 CardToken (String tokenId, String maskedAccountNumber)
 Constructor. More...
 
String getTokenId ()
 Returns tokenized account number. Last 4 digits are equal to card account number. More...
 
String getMaskedAccountNumber ()
 Returns masked account number. More...
 
void setTokenId (String tokenId)
 Sets tokenized account number. Last 4 digits are equal to card account number. More...
 
void setMaskedAccountNumber (String maskedAccountNumber)
 Sets masked account number. More...
 

Private Fields

String tokenId
 Tokenized account number. Last 4 digits are equal to card account number. More...
 
String maskedAccountNumber
 Masked account number. More...
 

Detailed Description

Tokenized sensitive card data.

Constructor & Destructor Documentation

de.wirecard.paymentsdk.models.CardToken.CardToken ( )
inline

Constructor.

de.wirecard.paymentsdk.models.CardToken.CardToken ( String  tokenId,
String  maskedAccountNumber 
)
inline

Constructor.

Parameters
tokenIdtokenized account number. Last 4 digits are equal to card account number.
maskedAccountNumbermasked account number.

Method Documentation

String de.wirecard.paymentsdk.models.CardToken.getMaskedAccountNumber ( )
inline

Returns masked account number.

Returns
masked account number.
String de.wirecard.paymentsdk.models.CardToken.getTokenId ( )
inline

Returns tokenized account number. Last 4 digits are equal to card account number.

Returns
tokenized account number. Last 4 digits are equal to card account number.
void de.wirecard.paymentsdk.models.CardToken.setMaskedAccountNumber ( String  maskedAccountNumber)
inline

Sets masked account number.

Parameters
maskedAccountNumber
void de.wirecard.paymentsdk.models.CardToken.setTokenId ( String  tokenId)
inline

Sets tokenized account number. Last 4 digits are equal to card account number.

Parameters
tokenId

Member Data Documentation

String de.wirecard.paymentsdk.models.CardToken.maskedAccountNumber
private

Masked account number.

String de.wirecard.paymentsdk.models.CardToken.tokenId
private

Tokenized account number. Last 4 digits are equal to card account number.