public class CreatedTokenResponse extends Object
| Constructor and Description |
|---|
CreatedTokenResponse() |
| Modifier and Type | Method and Description |
|---|---|
CardWithoutCvv |
getCard() |
ExternalTokenLinked |
getExternalTokenLinked() |
Boolean |
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.
|
String |
getToken()
ID of the token
|
String |
getTokenStatus()
This is the status of the token in the hosted tokenization session.
|
void |
setCard(CardWithoutCvv value) |
void |
setExternalTokenLinked(ExternalTokenLinked value) |
void |
setIsNewToken(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.
|
void |
setToken(String value)
ID of the token
|
void |
setTokenStatus(String value)
This is the status of the token in the hosted tokenization session.
|
CreatedTokenResponse |
withCard(CardWithoutCvv value) |
CreatedTokenResponse |
withExternalTokenLinked(ExternalTokenLinked value) |
CreatedTokenResponse |
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.
|
CreatedTokenResponse |
withToken(String value)
ID of the token
|
CreatedTokenResponse |
withTokenStatus(String value)
This is the status of the token in the hosted tokenization session.
|
public CardWithoutCvv getCard()
public void setCard(CardWithoutCvv value)
public CreatedTokenResponse withCard(CardWithoutCvv value)
public ExternalTokenLinked getExternalTokenLinked()
public void setExternalTokenLinked(ExternalTokenLinked value)
public CreatedTokenResponse withExternalTokenLinked(ExternalTokenLinked value)
public Boolean getIsNewToken()
public void setIsNewToken(Boolean value)
public CreatedTokenResponse withIsNewToken(Boolean value)
public String getToken()
public void setToken(String value)
public CreatedTokenResponse withToken(String value)
public String getTokenStatus()
public void setTokenStatus(String value)
public CreatedTokenResponse withTokenStatus(String value)
Copyright © 2023 Worldline Online Payments Direct. All rights reserved.