public static MozuUrl configuredProductUrl ( Boolean includeOptionDetails , String productCode , String purchaseLocation , Integer quantity , String responseFields , Boolean skipInventoryCheck , String variationProductCodeFilter ) { UrlFormatter formatter = new UrlFormatter ( "/api/commerce/catalog/storefront/products/{productCode}/configure?includeOptionDetails={includeOptionDetails}&skipInventoryCheck={skipInventoryCheck}&quantity={quantity}&purchaseLocation={purchaseLocation}&variationProductCodeFilter={variationProductCodeFilter}&responseFields={responseFields}" ) ; formatter . formatUrl ( "includeOptionDetails" , includeOptionDetails ) ; formatter . formatUrl ( "productCode" , productCode ) ; formatter . formatUrl ( "purchaseLocation" , purchaseLocation ) ; formatter . formatUrl ( "quantity" , quantity ) ; formatter . formatUrl ( "responseFields" , responseFields ) ; formatter . formatUrl ( "skipInventoryCheck" , skipInventoryCheck ) ; formatter . formatUrl ( "variationProductCodeFilter" , variationProductCodeFilter ) ; return new MozuUrl ( formatter . getResourceUrl ( ) , MozuUrl . UrlLocation . TENANT_POD ) ; }
Get Resource Url for ConfiguredProduct