public static MozuUrl rejectSuggestedDiscountUrl ( String cartId , Integer discountId , String responseFields ) { UrlFormatter formatter = new UrlFormatter ( "/api/commerce/carts/{cartId}/rejectautodiscount/{discountId}?responseFields={responseFields}" ) ; formatter . formatUrl ( "cartId" , cartId ) ; formatter . formatUrl ( "discountId" , discountId ) ; formatter . formatUrl ( "responseFields" , responseFields ) ; return new MozuUrl ( formatter . getResourceUrl ( ) , MozuUrl . UrlLocation . TENANT_POD ) ; }
Get Resource Url for RejectSuggestedDiscount