当前位置: 首页>>代码示例>>C#>>正文


C# MozuUrl类代码示例

本文整理汇总了C#中MozuUrl的典型用法代码示例。如果您正苦于以下问题:C# MozuUrl类的具体用法?C# MozuUrl怎么用?C# MozuUrl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


MozuUrl类属于命名空间,在下文中一共展示了MozuUrl类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: GetInStorePickupLocationUrl

 /// <summary>
 /// Get Resource Url for GetInStorePickupLocation
 /// </summary>
 /// <param name="code"></param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl GetInStorePickupLocationUrl(string code)
 {
     var url = "/api/commerce/storefront/locationUsageTypes/SP/locations/{code}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "code", code);
     return mozuUrl;
 }
开发者ID:warwickit,项目名称:MozuFreestyle,代码行数:14,代码来源:LocationUrl.cs

示例2: UpdateDBValueUrl

 /// <summary>
 /// Get Resource Url for UpdateDBValue
 /// </summary>
 /// <param name="dbEntryQuery">The database entry query string used to update the record information.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl UpdateDBValueUrl(string dbEntryQuery)
 {
     var url = "/api/platform/tenantdata/{*dbEntryQuery}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "dbEntryQuery", dbEntryQuery);
     return mozuUrl;
 }
开发者ID:warwickit,项目名称:MozuFreestyle,代码行数:14,代码来源:TenantDataUrl.cs

示例3: DeleteCreditUrl

 /// <summary>
 /// Get Resource Url for DeleteCredit
 /// </summary>
 /// <param name="code">User-defined code of the store credit to delete.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl DeleteCreditUrl(string code)
 {
     var url = "/api/commerce/customer/credits/{code}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "code", code);
     return mozuUrl;
 }
开发者ID:warwickit,项目名称:MozuFreestyle,代码行数:14,代码来源:CreditUrl.cs

示例4: AddProductTypeUrl

				/// <summary>
        /// Get Resource Url for AddProductType
        /// </summary>
        /// <param name="responseFields"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AddProductTypeUrl(string responseFields =  null)
		{
			var url = "/api/commerce/catalog/admin/attributedefinition/producttypes/?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
开发者ID:kevinwrightleft,项目名称:mozu-dotnet,代码行数:14,代码来源:ProductTypeUrl.cs

示例5: GetExtrasUrl

		/// <summary>
        /// Get Resource Url for GetExtras
        /// </summary>
        /// <param name="productCode">Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetExtrasUrl(string productCode)
		{
			var url = "/api/commerce/catalog/admin/products/{productCode}/Extras";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "productCode", productCode);
			return mozuUrl;
		}
开发者ID:kevinwrightleft,项目名称:mozu-dotnet,代码行数:14,代码来源:ProductExtraUrl.cs

示例6: GetCheckoutSettingsUrl

		/// <summary>
        /// Get Resource Url for GetCheckoutSettings
        /// </summary>
        /// <param name="responseFields"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetCheckoutSettingsUrl(string responseFields =  null)
		{
			var url = "/api/commerce/settings/checkout/?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
开发者ID:kevinwrightleft,项目名称:mozu-dotnet,代码行数:14,代码来源:CheckoutSettingsUrl.cs

示例7: GetCategoryTreeUrl

		/// <summary>
        /// Get Resource Url for GetCategoryTree
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetCategoryTreeUrl(string responseFields =  null)
		{
			var url = "/api/commerce/catalog/storefront/categories/tree?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
开发者ID:rocky0904,项目名称:mozu-dotnet,代码行数:14,代码来源:CategoryUrl.cs

示例8: DeleteWishlistUrl

 /// <summary>
 /// Get Resource Url for DeleteWishlist
 /// </summary>
 /// <param name="wishlistId">Unique identifier of the wish list to delete.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl DeleteWishlistUrl(string wishlistId)
 {
     var url = "/api/commerce/wishlists/{wishlistId}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "wishlistId", wishlistId);
     return mozuUrl;
 }
开发者ID:warwickit,项目名称:MozuFreestyle,代码行数:14,代码来源:WishlistUrl.cs

示例9: AddAccountNoteUrl

 /// <summary>
 /// Get Resource Url for AddAccountNote
 /// </summary>
 /// <param name="accountId">Unique identifier of the customer account for which to create the note.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl AddAccountNoteUrl(int accountId)
 {
     var url = "/api/commerce/customer/accounts/{accountId}/notes";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "accountId", accountId);
     return mozuUrl;
 }
开发者ID:warwickit,项目名称:MozuFreestyle,代码行数:14,代码来源:CustomerNoteUrl.cs

示例10: UpdateStatesUrl

						/// <summary>
        /// Get Resource Url for UpdateStates
        /// </summary>
        /// <param name="profilecode">The unique, user-defined code of the profile with which the shipping state is associated.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl UpdateStatesUrl(string profilecode)
		{
			var url = "/api/commerce/shipping/admin/profiles/{profilecode}/shippingstates";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "profilecode", profilecode);
			return mozuUrl;
		}
