public static MozuUrl getVisitUrl ( String responseFields , String visitId ) { UrlFormatter formatter = new UrlFormatter ( "/api/commerce/customer/visits/{visitId}?responseFields={responseFields}" ) ; formatter . formatUrl ( "responseFields" , responseFields ) ; formatter . formatUrl ( "visitId" , visitId ) ; return new MozuUrl ( formatter . getResourceUrl ( ) , MozuUrl . UrlLocation . TENANT_POD ) ; }
Get Resource Url for GetVisit