Class StoreSplitConfiguration


  • public class StoreSplitConfiguration
    extends Object
    StoreSplitConfiguration
    • Constructor Detail

      • StoreSplitConfiguration

        public StoreSplitConfiguration()
    • Method Detail

      • getBalanceAccountId

        public String getBalanceAccountId()
        The [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id) linked to the account holder.
        Returns:
        balanceAccountId
      • setBalanceAccountId

        public void setBalanceAccountId​(String balanceAccountId)
      • getSplitConfigurationId

        public String getSplitConfigurationId()
        The UUID of the [split configuration](https://docs.adyen.com/marketplaces-and-platforms/classic/split-configuration-for-stores) from the Customer Area.
        Returns:
        splitConfigurationId
      • setSplitConfigurationId

        public void setSplitConfigurationId​(String splitConfigurationId)
      • 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 StoreSplitConfiguration
      • fromJson

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

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