public static MozuUrl getCreditUrl ( String code , String responseFields ) { UrlFormatter formatter = new UrlFormatter ( "/api/commerce/customer/credits/{code}?responseFields={responseFields}" ) ; formatter . formatUrl ( "code" , code ) ; formatter . formatUrl ( "responseFields" , responseFields ) ; return new MozuUrl ( formatter . getResourceUrl ( ) , MozuUrl . UrlLocation . TENANT_POD ) ; }
Get Resource Url for GetCredit