.registerTypeAdapterFactory(new IdGsonTypeAdapterFactory())
.registerTypeAdapter(MetaData.class, new MetaDataBase.GsonTypeAdapter());
private static final Gson gson = gsonBuilder.create();
public OrderClient() {
ServerConfig serverConfig = new ExampleServerConfig();
RestClientStub restClientStub = new RestClientStub(serverConfig);
cartRestClient = new ResourceDepotClient<Cart>(
restClientStub, ServicePaths.CART.getCallPath(), Cart.class, gsonBuilder, false);
orderRestClient = new ResourceDepotClient<Order>(