/**
* 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.shipping.admin.profiles;
import com.mozu.api.MozuUrl;
import com.mozu.api.utils.UrlFormatter;
import org.joda.time.DateTime;
public class HandlingFeeRuleUrl
{
/**
* Get Resource Url for GetProductHandlingFeeRule
* @param id Unique identifier of the customer segment to retrieve.
* @param profilecode The unique, user-defined code of the profile with which the product handling fee rule is associated.
* @param responseFields Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.
* @return String Resource Url
*/
public static MozuUrl getProductHandlingFeeRuleUrl(String id, String profilecode, String responseFields)
{
UrlFormatter formatter = new UrlFormatter("/api/commerce/shipping/admin/profiles/{profilecode}/rules/producthandlingfees/{id}?responseFields={responseFields}");
formatter.formatUrl("id", id);
formatter.formatUrl("profilecode", profilecode);
formatter.formatUrl("responseFields", responseFields);
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
}
/**
* Get Resource Url for GetProductHandlingFeeRules
* @param profilecode The unique, user-defined code of the profile with which the product handling fee rule is associated.
* @param responseFields Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.
* @return String Resource Url
*/
public static MozuUrl getProductHandlingFeeRulesUrl(String profilecode, String responseFields)
{
UrlFormatter formatter = new UrlFormatter("/api/commerce/shipping/admin/profiles/{profilecode}/rules/producthandlingfees?responseFields={responseFields}");
formatter.formatUrl("profilecode", profilecode);
formatter.formatUrl("responseFields", responseFields);
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
}
/**
* Get Resource Url for CreateProductHandlingFeeRule
* @param profilecode The unique, user-defined code of the profile with which the product handling fee rule is associated.
* @param responseFields Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.
* @return String Resource Url
*/
public static MozuUrl createProductHandlingFeeRuleUrl(String profilecode, String responseFields)
{
UrlFormatter formatter = new UrlFormatter("/api/commerce/shipping/admin/profiles/{profilecode}/rules/producthandlingfees?responseFields={responseFields}");
formatter.formatUrl("profilecode", profilecode);
formatter.formatUrl("responseFields", responseFields);
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
}
/**
* Get Resource Url for UpdateProductHandlingFeeRule
* @param id Unique identifier of the customer segment to retrieve.
* @param profilecode The unique, user-defined code of the profile with which the product handling fee rule is associated.
* @param responseFields Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.
* @return String Resource Url
*/
public static MozuUrl updateProductHandlingFeeRuleUrl(String id, String profilecode, String responseFields)
{
UrlFormatter formatter = new UrlFormatter("/api/commerce/shipping/admin/profiles/{profilecode}/rules/producthandlingfees/{id}?responseFields={responseFields}");
formatter.formatUrl("id", id);
formatter.formatUrl("profilecode", profilecode);
formatter.formatUrl("responseFields", responseFields);
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
}
/**
* Get Resource Url for DeleteProductHandlingFeeRule
* @param id Unique identifier of the customer segment to retrieve.
* @param profilecode The unique, user-defined code of the profile with which the product handling fee rule is associated.
* @return String Resource Url
*/
public static MozuUrl deleteProductHandlingFeeRuleUrl(String id, String profilecode)
{
UrlFormatter formatter = new UrlFormatter("/api/commerce/shipping/admin/profiles/{profilecode}/rules/producthandlingfees/{id}");
formatter.formatUrl("id", id);
formatter.formatUrl("profilecode", profilecode);
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
}
}