Class MobileData


  • public class MobileData
    extends Object
    Mobile phone is used as a payment instrument for the transaction. Information related to the mobile for the payment transaction.
    • Constructor Detail

      • MobileData

        public MobileData()
    • Method Detail

      • mobileCountryCode

        public MobileData mobileCountryCode​(Integer mobileCountryCode)
        Identifies the country of a mobile phone operator. If data available.
        Parameters:
        mobileCountryCode - Identifies the country of a mobile phone operator. If data available.
        Returns:
        the current MobileData instance, allowing for method chaining
      • getMobileCountryCode

        public Integer getMobileCountryCode()
        Identifies the country of a mobile phone operator. If data available. minimum: 3 maximum: 3
        Returns:
        mobileCountryCode Identifies the country of a mobile phone operator. If data available.
      • setMobileCountryCode

        public void setMobileCountryCode​(Integer mobileCountryCode)
        Identifies the country of a mobile phone operator. If data available.
        Parameters:
        mobileCountryCode - Identifies the country of a mobile phone operator. If data available.
      • mobileNetworkCode

        public MobileData mobileNetworkCode​(Integer mobileNetworkCode)
        Identifies the mobile phone operator inside a country. If data available.
        Parameters:
        mobileNetworkCode - Identifies the mobile phone operator inside a country. If data available.
        Returns:
        the current MobileData instance, allowing for method chaining
      • getMobileNetworkCode

        public Integer getMobileNetworkCode()
        Identifies the mobile phone operator inside a country. If data available. minimum: 2 maximum: 3
        Returns:
        mobileNetworkCode Identifies the mobile phone operator inside a country. If data available.
      • setMobileNetworkCode

        public void setMobileNetworkCode​(Integer mobileNetworkCode)
        Identifies the mobile phone operator inside a country. If data available.
        Parameters:
        mobileNetworkCode - Identifies the mobile phone operator inside a country. If data available.
      • maskedMSISDN

        public MobileData maskedMSISDN​(Integer maskedMSISDN)
        Masked Mobile Subscriber Integrated Service Digital Network. If data available.
        Parameters:
        maskedMSISDN - Masked Mobile Subscriber Integrated Service Digital Network. If data available.
        Returns:
        the current MobileData instance, allowing for method chaining
      • getMaskedMSISDN

        public Integer getMaskedMSISDN()
        Masked Mobile Subscriber Integrated Service Digital Network. If data available.
        Returns:
        maskedMSISDN Masked Mobile Subscriber Integrated Service Digital Network. If data available.
      • setMaskedMSISDN

        public void setMaskedMSISDN​(Integer maskedMSISDN)
        Masked Mobile Subscriber Integrated Service Digital Network. If data available.
        Parameters:
        maskedMSISDN - Masked Mobile Subscriber Integrated Service Digital Network. If data available.
      • geolocation

        public MobileData geolocation​(Geolocation geolocation)
        geolocation
        Parameters:
        geolocation -
        Returns:
        the current MobileData instance, allowing for method chaining
      • getGeolocation

        public Geolocation getGeolocation()
        Get geolocation
        Returns:
        geolocation
      • setGeolocation

        public void setGeolocation​(Geolocation geolocation)
        geolocation
        Parameters:
        geolocation -
      • protectedMobileData

        public MobileData protectedMobileData​(String protectedMobileData)
        Sensitive information related to the mobile phone, protected by CMS. SensitiveMobileData.
        Parameters:
        protectedMobileData - Sensitive information related to the mobile phone, protected by CMS. SensitiveMobileData.
        Returns:
        the current MobileData instance, allowing for method chaining
      • getProtectedMobileData

        public String getProtectedMobileData()
        Sensitive information related to the mobile phone, protected by CMS. SensitiveMobileData.
        Returns:
        protectedMobileData Sensitive information related to the mobile phone, protected by CMS. SensitiveMobileData.
      • setProtectedMobileData

        public void setProtectedMobileData​(String protectedMobileData)
        Sensitive information related to the mobile phone, protected by CMS. SensitiveMobileData.
        Parameters:
        protectedMobileData - Sensitive information related to the mobile phone, protected by CMS. SensitiveMobileData.
      • sensitiveMobileData

        public MobileData sensitiveMobileData​(SensitiveMobileData sensitiveMobileData)
        sensitiveMobileData
        Parameters:
        sensitiveMobileData -
        Returns:
        the current MobileData instance, allowing for method chaining
      • getSensitiveMobileData

        public SensitiveMobileData getSensitiveMobileData()
        Get sensitiveMobileData
        Returns:
        sensitiveMobileData
      • setSensitiveMobileData

        public void setSensitiveMobileData​(SensitiveMobileData sensitiveMobileData)
        sensitiveMobileData
        Parameters:
        sensitiveMobileData -
      • includeNullValues

        public MobileData 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 MobileData 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 MobileData fromJson​(String jsonString)
                                   throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of MobileData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of MobileData
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to MobileData
      • toJson

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