Class BcmcInfo


  • public class BcmcInfo
    extends Object
    BcmcInfo
    • Constructor Detail

      • BcmcInfo

        public BcmcInfo()
    • Method Detail

      • enableBcmcMobile

        public BcmcInfo enableBcmcMobile​(Boolean enableBcmcMobile)
      • getEnableBcmcMobile

        public Boolean getEnableBcmcMobile()
        Indicates if [Bancontact mobile](https://docs.adyen.com/payment-methods/bancontact/bancontact-mobile) is enabled.
        Returns:
        enableBcmcMobile
      • setEnableBcmcMobile

        public void setEnableBcmcMobile​(Boolean enableBcmcMobile)
      • 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 BcmcInfo
      • fromJson

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

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