All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hypertrack.factory.CustomerFactory Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package io.hypertrack.factory;

import io.hypertrack.model.Customer;
import io.hypertrack.net.HyperTrackClient;

import java.util.Map;

/**
 * Created by Arjun on 23/04/16.
 */
public class CustomerFactory extends HyperTrackFactory {
    private static String modelUrl = "customers/";

    public CustomerFactory(HyperTrackClient client) {
        super(client);
    }

    @Override
    protected Customer makeNew(Map params) {
        return new Customer(params);
    }

    @Override
    protected String getModelUrl() {
        return modelUrl;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy