當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Api\MozuUrl類代碼示例

本文整理匯總了PHP中Mozu\Api\MozuUrl的典型用法代碼示例。如果您正苦於以下問題:PHP MozuUrl類的具體用法?PHP MozuUrl怎麽用?PHP MozuUrl使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了MozuUrl類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: updateOrderHandlingFeeUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:SiteShippingHandlingFeeUrl.php

示例2: deleteEntityListUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:EntityListUrl.php

示例3: deleteUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:PublicCardUrl.php

示例4: deleteInStockNotificationSubscriptionUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:InStockNotificationSubscriptionUrl.php

示例5: thirdPartyUpdateApplicationUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:ApplicationUrl.php

示例6: updateSettingsUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:SearchUrl.php

示例7: deleteUserAuthTicketUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:TenantAdminUserAuthTicketUrl.php

示例8: deleteAttributeUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:AttributeUrl.php

示例9: deleteDocumentListUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:DocumentListUrl.php

示例10: updateGeneralSettingsUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:GeneralSettingsUrl.php

示例11: getRatesUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:ShippingUrl.php

示例12: publishDocumentsUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:DocumentDraftSummaryUrl.php

示例13: getCategoryTreeUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:CategoryUrl.php

示例14: removeMessageUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:ChangeMessageUrl.php

示例15: validateAddressUrl

 /**
  * 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;
 }
開發者ID:sgorman,項目名稱:mozu-php-sdk,代碼行數:12,代碼來源:AddressValidationRequestUrl.php


注:本文中的Mozu\Api\MozuUrl類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。