开发者ID:rocky0904,项目名称:mozu-dotnet,代码行数:14,代码来源:ShippingStatesUrl.cs

示例11: SearchUrl

		/// <summary>
        /// Get Resource Url for Search
        /// </summary>
        /// <param name="cursorMark"></param>
        /// <param name="enableSearchTuningRules">Enables search tuning rules on your site.</param>
        /// <param name="facet">Individually list the facet fields you want to display in a web storefront product search.</param>
        /// <param name="facetFieldRangeQuery">Display a range facet not specified in a template in a web storefront product search by listing the facet field and the range to display.</param>
        /// <param name="facetHierDepth">If filtering using category facets in a hierarchy, the number of category hierarchy levels to return for the facet. This option is only available for category facets.</param>
        /// <param name="facetHierPrefix">If filtering using category facets in a hierarchy, the parent categories you want to skip in the storefront product search. This parameter is only available for category facets.</param>
        /// <param name="facetHierValue">If filtering using category facets in a hierarchy, the category in the hierarchy to begin faceting on. This parameter is only available for category facets.</param>
        /// <param name="facetPageSize">The number of facet values to return for one or more facets.</param>
        /// <param name="facetPrefix">Use this parameter to filter facet values that are returned by an associated search result by a prefix.For example, to filter on colors that start with b, such as blue, black, or brown you can specify the following:</param>
        /// <param name="facetSettings">Settings reserved for future facet search functionality on a web storefront product search.</param>
        /// <param name="facetStartIndex">When paging through multiple facets, the startIndex value for each facet.</param>
        /// <param name="facetTemplate">The facet template to use on the storefront. A template displays all facets associated with the template on the web storefront product search. Currently, only category-level facet templates are available.</param>
        /// <param name="facetTemplateExclude">A comma-separated list of the facets to exclude from the facetTemplate.        </param>
        /// <param name="facetTemplateSubset">Display a subset of the facets defined in the template specified in facetTemplate parameter.</param>
        /// <param name="facetValueFilter">The facet values to apply to the filter.</param>
        /// <param name="filter">A set of filter expressions representing the search parameters for a query. This parameter is optional. Refer to [Sorting and Filtering](../../../../Developer/applications/sorting-filtering.htm) for a list of supported filters.</param>
        /// <param name="pageSize">The number of results to display on each page when creating paged results from a query. The maximum value is 200.</param>
        /// <param name="query">Properties for the product location inventory provided for queries to locate products by their location.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <param name="responseOptions"></param>
        /// <param name="searchSettings">The settings to control product search and indexing behavior.</param>
        /// <param name="searchTuningRuleCode">The unique identifier of the search tuning rule.</param>
        /// <param name="searchTuningRuleContext">The category ID that the search tuning rule applies to.</param>
        /// <param name="sortBy"></param>
        /// <param name="startIndex"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl SearchUrl(string query =  null, string filter =  null, string facetTemplate =  null, string facetTemplateSubset =  null, string facet =  null, string facetFieldRangeQuery =  null, string facetHierPrefix =  null, string facetHierValue =  null, string facetHierDepth =  null, string facetStartIndex =  null, string facetPageSize =  null, string facetSettings =  null, string facetValueFilter =  null, string sortBy =  null, int? pageSize =  null, int? startIndex =  null, string searchSettings =  null, bool? enableSearchTuningRules =  null, string searchTuningRuleContext =  null, string searchTuningRuleCode =  null, string facetTemplateExclude =  null, string facetPrefix =  null, string responseOptions =  null, string cursorMark =  null, string responseFields =  null)
		{
			var url = "/api/commerce/catalog/storefront/productsearch/search/?query={query}&filter={filter}&facetTemplate={facetTemplate}&facetTemplateSubset={facetTemplateSubset}&facet={facet}&facetFieldRangeQuery={facetFieldRangeQuery}&facetHierPrefix={facetHierPrefix}&facetHierValue={facetHierValue}&facetHierDepth={facetHierDepth}&facetStartIndex={facetStartIndex}&facetPageSize={facetPageSize}&facetSettings={facetSettings}&facetValueFilter={facetValueFilter}&sortBy={sortBy}&pageSize={pageSize}&startIndex={startIndex}&searchSettings={searchSettings}&enableSearchTuningRules={enableSearchTuningRules}&searchTuningRuleContext={searchTuningRuleContext}&searchTuningRuleCode={searchTuningRuleCode}&facetTemplateExclude={facetTemplateExclude}&facetPrefix={facetPrefix}&responseOptions={responseOptions}&cursorMark={cursorMark}&responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "cursorMark", cursorMark);
			mozuUrl.FormatUrl( "enableSearchTuningRules", enableSearchTuningRules);
			mozuUrl.FormatUrl( "facet", facet);
			mozuUrl.FormatUrl( "facetFieldRangeQuery", facetFieldRangeQuery);
			mozuUrl.FormatUrl( "facetHierDepth", facetHierDepth);
			mozuUrl.FormatUrl( "facetHierPrefix", facetHierPrefix);
			mozuUrl.FormatUrl( "facetHierValue", facetHierValue);
			mozuUrl.FormatUrl( "facetPageSize", facetPageSize);
			mozuUrl.FormatUrl( "facetPrefix", facetPrefix);
			mozuUrl.FormatUrl( "facetSettings", facetSettings);
			mozuUrl.FormatUrl( "facetStartIndex", facetStartIndex);
			mozuUrl.FormatUrl( "facetTemplate", facetTemplate);
			mozuUrl.FormatUrl( "facetTemplateExclude", facetTemplateExclude);
			mozuUrl.FormatUrl( "facetTemplateSubset", facetTemplateSubset);
			mozuUrl.FormatUrl( "facetValueFilter", facetValueFilter);
			mozuUrl.FormatUrl( "filter", filter);
			mozuUrl.FormatUrl( "pageSize", pageSize);
			mozuUrl.FormatUrl( "query", query);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			mozuUrl.FormatUrl( "responseOptions", responseOptions);
			mozuUrl.FormatUrl( "searchSettings", searchSettings);
			mozuUrl.FormatUrl( "searchTuningRuleCode", searchTuningRuleCode);
			mozuUrl.FormatUrl( "searchTuningRuleContext", searchTuningRuleContext);
			mozuUrl.FormatUrl( "sortBy", sortBy);
			mozuUrl.FormatUrl( "startIndex", startIndex);
			return mozuUrl;
		}
