/**
* 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.payments;
import com.mozu.api.MozuUrl;
import com.mozu.api.utils.UrlFormatter;
import org.joda.time.DateTime;
public class PublicCardUrl
{
/**
* Get Resource Url for Create
* @return String Resource Url
*/
public static MozuUrl createUrl()
{
UrlFormatter formatter = new UrlFormatter("/payments/commerce/payments/cards/");
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.PCI_POD) ;
}
/**
* Get Resource Url for Update
* @param cardId Unique identifier of the card associated with the customer account billing contact.
* @return String Resource Url
*/
public static MozuUrl updateUrl(String cardId)
{
UrlFormatter formatter = new UrlFormatter("/payments/commerce/payments/cards/{cardId}");
formatter.formatUrl("cardId", cardId);
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.PCI_POD) ;
}
/**
* Get Resource Url for Delete
* @param cardId Unique identifier of the card associated with the customer account billing contact.
* @return String Resource Url
*/
public static MozuUrl deleteUrl(String cardId)
{
UrlFormatter formatter = new UrlFormatter("/payments/commerce/payments/cards/{cardId}");
formatter.formatUrl("cardId", cardId);
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.PCI_POD) ;
}
}