Class PaymentCreationOutput

java.lang.Object
com.onlinepayments.domain.PaymentCreationOutput

public class PaymentCreationOutput extends Object
  • Constructor Details

    • PaymentCreationOutput

      public PaymentCreationOutput()
  • Method Details

    • getExternalReference

      public String 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

      public void setExternalReference(String value)
      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

      public PaymentCreationOutput withExternalReference(String value)
      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

      public 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. 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

      public 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. 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

      public PaymentCreationOutput 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. 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

      public String getToken()
      ID of the token. This property is populated when the payment was done with a token or when the payment was tokenized.
    • setToken

      public void setToken(String value)
      ID of the token. This property is populated when the payment was done with a token or when the payment was tokenized.
    • withToken

      public PaymentCreationOutput withToken(String value)
      ID of the token. This property is populated when the payment was done with a token or when the payment was tokenized.
    • getTokenizationSucceeded

      public Boolean getTokenizationSucceeded()
      Indicates if tokenization was successful or not. If this value is false, then the token and isNewToken properties will not be set.
    • setTokenizationSucceeded

      public void setTokenizationSucceeded(Boolean value)
      Indicates if tokenization was successful or not. If this value is false, then the token and isNewToken properties will not be set.
    • withTokenizationSucceeded

      public PaymentCreationOutput withTokenizationSucceeded(Boolean value)
      Indicates if tokenization was successful or not. If this value is false, then the token and isNewToken properties will not be set.