开发者ID:rocky0904,项目名称:mozu-dotnet,代码行数:62,代码来源:ProductSearchResultUrl.cs

示例12: AssignDiscountUrl

				/// <summary>
        /// Get Resource Url for AssignDiscount
        /// </summary>
        /// <param name="couponSetCode">The unique identifier of the coupon set.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AssignDiscountUrl(string couponSetCode)
		{
			var url = "/api/commerce/catalog/admin/couponsets/{couponSetCode}/assigneddiscounts";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "couponSetCode", couponSetCode);
			return mozuUrl;
		}
开发者ID:rocky0904,项目名称:mozu-dotnet,代码行数:14,代码来源:AssignedDiscountUrl.cs

示例13: CreateEntityListUrl

				/// <summary>
        /// Get Resource Url for CreateEntityList
        /// </summary>
        /// <param name="responseFields"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl CreateEntityListUrl(string responseFields =  null)
		{
			var url = "/api/platform/entitylists/?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
开发者ID:kevinwrightleft,项目名称:mozu-dotnet,代码行数:14,代码来源:EntityListUrl.cs

示例14: UpdateCustomRouteSettingsUrl

				/// <summary>
        /// Get Resource Url for UpdateCustomRouteSettings
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl UpdateCustomRouteSettingsUrl(string responseFields =  null)
		{
			var url = "/api/commerce/settings/general/customroutes?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
开发者ID:rocky0904,项目名称:mozu-dotnet,代码行数:14,代码来源:CustomRouteSettingsUrl.cs

示例15: RefreshUserAuthTicketUrl

 /// <summary>
 /// Get Resource Url for RefreshUserAuthTicket
 /// </summary>
 /// <param name="refreshToken"></param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl RefreshUserAuthTicketUrl(string refreshToken)
 {
     var url = "/api/commerce/customer/authtickets/refresh?refreshToken={refreshToken}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "refreshToken", refreshToken);
     return mozuUrl;
 }
开发者ID:warwickit,项目名称:MozuFreestyle,代码行数:14,代码来源:CustomerAuthTicketUrl.cs


注:本文中的MozuUrl类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。