Class GetStoresUnderAccountResponse


  • public class GetStoresUnderAccountResponse
    extends Object
    GetStoresUnderAccountResponse
    • Constructor Detail

      • GetStoresUnderAccountResponse

        public GetStoresUnderAccountResponse()
    • Method Detail

      • getStores

        public List<Store> getStores()
        Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account.
        Returns:
        stores
      • setStores

        public void setStores​(List<Store> stores)
      • 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 GetStoresUnderAccountResponse
      • fromJson

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

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