/**
  * Get Resource Url for UpdateOrderHandlingFee
  * @param string $responseFields Use this field to include those fields which are not included by default.
  * @return string Resource Url
  */
 public static function updateOrderHandlingFeeUrl($responseFields)
 {
     $url = "/api/commerce/settings/shipping/orderhandlingfee?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "PUT", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
Example #2
0
 /**
  * Get Resource Url for DeleteEntityList
  * @param string $entityListFullName The full name of the EntityList including namespace in name@nameSpace format
  * @return string Resource Url
  */
 public static function deleteEntityListUrl($entityListFullName)
 {
     $url = "/api/platform/entitylists/{entityListFullName}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("entityListFullName", $entityListFullName);
     return $mozuUrl;
 }
Example #3
0
 /**
  * Get Resource Url for Delete
  * @param string $cardId Unique identifier of the card associated with the customer account billing contact.
  * @return string Resource Url
  */
 public static function deleteUrl($cardId)
 {
     $url = "/payments/commerce/payments/cards/{cardId}";
     $mozuUrl = new MozuUrl($url, UrlLocation::PCI_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("cardId", $cardId);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for DeleteInStockNotificationSubscription
  * @param int $id Unique identifier of the customer segment to retrieve.
  * @return string Resource Url
  */
 public static function deleteInStockNotificationSubscriptionUrl($id)
 {
     $url = "/api/commerce/instocknotifications/{id}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("id", $id);
     return $mozuUrl;
 }
Example #5
0
 /**
  * Get Resource Url for ThirdPartyUpdateApplication
  * @param string $responseFields Use this field to include those fields which are not included by default.
  * @return string Resource Url
  */
 public static function thirdPartyUpdateApplicationUrl($responseFields)
 {
     $url = "/api/commerce/settings/applications/?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "PUT", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
Example #6
0
 /**
  * Get Resource Url for UpdateSettings
  * @param string $responseFields A list or array of fields returned for a call. These fields may be customized and may be used for various types of data calls in Mozu. For example, responseFields are returned for retrieving or updating attributes, carts, and messages in Mozu.
  * @return string Resource Url
  */
 public static function updateSettingsUrl($responseFields)
 {
     $url = "/api/commerce/catalog/admin/search/settings?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "PUT", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for DeleteUserAuthTicket
  * @param string $refreshToken Alphanumeric string used for access tokens. This token refreshes access for accounts by generating a new developer or application account authentication ticket after an access token expires.
  * @return string Resource Url
  */
 public static function deleteUserAuthTicketUrl($refreshToken)
 {
     $url = "/api/platform/adminuser/authtickets/?refreshToken={refreshToken}";
     $mozuUrl = new MozuUrl($url, UrlLocation::HOME_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("refreshToken", $refreshToken);
     return $mozuUrl;
 }
Example #8
0
 /**
  * Get Resource Url for DeleteAttribute
  * @param string $attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier.
  * @return string Resource Url
  */
 public static function deleteAttributeUrl($attributeFQN)
 {
     $url = "/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("attributeFQN", $attributeFQN);
     return $mozuUrl;
 }
Example #9
0
 /**
  * Get Resource Url for DeleteDocumentList
  * @param string $documentListName Name of content documentListName to delete
  * @return string Resource Url
  */
 public static function deleteDocumentListUrl($documentListName)
 {
     $url = "/api/content/documentlists/{documentListName}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("documentListName", $documentListName);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for UpdateGeneralSettings
  * @param string $responseFields Use this field to include those fields which are not included by default.
  * @return string Resource Url
  */
 public static function updateGeneralSettingsUrl($responseFields)
 {
     $url = "/api/commerce/settings/general/?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "PUT", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
Example #11
0
 /**
  * Get Resource Url for GetRates
  * @param string $responseFields Use this field to include those fields which are not included by default.
  * @return string Resource Url
  */
 public static function getRatesUrl($responseFields)
 {
     $url = "/api/commerce/catalog/storefront/shipping/request-rates?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "POST", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for PublishDocuments
  * @param string $documentLists List of document lists that contain documents to delete.
  * @return string Resource Url
  */
 public static function publishDocumentsUrl($documentLists)
 {
     $url = "/api/content/documentpublishing/active?documentLists={documentLists}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "PUT", false);
     $url = $mozuUrl->formatUrl("documentLists", $documentLists);
     return $mozuUrl;
 }
Example #13
0
 /**
  * Get Resource Url for GetCategoryTree
  * @param string $responseFields A list or array of fields returned for a call. These fields may be customized and may be used for various types of data calls in Mozu. For example, responseFields are returned for retrieving or updating attributes, carts, and messages in Mozu.
  * @return string Resource Url
  */
 public static function getCategoryTreeUrl($responseFields)
 {
     $url = "/api/commerce/catalog/storefront/categories/tree?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "GET", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
Example #14
0
 /**
  * Get Resource Url for RemoveMessage
  * @param string $messageId Identifier of the message to remove from the cart.
  * @return string Resource Url
  */
 public static function removeMessageUrl($messageId)
 {
     $url = "/api/commerce/carts/current/messages/{messageId}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("messageId", $messageId);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for ValidateAddress
  * @param string $responseFields Use this field to include those fields which are not included by default.
  * @return string Resource Url
  */
 public static function validateAddressUrl($responseFields)
 {
     $url = "/api/commerce/customer/addressvalidation/?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "POST", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for DeleteExtendedProperty
  * @param string $key 
  * @return string Resource Url
  */
 public static function deleteExtendedPropertyUrl($key)
 {
     $url = "/api/commerce/carts/current/extendedproperties/{key}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("key", $key);
     return $mozuUrl;
 }
Example #17
0
 /**
  * Get Resource Url for DeleteFacetById
  * @param int $facetId Unique identifier of the facet to retrieve.
  * @return string Resource Url
  */
 public static function deleteFacetByIdUrl($facetId)
 {
     $url = "/api/commerce/catalog/admin/facets/{facetId}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("facetId", $facetId);
     return $mozuUrl;
 }
Example #18
0
 /**
  * Get Resource Url for DeleteLocationType
  * @param string $locationTypeCode The user-defined code that identifies the location type.
  * @return string Resource Url
  */
 public static function deleteLocationTypeUrl($locationTypeCode)
 {
     $url = "/api/commerce/admin/locationtypes/{locationTypeCode}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("locationTypeCode", $locationTypeCode);
     return $mozuUrl;
 }
Example #19
0
 /**
  * Get Resource Url for DeletePropertyType
  * @param string $propertyTypeName The name of the property type.
  * @return string Resource Url
  */
 public static function deletePropertyTypeUrl($propertyTypeName)
 {
     $url = "/api/content/propertytypes/{propertyTypeName}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("propertyTypeName", $propertyTypeName);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for AddTaxableTerritory
  * @param string $responseFields Use this field to include those fields which are not included by default.
  * @return string Resource Url
  */
 public static function addTaxableTerritoryUrl($responseFields)
 {
     $url = "/api/commerce/settings/general/taxableterritories?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "POST", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
Example #21
0
 /**
  * Get Resource Url for DeleteDBValue
  * @param string $dbEntryQuery The database entry string to create.
  * @return string Resource Url
  */
 public static function deleteDBValueUrl($dbEntryQuery)
 {
     $url = "/api/platform/userdata/{*dbEntryQuery}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("dbEntryQuery", $dbEntryQuery);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for UpdateExtensions
  * @param string $responseFields A list or array of fields returned for a call. These fields may be customized and may be used for various types of data calls in Mozu. For example, responseFields are returned for retrieving or updating attributes, carts, and messages in Mozu.
  * @return string Resource Url
  */
 public static function updateExtensionsUrl($responseFields)
 {
     $url = "/api/platform/extensions/?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "PUT", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for DeleteThirdPartyPaymentWorkflow
  * @param string $fullyQualifiedName 
  * @return string Resource Url
  */
 public static function deleteThirdPartyPaymentWorkflowUrl($fullyQualifiedName)
 {
     $url = "/api/commerce/settings/checkout/paymentsettings/thirdpartyworkflows/{fullyQualifiedName}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("fullyQualifiedName", $fullyQualifiedName);
     return $mozuUrl;
 }
Example #24
0
 /**
  * Get Resource Url for DeleteProductType
  * @param int $productTypeId Identifier of the product type.
  * @return string Resource Url
  */
 public static function deleteProductTypeUrl($productTypeId)
 {
     $url = "/api/commerce/catalog/admin/attributedefinition/producttypes/{productTypeId}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("productTypeId", $productTypeId);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for GetCheckoutSettings
  * @param string $responseFields Use this field to include those fields which are not included by default.
  * @return string Resource Url
  */
 public static function getCheckoutSettingsUrl($responseFields)
 {
     $url = "/api/commerce/settings/checkout/?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "GET", false);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
Example #26
0
 /**
  * Get Resource Url for DeleteChannelGroup
  * @param string $code User-defined code that uniqely identifies the channel group.
  * @return string Resource Url
  */
 public static function deleteChannelGroupUrl($code)
 {
     $url = "/api/commerce/channelgroups/{code}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("code", $code);
     return $mozuUrl;
 }
Example #27
0
 /**
  * Get Resource Url for DeleteOrderNote
  * @param string $noteId Unique identifier of a particular note to retrieve.
  * @param string $orderId Unique identifier of the order.
  * @return string Resource Url
  */
 public static function deleteOrderNoteUrl($noteId, $orderId)
 {
     $url = "/api/commerce/orders/{orderId}/notes/{noteId}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("noteId", $noteId);
     $url = $mozuUrl->formatUrl("orderId", $orderId);
     return $mozuUrl;
 }
 /**
  * Get Resource Url for AddTransaction
  * @param string $code User-defined code that uniqely identifies the channel group.
  * @param string $responseFields Use this field to include those fields which are not included by default.
  * @return string Resource Url
  */
 public static function addTransactionUrl($code, $responseFields)
 {
     $url = "/api/commerce/customer/credits/{code}/transactions?responseFields={responseFields}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "POST", false);
     $url = $mozuUrl->formatUrl("code", $code);
     $url = $mozuUrl->formatUrl("responseFields", $responseFields);
     return $mozuUrl;
 }
Example #29
0
 /**
  * Get Resource Url for DeleteShipment
  * @param string $orderId Unique identifier of the order.
  * @param string $shipmentId Unique identifier of the shipment to retrieve.
  * @return string Resource Url
  */
 public static function deleteShipmentUrl($orderId, $shipmentId)
 {
     $url = "/api/commerce/orders/{orderId}/shipments/{shipmentId}";
     $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD, "DELETE", false);
     $url = $mozuUrl->formatUrl("orderId", $orderId);
     $url = $mozuUrl->formatUrl("shipmentId", $shipmentId);
     return $mozuUrl;
 }
Example #30
0
 /**
  * Get Resource Url for GetFile
  * @param string $applicationKey 
  * @param string $fileName 
  * @return string Resource Url
  */
 public static function getFileUrl($applicationKey, $fileName)
 {
     $url = "/api/platform/appdev/filebasedpackage/packages/{applicationKey}?fileName={fileName}";
     $mozuUrl = new MozuUrl($url, UrlLocation::HOME_POD, "GET", false);
     $url = $mozuUrl->formatUrl("applicationKey", $applicationKey);
     $url = $mozuUrl->formatUrl("fileName", $fileName);
     return $mozuUrl;
 }