Package com.onlinepayments.domain
Class PaymentCreationOutput
java.lang.Object
com.onlinepayments.domain.PaymentCreationOutput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe external reference identifier for this transaction.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 token.Indicates if tokenization was successful or not.voidsetExternalReference(String value) The external reference identifier for this transaction.voidsetIsNewToken(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 token.voidsetTokenizationSucceeded(Boolean value) Indicates if tokenization was successful or not.withExternalReference(String value) The external reference identifier for this transaction.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 token.withTokenizationSucceeded(Boolean value) Indicates if tokenization was successful or not.
-
Constructor Details
-
PaymentCreationOutput
public PaymentCreationOutput()
-
-
Method Details
-
getExternalReference
The external reference identifier for this transaction. Data in this property will also be returned in our report files, allowing you to reconcile them -
setExternalReference
The external reference identifier for this transaction. Data in this property will also be returned in our report files, allowing you to reconcile them -
withExternalReference
The external reference identifier for this transaction. Data in this property will also be returned in our report files, allowing you to reconcile them -
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. This property is populated when the payment was done with a token or when the payment was tokenized. -
setToken
ID of the token. This property is populated when the payment was done with a token or when the payment was tokenized. -
withToken
ID of the token. This property is populated when the payment was done with a token or when the payment was tokenized. -
getTokenizationSucceeded
Indicates if tokenization was successful or not. If this value is false, then the token and isNewToken properties will not be set. -
setTokenizationSucceeded
Indicates if tokenization was successful or not. If this value is false, then the token and isNewToken properties will not be set. -
withTokenizationSucceeded
Indicates if tokenization was successful or not. If this value is false, then the token and isNewToken properties will not be set.
-