/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.urls.commerce.customer; import com.mozu.api.MozuUrl; import com.mozu.api.utils.UrlFormatter; import org.joda.time.DateTime; public class CustomerSetUrl { /** * Get Resource Url for GetCustomerSets * @param pageSize * @param responseFields * @param sortBy * @param startIndex * @return String Resource Url */ public static MozuUrl getCustomerSetsUrl(Integer pageSize, String responseFields, String sortBy, Integer startIndex) { UrlFormatter formatter = new UrlFormatter("/api/commerce/customer/customerSets/?startIndex={startIndex}&pageSize={pageSize}&sortBy={sortBy}&responseFields={responseFields}"); formatter.formatUrl("pageSize", pageSize); formatter.formatUrl("responseFields", responseFields); formatter.formatUrl("sortBy", sortBy); formatter.formatUrl("startIndex", startIndex); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for GetCustomerSet * @param code * @param responseFields * @return String Resource Url */ public static MozuUrl getCustomerSetUrl(String code, String responseFields) { UrlFormatter formatter = new UrlFormatter("/api/commerce/customer/customerSets/{code}?responseFields={responseFields}"); formatter.formatUrl("code", code); formatter.formatUrl("responseFields", responseFields); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } }