Package com.onlinepayments.domain
Class CreatedTokenResponse
java.lang.Object
com.onlinepayments.domain.CreatedTokenResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCard()Indicates if a new token was created true - A new token was created false - A token with the same card number already exists and is returned.getToken()ID of the tokenThis is the status of the token in the hosted tokenization session.voidsetCard(CardWithoutCvv value) voidvoidsetIsNewToken(Boolean value) Indicates if a new token was created true - A new token was created false - A token with the same card number already exists and is returned.voidID of the tokenvoidsetTokenStatus(String value) This is the status of the token in the hosted tokenization session.withCard(CardWithoutCvv value) withIsNewToken(Boolean value) Indicates if a new token was created true - A new token was created false - A token with the same card number already exists and is returned.ID of the tokenwithTokenStatus(String value) This is the status of the token in the hosted tokenization session.
-
Constructor Details
-
CreatedTokenResponse
public CreatedTokenResponse()
-
-
Method Details
-
getCard
-
setCard
-
withCard
-
getExternalTokenLinked
-
setExternalTokenLinked
-
withExternalTokenLinked
-
getIsNewToken
Indicates if a new token was created- true - A new token was created
- false - A token with the same card number already exists and is returned. Please note that the existing token has not been updated. When you want to update other data then the card number, you need to update data stored in the token explicitly, as data is never updated during the creation of a token.
-
setIsNewToken
Indicates if a new token was created- true - A new token was created
- false - A token with the same card number already exists and is returned. Please note that the existing token has not been updated. When you want to update other data then the card number, you need to update data stored in the token explicitly, as data is never updated during the creation of a token.
-
withIsNewToken
Indicates if a new token was created- true - A new token was created
- false - A token with the same card number already exists and is returned. Please note that the existing token has not been updated. When you want to update other data then the card number, you need to update data stored in the token explicitly, as data is never updated during the creation of a token.
-
getToken
ID of the token -
setToken
ID of the token -
withToken
ID of the token -
getTokenStatus
This is the status of the token in the hosted tokenization session. Possible values are:- UNCHANGED - The token has not changed
- CREATED - The token has been created
- UPDATED - The token has been updated
-
setTokenStatus
This is the status of the token in the hosted tokenization session. Possible values are:- UNCHANGED - The token has not changed
- CREATED - The token has been created
- UPDATED - The token has been updated
-
withTokenStatus
This is the status of the token in the hosted tokenization session. Possible values are:- UNCHANGED - The token has not changed
- CREATED - The token has been created
- UPDATED - The token has been updated
-