Class ApplicationInfo


  • public class ApplicationInfo
    extends Object
    ApplicationInfo
    • Constructor Detail

      • ApplicationInfo

        public ApplicationInfo()
    • Method Detail

      • getAdyenLibrary

        public CommonField getAdyenLibrary()
        Get adyenLibrary
        Returns:
        adyenLibrary
      • setAdyenLibrary

        public void setAdyenLibrary​(CommonField adyenLibrary)
      • getAdyenPaymentSource

        public CommonField getAdyenPaymentSource()
        Get adyenPaymentSource
        Returns:
        adyenPaymentSource
      • setAdyenPaymentSource

        public void setAdyenPaymentSource​(CommonField adyenPaymentSource)
      • getExternalPlatform

        public ExternalPlatform getExternalPlatform()
        Get externalPlatform
        Returns:
        externalPlatform
      • setExternalPlatform

        public void setExternalPlatform​(ExternalPlatform externalPlatform)
      • getMerchantApplication

        public CommonField getMerchantApplication()
        Get merchantApplication
        Returns:
        merchantApplication
      • setMerchantApplication

        public void setMerchantApplication​(CommonField merchantApplication)
      • getMerchantDevice

        public MerchantDevice getMerchantDevice()
        Get merchantDevice
        Returns:
        merchantDevice
      • setMerchantDevice

        public void setMerchantDevice​(MerchantDevice merchantDevice)
      • getShopperInteractionDevice

        public ShopperInteractionDevice getShopperInteractionDevice()
        Get shopperInteractionDevice
        Returns:
        shopperInteractionDevice
      • setShopperInteractionDevice

        public void setShopperInteractionDevice​(ShopperInteractionDevice shopperInteractionDevice)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to ApplicationInfo
      • fromJson

        public static ApplicationInfo fromJson​(String jsonString)
                                        throws IOException
        Create an instance of ApplicationInfo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ApplicationInfo
        Throws:
        IOException - if the JSON string is invalid with respect to ApplicationInfo
      • toJson

        public String toJson()
        Convert an instance of ApplicationInfo to an JSON string
        Returns:
        JSON string