Class StoredValueAccountID


  • public class StoredValueAccountID
    extends Object
    Identification of the stored value account or the stored value card and the associated product sold by the Sale System for stored value requests.
    • Constructor Detail

      • StoredValueAccountID

        public StoredValueAccountID()
    • Method Detail

      • storedValueAccountType

        public StoredValueAccountID storedValueAccountType​(StoredValueAccountType storedValueAccountType)
        storedValueAccountType
        Parameters:
        storedValueAccountType -
        Returns:
        the current StoredValueAccountID instance, allowing for method chaining
      • getStoredValueAccountType

        public StoredValueAccountType getStoredValueAccountType()
        Get storedValueAccountType
        Returns:
        storedValueAccountType
      • setStoredValueAccountType

        public void setStoredValueAccountType​(StoredValueAccountType storedValueAccountType)
        storedValueAccountType
        Parameters:
        storedValueAccountType -
      • storedValueProvider

        public StoredValueAccountID storedValueProvider​(String storedValueProvider)
        Identification of the provider of the stored value account load/reload. When the ProductCode is not sufficient to identify the provider host which delivers the load or reload of the stored value account (for example if it contains the identification of the application.)
        Parameters:
        storedValueProvider - Identification of the provider of the stored value account load/reload. When the ProductCode is not sufficient to identify the provider host which delivers the load or reload of the stored value account (for example if it contains the identification of the application.)
        Returns:
        the current StoredValueAccountID instance, allowing for method chaining
      • getStoredValueProvider

        public String getStoredValueProvider()
        Identification of the provider of the stored value account load/reload. When the ProductCode is not sufficient to identify the provider host which delivers the load or reload of the stored value account (for example if it contains the identification of the application.)
        Returns:
        storedValueProvider Identification of the provider of the stored value account load/reload. When the ProductCode is not sufficient to identify the provider host which delivers the load or reload of the stored value account (for example if it contains the identification of the application.)
      • setStoredValueProvider

        public void setStoredValueProvider​(String storedValueProvider)
        Identification of the provider of the stored value account load/reload. When the ProductCode is not sufficient to identify the provider host which delivers the load or reload of the stored value account (for example if it contains the identification of the application.)
        Parameters:
        storedValueProvider - Identification of the provider of the stored value account load/reload. When the ProductCode is not sufficient to identify the provider host which delivers the load or reload of the stored value account (for example if it contains the identification of the application.)
      • ownerName

        public StoredValueAccountID ownerName​(String ownerName)
        Name of the owner of a stored value account.
        Parameters:
        ownerName - Name of the owner of a stored value account.
        Returns:
        the current StoredValueAccountID instance, allowing for method chaining
      • getOwnerName

        public String getOwnerName()
        Name of the owner of a stored value account.
        Returns:
        ownerName Name of the owner of a stored value account.
      • setOwnerName

        public void setOwnerName​(String ownerName)
        Name of the owner of a stored value account.
        Parameters:
        ownerName - Name of the owner of a stored value account.
      • expiryDate

        public StoredValueAccountID expiryDate​(Integer expiryDate)
        Date after which the card cannot be used. If EMV expiry date is present, it overrides Track2 information. Format is MMYY.
        Parameters:
        expiryDate - Date after which the card cannot be used. If EMV expiry date is present, it overrides Track2 information. Format is MMYY.
        Returns:
        the current StoredValueAccountID instance, allowing for method chaining
      • getExpiryDate

        public Integer getExpiryDate()
        Date after which the card cannot be used. If EMV expiry date is present, it overrides Track2 information. Format is MMYY. minimum: 4 maximum: 4
        Returns:
        expiryDate Date after which the card cannot be used. If EMV expiry date is present, it overrides Track2 information. Format is MMYY.
      • setExpiryDate

        public void setExpiryDate​(Integer expiryDate)
        Date after which the card cannot be used. If EMV expiry date is present, it overrides Track2 information. Format is MMYY.
        Parameters:
        expiryDate - Date after which the card cannot be used. If EMV expiry date is present, it overrides Track2 information. Format is MMYY.
      • identificationType

        public StoredValueAccountID identificationType​(IdentificationType identificationType)
        identificationType
        Parameters:
        identificationType -
        Returns:
        the current StoredValueAccountID instance, allowing for method chaining
      • getIdentificationType

        public IdentificationType getIdentificationType()
        Get identificationType
        Returns:
        identificationType
      • setIdentificationType

        public void setIdentificationType​(IdentificationType identificationType)
        identificationType
        Parameters:
        identificationType -
      • storedValueID

        public StoredValueAccountID storedValueID​(String storedValueID)
        Stored value account identification. The identification of the stored value account conforming to the IdentificationType.
        Parameters:
        storedValueID - Stored value account identification. The identification of the stored value account conforming to the IdentificationType.
        Returns:
        the current StoredValueAccountID instance, allowing for method chaining
      • getStoredValueID

        public String getStoredValueID()
        Stored value account identification. The identification of the stored value account conforming to the IdentificationType.
        Returns:
        storedValueID Stored value account identification. The identification of the stored value account conforming to the IdentificationType.
      • setStoredValueID

        public void setStoredValueID​(String storedValueID)
        Stored value account identification. The identification of the stored value account conforming to the IdentificationType.
        Parameters:
        storedValueID - Stored value account identification. The identification of the stored value account conforming to the IdentificationType.
      • includeNullValues

        public StoredValueAccountID includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

        public boolean equals​(Object o)
        Return true if this StoredValueAccountID object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

        public static StoredValueAccountID fromJson​(String jsonString)
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of StoredValueAccountID given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of StoredValueAccountID
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to StoredValueAccountID
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of StoredValueAccountID to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException